Bug 177290 - [PATCH] archivers/libarchive: update to 3.1.2,1
Summary: [PATCH] archivers/libarchive: update to 3.1.2,1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Greg Lewis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-23 01:40 UTC by Martin Matuska
Modified: 2013-03-23 17:20 UTC (History)
1 user (show)

See Also:


Attachments
libarchive-3.1.2,1.patch (4.28 KB, patch)
2013-03-23 01:40 UTC, Martin Matuska
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Matuska freebsd_committer freebsd_triage 2013-03-23 01:40:00 UTC
- Update to 3.1.2,1
- Add support for lzo2 and enable by default
- Change headers to new style

Port maintainer (glewis@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_7 (mode: update, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-23 01:40:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->glewis

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-03-23 17:09:56 UTC
Author: glewis
Date: Sat Mar 23 17:09:43 2013
New Revision: 315047
URL: http://svnweb.freebsd.org/changeset/ports/315047

Log:
  . Update to 3.1.2
  
  PR:		177290
  Submitted by:	mm@

Deleted:
  head/archivers/libarchive/files/patch-libarchive-archive_read_disk_entry_from_file.c
Modified:
  head/archivers/libarchive/Makefile
  head/archivers/libarchive/distinfo

Modified: head/archivers/libarchive/Makefile
==============================================================================
--- head/archivers/libarchive/Makefile	Sat Mar 23 16:31:13 2013	(r315046)
+++ head/archivers/libarchive/Makefile	Sat Mar 23 17:09:43 2013	(r315047)
@@ -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 --withou
 .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:

Modified: head/archivers/libarchive/distinfo
==============================================================================
--- head/archivers/libarchive/distinfo	Sat Mar 23 16:31:13 2013	(r315046)
+++ head/archivers/libarchive/distinfo	Sat Mar 23 17:09:43 2013	(r315047)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Greg Lewis freebsd_committer freebsd_triage 2013-03-23 17:10:11 UTC
State Changed
From-To: open->closed

Committed. Thanks!