diff options
author | Chris PeBenito <pebenito@gentoo.org> | 2006-03-18 14:52:16 +0000 |
---|---|---|
committer | Chris PeBenito <pebenito@gentoo.org> | 2006-03-18 14:52:16 +0000 |
commit | 12888ef42eb0c376c7909b20c7a29a28ea4c14f1 (patch) | |
tree | 507839ee7084aae628bc543bb522beb3c3eff474 /sys-libs | |
parent | new upstream release (diff) | |
download | gentoo-2-12888ef42eb0c376c7909b20c7a29a28ea4c14f1.tar.gz gentoo-2-12888ef42eb0c376c7909b20c7a29a28ea4c14f1.tar.bz2 gentoo-2-12888ef42eb0c376c7909b20c7a29a28ea4c14f1.zip |
new upstream release.
(Portage version: 2.1_pre6-r1)
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libselinux/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/libselinux/files/digest-libselinux-1.30 | 3 | ||||
-rw-r--r-- | sys-libs/libselinux/libselinux-1.30.ebuild | 42 |
3 files changed, 51 insertions, 1 deletions
diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog index c9368da07d55..68f0c8f9479d 100644 --- a/sys-libs/libselinux/ChangeLog +++ b/sys-libs/libselinux/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/libselinux # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.44 2006/02/22 23:38:49 spb Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.45 2006/03/18 14:52:15 pebenito Exp $ + +*libselinux-1.30 (18 Mar 2006) + + 18 Mar 2006; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.30.ebuild: + New upstream release. 22 Feb 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild: Alpha stable diff --git a/sys-libs/libselinux/files/digest-libselinux-1.30 b/sys-libs/libselinux/files/digest-libselinux-1.30 new file mode 100644 index 000000000000..c95ba5870f0a --- /dev/null +++ b/sys-libs/libselinux/files/digest-libselinux-1.30 @@ -0,0 +1,3 @@ +MD5 0b7d269c9b7d847059e4b11a710ab404 libselinux-1.30.tgz 110293 +RMD160 9a333a86f31e8c4a5a900173f703f9a155fa68ac libselinux-1.30.tgz 110293 +SHA256 6a34a1c98a19cbf8783ecfeb07ebee26e4fdd283252e8d774a0f345fe2337797 libselinux-1.30.tgz 110293 diff --git a/sys-libs/libselinux/libselinux-1.30.ebuild b/sys-libs/libselinux/libselinux-1.30.ebuild new file mode 100644 index 000000000000..12b54ba13cf3 --- /dev/null +++ b/sys-libs/libselinux/libselinux-1.30.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-1.30.ebuild,v 1.1 2006/03/18 14:52:15 pebenito Exp $ + +IUSE="" + +SEPOL_VER="1.12" + +inherit eutils multilib python + +DESCRIPTION="SELinux userland library" +HOMEPAGE="http://www.nsa.gov/selinux" +SRC_URI="http://www.nsa.gov/selinux/archives/${P}.tgz" +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86" + +DEPEND="=sys-libs/libsepol-${SEPOL_VER}*" + +src_unpack() { + unpack ${A} + cd ${S} + + # 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}" LDFLAGS="-fPIC ${LDFLAGS}" all pywrap || die + + # add compatability aliases to swig wrapper + cat ${FILESDIR}/compat.py >> ${S}/src/selinux.py || die +} + +src_install() { + python_version + make DESTDIR="${D}" PYLIBVER="python${PYVER}" install install-pywrap || die +} |