head 1.13; access; symbols pkgsrc-2026Q1:1.13.0.4 pkgsrc-2026Q1-base:1.13 pkgsrc-2025Q4:1.13.0.2 pkgsrc-2025Q4-base:1.13 pkgsrc-2025Q3:1.12.0.46 pkgsrc-2025Q3-base:1.12 pkgsrc-2025Q2:1.12.0.44 pkgsrc-2025Q2-base:1.12 pkgsrc-2025Q1:1.12.0.42 pkgsrc-2025Q1-base:1.12 pkgsrc-2024Q4:1.12.0.40 pkgsrc-2024Q4-base:1.12 pkgsrc-2024Q3:1.12.0.38 pkgsrc-2024Q3-base:1.12 pkgsrc-2024Q2:1.12.0.36 pkgsrc-2024Q2-base:1.12 pkgsrc-2024Q1:1.12.0.34 pkgsrc-2024Q1-base:1.12 pkgsrc-2023Q4:1.12.0.32 pkgsrc-2023Q4-base:1.12 pkgsrc-2023Q3:1.12.0.30 pkgsrc-2023Q3-base:1.12 pkgsrc-2023Q2:1.12.0.28 pkgsrc-2023Q2-base:1.12 pkgsrc-2023Q1:1.12.0.26 pkgsrc-2023Q1-base:1.12 pkgsrc-2022Q4:1.12.0.24 pkgsrc-2022Q4-base:1.12 pkgsrc-2022Q3:1.12.0.22 pkgsrc-2022Q3-base:1.12 pkgsrc-2022Q2:1.12.0.20 pkgsrc-2022Q2-base:1.12 pkgsrc-2022Q1:1.12.0.18 pkgsrc-2022Q1-base:1.12 pkgsrc-2021Q4:1.12.0.16 pkgsrc-2021Q4-base:1.12 pkgsrc-2021Q3:1.12.0.14 pkgsrc-2021Q3-base:1.12 pkgsrc-2021Q2:1.12.0.12 pkgsrc-2021Q2-base:1.12 pkgsrc-2021Q1:1.12.0.10 pkgsrc-2021Q1-base:1.12 pkgsrc-2020Q4:1.12.0.8 pkgsrc-2020Q4-base:1.12 pkgsrc-2020Q3:1.12.0.6 pkgsrc-2020Q3-base:1.12 pkgsrc-2020Q2:1.12.0.4 pkgsrc-2020Q2-base:1.12 pkgsrc-2020Q1:1.12.0.2 pkgsrc-2020Q1-base:1.12 pkgsrc-2019Q4:1.10.0.4 pkgsrc-2019Q4-base:1.10 pkgsrc-2019Q3:1.9.0.32 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.9.0.30 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.9.0.28 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.9.0.26 pkgsrc-2018Q4-base:1.9 pkgsrc-2018Q3:1.9.0.24 pkgsrc-2018Q3-base:1.9 pkgsrc-2018Q2:1.9.0.22 pkgsrc-2018Q2-base:1.9 pkgsrc-2018Q1:1.9.0.20 pkgsrc-2018Q1-base:1.9 pkgsrc-2017Q4:1.9.0.18 pkgsrc-2017Q4-base:1.9 pkgsrc-2017Q3:1.9.0.16 pkgsrc-2017Q3-base:1.9 pkgsrc-2017Q2:1.9.0.12 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.10 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.8 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.6 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.4 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.2 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.8.0.10 pkgsrc-2015Q4-base:1.8 pkgsrc-2015Q3:1.8.0.8 pkgsrc-2015Q3-base:1.8 pkgsrc-2015Q2:1.8.0.6 pkgsrc-2015Q2-base:1.8 pkgsrc-2015Q1:1.8.0.4 pkgsrc-2015Q1-base:1.8 pkgsrc-2014Q4:1.8.0.2 pkgsrc-2014Q4-base:1.8 pkgsrc-2014Q3:1.7.0.8 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.6 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.4 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.2 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.6.0.8 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.6 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.4 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.2 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.5.0.16 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.14 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.12 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.10 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.8 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.6 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.4 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.2 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.4.0.2 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.3.0.4 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.2 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.2.0.42 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.40 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.38 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.36 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.34 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.32 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.30 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.28 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.26 pkgsrc-2008Q1:1.2.0.24 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.22 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.20 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.18 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.16 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.14 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.12 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.10 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.8 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.6 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.4 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.2 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.1.1.1.0.6 pkgsrc-2005Q1-base:1.1.1.1 pkgsrc-2004Q4:1.1.1.1.0.4 pkgsrc-2004Q4-base:1.1.1.1 pkgsrc-2004Q3:1.1.1.1.0.2 pkgsrc-2004Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.13 date 2025.11.17.11.01.28; author wiz; state Exp; branches; next 1.12; commitid riyAI0LyQsKiDTiG; 1.12 date 2020.03.20.11.58.23; author nia; state Exp; branches; next 1.11; commitid XgzioScE8x0eq81C; 1.11 date 2020.01.18.23.35.22; author rillig; state Exp; branches; next 1.10; commitid shGUwZfkr7sleeTB; 1.10 date 2019.11.16.10.14.15; author mef; state Exp; branches; next 1.9; commitid VL6KiTcmGwJJR3LB; 1.9 date 2016.02.26.10.24.14; author jperkin; state Exp; branches; next 1.8; commitid HAQLapcZyQ1MBpWy; 1.8 date 2014.10.09.14.06.00; author wiz; state Exp; branches; next 1.7; commitid cKlfRBKRjgSh4xTx; 1.7 date 2013.10.24.09.43.49; author jperkin; state Exp; branches; next 1.6; commitid wTy6xv7uogWQRwax; 1.6 date 2012.10.23.19.51.34; author asau; state Exp; branches; next 1.5; 1.5 date 2011.01.10.06.13.37; author obache; state Exp; branches; next 1.4; 1.4 date 2010.07.06.10.17.16; author jmmv; state Exp; branches; next 1.3; 1.3 date 2010.01.27.20.37.48; author joerg; state Exp; branches; next 1.2; 1.2 date 2005.04.11.21.47.30; author tv; state Exp; branches; next 1.1; 1.1 date 2004.08.16.20.15.54; author minskim; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2004.08.16.20.15.54; author minskim; state Exp; branches; next ; desc @@ 1.13 log @*: switch all sourceforge HOMEPAGEs to https @ text @# $NetBSD: Makefile,v 1.12 2020/03/20 11:58:23 nia Exp $ # DISTNAME= wipe-2.3.1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wipe/} EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://wipe.sourceforge.net/ COMMENT= Secure data destruction LICENSE= gnu-gpl-v2 GNU_CONFIGURE= yes MAKE_ENV.SunOS+= DEFINES="-Du_int32_t=uint32_t" .include "../../mk/bsd.pkg.mk" @ 1.12 log @*: Convert broken sourceforge HOMEPAGEs back to http @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2020/01/18 23:35:22 rillig Exp $ d10 1 a10 1 HOMEPAGE= http://wipe.sourceforge.net/ @ 1.11 log @all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2019/11/16 10:14:15 mef Exp $ d10 1 a10 1 HOMEPAGE= https://wipe.sourceforge.net/ @ 1.10 log @(sysutils/wip) Updated 2.2.0 to 2.3.1 2.3.1: fixed Makefile bug! Running make uninstall removed target bin directory. 2.3: DEFAULTS! the default is now one single random pass <-- MAJOR CHANGE special files are no longer deleted by default support for wiping char devices, such as tape drives percentage reporting improved (thanks to Jason Tackaberry for patch) cleanup and exit upon SIGINT each wiped file prints on a seperate line skip unnecessary fdatasync()s, unless you want the extra accuracy on the % shown (-e option) call fsync() on the file after name wipe, in addition to fsync on the directory if fdatasync() fails, try for O_SYNC and only complain once per file fixed some off-by-ones fixed percentages for non-static wipes 2.2.1: added largefile support for linux and solaris (tested on linux) fixed drill_down(). it was using the wrong length to null term the string @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2016/02/26 10:24:14 jperkin Exp $ d10 1 a10 1 HOMEPAGE= http://wipe.sourceforge.net/ @ 1.9 log @Use OPSYSVARS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2014/10/09 14:06:00 wiz Exp $ d4 1 a4 1 DISTNAME= wipe-2.2.0 @ 1.8 log @Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2013/10/24 09:43:49 jperkin Exp $ d16 1 a16 5 .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "SunOS" MAKE_ENV+= DEFINES="-Du_int32_t=uint32_t" .endif @ 1.7 log @Fix build on SunOS. Patch from Sebastian Wiedenroth. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2012/10/23 19:51:34 asau Exp $ a13 2 PKG_INSTALLATION_TYPES= overwrite pkgviews @ 1.6 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2011/01/10 06:13:37 obache Exp $ d18 6 @ 1.5 log @LICENSE=gnu-gpl-v2. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2010/07/06 10:17:16 jmmv Exp $ a14 1 PKG_DESTDIR_SUPPORT= user-destdir @ 1.4 log @Transfer ownership to pkgsrc-users. pancake's address is not valid any more and he has agreed in private mail to drop maintainership. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2010/01/27 20:37:48 joerg Exp $ d12 1 @ 1.3 log @DESTDIR support @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2005/04/11 21:47:30 tv Exp $ d9 1 a9 1 MAINTAINER= pancake@@phreaker.net @ 1.2 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2004/08/16 20:15:54 minskim Exp $ d14 1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ a14 1 USE_BUILDLINK3= yes @ 1.1.1.1 log @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. @ text @@