Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/libarchive: metadata.xml ChangeLog libarchive-3.0.2.ebuild
Date: Tue, 10 Jan 2012 12:52:35
Message-Id: 20120110125225.74B2F2004B@flycatcher.gentoo.org
1 ssuominen 12/01/10 12:52:25
2
3 Modified: metadata.xml ChangeLog
4 Added: libarchive-3.0.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.6 app-arch/libarchive/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/libarchive/metadata.xml?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/libarchive/metadata.xml?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/libarchive/metadata.xml?r1=1.5&r2=1.6
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-arch/libarchive/metadata.xml,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- metadata.xml 14 Nov 2010 13:42:00 -0000 1.5
24 +++ metadata.xml 10 Jan 2012 12:52:25 -0000 1.6
25 @@ -13,7 +13,7 @@
26 <flag name="static">
27 Build bsdtar and bsdcpio as static archives, removing
28 dependencies over the enabled compression libraries (lzma,
29 - lzmadec, libbz2, zlib).
30 + libbz2, zlib).
31 </flag>
32 <flag name="zlib">
33 Allow accessing gzip-compressed archives through
34 @@ -28,5 +28,6 @@
35 libarchive's native support: bsdtar will keep using bunzip2 as a
36 filter if that's not built-in.
37 </flag>
38 + <flag name="nettle">Use dev-libs/nettle as crypto backend</flag>
39 </use>
40 </pkgmetadata>
41
42
43
44 1.98 app-arch/libarchive/ChangeLog
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.98&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.98&content-type=text/plain
48 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/libarchive/ChangeLog?r1=1.97&r2=1.98
49
50 Index: ChangeLog
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v
53 retrieving revision 1.97
54 retrieving revision 1.98
55 diff -u -r1.97 -r1.98
56 --- ChangeLog 29 Oct 2011 18:41:18 -0000 1.97
57 +++ ChangeLog 10 Jan 2012 12:52:25 -0000 1.98
58 @@ -1,6 +1,13 @@
59 # ChangeLog for app-arch/libarchive
60 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
61 -# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.97 2011/10/29 18:41:18 armin76 Exp $
62 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
63 +# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.98 2012/01/10 12:52:25 ssuominen Exp $
64 +
65 +*libarchive-3.0.2 (10 Jan 2012)
66 +
67 + 10 Jan 2012; Samuli Suominen <ssuominen@g.o> +libarchive-3.0.2.ebuild,
68 + metadata.xml:
69 + Version bump. Remove USE="static" and move everything back to /usr wrt #398047
70 + by Michał Górny.
71
72 29 Oct 2011; Raúl Porcel <armin76@g.o> libarchive-2.8.4-r1.ebuild:
73 s390 stable
74
75
76
77 1.1 app-arch/libarchive/libarchive-3.0.2.ebuild
78
79 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/libarchive/libarchive-3.0.2.ebuild?rev=1.1&view=markup
80 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/libarchive/libarchive-3.0.2.ebuild?rev=1.1&content-type=text/plain
81
82 Index: libarchive-3.0.2.ebuild
83 ===================================================================
84 # Copyright 1999-2012 Gentoo Foundation
85 # Distributed under the terms of the GNU General Public License v2
86 # $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-3.0.2.ebuild,v 1.1 2012/01/10 12:52:25 ssuominen Exp $
87
88 EAPI=4
89 inherit eutils multilib
90
91 DESCRIPTION="BSD tar command"
92 HOMEPAGE="http://code.google.com/p/libarchive/"
93 SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
94
95 LICENSE="BSD"
96 SLOT="0"
97 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
98 IUSE="acl +bzip2 expat +iconv kernel_linux +lzma nettle static-libs xattr +zlib"
99
100 RDEPEND="!dev-libs/libarchive
101 dev-libs/openssl:0
102 acl? ( virtual/acl )
103 bzip2? ( app-arch/bzip2 )
104 expat? ( dev-libs/expat )
105 !expat? ( dev-libs/libxml2 )
106 iconv? ( virtual/libiconv )
107 lzma? ( app-arch/xz-utils )
108 nettle? ( dev-libs/nettle )
109 xattr? (
110 kernel_linux? ( sys-apps/attr )
111 )
112 zlib? ( sys-libs/zlib )"
113 DEPEND="${RDEPEND}
114 kernel_linux? (
115 sys-fs/e2fsprogs
116 virtual/os-headers
117 )"
118
119 src_configure() {
120 # We disable lzmadec because we support the newer liblzma from xz-utils
121 # and not liblzmadec with this version.
122 econf \
123 $(use_enable static-libs static) \
124 --enable-bsdtar=shared \
125 --enable-bsdcpio=shared \
126 $(use_enable xattr) \
127 $(use_enable acl) \
128 $(use_with zlib) \
129 $(use_with bzip2 bz2lib) \
130 --without-lzmadec \
131 $(use_with iconv) \
132 $(use_with lzma) \
133 $(use_with nettle) \
134 $(use_with !expat xml2) \
135 $(use_with expat expat) \
136 ${myconf}
137 }
138
139 src_test() {
140 # Replace the default src_test so that it builds tests in parallel
141 emake check
142 }
143
144 src_install() {
145 emake DESTDIR="${D}" install
146
147 # Libs.private: should be used from libarchive.pc instead
148 rm -f "${ED}"usr/lib*/lib*.la
149
150 # Create tar symlink for FreeBSD
151 if [[ ${CHOST} == *-freebsd* ]]; then
152 dosym bsdtar /usr/bin/tar
153 echo '.so bsdtar.1' > "${T}"/tar.1
154 doman "${T}"/tar.1
155 # We may wish to switch to symlink bsdcpio to cpio too one day
156 fi
157
158 dodoc NEWS README
159 }
160
161 pkg_preinst() {
162 preserve_old_lib /{,usr/}$(get_libdir)/libarchive$(get_libname 2)
163 }
164
165 pkg_postinst() {
166 preserve_old_lib_notify /{,usr/}$(get_libdir)/libarchive$(get_libname 2)
167 }