View | Details | Raw Unified | Return to bug 50170
Collapse All | Expand All

(-)bcwipe/Makefile (-3 / +4 lines)
Lines 2-12 Link Here
2
# Date created:                                Mar 4, 2001
2
# Date created:                                Mar 4, 2001
3
# Whom:                                        crow
3
# Whom:                                        crow
4
#
4
#
5
# $FreeBSD: ports/security/bcwipe/Makefile,v 1.4 2002/11/08 20:01:35 arved Exp $
5
# $FreeBSD: ports/security/bcwipe/Makefile,v 1.5 2002/11/19 13:00:38 ijliao Exp $
6
#
6
#
7
7
8
PORTNAME=	bcwipe
8
PORTNAME=	bcwipe
9
PORTVERSION=	1.2.1
9
PORTVERSION=	1.2.3
10
CATEGORIES=	security
10
CATEGORIES=	security
11
MASTER_SITES=	http://www.jetico.com/linux/ \
11
MASTER_SITES=	http://www.jetico.com/linux/ \
12
		http://www.underworld.hu/~crow/distfiles/
12
		http://www.underworld.hu/~crow/distfiles/
Lines 16-27 Link Here
16
16
17
NO_CDROM=	yes
17
NO_CDROM=	yes
18
USE_REINPLACE=	yes
18
USE_REINPLACE=	yes
19
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/./-/g:S/-/./}
19
WRKSRC=		${WRKDIR}/${PORTNAME}
20
20
21
MAN1=	bcwipe.1
21
MAN1=	bcwipe.1
22
22
23
post-patch:
23
post-patch:
24
	@${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
24
	@${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
25
	@${REINPLACE_CMD} -e "s,fprintf(stderr\,string),fprintf(stderr\,\"%s\"\,string),g" ${WRKSRC}/wipe.c
25
26
26
do-install:
27
do-install:
27
	@${INSTALL_PROGRAM} ${WRKSRC}/bcwipe ${PREFIX}/bin
28
	@${INSTALL_PROGRAM} ${WRKSRC}/bcwipe ${PREFIX}/bin
(-)bcwipe/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (BCWipe-1.2-1.tar.gz) = 54fedd9835d436a9eacf3eec6d9c5bcb
1
MD5 (BCWipe-1.2-3.tar.gz) = d1aba86334a673d2a6f5c43c21fbe5f5
(-)bcwipe/files/patch-aa (-37 lines)
Lines 1-37 Link Here
1
--- wipe.c	Fri Nov  8 11:21:30 2002
2
+++ wipe.c	Fri Nov  8 11:15:03 2002
3
@@ -28,7 +28,6 @@
4
 #include <utime.h>
5
 #include <stdlib.h>
6
 #include <sys/ioctl.h>
7
-#include <sys/vfs.h>
8
 #include <time.h>
9
 #include <ctype.h>
10
 #include <sys/mount.h>
11
@@ -68,7 +67,7 @@
12
 int ask_y_n(char *string)
13
 {
14
     char c;
15
-    fprintf(stderr,string);
16
+    fprintf(stderr,"%s",string);
17
     c = tolower(fgetc(stdin));
18
     if ( '\n' == c ) return FALSE;
19
     while ( '\n' != fgetc(stdin) );
20
@@ -700,7 +699,7 @@
21
             case '?':
22
             case 'h':
23
             default:
24
-                fprintf(stdout,usage_string);
25
+                fprintf(stdout,"%s",usage_string);
26
                 exit(0);
27
         } /* end of switch */
28
     } /* end of while */
29
@@ -710,7 +709,7 @@
30
 
31
     if ( 0 == argc )
32
     {
33
-        fprintf(stdout,usage_string);
34
+        fprintf(stdout,"%s",usage_string);
35
         exit(0);
36
     }
37
     if ( o_force ) o_interactive=FALSE;

Return to bug 50170