aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-07-29 14:03:54 +0800
committerdaichi <daichi@FreeBSD.org>2003-07-29 14:03:54 +0800
commit583e2770a1509383a74213a35dbd9bf4d8f6b1d3 (patch)
treeff0a4a044e8adc405613281e306fd8b80b23486a
parent8a6bbb0a93e2ae21d63f611719984858d41f346a (diff)
downloadfreebsd-ports-gnome-583e2770a1509383a74213a35dbd9bf4d8f6b1d3.tar.gz
freebsd-ports-gnome-583e2770a1509383a74213a35dbd9bf4d8f6b1d3.tar.zst
freebsd-ports-gnome-583e2770a1509383a74213a35dbd9bf4d8f6b1d3.zip
update security/bcwipe: 1.2.1 -> 1.2.3
PR: 50170 Submitted by: Foldi Tamas <crow@nektor.hu> (maintainer)
-rw-r--r--security/bcwipe/Makefile5
-rw-r--r--security/bcwipe/distinfo2
-rw-r--r--security/bcwipe/files/patch-aa37
3 files changed, 4 insertions, 40 deletions
diff --git a/security/bcwipe/Makefile b/security/bcwipe/Makefile
index 39ca7d197435..9355266b31b2 100644
--- a/security/bcwipe/Makefile
+++ b/security/bcwipe/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= bcwipe
-PORTVERSION= 1.2.1
+PORTVERSION= 1.2.3
CATEGORIES= security
MASTER_SITES= http://www.jetico.com/linux/ \
http://www.underworld.hu/~crow/distfiles/
@@ -17,12 +17,13 @@ COMMENT= BCWipe securely erase data from magnetic and solid-state memory
NO_CDROM= yes
USE_REINPLACE= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/./-/g:S/-/./}
+WRKSRC= ${WRKDIR}/${PORTNAME}
MAN1= bcwipe.1
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
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/bcwipe ${PREFIX}/bin
diff --git a/security/bcwipe/distinfo b/security/bcwipe/distinfo
index 31ec14c9005b..4ca333a2e76a 100644
--- a/security/bcwipe/distinfo
+++ b/security/bcwipe/distinfo
@@ -1 +1 @@
-MD5 (BCWipe-1.2-1.tar.gz) = 54fedd9835d436a9eacf3eec6d9c5bcb
+MD5 (BCWipe-1.2-3.tar.gz) = d1aba86334a673d2a6f5c43c21fbe5f5
diff --git a/security/bcwipe/files/patch-aa b/security/bcwipe/files/patch-aa
deleted file mode 100644
index 1e876cd57911..000000000000
--- a/security/bcwipe/files/patch-aa
+++ /dev/null
@@ -1,37 +0,0 @@
---- wipe.c Fri Nov 8 11:21:30 2002
-+++ wipe.c Fri Nov 8 11:15:03 2002
-@@ -28,7 +28,6 @@
- #include <utime.h>
- #include <stdlib.h>
- #include <sys/ioctl.h>
--#include <sys/vfs.h>
- #include <time.h>
- #include <ctype.h>
- #include <sys/mount.h>
-@@ -68,7 +67,7 @@
- int ask_y_n(char *string)
- {
- char c;
-- fprintf(stderr,string);
-+ fprintf(stderr,"%s",string);
- c = tolower(fgetc(stdin));
- if ( '\n' == c ) return FALSE;
- while ( '\n' != fgetc(stdin) );
-@@ -700,7 +699,7 @@
- case '?':
- case 'h':
- default:
-- fprintf(stdout,usage_string);
-+ fprintf(stdout,"%s",usage_string);
- exit(0);
- } /* end of switch */
- } /* end of while */
-@@ -710,7 +709,7 @@
-
- if ( 0 == argc )
- {
-- fprintf(stdout,usage_string);
-+ fprintf(stdout,"%s",usage_string);
- exit(0);
- }
- if ( o_force ) o_interactive=FALSE;