summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2011-08-12 18:24:45 +0000
committerAnthony G. Basile <blueness@gentoo.org>2011-08-12 18:24:45 +0000
commit57c186a277b0899f33bedaffc49826bdbbc2a9c6 (patch)
treea1bb85a474c53567d37d501ea0ea0f7e9a1f3adb /sys-libs/libselinux
parentVersion bump, Oracle changed license and download location. (diff)
downloadgentoo-2-57c186a277b0899f33bedaffc49826bdbbc2a9c6.tar.gz
gentoo-2-57c186a277b0899f33bedaffc49826bdbbc2a9c6.tar.bz2
gentoo-2-57c186a277b0899f33bedaffc49826bdbbc2a9c6.zip
Removed deprecated versions
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/libselinux')
-rw-r--r--sys-libs/libselinux/ChangeLog7
-rw-r--r--sys-libs/libselinux/files/compat.py18
-rw-r--r--sys-libs/libselinux/files/libselinux-2.0.85-headers.patch14
-rw-r--r--sys-libs/libselinux/libselinux-2.0.71.ebuild68
-rw-r--r--sys-libs/libselinux/libselinux-2.0.85.ebuild69
5 files changed, 6 insertions, 170 deletions
diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
index d2fc7387337e..4cb29edfbb11 100644
--- a/sys-libs/libselinux/ChangeLog
+++ b/sys-libs/libselinux/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/libselinux
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.73 2011/08/03 09:33:19 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.74 2011/08/12 18:24:45 blueness Exp $
+
+ 12 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
+ -libselinux-2.0.71.ebuild, -libselinux-2.0.85.ebuild,
+ -files/libselinux-2.0.85-headers.patch, -files/compat.py:
+ Removed deprecated versions
*libselinux-2.1.0 (03 Aug 2011)
diff --git a/sys-libs/libselinux/files/compat.py b/sys-libs/libselinux/files/compat.py
deleted file mode 100644
index b0bf65b58474..000000000000
--- a/sys-libs/libselinux/files/compat.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# compatability aliases for python-selinux
-try:
- import selinux_aux
-
- enabled = selinux_aux.enabled
-
- get_lsid = selinux_aux.get_lsid
- get_sid = selinux_aux.get_sid
- set_sid = selinux_aux.set_sid
- secure_rename = selinux_aux.secure_rename
- secure_copy = selinux_aux.secure_copy
- secure_mkdir = selinux_aux.secure_mkdir
- secure_symlink = selinux_aux.secure_symlink
- setexec = selinux_aux.setexec
- getcontext = selinux_aux.getcontext
-
-except:
- pass
diff --git a/sys-libs/libselinux/files/libselinux-2.0.85-headers.patch b/sys-libs/libselinux/files/libselinux-2.0.85-headers.patch
deleted file mode 100644
index 4994fea9371e..000000000000
--- a/sys-libs/libselinux/files/libselinux-2.0.85-headers.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-https://bugs.gentoo.org/338302
-
-fix by Chris Richards for building with glibc-2.12
-
---- src/label_file.c
-+++ src/label_file.c
-@@ -19,6 +19,7 @@
- #include <regex.h>
- #include "callbacks.h"
- #include "label_internal.h"
-+#include <sys/stat.h>
-
- /*
- * Internals, mostly moved over from matchpathcon.c
diff --git a/sys-libs/libselinux/libselinux-2.0.71.ebuild b/sys-libs/libselinux/libselinux-2.0.71.ebuild
deleted file mode 100644
index fcb2e570ec19..000000000000
--- a/sys-libs/libselinux/libselinux-2.0.71.ebuild
+++ /dev/null
@@ -1,68 +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.0.71.ebuild,v 1.5 2011/02/08 17:13:18 arfrever Exp $
-
-IUSE="ruby"
-RUBY_OPTIONAL="yes"
-
-inherit eutils multilib python ruby
-
-#BUGFIX_PATCH="${FILESDIR}/libselinux-1.30.3.diff"
-
-SEPOL_VER="2.0"
-
-DESCRIPTION="SELinux userland library"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/current/devel/${P}.tar.gz"
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-DEPEND="=sys-libs/libsepol-${SEPOL_VER}*
- dev-lang/swig
- ruby? ( dev-lang/ruby )"
-
-RDEPEND="=sys-libs/libsepol-${SEPOL_VER}*
- ruby? ( dev-lang/ruby )"
-
-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() {
- emake LDFLAGS="-fPIC ${LDFLAGS}" all || die
- emake PYLIBVER="python$(python_get_version)" LDFLAGS="-fPIC ${LDFLAGS}" pywrap || die
-
- if use ruby; then
- emake rubywrap || die
- fi
-
- # add compatability aliases to swig wrapper
- cat "${FILESDIR}/compat.py" >> "${S}/src/selinux.py" || die
-}
-
-src_install() {
- python_need_rebuild
- make DESTDIR="${D}" PYLIBVER="python$(python_get_version)" install install-pywrap || die
-
- if use ruby; then
- emake DESTDIR="${D}" install-rubywrap || die
- fi
-}
-
-pkg_postinst() {
- python_mod_optimize $(python_get_sitedir)/selinux
-}
-
-pkg_postrm() {
- python_mod_cleanup $(python_get_sitedir)/selinux
-}
diff --git a/sys-libs/libselinux/libselinux-2.0.85.ebuild b/sys-libs/libselinux/libselinux-2.0.85.ebuild
deleted file mode 100644
index b6b3a558a09d..000000000000
--- a/sys-libs/libselinux/libselinux-2.0.85.ebuild
+++ /dev/null
@@ -1,69 +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.0.85.ebuild,v 1.5 2011/02/08 17:13:18 arfrever Exp $
-
-IUSE="ruby"
-RUBY_OPTIONAL="yes"
-
-inherit eutils multilib python ruby
-
-#BUGFIX_PATCH="${FILESDIR}/libselinux-1.30.3.diff"
-
-SEPOL_VER="2.0"
-
-DESCRIPTION="SELinux userland library"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/current/devel/${P}.tar.gz"
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="=sys-libs/libsepol-${SEPOL_VER}*
- dev-lang/swig
- ruby? ( dev-lang/ruby )"
-
-RDEPEND="=sys-libs/libsepol-${SEPOL_VER}*
- ruby? ( dev-lang/ruby )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- [ ! -z "${BUGFIX_PATCH}" ] && epatch "${BUGFIX_PATCH}"
- epatch "${FILESDIR}"/${P}-headers.patch #338302
-
- # 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 LDFLAGS="-fPIC ${LDFLAGS}" all || die
- emake PYLIBVER="python$(python_get_version)" LDFLAGS="-fPIC ${LDFLAGS}" pywrap || die
-
- if use ruby; then
- emake rubywrap || die
- fi
-
- # add compatability aliases to swig wrapper
- cat "${FILESDIR}/compat.py" >> "${S}/src/selinux.py" || die
-}
-
-src_install() {
- python_need_rebuild
- make DESTDIR="${D}" PYLIBVER="python$(python_get_version)" install install-pywrap || die
-
- if use ruby; then
- emake DESTDIR="${D}" install-rubywrap || die
- fi
-}
-
-pkg_postinst() {
- python_mod_optimize $(python_get_sitedir)/selinux
-}
-
-pkg_postrm() {
- python_mod_cleanup $(python_get_sitedir)/selinux
-}