summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <swift@gentoo.org>2012-05-13 12:39:57 +0000
committerSven Vermeulen <swift@gentoo.org>2012-05-13 12:39:57 +0000
commit8ee6cbcefb531ebb1f4be4539c7137fd7fc86ea6 (patch)
treed33e125b7d7afee9dd8b753d2991e3ef618c1178 /sys-libs
parentgwenhywfar version bump (diff)
downloadgentoo-2-8ee6cbcefb531ebb1f4be4539c7137fd7fc86ea6.tar.gz
gentoo-2-8ee6cbcefb531ebb1f4be4539c7137fd7fc86ea6.tar.bz2
gentoo-2-8ee6cbcefb531ebb1f4be4539c7137fd7fc86ea6.zip
Removing obsoleted ebuild
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libselinux/ChangeLog5
-rw-r--r--sys-libs/libselinux/libselinux-2.1.0.ebuild83
2 files changed, 4 insertions, 84 deletions
diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
index 8418438aa044..329f6ed1efc3 100644
--- a/sys-libs/libselinux/ChangeLog
+++ b/sys-libs/libselinux/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/libselinux
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.79 2012/05/13 08:47:37 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.80 2012/05/13 12:39:57 swift Exp $
+
+ 13 May 2012; <swift@gentoo.org> -libselinux-2.1.0.ebuild:
+ Removing obsoleted ebuild
*libselinux-2.1.9-r1 (13 May 2012)
diff --git a/sys-libs/libselinux/libselinux-2.1.0.ebuild b/sys-libs/libselinux/libselinux-2.1.0.ebuild
deleted file mode 100644
index 659853f9bd79..000000000000
--- a/sys-libs/libselinux/libselinux-2.1.0.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.1.0.ebuild,v 1.2 2011/10/23 12:39:16 swift Exp $
-
-EAPI="2"
-PYTHON_DEPEND="python? 2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython"
-
-inherit multilib python toolchain-funcs
-
-SEPOL_VER="2.1.0"
-
-DESCRIPTION="SELinux userland library"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/20110727/devel/${P}.tar.gz"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="python ruby"
-
-RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
- ruby? ( dev-lang/ruby )"
-DEPEND="${RDEPEND}
- ruby? ( dev-lang/swig )"
-
-pkg_setup() {
- if use python; then
- python_pkg_setup
- fi
-}
-
-src_prepare() {
- # 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() {
- emake AR="$(tc-getAR)" CC="$(tc-getCC)" LDFLAGS="-fPIC ${LDFLAGS}" all || die
-
- if use python; then
- python_copy_sources src
- building() {
- emake CC="$(tc-getCC)" PYLIBVER="python$(python_get_version)" LDFLAGS="-fPIC ${LDFLAGS}" pywrap
- }
- python_execute_function -s --source-dir src building
- fi
-
- if use ruby; then
- emake CC="$(tc-getCC)" rubywrap || die
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- if use python; then
- installation() {
- emake DESTDIR="${D}" PYLIBVER="python$(python_get_version)" install-pywrap
- }
- python_execute_function -s --source-dir src installation
- fi
-
- if use ruby; then
- emake DESTDIR="${D}" install-rubywrap || die
- fi
-}
-
-pkg_postinst() {
- if use python; then
- python_mod_optimize selinux
- fi
-}
-
-pkg_postrm() {
- if use python; then
- python_mod_cleanup selinux
- fi
-}