diff options
author | Chris PeBenito <pebenito@gentoo.org> | 2008-01-29 15:14:41 +0000 |
---|---|---|
committer | Chris PeBenito <pebenito@gentoo.org> | 2008-01-29 15:14:41 +0000 |
commit | e942e410cfd9ddf24d9f6263b84a1945a704cd2a (patch) | |
tree | b10610c0a6d4bf2bb4fed49efdc8047691b9db74 /sys-libs | |
parent | alpha/ia64/sparc stable wrt #207634 (diff) | |
download | gentoo-2-e942e410cfd9ddf24d9f6263b84a1945a704cd2a.tar.gz gentoo-2-e942e410cfd9ddf24d9f6263b84a1945a704cd2a.tar.bz2 gentoo-2-e942e410cfd9ddf24d9f6263b84a1945a704cd2a.zip |
sys-apps/libsemanage: new upstream bugfix release.
(Portage version: 2.1.4)
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libsemanage/ChangeLog | 10 | ||||
-rw-r--r-- | sys-libs/libsemanage/files/digest-libsemanage-1.10.9 | 3 | ||||
-rw-r--r-- | sys-libs/libsemanage/libsemanage-1.10.9.ebuild | 58 |
3 files changed, 69 insertions, 2 deletions
diff --git a/sys-libs/libsemanage/ChangeLog b/sys-libs/libsemanage/ChangeLog index ec5012c51afa..d843c6e8bf85 100644 --- a/sys-libs/libsemanage/ChangeLog +++ b/sys-libs/libsemanage/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-libs/libsemanage -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.17 2007/10/18 19:30:17 pebenito Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.18 2008/01/29 15:14:41 pebenito Exp $ + +*libsemanage-1.10.9 (29 Jan 2008) + + 29 Jan 2008; Chris PeBenito <pebenito@gentoo.org> + +libsemanage-1.10.9.ebuild: + New upstream bugfix release. *libsemanage-1.10.5 (18 Oct 2007) diff --git a/sys-libs/libsemanage/files/digest-libsemanage-1.10.9 b/sys-libs/libsemanage/files/digest-libsemanage-1.10.9 new file mode 100644 index 000000000000..0d3370ad6d12 --- /dev/null +++ b/sys-libs/libsemanage/files/digest-libsemanage-1.10.9 @@ -0,0 +1,3 @@ +MD5 ede5ea23e072a7a3f369b099bf89d6bd libsemanage-1.10.9.tgz 161010 +RMD160 403a20237dd3a4a2c4d662c971759d9bb448b7e5 libsemanage-1.10.9.tgz 161010 +SHA256 0cc7ef8af7c2a552f0255d28fcace047659d7bdd767bd9974546b42369853a64 libsemanage-1.10.9.tgz 161010 diff --git a/sys-libs/libsemanage/libsemanage-1.10.9.ebuild b/sys-libs/libsemanage/libsemanage-1.10.9.ebuild new file mode 100644 index 000000000000..a9ff1b8343bf --- /dev/null +++ b/sys-libs/libsemanage/libsemanage-1.10.9.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-1.10.9.ebuild,v 1.1 2008/01/29 15:14:41 pebenito Exp $ + +IUSE="" + +inherit eutils multilib python + +# BUGFIX_PATCH="${FILESDIR}/libsemanage-1.6.6.diff" + +SEPOL_VER="1.16" +SELNX_VER="1.34" + +DESCRIPTION="SELinux kernel and policy management library" +HOMEPAGE="http://www.nsa.gov/selinux" +SRC_URI="http://www.nsa.gov/selinux/archives/${P}.tgz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86" +DEPEND="=sys-libs/libsepol-${SEPOL_VER}* + =sys-libs/libselinux-${SELNX_VER}*" + +src_unpack() { + unpack ${A} + cd ${S} + + [ ! -z "${BUGFIX_PATCH}" ] && epatch "${BUGFIX_PATCH}" + + # fix up paths for multilib + sed -i -e "/^LIBDIR/s/lib/$(get_libdir)/" ${S}/src/Makefile \ + || die "Fix for multilib LIBDIR failed." + sed -i -e "/^SHLIBDIR/s/lib/$(get_libdir)/" ${S}/src/Makefile \ + || die "Fix for multilib SHLIBDIR failed." +} + +src_compile() { + python_version + emake PYLIBVER="python${PYVER}" all pywrap || die +} + +src_install() { + python_version + make DESTDIR="${D}" PYLIBVER="python${PYVER}" install install-pywrap + + # remove config file. the appropriate + # policy will install this file. + rm -fR ${D}/etc +} + +pkg_postinst() { + python_version + python_mod_optimize ${ROOT}usr/lib/python${PYVER}/site-packages +} + +pkg_postrm() { + python_version + python_mod_cleanup ${ROOT}usr/lib/python${PYVER}/site-packages +} |