From 59f97cb34e7e6c9feb182c57db7a7e985f08243c Mon Sep 17 00:00:00 2001 From: agc Date: Fri, 27 Jun 2003 10:17:58 +0000 Subject: Initial import of afio-2.4.7 into the NetBSD Packages Collection. The nudge came from a netbsd-help posting by Thomas Hafner and a URL posted by Jeremy Reed. Afio makes cpio-format archives. It deals somewhat gracefully with input data corruption. Supports multi-volume archives during interactive operation. Afio can make compressed archives that are much safer than compressed tar or cpio archives. Afio is best used as an `archive engine' in a backup script. --- archivers/afio/DESCR | 5 +++++ archivers/afio/Makefile | 14 ++++++++++++++ archivers/afio/PLIST | 3 +++ archivers/afio/distinfo | 5 +++++ archivers/afio/patches/patch-aa | 37 +++++++++++++++++++++++++++++++++++++ 5 files changed, 64 insertions(+) create mode 100644 archivers/afio/DESCR create mode 100644 archivers/afio/Makefile create mode 100644 archivers/afio/PLIST create mode 100644 archivers/afio/distinfo create mode 100644 archivers/afio/patches/patch-aa (limited to 'archivers/afio') diff --git a/archivers/afio/DESCR b/archivers/afio/DESCR new file mode 100644 index 00000000000..b36756df70d --- /dev/null +++ b/archivers/afio/DESCR @@ -0,0 +1,5 @@ +Afio makes cpio-format archives. It deals somewhat gracefully with +input data corruption. Supports multi-volume archives during +interactive operation. Afio can make compressed archives that are +much safer than compressed tar or cpio archives. Afio is best used as +an `archive engine' in a backup script. diff --git a/archivers/afio/Makefile b/archivers/afio/Makefile new file mode 100644 index 00000000000..cc3f7a413eb --- /dev/null +++ b/archivers/afio/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/06/27 10:17:58 agc Exp $ + +DISTNAME= afio-2.4.7 +CATEGORIES= archivers +MASTER_SITES= http://www.ibiblio.org/pub/Linux/system/backup/ +EXTRACT_SUFX= .tgz + +MAINTAINER= tech-pkg@netbsd.org +HOMEPAGE= http://freshmeat.net/projects/afio +COMMENT= cpio-format archive creator with data corruption handling + +ALL_TARGET= afio + +.include "../../mk/bsd.pkg.mk" diff --git a/archivers/afio/PLIST b/archivers/afio/PLIST new file mode 100644 index 00000000000..9d78caa9ac2 --- /dev/null +++ b/archivers/afio/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/27 10:17:58 agc Exp $ +bin/afio +man/man1/afio.1 diff --git a/archivers/afio/distinfo b/archivers/afio/distinfo new file mode 100644 index 00000000000..2463a131ebb --- /dev/null +++ b/archivers/afio/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/06/27 10:17:58 agc Exp $ + +SHA1 (afio-2.4.7.tgz) = 92e473f025cbc69893ccc46c4f91ffb52da2fef3 +Size (afio-2.4.7.tgz) = 91224 bytes +SHA1 (patch-aa) = b7a1c3952d7b5265afa16f4e94585fa66518e2ee diff --git a/archivers/afio/patches/patch-aa b/archivers/afio/patches/patch-aa new file mode 100644 index 00000000000..32b979c8713 --- /dev/null +++ b/archivers/afio/patches/patch-aa @@ -0,0 +1,37 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/06/27 10:17:58 agc Exp $ + +--- Makefile 2003/06/27 09:37:50 1.1 ++++ Makefile 2003/06/27 09:39:40 +@@ -26,7 +26,7 @@ + c = -DHAVEMEMCMP + ## Define DEFFMTCMD to being how to format the media you use the most + ## This is the DEFault FoRMat CoManD. +-d = -DDEFFMTCMD='"fdformat /dev/fd0H1440"' ++d = -DDEFFMTCMD='"cdrecord dev=/dev/rcd0d -v -force blank=all"' # or '"fdformat /dev/fd0a"' + ## Define LONGZFILE if you want .Z to be tagged on the end of a 14 char + ## file name (or longer for BSD) in the archive when the file is compressed + #e = -DLONGZFILE +@@ -56,10 +56,10 @@ + + #CFLAGS1 = -ggdb + #CFLAGS1 = -Wall -s -g -O2 -fomit-frame-pointer +-CFLAGS1 = -Wall -O2 -fomit-frame-pointer ++#CFLAGS1 = -Wall -O2 -fomit-frame-pointer + + +-CC=gcc ++#CC=gcc + + + CFLAGS = ${CFLAGS1} $1 $2 $3 $4 $5 $6 $7 $8 $9 $a $b $c $d $e $f $g $I +@@ -72,8 +72,8 @@ + rm -f *.o afio + + install: afio +- cp afio /usr/bin +- cp afio.1 /usr/man/man1 ++ cp afio ${PREFIX}/bin ++ cp afio.1 ${PREFIX}/man/man1 + + + afio.o : afio.h patchlevel.h -- cgit v1.2.3