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: ChangeLog acl-2.2.47-r1.ebuild
Date: Thu, 02 Jul 2009 01:30:27
Message-Id: E1MMB84-0004IM-SS@stork.gentoo.org
1 vapier 09/07/02 01:30:24
2
3 Modified: ChangeLog
4 Added: acl-2.2.47-r1.ebuild
5 Log:
6 Add symlink fixes from upstream #265425 by Radek Podgorny.
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.100 sys-apps/acl/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/acl/ChangeLog?rev=1.100&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/acl/ChangeLog?rev=1.100&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/acl/ChangeLog?r1=1.99&r2=1.100
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v
19 retrieving revision 1.99
20 retrieving revision 1.100
21 diff -u -r1.99 -r1.100
22 --- ChangeLog 16 Dec 2008 17:58:55 -0000 1.99
23 +++ ChangeLog 2 Jul 2009 01:30:24 -0000 1.100
24 @@ -1,6 +1,14 @@
25 # ChangeLog for sys-apps/acl
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.99 2008/12/16 17:58:55 jer Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.100 2009/07/02 01:30:24 vapier Exp $
30 +
31 +*acl-2.2.47-r1 (02 Jul 2009)
32 +
33 + 02 Jul 2009; Mike Frysinger <vapier@g.o>
34 + +files/0001-Introduce-new-WALK_TREE_DEREFERENCE_TOPLEVEL-flag.patch,
35 + +acl-2.2.47-r1.ebuild,
36 + +files/0001-Make-sure-that-getfacl-R-only-calls-stat-2-on-symlin.patch:
37 + Add symlink fixes from upstream #265425 by Radek Podgorny.
38
39 16 Dec 2008; Jeroen Roovers <jer@g.o> acl-2.2.47.ebuild:
40 Stable for HPPA (bug #235016).
41
42
43
44 1.1 sys-apps/acl/acl-2.2.47-r1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/acl/acl-2.2.47-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/acl/acl-2.2.47-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: acl-2.2.47-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2009 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/acl-2.2.47-r1.ebuild,v 1.1 2009/07/02 01:30:24 vapier Exp $
54
55 inherit eutils autotools toolchain-funcs
56
57 MY_P="${PN}_${PV}-1"
58 DESCRIPTION="Access control list utilities, libraries and headers"
59 HOMEPAGE="http://oss.sgi.com/projects/xfs/"
60 SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${MY_P}.tar.gz
61 ftp://xfs.org/mirror/SGI/cmd_tars/${MY_P}.tar.gz
62 nfs? ( http://www.citi.umich.edu/projects/nfsv4/linux/acl-patches/2.2.42-2/acl-2.2.42-CITI_NFS4_ALL-2.dif )"
63
64 LICENSE="LGPL-2.1"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
67 IUSE="nfs nls"
68
69 RDEPEND=">=sys-apps/attr-2.4
70 nfs? ( net-libs/libnfsidmap )"
71 DEPEND="${RDEPEND}
72 nls? ( sys-devel/gettext )"
73
74 src_unpack() {
75 unpack ${MY_P}.tar.gz
76 cd "${S}"
77 if use nfs ; then
78 cp "${DISTDIR}"/acl-2.2.42-CITI_NFS4_ALL-2.dif . || die
79 sed -i '/^diff --git a.debian.changelog b.debian.changelog/,/^diff --git/d' acl-2.2.42-CITI_NFS4_ALL-2.dif || die
80 epatch acl-2.2.42-CITI_NFS4_ALL-2.dif
81 fi
82 epatch \
83 "${FILESDIR}"/0001-Introduce-new-WALK_TREE_DEREFERENCE_TOPLEVEL-flag.patch \
84 "${FILESDIR}"/0001-Make-sure-that-getfacl-R-only-calls-stat-2-on-symlin.patch #265425
85 epatch "${FILESDIR}"/${PN}-2.2.45-libtool.patch #158068
86 epatch "${FILESDIR}"/${PN}-2.2.45-linguas.patch #205948
87 epatch "${FILESDIR}"/${PN}-2.2.32-only-symlink-when-needed.patch
88 sed -i \
89 -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
90 -e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
91 include/builddefs.in \
92 || die "failed to update builddefs"
93 # libtool will clobber install-sh which is really a custom file
94 mv install-sh acl.install-sh || die
95 AT_M4DIR="m4" eautoreconf
96 mv acl.install-sh install-sh || die
97 strip-linguas po
98 }
99
100 src_compile() {
101 unset PLATFORM #184564
102 export OPTIMIZER=${CFLAGS}
103 export DEBUG=-DNDEBUG
104
105 econf \
106 $(use_enable nls gettext) \
107 --libexecdir=/usr/$(get_libdir) \
108 --bindir=/bin \
109 || die
110 emake || die
111 }
112
113 src_install() {
114 emake DIST_ROOT="${D}" install install-dev install-lib || die
115 prepalldocs
116
117 # move shared libs to /
118 dodir /$(get_libdir)
119 mv "${D}"/usr/$(get_libdir)/libacl.so* "${D}"/$(get_libdir)/ || die
120 gen_usr_ldscript libacl.so
121 }