Commit graph

13 commits

Author SHA1 Message Date
jperkin
604dd2c0a5 Fix build on SunOS. Patch from Sebastian Wiedenroth. 2013-10-24 09:43:49 +00:00
dholland
e427df6d13 Use DIOCGINFO and/or DIOCGWEDGEINFO if DIOCGPART isn't defined. Fixes
build on netbsd-6 and up. Caution: while it builds, I haven't actually
tested it.
2013-06-17 06:09:06 +00:00
dholland
c0e9ec90a0 Merge two patches that patch the same file. 2013-06-17 05:37:22 +00:00
asau
54c5cd959e Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 19:50:50 +00:00
obache
c4267cbb59 LICENSE=gnu-gpl-v2. 2011-01-10 06:13:37 +00:00
obache
e89e58a1c1 Add an patch for DragonFly, based on PR#44348 by Tony Young. 2011-01-10 06:12:16 +00:00
jmmv
3b922a2b77 Transfer ownership to pkgsrc-users. pancake's address is not valid any
more and he has agreed in private mail to drop maintainership.
2010-07-06 10:17:11 +00:00
joerg
3697bfb680 DESTDIR support 2010-01-27 20:28:15 +00:00
joerg
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +00:00
joerg
0b5fc8af1d Depend on errno.h for errno. 2005-11-10 16:31:25 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
minskim
363f3ec7e1 Import wipe from pkgsrc-wip. Packaged by pancake and modified by me.
Wipe is a secure file wiping utility.

There are some low level issues that must be taken into consideration.
One of these is that there must be some sort of write barrier between
passes.  Wipe uses fdatasync(2) (or fsync(2)) as a write barrier, or
if fsync(2) isn't available, the file is opened with the O_DSYNC or
O_SYNC flag.  For wipe to be effective, each pass must be completely
written.  To ensure this, the drive must support some form of a write
barrier, write cache flush, or write cache disabling.  SCSI supports
ordered command tags, has a force media access bit for commands, and
write cache can be disable on mode page 8.  IDE/ATA drives support
write cache flushes and write cache disabling.

Unfortunately, not all drives actually disable write cache when asked
to.  Those drives are broken.  Write caching should always be
disabled, unless your system is battery backed and always powers down
cleanly.
2004-08-16 20:15:54 +00:00