summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2007-10-18 19:30:18 +0000
committerChris PeBenito <pebenito@gentoo.org>2007-10-18 19:30:18 +0000
commit0c1a67115c9fd6edf3728c517ebb3d7a8b2a65d9 (patch)
tree58d9b6fb0bc1e4c55eebf27cf242719e768ad335 /sys-libs/libsemanage
parentnew upstream release. (diff)
downloadgentoo-2-0c1a67115c9fd6edf3728c517ebb3d7a8b2a65d9.tar.gz
gentoo-2-0c1a67115c9fd6edf3728c517ebb3d7a8b2a65d9.tar.bz2
gentoo-2-0c1a67115c9fd6edf3728c517ebb3d7a8b2a65d9.zip
new upstream release.
(Portage version: 2.1.3.14)
Diffstat (limited to 'sys-libs/libsemanage')
-rw-r--r--sys-libs/libsemanage/ChangeLog8
-rw-r--r--sys-libs/libsemanage/files/digest-libsemanage-1.10.53
-rw-r--r--sys-libs/libsemanage/libsemanage-1.10.5.ebuild58
3 files changed, 68 insertions, 1 deletions
diff --git a/sys-libs/libsemanage/ChangeLog b/sys-libs/libsemanage/ChangeLog
index 203b42a8fd5b..ec5012c51afa 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.16 2007/06/04 00:42:58 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.17 2007/10/18 19:30:17 pebenito Exp $
+
+*libsemanage-1.10.5 (18 Oct 2007)
+
+ 18 Oct 2007; Chris PeBenito <pebenito@gentoo.org>
+ +libsemanage-1.10.5.ebuild:
+ New upstream release.
04 Jun 2007; Chris PeBenito <pebenito@gentoo.org>
libsemanage-1.10.0.ebuild:
diff --git a/sys-libs/libsemanage/files/digest-libsemanage-1.10.5 b/sys-libs/libsemanage/files/digest-libsemanage-1.10.5
new file mode 100644
index 000000000000..0ec36524c2f7
--- /dev/null
+++ b/sys-libs/libsemanage/files/digest-libsemanage-1.10.5
@@ -0,0 +1,3 @@
+MD5 64fb18c19c576a57a24be8fcb0952573 libsemanage-1.10.5.tgz 162087
+RMD160 054c7ff3e3b8d278277e4678b186a0fe319d3ac1 libsemanage-1.10.5.tgz 162087
+SHA256 eccbbb72547b72c2ff8b20e5fc7e060c528bbae08c61b93c9d7faf4b523b6ac9 libsemanage-1.10.5.tgz 162087
diff --git a/sys-libs/libsemanage/libsemanage-1.10.5.ebuild b/sys-libs/libsemanage/libsemanage-1.10.5.ebuild
new file mode 100644
index 000000000000..4c6cd7e70321
--- /dev/null
+++ b/sys-libs/libsemanage/libsemanage-1.10.5.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-1.10.5.ebuild,v 1.1 2007/10/18 19:30:17 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"
+}