From owner-freebsd-ports Fri Nov 8 2:40: 8 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5CA937B401 for ; Fri, 8 Nov 2002 02:40:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF0E143E6E for ; Fri, 8 Nov 2002 02:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gA8Ae2x3094522 for ; Fri, 8 Nov 2002 02:40:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gA8Ae28l094521; Fri, 8 Nov 2002 02:40:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67DE237B401 for ; Fri, 8 Nov 2002 02:36:57 -0800 (PST) Received: from mirk.wigner.bme.hu (mirk.wigner.bme.hu [152.66.229.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98A5643E4A for ; Fri, 8 Nov 2002 02:36:56 -0800 (PST) (envelope-from root@mirk.wigner.bme.hu) Received: by mirk.wigner.bme.hu (Postfix, from userid 0) id 95C7932714; Fri, 8 Nov 2002 11:35:56 +0100 (CET) Message-Id: <20021108103556.95C7932714@mirk.wigner.bme.hu> Date: Fri, 8 Nov 2002 11:35:56 +0100 (CET) From: Foldi Tamas Reply-To: Foldi Tamas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/45135: New version of BCWipe port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 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 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 X #include X #include X-#include X #include X #include X #include 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