Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

2
security/destroy/DESCR Normal file
View File

@@ -0,0 +1,2 @@
A system utility that destroys files on the hard drive
by writing null and random bytes to the file over and over.

22
security/destroy/Makefile Normal file
View File

@@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.11 2012/10/23 18:16:24 asau Exp $
#
DISTNAME= destroy-20040415
CATEGORIES= security
MASTER_SITES= http://www.impurity.org/mirrors/destroy/
MAINTAINER= shane@freebsdhackers.net
HOMEPAGE= http://www.freebsdhackers.net/destroy/
COMMENT= Program to securely destroy files on the hard disk
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
USE_FEATURES+= fts_open
MAKE_ENV+= CPPFLAGS=${CPPFLAGS:Q} LIBS=${LIBS:Q}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/destroy ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/destroy.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"

3
security/destroy/PLIST Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.2 2004/03/12 18:01:57 recht Exp $
bin/destroy
man/man1/destroy.1

View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.9 2012/03/01 16:27:57 hans Exp $
SHA1 (destroy-20040415.tar.gz) = c2a24155858e9236c8cba2bb5f45687d778b1fde
RMD160 (destroy-20040415.tar.gz) = b1132ee8c226b6239c1da5591081d9fbccb9c284
Size (destroy-20040415.tar.gz) = 4261 bytes
SHA1 (patch-Makefile) = 04d541387a969b2f96342699bb97ae9bb1148aca
SHA1 (patch-aa) = b7447b4c3abc553594b8dab779037086e1572c03

View File

@@ -0,0 +1,10 @@
$NetBSD: patch-Makefile,v 1.1 2012/03/01 16:27:57 hans Exp $
--- Makefile.orig 2012-03-01 16:16:00.542669085 +0100
+++ Makefile 2004-04-15 17:19:49.000000000 +0200
@@ -14,4 +14,4 @@ CFLAGS?= ${CFLAGS}
LDFLAGS?=
all:
- ${CC} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} destroy.c
+ ${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} destroy.c ${LIBS}

View File

@@ -0,0 +1,20 @@
$NetBSD: patch-aa,v 1.3 2005/11/01 18:52:45 tv Exp $
--- destroy.c.orig 2004-04-15 11:21:38.000000000 -0400
+++ destroy.c
@@ -196,6 +196,7 @@ void traverse(char **argv, int fflag, in
}
break;
+#ifdef S_IFWHT
case S_IFWHT: /* whiteout */
if(fflag) {
if(!qflag) {
@@ -206,6 +207,7 @@ void traverse(char **argv, int fflag, in
fprintf(stderr, "Whiteout: \t %s \t Skipping... no '-f' flag set!\n", p->fts_accpath);
}
break;
+#endif
default:
if(!qflag) {