diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-03-07 00:12:48 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-07 00:12:48 +0000 |
commit | 7b942249d7aacf8aec90e65e31d47a75f3ee50e5 (patch) | |
tree | 4bc53aeeb6ea47ebc68c3576d8530c82faa5a7e5 /sys-libs | |
parent | old (diff) | |
download | gentoo-2-7b942249d7aacf8aec90e65e31d47a75f3ee50e5.tar.gz gentoo-2-7b942249d7aacf8aec90e65e31d47a75f3ee50e5.tar.bz2 gentoo-2-7b942249d7aacf8aec90e65e31d47a75f3ee50e5.zip |
Version bump #307269 by Arfrever Frehtes Taifersar Arahesis.
(Portage version: 2.2_rc65/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libcap/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/libcap/libcap-2.19.ebuild | 47 |
2 files changed, 53 insertions, 1 deletions
diff --git a/sys-libs/libcap/ChangeLog b/sys-libs/libcap/ChangeLog index 107d21726736..da15347ad29f 100644 --- a/sys-libs/libcap/ChangeLog +++ b/sys-libs/libcap/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/libcap # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/ChangeLog,v 1.103 2010/01/24 18:29:57 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/ChangeLog,v 1.104 2010/03/07 00:12:48 vapier Exp $ + +*libcap-2.19 (07 Mar 2010) + + 07 Mar 2010; Mike Frysinger <vapier@gentoo.org> +libcap-2.19.ebuild: + Version bump #307269 by Arfrever Frehtes Taifersar Arahesis. 24 Jan 2010; Raúl Porcel <armin76@gentoo.org> libcap-2.17.ebuild: ia64/s390/sh/sparc stable wrt #290045 diff --git a/sys-libs/libcap/libcap-2.19.ebuild b/sys-libs/libcap/libcap-2.19.ebuild new file mode 100644 index 000000000000..14f4b5ac726b --- /dev/null +++ b/sys-libs/libcap/libcap-2.19.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/libcap-2.19.ebuild,v 1.1 2010/03/07 00:12:48 vapier Exp $ + +inherit eutils multilib toolchain-funcs pam + +DESCRIPTION="POSIX 1003.1e capabilities" +HOMEPAGE="http://www.friedhoff.org/posixfilecaps.html" +SRC_URI="mirror://kernel/linux/libs/security/linux-privs/libcap${PV:0:1}/${P}.tar.bz2" + +LICENSE="GPL-2 BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="pam" + +RDEPEND="sys-apps/attr + pam? ( virtual/pam )" +DEPEND="${RDEPEND} + sys-kernel/linux-headers" + +src_unpack() { + unpack ${P}.tar.bz2 + cd "${S}" + epatch "${FILESDIR}"/2.16/*.patch + sed -i -e '/cap_setfcap.*morgan/s:^:#:' pam_cap/capability.conf + sed -i \ + -e "/^PAM_CAP/s:=.*:=$(use pam && echo yes || echo no):" \ + -e '/^DYNAMIC/s:=.*:=yes:' \ + -e "/^lib=/s:=.*:=/usr/$(get_libdir):" \ + Make.Rules +} + +src_compile() { + tc-export BUILD_CC CC AR RANLIB + emake || die +} + +src_install() { + emake install DESTDIR="${D}" || die + + gen_usr_ldscript -a cap + + dopammod pam_cap/pam_cap.so + dopamsecurity '' pam_cap/capability.conf + + dodoc CHANGELOG README doc/capability.notes +} |