summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/dar/Makefile8
-rw-r--r--archivers/dar/PLIST6
-rw-r--r--archivers/dar/distinfo13
-rw-r--r--archivers/dar/patches/patch-aa9
-rw-r--r--archivers/dar/patches/patch-ab9
-rw-r--r--archivers/dar/patches/patch-af34
6 files changed, 58 insertions, 21 deletions
diff --git a/archivers/dar/Makefile b/archivers/dar/Makefile
index 1bd0e527190..cb544ef0718 100644
--- a/archivers/dar/Makefile
+++ b/archivers/dar/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2007/01/07 13:29:20 rillig Exp $
+# $NetBSD: Makefile,v 1.25 2007/03/18 04:36:23 dsainty Exp $
-DISTNAME= dar-2.3.2
+DISTNAME= dar-2.3.3
CATEGORIES= archivers sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dar/}
@@ -38,8 +38,12 @@ PKG_SUGGESTED_OPTIONS=
# and CPU overheads of Dar.
.if !empty(PKG_OPTIONS:Mdar-int64)
CONFIGURE_ARGS+= --enable-mode=64
+PLIST_SUBST+= DARBITS=64
.elif !empty(PKG_OPTIONS:Mdar-int32)
CONFIGURE_ARGS+= --enable-mode=32
+PLIST_SUBST+= DARBITS=32
+.else
+PLIST_SUBST+= DARBITS=
.endif
PKGCONFIG_OVERRIDE= src/libdar/libdar.pc.tmpl.in
diff --git a/archivers/dar/PLIST b/archivers/dar/PLIST
index 16788804901..e55306eb101 100644
--- a/archivers/dar/PLIST
+++ b/archivers/dar/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2006/09/07 14:18:38 rillig Exp $
+@comment $NetBSD: PLIST,v 1.8 2007/03/18 04:36:23 dsainty Exp $
bin/dar
bin/dar_cp
bin/dar_manager
@@ -38,8 +38,8 @@ include/dar/tronconneuse.hpp
include/dar/tuyau.hpp
include/dar/user_interaction.hpp
include/dar/wrapperlib.hpp
-lib/libdar.la
-lib/pkgconfig/libdar.pc
+lib/libdar${DARBITS}.la
+lib/pkgconfig/libdar${DARBITS}.pc
man/man1/dar.1
man/man1/dar_cp.1
man/man1/dar_manager.1
diff --git a/archivers/dar/distinfo b/archivers/dar/distinfo
index 47a0f83fd00..de6bf479bc9 100644
--- a/archivers/dar/distinfo
+++ b/archivers/dar/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.17 2007/01/07 13:29:20 rillig Exp $
+$NetBSD: distinfo,v 1.18 2007/03/18 04:36:23 dsainty Exp $
-SHA1 (dar-2.3.2.tar.gz) = b2f134aed3f628d312e718f6937f66a1732e4144
-RMD160 (dar-2.3.2.tar.gz) = be4d92bb272fa32a229664f0e3b66ed5cbbc565d
-Size (dar-2.3.2.tar.gz) = 1164461 bytes
-SHA1 (patch-aa) = 6f07f2bf85194cdad58d99c7cafd85e3b2c06031
-SHA1 (patch-ab) = 1d8fb3bcd9c0d6a07cb6413d0b94453264f3d499
+SHA1 (dar-2.3.3.tar.gz) = ec52d7d75b3414b54f03988874c51b2e655561ab
+RMD160 (dar-2.3.3.tar.gz) = 7e426a21633205738b1262fb643e1a91c8feb793
+Size (dar-2.3.3.tar.gz) = 1179147 bytes
+SHA1 (patch-aa) = 21728dd16aaeae50f0e28e60e4360e7a3eb2412b
+SHA1 (patch-ab) = f559c5fd99ab1f4b164b26762caadcb909c53aaa
SHA1 (patch-ac) = 34ba67a1ae794c1069824347b67a204455d18f2e
SHA1 (patch-ad) = b880e88531a834a69e72b9450b0aee756024fd25
SHA1 (patch-ae) = 54220384bf2031df64c38f5abea038382ca37e8e
+SHA1 (patch-af) = c25351dbf2f115b649207f88981710e04a0a038e
diff --git a/archivers/dar/patches/patch-aa b/archivers/dar/patches/patch-aa
index ff5ab4978b4..7a18f723c7b 100644
--- a/archivers/dar/patches/patch-aa
+++ b/archivers/dar/patches/patch-aa
@@ -1,13 +1,12 @@
-$NetBSD: patch-aa,v 1.2 2004/05/29 18:07:38 minskim Exp $
+$NetBSD: patch-aa,v 1.3 2007/03/18 04:36:23 dsainty Exp $
--- doc/Makefile.in.orig 2003-12-07 05:48:29.000000000 -0600
+++ doc/Makefile.in
-@@ -17,7 +17,7 @@
- srcdir = @srcdir@
- top_srcdir = @top_srcdir@
+@@ -15,6 +15,6 @@
+ @SET_MAKE@
+
VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
+pkgdatadir = $(datadir)/doc/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
- top_builddir = ..
diff --git a/archivers/dar/patches/patch-ab b/archivers/dar/patches/patch-ab
index f584b439bf4..329d5d327b6 100644
--- a/archivers/dar/patches/patch-ab
+++ b/archivers/dar/patches/patch-ab
@@ -1,13 +1,12 @@
-$NetBSD: patch-ab,v 1.2 2005/06/29 07:38:40 martti Exp $
+$NetBSD: patch-ab,v 1.3 2007/03/18 04:36:23 dsainty Exp $
--- doc/mini-howto/Makefile.in.orig 2005-06-09 13:19:08.000000000 +0300
+++ doc/mini-howto/Makefile.in 2005-06-09 13:19:21.000000000 +0300
-@@ -17,7 +17,7 @@
- srcdir = @srcdir@
- top_srcdir = @top_srcdir@
+@@ -15,6 +15,6 @@
+ @SET_MAKE@
+
VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
+pkgdatadir = $(datadir)/doc/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
- top_builddir = ../..
diff --git a/archivers/dar/patches/patch-af b/archivers/dar/patches/patch-af
new file mode 100644
index 00000000000..3594d66f9ec
--- /dev/null
+++ b/archivers/dar/patches/patch-af
@@ -0,0 +1,34 @@
+$NetBSD: patch-af,v 1.3 2007/03/18 04:36:23 dsainty Exp $
+
+Make sure we link with AM_LDFLAGS, which arranges the link and rpath for
+libintl.so.
+
+--- src/libdar/Makefile.in.orig 2007-02-26 11:05:04.000000000 +1300
++++ src/libdar/Makefile.in 2007-03-13 00:31:49.000000000 +1300
+@@ -72,7 +72,7 @@
+ libdar_la_OBJECTS = $(am_libdar_la_OBJECTS)
+ libdar_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+- $(CXXFLAGS) $(libdar_la_LDFLAGS) $(LDFLAGS) -o $@
++ $(CXXFLAGS) $(AM_LDFLAGS) $(libdar_la_LDFLAGS) $(LDFLAGS) -o $@
+ @BUILD_MODE32_FALSE@@BUILD_MODE64_FALSE@am_libdar_la_rpath = -rpath \
+ @BUILD_MODE32_FALSE@@BUILD_MODE64_FALSE@ $(libdir)
+ libdar32_la_LIBADD =
+@@ -89,7 +89,7 @@
+ libdar32_la_OBJECTS = $(am_libdar32_la_OBJECTS)
+ libdar32_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+- $(CXXFLAGS) $(libdar32_la_LDFLAGS) $(LDFLAGS) -o $@
++ $(CXXFLAGS) $(AM_LDFLAGS) $(libdar32_la_LDFLAGS) $(LDFLAGS) -o $@
+ @BUILD_MODE32_TRUE@am_libdar32_la_rpath = -rpath $(libdir)
+ libdar64_la_LIBADD =
+ am_libdar64_la_OBJECTS = catalogue.lo compressor.lo deci.lo defile.lo \
+@@ -105,7 +105,7 @@
+ libdar64_la_OBJECTS = $(am_libdar64_la_OBJECTS)
+ libdar64_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+- $(CXXFLAGS) $(libdar64_la_LDFLAGS) $(LDFLAGS) -o $@
++ $(CXXFLAGS) $(AM_LDFLAGS) $(libdar64_la_LDFLAGS) $(LDFLAGS) -o $@
+ @BUILD_MODE32_FALSE@@BUILD_MODE64_TRUE@am_libdar64_la_rpath = -rpath \
+ @BUILD_MODE32_FALSE@@BUILD_MODE64_TRUE@ $(libdir)
+ DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@