diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2003-07-29 06:03:54 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2003-07-29 06:03:54 +0000 |
commit | 5b1d291570e9b6339c1c6e9da3df40aaf30bb716 (patch) | |
tree | 0a4f8ff78e0937f111f36c62250ea5daa501e94b /security/bcwipe | |
parent | 6caa8598ee7207b8465e0dd05a1a461df00af887 (diff) | |
download | ports-5b1d291570e9b6339c1c6e9da3df40aaf30bb716.tar.gz ports-5b1d291570e9b6339c1c6e9da3df40aaf30bb716.zip |
Notes
Diffstat (limited to 'security/bcwipe')
-rw-r--r-- | security/bcwipe/Makefile | 5 | ||||
-rw-r--r-- | security/bcwipe/distinfo | 2 | ||||
-rw-r--r-- | security/bcwipe/files/patch-aa | 37 |
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; |