From: | "Samuli Suominen (drac)" <drac@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-arch/libarchive: ChangeLog libarchive-2.4.4.ebuild |
Date: | Tue, 04 Dec 2007 16:25:01 |
Message-Id: | E1IzaZq-0000sn-HQ@stork.gentoo.org |
1 | drac 07/12/04 16:24:54 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libarchive-2.4.4.ebuild |
5 | Log: |
6 | Version bump, thanks to Tim Kientzle <kientzle at freebsd.org> for applying our patch fixing automagic acl and xattr. This version also fixes most of the test suite. |
7 | (Portage version: 2.1.4_rc4) |
8 | |
9 | Revision Changes Path |
10 | 1.9 app-arch/libarchive/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.9&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.9&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?r1=1.8&r2=1.9 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v |
19 | retrieving revision 1.8 |
20 | retrieving revision 1.9 |
21 | diff -u -r1.8 -r1.9 |
22 | --- ChangeLog 3 Dec 2007 15:43:16 -0000 1.8 |
23 | +++ ChangeLog 4 Dec 2007 16:24:53 -0000 1.9 |
24 | @@ -1,6 +1,13 @@ |
25 | # ChangeLog for app-arch/libarchive |
26 | # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.8 2007/12/03 15:43:16 drac Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.9 2007/12/04 16:24:53 drac Exp $ |
29 | + |
30 | +*libarchive-2.4.4 (04 Dec 2007) |
31 | + |
32 | + 04 Dec 2007; Samuli Suominen <drac@g.o> +libarchive-2.4.4.ebuild: |
33 | + Version bump, thanks to Tim Kientzle <kientzle at freebsd.org> for applying |
34 | + our patch fixing automagic acl and xattr. This version also fixes most of |
35 | + the test suite. |
36 | |
37 | *libarchive-2.4.2 (03 Dec 2007) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 app-arch/libarchive/libarchive-2.4.4.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.4.4.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.4.4.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: libarchive-2.4.4.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2007 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-2.4.4.ebuild,v 1.1 2007/12/04 16:24:53 drac Exp $ |
52 | |
53 | inherit eutils libtool toolchain-funcs |
54 | |
55 | DESCRIPTION="BSD tar command" |
56 | HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive" |
57 | SRC_URI="http://people.freebsd.org/~kientzle/libarchive/src/${P}.tar.gz" |
58 | |
59 | LICENSE="BSD" |
60 | SLOT="0" |
61 | KEYWORDS="~amd64 ~hppa ~ppc ~sparc-fbsd ~x86 ~x86-fbsd" |
62 | IUSE="build static acl xattr kernel_linux" |
63 | |
64 | RDEPEND="!dev-libs/libarchive |
65 | kernel_linux? ( |
66 | acl? ( sys-apps/acl ) |
67 | xattr? ( sys-apps/attr ) |
68 | ) |
69 | !static? ( !build? ( |
70 | app-arch/bzip2 |
71 | sys-libs/zlib ) )" |
72 | DEPEND="${RDEPEND} |
73 | kernel_linux? ( sys-fs/e2fsprogs |
74 | virtual/os-headers )" |
75 | |
76 | src_unpack() { |
77 | unpack ${A} |
78 | cd "${S}" |
79 | elibtoolize |
80 | epunt_cxx |
81 | } |
82 | |
83 | src_compile() { |
84 | local myconf |
85 | |
86 | if ! use static && ! use build ; then |
87 | myconf="--enable-bsdtar=shared --enable-bsdcpio=shared" |
88 | fi |
89 | |
90 | econf --bindir=/bin --enable-bsdcpio \ |
91 | $(use_enable acl) $(use_enable xattr) \ |
92 | ${myconf} || die "econf failed." |
93 | |
94 | emake || die "emake failed." |
95 | } |
96 | |
97 | src_install() { |
98 | emake -j1 DESTDIR="${D}" install || die "emake install failed." |
99 | |
100 | # Create tar symlink for FreeBSD |
101 | if [[ ${CHOST} == *-freebsd* ]]; then |
102 | dosym bsdtar /bin/tar |
103 | dosym bsdtar.1 /usr/share/man/man1/tar.1 |
104 | # We may wish to switch to symlink bsdcpio to cpio too one day |
105 | fi |
106 | |
107 | dodoc NEWS README |
108 | |
109 | if use build; then |
110 | rm -rf "${D}"/usr |
111 | rm -rf "${D}"/lib/*.so* |
112 | return 0 |
113 | fi |
114 | |
115 | dodir /$(get_libdir) |
116 | mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir) |
117 | gen_usr_ldscript libarchive.so |
118 | } |
119 | |
120 | |
121 | |
122 | -- |
123 | gentoo-commits@g.o mailing list |