diff options
author | glewis <glewis@FreeBSD.org> | 2013-03-24 01:09:43 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2013-03-24 01:09:43 +0800 |
commit | 7d9ed8226c46b8ff7c5f20b7936a27316cde320f (patch) | |
tree | e1004c96bb9ef289268a25eb28df1a60873260fa /archivers | |
parent | 66e14cc4a4cfe56046b57fbc4f0f9ca75aae514b (diff) | |
download | freebsd-ports-gnome-7d9ed8226c46b8ff7c5f20b7936a27316cde320f.tar.gz freebsd-ports-gnome-7d9ed8226c46b8ff7c5f20b7936a27316cde320f.tar.zst freebsd-ports-gnome-7d9ed8226c46b8ff7c5f20b7936a27316cde320f.zip |
. Update to 3.1.2
PR: 177290
Submitted by: mm@
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/libarchive/Makefile | 45 | ||||
-rw-r--r-- | archivers/libarchive/distinfo | 4 | ||||
-rw-r--r-- | archivers/libarchive/files/patch-libarchive-archive_read_disk_entry_from_file.c | 14 |
3 files changed, 35 insertions, 28 deletions
diff --git a/archivers/libarchive/Makefile b/archivers/libarchive/Makefile index bd62745dddfe..4dacfd9300ed 100644 --- a/archivers/libarchive/Makefile +++ b/archivers/libarchive/Makefile @@ -1,23 +1,19 @@ -# New ports collection makefile for: libarchive -# Date created: 23 March 2004 -# Whom: Greg Lewis <glewis@FreeBSD.org> -# # $FreeBSD$ PORTNAME= libarchive -PORTVERSION= 3.0.4 -PORTREVISION= 1 +PORTVERSION= 3.1.2 PORTEPOCH= 1 CATEGORIES= archivers -MASTER_SITES= http://cloud.github.com/downloads/${PORTNAME}/${PORTNAME}/ +MASTER_SITES= http://libarchive.org/downloads/ MAINTAINER= glewis@FreeBSD.org COMMENT= Library to create and read several streaming archive formats -OPTIONS_DEFINE= LIBXML2 NETTLE -OPTIONS_DEFAULT= LIBXML2 +OPTIONS_DEFINE= LIBXML2 LZO NETTLE +OPTIONS_DEFAULT=LIBXML2 LZO LIBXML2_DESC= Support writing xar via libxml2 +LZO_DESC= Support lzo compression via liblzo2 NETTLE_DESC= Use Nettle instead of OpenSSL GNU_CONFIGURE= yes @@ -34,7 +30,7 @@ PLIST_FILES= bin/bsdcpio \ lib/libarchive.a \ lib/libarchive.la \ lib/libarchive.so \ - lib/libarchive.so.12 \ + lib/libarchive.so.14 \ libdata/pkgconfig/libarchive.pc MANCOMPRESSED= no @@ -48,13 +44,31 @@ MAN3= archive_entry.3 \ archive_entry_stat.3 \ archive_entry_time.3 \ archive_read.3 \ + archive_read_data.3 \ archive_read_disk.3 \ + archive_read_extract.3 \ + archive_read_filter.3 \ + archive_read_format.3 \ + archive_read_free.3 \ + archive_read_header.3 \ + archive_read_new.3 \ + archive_read_open.3 \ archive_read_set_options.3 \ archive_util.3 \ archive_write.3 \ + archive_write_blocksize.3 \ + archive_write_data.3 \ archive_write_disk.3 \ + archive_write_filter.3 \ + archive_write_finish_entry.3 \ + archive_write_format.3 \ + archive_write_free.3 \ + archive_write_header.3 \ + archive_write_new.3 \ + archive_write_open.3 \ archive_write_set_options.3 \ libarchive.3 \ + libarchive_changes.3 \ libarchive_internals.3 MAN5= cpio.5 \ libarchive-formats.5 \ @@ -76,8 +90,15 @@ LDFLAGS+= -lbsdxml CONFIGURE_ARGS+= --without-xml2 .endif +.if ${PORT_OPTIONS:MLZO} +LIB_DEPENDS= lzo2:${PORTSDIR}/archivers/lzo2 +CONFIGURE_ARGS+= --with-lzo2 +.else +CONFIGURE_ARGS+= --without-lzo2 +.endif + .if ${PORT_OPTIONS:MNETTLE} -LIB_DEPENDS+= nettle.4:${PORTSDIR}/security/nettle +LIB_DEPENDS+= nettle:${PORTSDIR}/security/nettle CONFIGURE_ARGS+= --without-openssl --with-nettle .else USE_OPENSSL= yes @@ -87,7 +108,7 @@ CONFIGURE_ARGS+= --with-openssl --without-nettle .include <bsd.port.pre.mk> .if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) -LIB_DEPENDS+= lzma.5:${PORTSDIR}/archivers/xz +LIB_DEPENDS+= lzma:${PORTSDIR}/archivers/xz .endif check: diff --git a/archivers/libarchive/distinfo b/archivers/libarchive/distinfo index b61ede448323..dad2e344a873 100644 --- a/archivers/libarchive/distinfo +++ b/archivers/libarchive/distinfo @@ -1,2 +1,2 @@ -SHA256 (libarchive-3.0.4.tar.gz) = 76e8d7c7b100ec4071e48c1b7d3f3ea1d22b39db3e45b7189f75b5ff4df90fac -SIZE (libarchive-3.0.4.tar.gz) = 3632806 +SHA256 (libarchive-3.1.2.tar.gz) = eb87eacd8fe49e8d90c8fdc189813023ccc319c5e752b01fb6ad0cc7b2c53d5e +SIZE (libarchive-3.1.2.tar.gz) = 4527540 diff --git a/archivers/libarchive/files/patch-libarchive-archive_read_disk_entry_from_file.c b/archivers/libarchive/files/patch-libarchive-archive_read_disk_entry_from_file.c deleted file mode 100644 index 451508365675..000000000000 --- a/archivers/libarchive/files/patch-libarchive-archive_read_disk_entry_from_file.c +++ /dev/null @@ -1,14 +0,0 @@ -$FreeBSD$ - -diff --git a/libarchive/archive_read_disk_entry_from_file.c b/libarchive/archive_read_disk_entry_from_file.c -index 7987fa5..25b1edc 100644 ---- a/libarchive/archive_read_disk_entry_from_file.c -+++ b/libarchive/archive_read_disk_entry_from_file.c -@@ -584,6 +584,7 @@ translate_acl(struct archive_read_disk *a, - break; - default: - /* Skip types that libarchive can't support. */ -+ s = acl_get_entry(acl, ACL_NEXT_ENTRY, &acl_entry); - continue; - } - |