aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2007-09-21 00:47:33 +0800
committerglewis <glewis@FreeBSD.org>2007-09-21 00:47:33 +0800
commit13a107b71491e1df99577af795790e0587766026 (patch)
tree83ce9089ede38d8b1e6a0aa16e993746fb06777b
parent9f75a27fb5301802158cb025b0ea1394589f599c (diff)
downloadfreebsd-ports-gnome-13a107b71491e1df99577af795790e0587766026.tar.gz
freebsd-ports-gnome-13a107b71491e1df99577af795790e0587766026.tar.zst
freebsd-ports-gnome-13a107b71491e1df99577af795790e0587766026.zip
. Update to 2.3.1.
. Optionally install bsdcpio (currently defaults to off until bsdcpio is a little more mature).
-rw-r--r--archivers/libarchive/Makefile16
-rw-r--r--archivers/libarchive/distinfo6
-rw-r--r--archivers/libarchive/files/patch-Makefile.in13
3 files changed, 29 insertions, 6 deletions
diff --git a/archivers/libarchive/Makefile b/archivers/libarchive/Makefile
index 74eed3b5aa25..ef800e998b26 100644
--- a/archivers/libarchive/Makefile
+++ b/archivers/libarchive/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= libarchive
-PORTVERSION= 2.2.7
+PORTVERSION= 2.3.1
PORTEPOCH= 1
CATEGORIES= archivers
MASTER_SITES= http://people.freebsd.org/~kientzle/libarchive/src/
@@ -16,13 +16,15 @@ COMMENT= Library to create and read several streaming archive formats
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
+OPTIONS= BSDCPIO "Enable bsdcpio" off
+
PLIST_FILES= bin/bsdtar \
include/archive.h \
include/archive_entry.h \
lib/libarchive.a \
lib/libarchive.la \
lib/libarchive.so \
- lib/libarchive.so.4
+ lib/libarchive.so.5
MANCOMPRESSED= no
MAN1= bsdtar.1
@@ -36,4 +38,12 @@ MAN3= archive_entry.3 \
MAN5= libarchive-formats.5 \
tar.5
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_BSDCPIO)
+CONFIGURE_ARGS+= --enable-bsdcpio=yes
+PLIST_FILES+= bin/bsdcpio
+#MAN1+= bsdcpio.1
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/archivers/libarchive/distinfo b/archivers/libarchive/distinfo
index d27f0a4abb48..20e442235cad 100644
--- a/archivers/libarchive/distinfo
+++ b/archivers/libarchive/distinfo
@@ -1,3 +1,3 @@
-MD5 (libarchive-2.2.7.tar.gz) = e1c3decc32d57fac60fd90b8ac9af0f1
-SHA256 (libarchive-2.2.7.tar.gz) = 178286b67c0879e9bf5995bc75e7ef3d67804f525eb717a21008cfc940b58f5d
-SIZE (libarchive-2.2.7.tar.gz) = 656437
+MD5 (libarchive-2.3.1.tar.gz) = 3ff7d823b945f5c212b03c86401a64e3
+SHA256 (libarchive-2.3.1.tar.gz) = a8d1600d62d778d9f486d5c2d8de4fe356b2a7e6a9531c14976b7d34ea34d535
+SIZE (libarchive-2.3.1.tar.gz) = 660819
diff --git a/archivers/libarchive/files/patch-Makefile.in b/archivers/libarchive/files/patch-Makefile.in
new file mode 100644
index 000000000000..a43cc6d29e2d
--- /dev/null
+++ b/archivers/libarchive/files/patch-Makefile.in
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- Makefile.in.orig Sun Sep 16 20:21:02 2007
++++ Makefile.in Thu Sep 20 08:51:14 2007
+@@ -608,7 +608,7 @@
+ bsdcpio_CPPFLAGS = -I$(top_builddir)/libarchive -I$(top_srcdir)/libarchive
+ bsdcpio_LDFLAGS = $(bsdcpio_static)
+ @BUILD_BSDCPIO_FALSE@bsdcpio_dist_man_MANS =
+-@BUILD_BSDCPIO_TRUE@bsdcpio_dist_man_MANS = cpio/bsdcpio.1
++@BUILD_BSDCPIO_TRUE@bsdcpio_dist_man_MANS = # cpio/bsdcpio.1
+ @BUILD_BSDCPIO_FALSE@bsdcpio_programs =
+ @BUILD_BSDCPIO_TRUE@bsdcpio_programs = bsdcpio
+ all: $(BUILT_SOURCES) config.h