[Midnightbsd-cvs] mports [21983] trunk/archivers/libarchive: update libarchive to 3.2.1

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Oct 13 22:32:22 EDT 2016


Revision: 21983
          http://svnweb.midnightbsd.org/mports/?rev=21983
Author:   laffer1
Date:     2016-10-13 22:32:22 -0400 (Thu, 13 Oct 2016)
Log Message:
-----------
update libarchive to 3.2.1

Modified Paths:
--------------
    trunk/archivers/libarchive/Makefile
    trunk/archivers/libarchive/distinfo

Removed Paths:
-------------
    trunk/archivers/libarchive/files/

Modified: trunk/archivers/libarchive/Makefile
===================================================================
--- trunk/archivers/libarchive/Makefile	2016-10-03 22:03:42 UTC (rev 21982)
+++ trunk/archivers/libarchive/Makefile	2016-10-14 02:32:22 UTC (rev 21983)
@@ -2,8 +2,8 @@
 # $FreeBSD: head/archivers/libarchive/Makefile 362046 2014-07-16 07:53:29Z bapt $
 
 PORTNAME=	libarchive
-PORTVERSION=	3.1.2
-PORTREVISION=	5
+PORTVERSION=	3.2.1
+PORTREVISION=	0
 PORTEPOCH=	1
 CATEGORIES=	archivers
 MASTER_SITES=	http://libarchive.org/downloads/
@@ -17,13 +17,14 @@
 
 LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
 
-OPTIONS_DEFINE=	LZO NETTLE
-OPTIONS_DEFAULT=LZO
+OPTIONS_DEFINE=	LZ4 LZO NETTLE
+OPTIONS_DEFAULT=LZ4 LZO
 
+LZ4_DESC=	Support lz4 compression via liblz4
 LZO_DESC=	Support lzo compression via liblzo2
 NETTLE_DESC=	Use Nettle instead of OpenSSL
 
-USES=		cpe libtool pathfix
+USES=		cpe iconv libtool pathfix
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
@@ -30,7 +31,8 @@
 
 CONFIGURE_ARGS=	--without-xml2
 
-PLIST_FILES=	bin/bsdcpio \
+PLIST_FILES=	bin/bsdcat \
+		bin/bsdcpio \
 		bin/bsdtar \
 		include/archive.h \
 		include/archive_entry.h \
@@ -37,8 +39,9 @@
 		lib/libarchive.a \
 		lib/libarchive.so \
 		lib/libarchive.so.13 \
-		lib/libarchive.so.13.1.2 \
+		lib/libarchive.so.13.2.1 \
 		libdata/pkgconfig/libarchive.pc \
+		man/man1/bsdcat.1.gz \
 		man/man1/bsdcpio.1.gz \
 		man/man1/bsdtar.1.gz \
 		man/man3/archive_entry.3.gz \
@@ -49,6 +52,7 @@
 		man/man3/archive_entry_stat.3.gz \
 		man/man3/archive_entry_time.3.gz \
 		man/man3/archive_read.3.gz \
+		man/man3/archive_read_add_passphrase.3.gz \
 		man/man3/archive_read_data.3.gz \
 		man/man3/archive_read_disk.3.gz \
 		man/man3/archive_read_extract.3.gz \
@@ -72,6 +76,7 @@
 		man/man3/archive_write_new.3.gz \
 		man/man3/archive_write_open.3.gz \
 		man/man3/archive_write_set_options.3.gz \
+		man/man3/archive_write_set_passphrase.3.gz \
 		man/man3/libarchive.3.gz \
 		man/man3/libarchive_changes.3.gz \
 		man/man3/libarchive_internals.3.gz \
@@ -86,14 +91,28 @@
 
 LZO_LIB_DEPENDS=	liblzo2.so:${PORTSDIR}/archivers/lzo2
 LZO_CONFIGURE_WITH=	lzo2
+LZ4_LIB_DEPENDS=	liblz4.so:${PORTSDIR}/archivers/liblz4
+LZ4_CONFIGURE_WITH=	lz4
 
-NETTLE_LIB_DEPENDS=	libnettle.so:${PORTSDIR}/security/nettle
+NETTLE_LIB_DEPENDS=	libnettle.so:security/nettle
 NETTLE_CONFIGURE_WITH=	nettle
 NETTLE_CONFIGURE_ON=	--without-openssl
 NETTLE_USE_OFF=		OPENSSL=yes
 NETTLE_CONFIGURE_OFF=	--with-openssl
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 9005
+CONFIGURE_ENV+=	ac_cv_lzma_has_mt=no
+.endif
+
+.if empty(ICONV_LIB)
+CONFIGURE_ENV+=	ac_cv_header_localcharset_h=no \
+		ac_cv_func_locale_charset=no \
+		ac_cv_lib_charset_locale_charset=no
+.endif
+
 check:
 	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check)
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: trunk/archivers/libarchive/distinfo
===================================================================
--- trunk/archivers/libarchive/distinfo	2016-10-03 22:03:42 UTC (rev 21982)
+++ trunk/archivers/libarchive/distinfo	2016-10-14 02:32:22 UTC (rev 21983)
@@ -1,2 +1,3 @@
-SHA256 (libarchive-3.1.2.tar.gz) = eb87eacd8fe49e8d90c8fdc189813023ccc319c5e752b01fb6ad0cc7b2c53d5e
-SIZE (libarchive-3.1.2.tar.gz) = 4527540
+TIMESTAMP = 1466687824
+SHA256 (libarchive-3.2.1.tar.gz) = 72ee1a4e3fd534525f13a0ba1aa7b05b203d186e0c6072a8a4738649d0b3cfd2
+SIZE (libarchive-3.2.1.tar.gz) = 5448888



More information about the Midnightbsd-cvs mailing list