aboutsummaryrefslogtreecommitdiffstats
path: root/security/bcwipe
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2005-03-12 00:08:10 +0800
committerglewis <glewis@FreeBSD.org>2005-03-12 00:08:10 +0800
commitc59768fc3d8fcedfa09ffafdb222805d3e7c3573 (patch)
treebd55bcdb8c88e5e2d938966e294a572e590bf2ae /security/bcwipe
parent0d552c0988178f750ed237487ced62d14855c98a (diff)
downloadfreebsd-ports-gnome-c59768fc3d8fcedfa09ffafdb222805d3e7c3573.tar.gz
freebsd-ports-gnome-c59768fc3d8fcedfa09ffafdb222805d3e7c3573.tar.zst
freebsd-ports-gnome-c59768fc3d8fcedfa09ffafdb222805d3e7c3573.zip
. Update to 1.5.3. [1]
. Set MAINTAINER to the submitter. [1] . Minor grammar improvements to COMMENT and pkg-descr. PR: 78637 Submitted by: Danny Koenig <dako@bsdberlin.org>
Diffstat (limited to 'security/bcwipe')
-rw-r--r--security/bcwipe/Makefile11
-rw-r--r--security/bcwipe/distinfo4
-rw-r--r--security/bcwipe/pkg-descr2
3 files changed, 10 insertions, 7 deletions
diff --git a/security/bcwipe/Makefile b/security/bcwipe/Makefile
index 838381433a9b..62d49ba3d473 100644
--- a/security/bcwipe/Makefile
+++ b/security/bcwipe/Makefile
@@ -6,18 +6,19 @@
#
PORTNAME= bcwipe
-PORTVERSION= 1.2.3
+PORTVERSION= 1.5.3
CATEGORIES= security
MASTER_SITES= http://www.jetico.com/linux/ \
- http://www.underworld.hu/~crow/distfiles/
+ http://www.bsdberlin.org/~dako/distfiles/security/
DISTNAME= BCWipe-${PORTVERSION:S/./-/g:S/-/./}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= BCWipe securely erase data from magnetic and solid-state memory
+MAINTAINER= dako@bsdberlin.org
+COMMENT= BCWipe securely erases data from magnetic and solid-state memory
NO_CDROM= yes
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
+CFLAGS+= -DOS_FreeBSD
MAN1= bcwipe.1
PLIST_FILES= bin/bcwipe
@@ -25,6 +26,8 @@ PLIST_FILES= bin/bcwipe
post-patch:
@${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s,fprintf(stderr\,string),fprintf(stderr\,\"%s\"\,string),g" ${WRKSRC}/wipe.c
+ @${REINPLACE_CMD} -e "s,if (NULL == mktemp(result)),if (mkstemp(result) == -1),g" ${WRKSRC}/wipe.c
+ @${REINPLACE_CMD} -e "s,mktemp,mkstemp,g" ${WRKSRC}/wipe.c
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/bcwipe ${PREFIX}/bin
diff --git a/security/bcwipe/distinfo b/security/bcwipe/distinfo
index fd096f74928f..51ab923de9bf 100644
--- a/security/bcwipe/distinfo
+++ b/security/bcwipe/distinfo
@@ -1,2 +1,2 @@
-MD5 (BCWipe-1.2-3.tar.gz) = d1aba86334a673d2a6f5c43c21fbe5f5
-SIZE (BCWipe-1.2-3.tar.gz) = 17049
+MD5 (BCWipe-1.5-3.tar.gz) = 1b99a6d12c2b3259fdbd527f484f03c3
+SIZE (BCWipe-1.5-3.tar.gz) = 21093
diff --git a/security/bcwipe/pkg-descr b/security/bcwipe/pkg-descr
index 54bd36e6a87b..382305c3bc87 100644
--- a/security/bcwipe/pkg-descr
+++ b/security/bcwipe/pkg-descr
@@ -1,4 +1,4 @@
-bcwipe Repeatedly overwrites special patterns to the files
+BCWipe repeatedly overwrites special patterns to the files
to be destroyed. In normal mode, 34 patterns are used (of
which 8 are random).