Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/acl: acl-2.2.51.ebuild ChangeLog
Date: Fri, 29 Apr 2011 22:42:08
Message-Id: 20110429224157.AEC1320054@flycatcher.gentoo.org
1 vapier 11/04/29 22:41:57
2
3 Modified: ChangeLog
4 Added: acl-2.2.51.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.110 sys-apps/acl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/acl/ChangeLog?rev=1.110&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/acl/ChangeLog?rev=1.110&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/acl/ChangeLog?r1=1.109&r2=1.110
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v
20 retrieving revision 1.109
21 retrieving revision 1.110
22 diff -u -r1.109 -r1.110
23 --- ChangeLog 15 Apr 2011 17:08:47 -0000 1.109
24 +++ ChangeLog 29 Apr 2011 22:41:57 -0000 1.110
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-apps/acl
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.109 2011/04/15 17:08:47 flameeyes Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.110 2011/04/29 22:41:57 vapier Exp $
30 +
31 +*acl-2.2.51 (29 Apr 2011)
32 +
33 + 29 Apr 2011; Mike Frysinger <vapier@g.o> +acl-2.2.51.ebuild:
34 + Version bump.
35
36 *acl-2.2.49-r1 (15 Apr 2011)
37
38
39
40
41 1.1 sys-apps/acl/acl-2.2.51.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/acl/acl-2.2.51.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/acl/acl-2.2.51.ebuild?rev=1.1&content-type=text/plain
45
46 Index: acl-2.2.51.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/acl-2.2.51.ebuild,v 1.1 2011/04/29 22:41:57 vapier Exp $
51
52 EAPI="4"
53
54 inherit eutils toolchain-funcs
55
56 DESCRIPTION="access control list utilities, libraries and headers"
57 HOMEPAGE="http://savannah.nongnu.org/projects/acl"
58 SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.src.tar.gz
59 nfs? ( http://www.citi.umich.edu/projects/nfsv4/linux/acl-patches/2.2.42-2/acl-2.2.42-CITI_NFS4_ALL-2.dif )"
60
61 LICENSE="LGPL-2.1"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
64 IUSE="nfs nls static-libs"
65
66 RDEPEND=">=sys-apps/attr-2.4
67 nfs? ( net-libs/libnfsidmap )"
68 DEPEND="${RDEPEND}
69 nls? ( sys-devel/gettext )"
70
71 src_prepare() {
72 if use nfs ; then
73 cp "${DISTDIR}"/acl-2.2.42-CITI_NFS4_ALL-2.dif . || die
74 sed -i \
75 -e '/^diff --git a.debian.changelog b.debian.changelog/,/^diff --git/d' \
76 acl-2.2.42-CITI_NFS4_ALL-2.dif || die
77 epatch acl-2.2.42-CITI_NFS4_ALL-2.dif
78 fi
79 epatch "${FILESDIR}"/${PN}-2.2.49-quote-strchr.patch
80 sed -i \
81 -e '/^as_dummy=/s:=":="$PATH$PATH_SEPARATOR:' \
82 configure # hack PATH with AC_PATH_PROG
83 sed -i \
84 -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
85 -e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
86 include/builddefs.in \
87 || die "failed to update builddefs"
88 strip-linguas po
89 }
90
91 src_configure() {
92 unset PLATFORM #184564
93 export OPTIMIZER=${CFLAGS}
94 export DEBUG=-DNDEBUG
95
96 econf \
97 $(use_enable nls gettext) \
98 --enable-shared $(use_enable static-libs static) \
99 --libexecdir="${EPREFIX}"/usr/$(get_libdir) \
100 --bindir="${EPREFIX}"/bin
101 }
102
103 src_install() {
104 emake DIST_ROOT="${D}" install install-dev install-lib || die
105 use static-libs || find "${D}" -name '*.la' -delete
106
107 # move shared libs to /
108 gen_usr_ldscript -a acl
109 }