Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  8 Nov 2002 11:35:56 +0100 (CET)
From:      Foldi Tamas <crow@nektor.hu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45135: New version of BCWipe port
Message-ID:  <20021108103556.95C7932714@mirk.wigner.bme.hu>

next in thread | raw e-mail | index | archive | help

>Number:         45135
>Category:       ports
>Synopsis:       New version of BCWipe port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 08 02:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tamas Foldi
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
HP Corp.
>Environment:
System: FreeBSD mirk.wigner.bme.hu 4.6-STABLE FreeBSD 4.6-STABLE #1: Wed Aug 21 11:22:18 CEST 2002 root@mirk.wigner.bme.hu:/usr/obj/usr/src/sys/MIRK i386


>Description:

	BCWipe securely erase data from magnetic and solid-state memory
	
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	bcwipe/
#	bcwipe/Makefile
#	bcwipe/distinfo
#	bcwipe/pkg-comment
#	bcwipe/pkg-descr
#	bcwipe/pkg-plist
#	bcwipe/files
#	bcwipe/files/patch-aa
#
echo c - bcwipe/
mkdir -p bcwipe/ > /dev/null 2>&1
echo x - bcwipe/Makefile
sed 's/^X//' >bcwipe/Makefile << 'END-of-bcwipe/Makefile'
X# New ports collection makefile for:   bcwipe
X# Date created:                                Mar 4, 2001
X# Whom:                                        crow
X#
X# $FreeBSD: ports/security/bcwipe/Makefile,v 1.2 2001/09/16 15:12:19 dwcjr Exp $
X#
X
XPORTNAME=	bcwipe
XPORTVERSION=	1.2.1
XCATEGORIES=	security
XMASTER_SITES=	http://www.jetico.com/linux/ \
X		http://www.underworld.hu/~crow/distfiles/
XDISTNAME=	BCWipe-${PORTVERSION:S/./-/g:S/-/./}
X
XMAINTAINER=	Tamas Foldi <crow@nektor.hu>
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/./-/g:S/-/./}
X
XMAN1=	bcwipe.1
X
Xpost-patch:
X	@${PERL} -pi -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/bcwipe ${PREFIX}/bin
X	@${INSTALL_MAN} ${WRKSRC}/bcwipe.1 ${MAN1PREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-bcwipe/Makefile
echo x - bcwipe/distinfo
sed 's/^X//' >bcwipe/distinfo << 'END-of-bcwipe/distinfo'
XMD5 (BCWipe-1.2-1.tar.gz) = 54fedd9835d436a9eacf3eec6d9c5bcb
END-of-bcwipe/distinfo
echo x - bcwipe/pkg-comment
sed 's/^X//' >bcwipe/pkg-comment << 'END-of-bcwipe/pkg-comment'
XBCWipe securely erase data from magnetic and solid-state memory
END-of-bcwipe/pkg-comment
echo x - bcwipe/pkg-descr
sed 's/^X//' >bcwipe/pkg-descr << 'END-of-bcwipe/pkg-descr'
Xbcwipe Repeatedly overwrites special patterns to the files
Xto be destroyed.  In normal mode, 34 patterns are used (of
Xwhich 8 are random).
X
XWWW: http://www.jetico.com/
END-of-bcwipe/pkg-descr
echo x - bcwipe/pkg-plist
sed 's/^X//' >bcwipe/pkg-plist << 'END-of-bcwipe/pkg-plist'
Xbin/bcwipe
END-of-bcwipe/pkg-plist
echo c - bcwipe/files
mkdir -p bcwipe/files > /dev/null 2>&1
echo x - bcwipe/files/patch-aa
sed 's/^X//' >bcwipe/files/patch-aa << 'END-of-bcwipe/files/patch-aa'
X--- wipe.c	Fri Nov  8 11:21:30 2002
X+++ ../work/bcwipe-1.2-1/wipe.c	Fri Nov  8 11:15:03 2002
X@@ -28,7 +28,6 @@
X #include <utime.h>
X #include <stdlib.h>
X #include <sys/ioctl.h>
X-#include <sys/vfs.h>
X #include <time.h>
X #include <ctype.h>
X #include <sys/mount.h>
X@@ -68,7 +67,7 @@
X int ask_y_n(char *string)
X {
X     char c;
X-    fprintf(stderr,string);
X+    fprintf(stderr,"%s",string);
X     c = tolower(fgetc(stdin));
X     if ( '\n' == c ) return FALSE;
X     while ( '\n' != fgetc(stdin) );
X@@ -700,7 +699,7 @@
X             case '?':
X             case 'h':
X             default:
X-                fprintf(stdout,usage_string);
X+                fprintf(stdout,"%s",usage_string);
X                 exit(0);
X         } /* end of switch */
X     } /* end of while */
X@@ -710,7 +709,7 @@
X 
X     if ( 0 == argc )
X     {
X-        fprintf(stdout,usage_string);
X+        fprintf(stdout,"%s",usage_string);
X         exit(0);
X     }
X     if ( o_force ) o_interactive=FALSE;
END-of-bcwipe/files/patch-aa
exit



>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021108103556.95C7932714>