aboutsummaryrefslogtreecommitdiff
path: root/archivers/libarchive
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2007-09-20 16:47:33 +0000
committerGreg Lewis <glewis@FreeBSD.org>2007-09-20 16:47:33 +0000
commitee5df491f1b090f7ca264395a9709ad015fcb0fb (patch)
tree99ba9027f0ad223c0730a03e5bd95146a5a67343 /archivers/libarchive
parent76567f7dda1bbd0bc15e4757373d8458fa64e0c2 (diff)
downloadports-ee5df491f1b090f7ca264395a9709ad015fcb0fb.tar.gz
ports-ee5df491f1b090f7ca264395a9709ad015fcb0fb.zip
Notes
Diffstat (limited to 'archivers/libarchive')
-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