Lines 6-18
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= bcwipe |
8 |
PORTNAME= bcwipe |
9 |
PORTVERSION= 1.2.3 |
9 |
PORTVERSION= 1.5.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.bsdberlin.org/~dako/distfiles/security/ |
13 |
DISTNAME= BCWipe-${PORTVERSION:S/./-/g:S/-/./} |
13 |
DISTNAME= BCWipe-${PORTVERSION:S/./-/g:S/-/./} |
14 |
|
14 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= dako@bsdberlin.org |
16 |
COMMENT= BCWipe securely erase data from magnetic and solid-state memory |
16 |
COMMENT= BCWipe securely erase data from magnetic and solid-state memory |
17 |
|
17 |
|
18 |
NO_CDROM= yes |
18 |
NO_CDROM= yes |
Lines 25-30
Link Here
|
25 |
post-patch: |
25 |
post-patch: |
26 |
@${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile |
26 |
@${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile |
27 |
@${REINPLACE_CMD} -e "s,fprintf(stderr\,string),fprintf(stderr\,\"%s\"\,string),g" ${WRKSRC}/wipe.c |
27 |
@${REINPLACE_CMD} -e "s,fprintf(stderr\,string),fprintf(stderr\,\"%s\"\,string),g" ${WRKSRC}/wipe.c |
|
|
28 |
@${REINPLACE_CMD} -e "s,if (NULL == mktemp(result)),if (mkstemp(result) == -1),g" ${WRKSRC}/wipe.c |
29 |
@${REINPLACE_CMD} -e "s,mktemp,mkstemp,g" ${WRKSRC}/wipe.c |
28 |
|
30 |
|
29 |
do-install: |
31 |
do-install: |
30 |
@${INSTALL_PROGRAM} ${WRKSRC}/bcwipe ${PREFIX}/bin |
32 |
@${INSTALL_PROGRAM} ${WRKSRC}/bcwipe ${PREFIX}/bin |