Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/libarchive: ChangeLog libarchive-2.4.0.ebuild libarchive-2.3.4.ebuild libarchive-2.2.5.ebuild libarchive-2.3.3.ebuild
Date: Sun, 04 Nov 2007 17:54:54
Message-Id: E1IojgI-0003Ep-Vd@stork.gentoo.org
1 flameeyes 07/11/04 17:54:42
2
3 Modified: ChangeLog
4 Added: libarchive-2.4.0.ebuild
5 Removed: libarchive-2.3.4.ebuild libarchive-2.2.5.ebuild
6 libarchive-2.3.3.ebuild
7 Log:
8 Version bump, and cleanup of old ebuilds.
9 (Portage version: 2.1.3.17)
10
11 Revision Changes Path
12 1.6 app-arch/libarchive/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.6&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?rev=1.6&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/ChangeLog?r1=1.5&r2=1.6
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v
21 retrieving revision 1.5
22 retrieving revision 1.6
23 diff -u -r1.5 -r1.6
24 --- ChangeLog 29 Oct 2007 17:23:03 -0000 1.5
25 +++ ChangeLog 4 Nov 2007 17:54:42 -0000 1.6
26 @@ -1,6 +1,13 @@
27 # ChangeLog for app-arch/libarchive
28 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.5 2007/10/29 17:23:03 uberlord Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/ChangeLog,v 1.6 2007/11/04 17:54:42 flameeyes Exp $
31 +
32 +*libarchive-2.4.0 (04 Nov 2007)
33 +
34 + 04 Nov 2007; Diego Pettenò <flameeyes@g.o>
35 + -libarchive-2.2.5.ebuild, -libarchive-2.3.3.ebuild,
36 + -libarchive-2.3.4.ebuild, +libarchive-2.4.0.ebuild:
37 + Version bump, and cleanup of old ebuilds.
38
39 *libarchive-2.3.5 (29 Oct 2007)
40
41
42
43
44 1.1 app-arch/libarchive/libarchive-2.4.0.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.4.0.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/libarchive/libarchive-2.4.0.ebuild?rev=1.1&content-type=text/plain
48
49 Index: libarchive-2.4.0.ebuild
50 ===================================================================
51 # Copyright 1999-2007 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-arch/libarchive/libarchive-2.4.0.ebuild,v 1.1 2007/11/04 17:54:42 flameeyes Exp $
54
55 inherit eutils autotools toolchain-funcs flag-o-matic
56
57 MY_P=${P/_beta/b}
58
59 DESCRIPTION="BSD tar command"
60 HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive/"
61 SRC_URI="http://people.freebsd.org/~kientzle/libarchive/src/${MY_P}.tar.gz"
62
63 LICENSE="BSD"
64 SLOT="0"
65 KEYWORDS="~amd64 ~hppa ~ppc ~sparc-fbsd ~x86 ~x86-fbsd"
66 IUSE="build static acl xattr kernel_linux"
67
68 RDEPEND="!dev-libs/libarchive
69 kernel_linux? (
70 acl? ( sys-apps/acl )
71 xattr? ( sys-apps/attr )
72 )
73 !static? ( !build? (
74 app-arch/bzip2
75 sys-libs/zlib ) )"
76 DEPEND="${RDEPEND}
77 kernel_linux? ( sys-fs/e2fsprogs
78 virtual/os-headers )"
79
80 S="${WORKDIR}/${MY_P}"
81
82 src_unpack() {
83 unpack ${A}
84 cd "${S}"
85
86 epatch "${FILESDIR}"/${PN}-2.1.5-acl.patch
87
88 eautoreconf
89 epunt_cxx
90 }
91
92 src_compile() {
93 local myconf=
94
95 if use static || use build ; then
96 myconf="${myconf} --enable-static-bsdtar"
97 else
98 myconf="${myconf} --disable-static-bsdtar"
99 fi
100
101 # Upstream doesn't seem to care to fix the problems
102 # and I don't want to continue running after them.
103 #append-flags -fno-strict-aliasing
104
105 econf \
106 --bindir=/bin \
107 --enable-bsdcpio \
108 $(use_enable acl) \
109 $(use_enable xattr) \
110 ${myconf} || die "econf failed"
111 emake || die "emake failed"
112 }
113
114 src_install() {
115 emake -j1 DESTDIR="${D}" install || die "emake install failed"
116
117 # Create tar symlink for FreeBSD
118 if [[ ${CHOST} == *-freebsd* ]]; then
119 dosym bsdtar /bin/tar
120 dosym bsdtar.1 /usr/share/man/man1/tar.1
121 # We may wish to switch to symlink bsdcpio to cpio too one day
122 fi
123
124 dodoc README NEWS
125
126 if use build; then
127 rm -rf "${D}"/usr
128 rm -rf "${D}"/lib/*.so*
129 return 0
130 fi
131
132 dodir /$(get_libdir)
133 mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)
134 gen_usr_ldscript libarchive.so
135 }
136
137
138
139 --
140 gentoo-commits@g.o mailing list