diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-09-23 15:40:34 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-09-23 15:40:34 +0000 |
commit | ded7941516f4a2882e97393f91d78db880fdbab3 (patch) | |
tree | 624c090c2550467183d22c6bf8d14bd7f5e5b9e7 /sys-apps/acl | |
parent | Remove old version. (diff) | |
download | gentoo-2-ded7941516f4a2882e97393f91d78db880fdbab3.tar.gz gentoo-2-ded7941516f4a2882e97393f91d78db880fdbab3.tar.bz2 gentoo-2-ded7941516f4a2882e97393f91d78db880fdbab3.zip |
Add support for NFS ACLs #144845 by Christophe Saout.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'sys-apps/acl')
-rw-r--r-- | sys-apps/acl/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/acl/acl-2.2.39-r1.ebuild | 60 | ||||
-rw-r--r-- | sys-apps/acl/files/acl-2.2.29-nfs-glue.patch | 23 | ||||
-rw-r--r-- | sys-apps/acl/files/digest-acl-2.2.39-r1 | 6 |
4 files changed, 96 insertions, 1 deletions
diff --git a/sys-apps/acl/ChangeLog b/sys-apps/acl/ChangeLog index 74d8a435933d..d6585a568467 100644 --- a/sys-apps/acl/ChangeLog +++ b/sys-apps/acl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/acl # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.60 2006/09/05 05:18:19 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.61 2006/09/23 15:40:34 vapier Exp $ + +*acl-2.2.39-r1 (23 Sep 2006) + + 23 Sep 2006; Mike Frysinger <vapier@gentoo.org> + +files/acl-2.2.29-nfs-glue.patch, +acl-2.2.39-r1.ebuild: + Add support for NFS ACLs #144845 by Christophe Saout. 05 Sep 2006; Joshua Kinard <kumba@gentoo.org> acl-2.2.34.ebuild: Marked stable on mips. diff --git a/sys-apps/acl/acl-2.2.39-r1.ebuild b/sys-apps/acl/acl-2.2.39-r1.ebuild new file mode 100644 index 000000000000..ee952bb95f00 --- /dev/null +++ b/sys-apps/acl/acl-2.2.39-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/acl-2.2.39-r1.ebuild,v 1.1 2006/09/23 15:40:34 vapier Exp $ + +WANT_AUTOCONF="latest" +inherit eutils autotools toolchain-funcs + +MY_P="${PN}_${PV}-1" +DESCRIPTION="Access control list utilities, libraries and headers" +HOMEPAGE="http://oss.sgi.com/projects/xfs/" +SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${MY_P}.tar.gz + ftp://xfs.org/mirror/SGI/cmd_tars/${MY_P}.tar.gz + nfs? ( http://www.citi.umich.edu/projects/nfsv4/linux/acl-patches/2.2.29-3/acl-2.2.29-CITI_NFS4_ALL-3.dif )" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="nfs nls" + +DEPEND=">=sys-apps/attr-2.4 + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${MY_P}.tar.gz + cd "${S}" + if use nfs ; then + cp "${DISTDIR}"/acl-2.2.29-CITI_NFS4_ALL-3.dif . || die + epatch \ + "${FILESDIR}"/acl-2.2.29-nfs-glue.patch \ + acl-2.2.29-CITI_NFS4_ALL-3.dif + fi + epatch "${FILESDIR}"/${PN}-2.2.32-only-symlink-when-needed.patch + sed -i \ + -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \ + include/builddefs.in \ + || die "failed to update builddefs" + eautoconf +} + +src_compile() { + export OPTIMIZER=${CFLAGS} + export DEBUG=-DNDEBUG + + econf \ + $(use_enable nls gettext) \ + --libexecdir=/usr/$(get_libdir) \ + --bindir=/bin \ + || die + emake || die +} + +src_install() { + make DIST_ROOT="${D}" install install-dev install-lib || die + prepalldocs + + # move shared libs to / + dodir /$(get_libdir) + mv "${D}"/usr/$(get_libdir)/libacl.so* "${D}"/$(get_libdir)/ || die + gen_usr_ldscript libacl.so +} diff --git a/sys-apps/acl/files/acl-2.2.29-nfs-glue.patch b/sys-apps/acl/files/acl-2.2.29-nfs-glue.patch new file mode 100644 index 000000000000..9150eb3a79fe --- /dev/null +++ b/sys-apps/acl/files/acl-2.2.29-nfs-glue.patch @@ -0,0 +1,23 @@ +--- ../acl-2.2.29-CITI_NFS4_ALL-3.dif.orig 2006-09-23 11:34:45.000000000 -0400 ++++ ../acl-2.2.29-CITI_NFS4_ALL-3.dif 2006-09-23 11:34:54.000000000 -0400 +@@ -68,20 +68,6 @@ + + default: $(CONFIGURE) + ifeq ($(HAVE_BUILDDEFS), no) +-diff --git a/debian/changelog b/debian/changelog +-index 66e16b7..c431d66 100644 +---- a/debian/changelog +-+++ b/debian/changelog +-@@ -1,3 +1,9 @@ +-+acl (2.2.37.nfsv4-1) unstable; urgency=low +-+ +-+ * Add support for NFSv4 ACLs +-+ +-+ -- J. Bruce Fields <bfields@fieldses.org> Tue, 9 May 2006 11:52:32 -0400 +-+ +- acl (2.2.37-1) unstable; urgency=low +- +- * New upstream release + diff --git a/debian/control b/debian/control + index 5ff00bc..1d0f356 100644 + --- a/debian/control diff --git a/sys-apps/acl/files/digest-acl-2.2.39-r1 b/sys-apps/acl/files/digest-acl-2.2.39-r1 new file mode 100644 index 000000000000..fbbcdbfedca7 --- /dev/null +++ b/sys-apps/acl/files/digest-acl-2.2.39-r1 @@ -0,0 +1,6 @@ +MD5 c4cc8c7bf270ed5a022c798f155f5b6f acl-2.2.29-CITI_NFS4_ALL-3.dif 172937 +RMD160 3768f0a235b4f228e0e60f4a3b59d1920a6b0ae4 acl-2.2.29-CITI_NFS4_ALL-3.dif 172937 +SHA256 8458adb2d9ed83b5a643143a09e349722f90f98c6d09fc1f6e4c5d5969c3de64 acl-2.2.29-CITI_NFS4_ALL-3.dif 172937 +MD5 4edd450bbee60d6c4b3c51ae80499b00 acl_2.2.39-1.tar.gz 122091 +RMD160 5e6797b580c561a52d10b36d82587f8b80024a43 acl_2.2.39-1.tar.gz 122091 +SHA256 1c01909c1d293a8599b94f9bc75e41a07878067211f08c09c66b1070924b6066 acl_2.2.39-1.tar.gz 122091 |