summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/dar/DESCR15
-rw-r--r--archivers/dar/Makefile23
-rw-r--r--archivers/dar/PLIST50
-rw-r--r--archivers/dar/distinfo5
-rw-r--r--archivers/dar/patches/patch-aa13
5 files changed, 106 insertions, 0 deletions
diff --git a/archivers/dar/DESCR b/archivers/dar/DESCR
new file mode 100644
index 00000000000..1e19ae57a93
--- /dev/null
+++ b/archivers/dar/DESCR
@@ -0,0 +1,15 @@
+DAR is a Disk ARchiver, for backing-up file systems to disk. It's rather
+in the spirit of TAR, with some additions. Notably:
+
+ DAR can break up a archive into multiple files, to facillitate
+ storage on portable media, like CDs or DVDs.
+
+ Can perform incremental back-ups against a reference archive, or,
+ more conveniently, a "catalog" of an archive, which is sort of a
+ combination of a TAR table-of-contents and a file checksum list.
+
+DAR also supports filtering, so files or directories can be excluded from
+an archive, compression, filtered compression, and the inclusion of parity
+in archives, to help recover from media errors.
+
+See http://dar.sourceforge.net/
diff --git a/archivers/dar/Makefile b/archivers/dar/Makefile
new file mode 100644
index 00000000000..98e797a291a
--- /dev/null
+++ b/archivers/dar/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/15 17:51:43 agc Exp $
+#
+
+DISTNAME= dar-2.0.2
+CATEGORIES= archivers sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dar/}
+
+MAINTAINER= David Simas <davids@idiom.com>
+HOMEPAGE= http://dar.linux.free.fr/
+COMMENT= Disk archiver
+
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --disable-nodump-flag
+CONFIGURE_ARGS+= --disable-dar-static
+CONFIGURE_ARGS+= --enable-examples
+
+post-patch:
+ ${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+ < ${WRKSRC}/doc/Makefile.in > ${WRKSRC}/doc/Makefile.in.tmp
+ ${MV} ${WRKSRC}/doc/Makefile.in.tmp ${WRKSRC}/doc/Makefile.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/dar/PLIST b/archivers/dar/PLIST
new file mode 100644
index 00000000000..57a73522d5d
--- /dev/null
+++ b/archivers/dar/PLIST
@@ -0,0 +1,50 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/15 17:51:43 agc Exp $
+bin/dar
+bin/dar_cp
+bin/dar_manager
+bin/dar_slave
+bin/dar_xform
+include/dar/compressor.hpp
+include/dar/config.h
+include/dar/deci.hpp
+include/dar/erreurs.hpp
+include/dar/generic_file.hpp
+include/dar/infinint.hpp
+include/dar/integers.hpp
+include/dar/libdar.hpp
+include/dar/limitint.hpp
+include/dar/mask.hpp
+include/dar/path.hpp
+include/dar/real_infinint.hpp
+include/dar/special_alloc.hpp
+include/dar/statistics.hpp
+include/dar/storage.hpp
+include/dar/tools.hpp
+include/dar/tuyau.hpp
+include/dar/user_interaction.hpp
+include/dar/wrapperlib.hpp
+lib/libdar.a
+lib/libdar.la
+lib/libdar.so
+lib/libdar.so.1
+lib/libdar.so.1.2
+man/man1/dar.1
+man/man1/dar_cp.1
+man/man1/dar_manager.1
+man/man1/dar_slave.1
+man/man1/dar_xform.1
+share/dar/dar_par.dcf
+share/dar/dar_par_create.duc
+share/dar/dar_par_test.duc
+share/doc/dar/DOC_API
+share/doc/dar/FEATURES
+share/doc/dar/GOOD_BACKUP_PRACTICE
+share/doc/dar/LIMITATIONS
+share/doc/dar/LINKS
+share/doc/dar/NOTES
+share/doc/dar/README
+share/doc/dar/TUTORIAL
+share/doc/dar/dar-differential-backup-mini-howto.en.html
+@dirrm share/doc/dar
+@dirrm share/dar
+@dirrm include/dar
diff --git a/archivers/dar/distinfo b/archivers/dar/distinfo
new file mode 100644
index 00000000000..1641dc1402e
--- /dev/null
+++ b/archivers/dar/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/15 17:51:43 agc Exp $
+
+SHA1 (dar-2.0.2.tar.gz) = 2dc5deb0d17034fcfb7e7bd39e3f9670f6d8f7fa
+Size (dar-2.0.2.tar.gz) = 624364 bytes
+SHA1 (patch-aa) = 5e3b7da43d2287942ab3b16c130e651501e26d18
diff --git a/archivers/dar/patches/patch-aa b/archivers/dar/patches/patch-aa
new file mode 100644
index 00000000000..f0f680d62a4
--- /dev/null
+++ b/archivers/dar/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/12/15 17:51:43 agc Exp $
+
+--- doc/Makefile.in.orig 2003-12-13 14:20:59.000000000 -0800
++++ doc/Makefile.in
+@@ -17,7 +17,7 @@
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+ VPATH = @srcdir@
+-pkgdatadir = $(datadir)/@PACKAGE@
++pkgdatadir = %%LOCALBASE%%/share/doc/dar
+ pkglibdir = $(libdir)/@PACKAGE@
+ pkgincludedir = $(includedir)/@PACKAGE@
+ top_builddir = ..