summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-06-27 10:17:58 +0000
committeragc <agc@pkgsrc.org>2003-06-27 10:17:58 +0000
commit36cb71eac8d8934c2d0538caad51faca44761865 (patch)
tree65606b9fb53a234458422f2e873906a67309c6fb /archivers
parenta255fa18f62ce05c8086ef4908f702f8b1f9940b (diff)
downloadpkgsrc-36cb71eac8d8934c2d0538caad51faca44761865.tar.gz
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.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/afio/DESCR5
-rw-r--r--archivers/afio/Makefile14
-rw-r--r--archivers/afio/PLIST3
-rw-r--r--archivers/afio/distinfo5
-rw-r--r--archivers/afio/patches/patch-aa37
5 files changed, 64 insertions, 0 deletions
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