summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <swift@gentoo.org>2014-08-05 09:44:01 +0000
committerSven Vermeulen <swift@gentoo.org>2014-08-05 09:44:01 +0000
commitc7ee6103f39b8fc74e2713f00962b017dfbd3450 (patch)
tree1253723069d8221d823e57ad13ebba125f6deac1 /sys-libs/libselinux
parentRemove old ebuilds (diff)
downloadhistorical-c7ee6103f39b8fc74e2713f00962b017dfbd3450.tar.gz
historical-c7ee6103f39b8fc74e2713f00962b017dfbd3450.tar.bz2
historical-c7ee6103f39b8fc74e2713f00962b017dfbd3450.zip
Remove obsoleted ebuilds
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x2EDD52403B68AF47
Diffstat (limited to 'sys-libs/libselinux')
-rw-r--r--sys-libs/libselinux/ChangeLog7
-rw-r--r--sys-libs/libselinux/Manifest36
-rw-r--r--sys-libs/libselinux/libselinux-2.2.2-r4.ebuild91
-rw-r--r--sys-libs/libselinux/libselinux-2.3.ebuild140
-rw-r--r--sys-libs/libselinux/libselinux-2.3_rc1-r1.ebuild134
-rw-r--r--sys-libs/libselinux/libselinux-2.3_rc1.ebuild95
6 files changed, 20 insertions, 483 deletions
diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
index eeb87f0892e6..17b748ce494b 100644
--- a/sys-libs/libselinux/ChangeLog
+++ b/sys-libs/libselinux/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/libselinux
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.128 2014/07/30 11:52:21 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.129 2014/08/05 09:43:56 swift Exp $
+
+ 05 Aug 2014; Sven Vermeulen <swift@gentoo.org> -libselinux-2.2.2-r4.ebuild,
+ -libselinux-2.3.ebuild, -libselinux-2.3_rc1-r1.ebuild,
+ -libselinux-2.3_rc1.ebuild:
+ Remove obsoleted ebuilds
30 Jul 2014; Sven Vermeulen <swift@gentoo.org> libselinux-2.3-r1.ebuild:
Fix bug #514194 - Stabilization of SELinux userspace 2.3
diff --git a/sys-libs/libselinux/Manifest b/sys-libs/libselinux/Manifest
index c1e8d55a42e7..4425269eaf3a 100644
--- a/sys-libs/libselinux/Manifest
+++ b/sys-libs/libselinux/Manifest
@@ -2,35 +2,27 @@
Hash: SHA256
DIST libselinux-2.2.2.tar.gz 171013 SHA256 30ab363416806da907b86b97f1d31c252473e3200358bb1570f563c8312b5a3e SHA512 1270cba11ec0795a2cea3706ac5547655d0e65dcd2141932000526f3d0c781b6ae114051b2bb53950b8ef207a318335329280b9fc9fd81796e8e4a27cf6ae841 WHIRLPOOL a444e44225ced35b126bbd2e8924aaf5c9f4da7abb9663d20a32b97babe750245c22d75e2238de0958b73295cf582b8aec39e23312886b96417120c600ed37dc
-DIST libselinux-2.3-rc1.tar.gz 171271 SHA256 154dcee626a30c7a8a1083ea209c77336310517607d9ebd22d95bd5a462e2123 SHA512 3bd86207e257531006c273d374829f674fb63153919eb551ef074ff8b6e6280b23fde7776996ef8896b04c1ffe032ad7e7a0fd0651d9ff025fb8c51fe31bf867 WHIRLPOOL 0deeda057923ac20d8d521b1ffba90ed3854c270bc472df36648bdf4921e5ecd8cb57770135c77415045e30754dfaf70327e19e9c7b0f9c600e9f27304a6ad4f
DIST libselinux-2.3.tar.gz 171254 SHA256 0b1e0b43ecd84a812713d09564019b08e7c205d89072b5cbcd07b052cd8e77b2 SHA512 8cfcd20ab0b43ffbb32389e0498b21e43cde643dcdf471a2354f1ca557f11641d250871ed5e71b9dde4c5f47ac1048746fe514f8f6cfad668fa179ed5136e802 WHIRLPOOL e975a391559aca3f8b251d2aa484cf8e344d09caa43ff56dd929e75a0ad195cf8d9a88b950679f589f4deb74aea0d22be4e7ad00b11eacc080288df0b5ac7ccb
-DIST patchbundle-libselinux-2.2.2-r4.tar.gz 1500 SHA256 a502a3958f8e0949bc65c23bc2f3629fb8aeb38525dad5ccef531a08a3a9bb1a SHA512 7a13b69cae815845cc01bdfa26b3af051d12ef5e83dab8e50aab853952d5a365e60cb99a56e84b73d0273a3675fba65b6998f7bab524d06a7a78c77b64a57bbf WHIRLPOOL a6c1e0ec3b9cb5c3bbbeaa90ff64d794ab5d522730df05cbef66c13a3d6f48fbde83646437b1d5fca851e8a425ab7becc26eeb246a08f7d349143792cddc6124
DIST patchbundle-libselinux-2.2.2-r5.tar.gz 2304 SHA256 ad77f499c05ec3b5707cb9db518a891dd9c84ccb77db07e686c87e5799e1802c SHA512 a01db39a7aade27b0127dd0e2f3185587ff4d913b7b1be7beac36dc2d3e1007de5e6bae8a11bc84567385420fff064ba54892d8e113c8fd54ad3c598dde7648d WHIRLPOOL 5886d9de6fcf073d54ca5e0eac3f8b4754c44382e7044debb223f94ecc81ea0e26b7638037eef17eb6f8ce4cc5046a4bb9f93b9b7767480908ee5b2ced0413ac
-DIST patchbundle-libselinux-2.3_rc1.tar.gz 1500 SHA256 a502a3958f8e0949bc65c23bc2f3629fb8aeb38525dad5ccef531a08a3a9bb1a SHA512 7a13b69cae815845cc01bdfa26b3af051d12ef5e83dab8e50aab853952d5a365e60cb99a56e84b73d0273a3675fba65b6998f7bab524d06a7a78c77b64a57bbf WHIRLPOOL a6c1e0ec3b9cb5c3bbbeaa90ff64d794ab5d522730df05cbef66c13a3d6f48fbde83646437b1d5fca851e8a425ab7becc26eeb246a08f7d349143792cddc6124
-DIST patchbundle-libselinux-3.tar.gz 1500 SHA256 a502a3958f8e0949bc65c23bc2f3629fb8aeb38525dad5ccef531a08a3a9bb1a SHA512 7a13b69cae815845cc01bdfa26b3af051d12ef5e83dab8e50aab853952d5a365e60cb99a56e84b73d0273a3675fba65b6998f7bab524d06a7a78c77b64a57bbf WHIRLPOOL a6c1e0ec3b9cb5c3bbbeaa90ff64d794ab5d522730df05cbef66c13a3d6f48fbde83646437b1d5fca851e8a425ab7becc26eeb246a08f7d349143792cddc6124
DIST patchbundle-libselinux-4.tar.gz 2631 SHA256 91bf43c84ce3d3178c8d21fdcf97380a635fa2465d1611fe4e0e3838a586c78c SHA512 bd2f9762f095e3dbc67e77ee04968cb8e87d460fdf10feff91cb1ce6027e19a660bb57617887e44608d39720e8f95500c451c4b284d58c0a756a04b08fa305c2 WHIRLPOOL 07a6a69d33c46c443907aae2ae4f3646a0360565e28d0a50cbcf81f8b5d8c259812d3e086841fc21c2a8104ce9863fc6c9c1d32e28ea08ebc7baf2d45af3509f
-EBUILD libselinux-2.2.2-r4.ebuild 2354 SHA256 c36409df2746b35757041d975a03a3717db52372d996651ba5d4c1dcad01cdfa SHA512 1ae0948a24b5d418e266a752369bf98b23087545ebbb7939530c9d9a814175009c99b08a826607d441b5d80a0decdd591a42f625bc69f58ad6cc8e18c69e523d WHIRLPOOL 5b14cdcf4545035047254f70404ba33c193ba2fe75e9f7d7a6ca597d0e55e07add522c6e8bf771ea2f986faceb40411ba04285055fda31a6d089072e2dc37c48
EBUILD libselinux-2.2.2-r5.ebuild 2534 SHA256 a98b5b6f55cba51844b9307156d0174b5aa350092d998a7d7cb4ebef691b41ca SHA512 9c789b638cd8822cdd738906de5a0e52f2cdf5c5c88316048a790a775d9f41601ae49e971709f572dd3eca964af8ec262fcb41ed1387a6d6be1ece74ed879fe2 WHIRLPOOL 1b6800e9eb589da42f05e9d8eff6009aa4aff6e1b55bc0e81f1b8cef280726e2105a069accdf645e68f0213c02bbd610c068536a57a7e56ae42156192ef288b1
EBUILD libselinux-2.3-r1.ebuild 3905 SHA256 62a41f638c7f4bb3d5de93d7af92886569d152eed9161d54ec790a9b25a885d7 SHA512 502240ce480bfdef87f87584486bc6e0d88b5062f66d6720aef539f2d47baa3e5d60bbeb7cd70b9bb191727592b10ab2539e640ab4d8a317500ad50bdf76d0b1 WHIRLPOOL 4e401f1b826e8ac0f399f75d0ac1dbe90f097bad402c66c29495978df63cbd0fc5e6440a7e94fcce7358c0ea1a99dd12a5f69f58eccd4488f3c2cb6540308f97
-EBUILD libselinux-2.3.ebuild 3725 SHA256 41d8478a269262d3f133742b607c0e133e34605b437be4b3f93e7ab4384c1bcd SHA512 4107a140923e81ec6541cd7351c07a53f6020a1d3d1471c69e4b7c6db4a5e9d27b2243bc9aa8806e988a2b98c582d5ecb007dd5b47a5c5e09d4f32fd1d7f0537 WHIRLPOOL a323974e5b321f973f7ebee21102db2dffdbce3efe2ada116e79ced36be3fc8daefc3ae0e83de983ed6ea2e074076d2acf7f19f9b036f8b7204c8b269146c728
-EBUILD libselinux-2.3_rc1-r1.ebuild 3587 SHA256 88d9c4b871351eaff50c1b2927187ddd99a7f083a212c02c2b4e706c9155f8a4 SHA512 7ad8c17c883176ef9f91989778948e96d8649bf7de95d056f248172ddf1e0df6e75d5b70f5f6f0b94ef773139aba632f331fb959632b99cff0d07726649a7562 WHIRLPOOL f1a84dc37620b5cc6e597fc7387e0edb626b4b93af2bbdb06e1a6890badce41fdd80044d8dc1e4ac7f4086b6154c0ce3dc374afc8aa559dfd5c282d4fe0dc308
-EBUILD libselinux-2.3_rc1.ebuild 2400 SHA256 2c4102756d09f4819c078e5224b45cb69b9c34f6e72aa7d894ed1b86e7b35622 SHA512 2e0af0c787760a58df95abce32e0808fe68e638b71520689e13618ea94c30bf16a581f8851eaa85527d99cbe158f0802dde8083eab3211b8ef22686259253e67 WHIRLPOOL e73128ac49a20f8005961b99591400ffeffa0bf753eabae4ffd9d1a9f1d09ca3bc16df43c2d6b65231925b3cc6a1a8f663fbcbec1e64ee244685ef964ca567fa
-MISC ChangeLog 18943 SHA256 c8e57f48141911c9ca1260de34a02520115d0e49b413364e4c601f5558f34040 SHA512 8d0c376631d378c8817095b5a92dbfceb52486a1d52bbb9fb0dad163cb3591fe8e53fb42953c3203d5179beef89f8cb7af8097ff0c2a8f93999dae7e1520b8f5 WHIRLPOOL fbdee1279318e1bfab845a87bed8ecf40c465e0ebbedee421ecb1aa3ed6d9a901faffa30c1995a9425f20718772b94463bc6c46f2e6d4282f666a6cea5718397
+MISC ChangeLog 19136 SHA256 a15211f96e1fc509436c1b9ac7726b6f5ee5141332ec31db3a8f1073cbc75ef9 SHA512 88cb5b662082b2fc80244ad24284637c3bcc69bb6265a08b043498201db15044822a6ce421d8f3d4889f9b5ff07e588b803ebaf04e0b8ad8b1e134d813105897 WHIRLPOOL 706d983b3cd6ad3976a94eb48f8d3c5b99b27418a69a725d47b9fc878ecf69249f4152bff34533f747fa3cab15eabed0cf1de7ac7308883f37bc84e19e85b673
MISC metadata.xml 406 SHA256 934da6149d008c09754c0654dbea6c49da117923adc6fbf3fcabac58195b9c45 SHA512 5bd2b0637c4d77b6113540dff5c4253390b1fcc69b864aaf2196d2c6e8c2c10fbb06bfcb69ba73978e3a2c3ca60fc6e4eccc0ea02a818b34a66c137f993a33a0 WHIRLPOOL f34ec6f0a7f35b9c2a8f29688fc58b6228484e3ba0568d65b6d8e24cc91662b6704ea532e036cf0a6ceca83b4e118bb7c8a64c6c4ba45bd60e2fa2d73d2d2abd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0
-iQIcBAEBCAAGBQJT2Nw0AAoJEC7dUkA7aK9HplUP/0p1mQOnPYSD0AmrXepq8+mB
-AecxuWgcCKR1ZTwkVqAzfgu2eEedyKlFUTUxIPgn7CauWrGmemX/rMBMc6iPOkM2
-ObALO6fL+B5zx3DZArEIQnc6mutTf+k7GxAmHSTJ9YPrEY58T7p+n9vavQrW9HGp
-10pbdytiOh5AHvYoELA/R2HcinT5GeRdAx1DL3pqIVI1qIiJ210mX3EUg4atZXg0
-iEWhob1NeZitvICORsIt2Q1Kw7HxegDyXMiBSVwsCTvcJynTIQdBUAylfkUaEKOR
-9joGN5E1s2IlUITqIRvZ6WvdssmZkC6s/qJw6d+fSKIOWviQyjT8NG7K7+nsv3B9
-4sVF+2NPS5BRpRYvYL15hwoGZjlw1l8+Eot1ZPcc5SliuUeOx5vtqmuHdSjMIk4t
-3LsIf4hIMuaEXPr66bzRt0nXFJ4HbetBPJ0heVJM31tpz2U6bq6/lIAJCnNz6kUy
-7UqXbKl675JXl9x8fGmhAxQ4r2RQ9R7dgS1wXgBCgO/GrjKCN+0ijayP/8yGH5pX
-tbWJqCA4Y1oWVBJeeZyntQZhLv3v0+sD2LqHU6APwUXPUejsLpoVAYMdX4GwZoZ1
-wS4CgGQLQrRcnWIXzjZQueQdB3yYhA8yT6dr9znS6zT2Vf+Lyhc6oK/FWuZmz57P
-Aw021XIMYuhPsOkqbdic
-=sRi5
+iQIcBAEBCAAGBQJT4KcEAAoJEC7dUkA7aK9H4MMP/02w/h3zDFJ9K4w6DFQrcPVf
+ovRz7sd62eRW5s664IdEFfYCxaOKGvKTiiOL79kQHoE1bhlA5ab+U4Qs2aER/ej/
+EFSa7l06i7bQc1q50h0nUW1gWT/GbcY/Ea5C27meUWHDrXMyvkvScbL9RePvLXHS
+5xXAEq3ZVkBdSfdMckGCWdBzkS2qYV6yn2PnnEUypE2HV3yw+q5JPd6xXNARxi7s
+pEuCmrjmyARc1AnF9kTHM7ccrCA9VVFBCKTcDbGYjbLuLeyIQxXRljR05JwtBcOf
+piy59DFSovUnuYnMRq8vLTWF4Bf/coVwcnB5QUPS9QSZi70C+8ETzCiqMWvDT2Qx
+yEcf5f81qDpPrAw9ZX+E80gSZNQIT2hOAm2aoDrI5LaK+Qv20kMSgV2Z/4YC6Rfd
+JOn7WRwvYOUkODBqs5s/Uo8+Og4MHaePpwxdNqwXlMia1vv2pBPL0fWXFPF7/GBr
+1pdIVLrTUyZAWeOQR+cjFLBojm9uh0tpP/Qs1nZHda11UFt2tJvZL6TMgUDFUbbc
+z+ueMgWyQExjUDH7xyswemE2HiTJfP7VrvYCXPwuIKCfynpN5YgiUtOcpefD7Grz
+NG/+5q0uNtLNN4YnT6jB/SkwhLFCm8rikytoK9ya71HogNsdlx/gkK7qyT9Lflxk
+NoIbI7PdeY24bqGdY6MI
+=RJPQ
-----END PGP SIGNATURE-----
diff --git a/sys-libs/libselinux/libselinux-2.2.2-r4.ebuild b/sys-libs/libselinux/libselinux-2.2.2-r4.ebuild
deleted file mode 100644
index db3a5af3489f..000000000000
--- a/sys-libs/libselinux/libselinux-2.2.2-r4.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.2.2-r4.ebuild,v 1.2 2014/04/21 18:37:25 swift Exp $
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 python3_2 python3_3 )
-
-inherit multilib python-r1 toolchain-funcs eutils multilib-minimal
-
-SEPOL_VER="2.2"
-
-DESCRIPTION="SELinux userland library"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/20131030/${P}.tar.gz
- http://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${P}-r4.tar.gz"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="python static-libs"
-
-RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
- >=dev-libs/libpcre-8.30-r2[static-libs?]
- python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- python? ( >=dev-lang/swig-2.0.9 )"
-
-src_prepare() {
- EPATCH_MULTI_MSG="Applying libselinux patches ... " \
- EPATCH_SUFFIX="patch" \
- EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
- EPATCH_FORCE="yes" \
- epatch
-
- epatch_user
-
- multilib_copy_sources
-}
-
-multilib_src_compile() {
- tc-export PKG_CONFIG RANLIB
- local PCRE_CFLAGS=$(${PKG_CONFIG} libpcre --cflags)
- local PCRE_LIBS=$(${PKG_CONFIG} libpcre --libs)
- export PCRE_{CFLAGS,LIBS}
-
- emake \
- AR="$(tc-getAR)" \
- CC="$(tc-getCC)" \
- LIBDIR="\$(PREFIX)/$(get_libdir)" \
- SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
- LDFLAGS="-fPIC ${LDFLAGS} -pthread" \
- all
-
- if multilib_is_native_abi && use python; then
- building() {
- python_export PYTHON_INCLUDEDIR PYTHON_LIBPATH
- emake \
- CC="$(tc-getCC)" \
- PYINC="-I${PYTHON_INCLUDEDIR}" \
- PYTHONLIBDIR="${PYTHON_LIBPATH}" \
- PYPREFIX="${EPYTHON##*/}" \
- LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \
- pywrap
- }
- python_foreach_impl building
- fi
-}
-
-multilib_src_install() {
- LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
- emake DESTDIR="${D}" install
-
- if multilib_is_native_abi && use python; then
- installation() {
- LIBDIR="\$(PREFIX)/$(get_libdir)" emake DESTDIR="${D}" install-pywrap
- }
- python_foreach_impl installation
- fi
-
- use static-libs || rm "${D}"/usr/lib*/*.a
-}
-
-pkg_postinst() {
- # Fix bug 473502
- for POLTYPE in ${POLICY_TYPES};
- do
- mkdir -p /etc/selinux/${POLTYPE}/contexts/files
- touch /etc/selinux/${POLTYPE}/contexts/files/file_contexts.local
- done
-}
diff --git a/sys-libs/libselinux/libselinux-2.3.ebuild b/sys-libs/libselinux/libselinux-2.3.ebuild
deleted file mode 100644
index 8f7640048326..000000000000
--- a/sys-libs/libselinux/libselinux-2.3.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.3.ebuild,v 1.3 2014/06/18 20:50:32 mgorny Exp $
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 python3_2 python3_3 )
-USE_RUBY="ruby19 ruby20"
-
-PATCHBUNDLE="3"
-
-# No, I am not calling ruby-ng
-inherit multilib python-r1 toolchain-funcs eutils multilib-minimal
-
-MY_P="${P//_/-}"
-
-SEPOL_VER="2.3"
-
-DESCRIPTION="SELinux userland library"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/20140506/${MY_P}.tar.gz
- http://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${PN}-${PATCHBUNDLE}.tar.gz"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="python ruby static-libs ruby_targets_ruby19 ruby_targets_ruby20"
-
-RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}[${MULTILIB_USEDEP}]
- >=dev-libs/libpcre-8.33-r1[static-libs?,${MULTILIB_USEDEP}]
- python? ( ${PYTHON_DEPS} )
- ruby? (
- ruby_targets_ruby19? ( dev-lang/ruby:1.9 )
- ruby_targets_ruby20? ( dev-lang/ruby:2.0 )
- )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- python? ( >=dev-lang/swig-2.0.9 )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- EPATCH_MULTI_MSG="Applying libselinux patches ... " \
- EPATCH_SUFFIX="patch" \
- EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
- EPATCH_FORCE="yes" \
- epatch
-
- epatch_user
-
- multilib_copy_sources
-}
-
-multilib_src_compile() {
- tc-export PKG_CONFIG RANLIB
- local PCRE_CFLAGS=$(${PKG_CONFIG} libpcre --cflags)
- local PCRE_LIBS=$(${PKG_CONFIG} libpcre --libs)
- export PCRE_{CFLAGS,LIBS}
-
- emake \
- AR="$(tc-getAR)" \
- CC="$(tc-getCC)" \
- LIBDIR="\$(PREFIX)/$(get_libdir)" \
- SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
- LDFLAGS="-fPIC ${LDFLAGS} -pthread" \
- all
-
- if multilib_is_native_abi && use python; then
- building() {
- python_export PYTHON_INCLUDEDIR PYTHON_LIBPATH
- emake \
- CC="$(tc-getCC)" \
- PYINC="-I${PYTHON_INCLUDEDIR}" \
- PYTHONLIBDIR="${PYTHON_LIBPATH}" \
- PYPREFIX="${EPYTHON##*/}" \
- LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \
- pywrap
- }
- python_foreach_impl building
- fi
-
- if multilib_is_native_abi && use ruby; then
- building() {
- einfo "Calling rubywrap for ${1}"
- # Clean up .lo file to force rebuild
- test -f src/selinuxswig_ruby_wrap.lo && rm src/selinuxswig_ruby_wrap.lo
- emake \
- CC="$(tc-getCC)" \
- RUBY=${1} \
- RUBYINSTALL=$(${1} -e 'print RbConfig::CONFIG["vendorarchdir"]') \
- LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \
- rubywrap
- }
- for RUBYTARGET in ${USE_RUBY}; do
- use ruby_targets_${RUBYTARGET} || continue
-
- building ${RUBYTARGET}
- done
- fi
-}
-
-multilib_src_install() {
- LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
- emake DESTDIR="${D}" install
-
- if multilib_is_native_abi && use python; then
- installation() {
- LIBDIR="\$(PREFIX)/$(get_libdir)" emake DESTDIR="${D}" install-pywrap
- }
- python_foreach_impl installation
- fi
-
- if multilib_is_native_abi && use ruby; then
- installation() {
- einfo "Calling install-rubywrap for ${1}"
- # Forcing (re)build here as otherwise the resulting SO file is used for all ruby versions
- rm src/selinuxswig_ruby_wrap.lo
- LIBDIR="\$(PREFIX)/$(get_libdir)" emake DESTDIR="${D}" \
- RUBY=${1} \
- RUBYINSTALL="${D}/$(${1} -e 'print RbConfig::CONFIG["vendorarchdir"]')" \
- install-rubywrap
- }
- for RUBYTARGET in ${USE_RUBY}; do
- use ruby_targets_${RUBYTARGET} || continue
-
- installation ${RUBYTARGET}
- done
- fi
-
- use static-libs || rm "${D}"/usr/lib*/*.a
-}
-
-pkg_postinst() {
- # Fix bug 473502
- for POLTYPE in ${POLICY_TYPES};
- do
- mkdir -p /etc/selinux/${POLTYPE}/contexts/files
- touch /etc/selinux/${POLTYPE}/contexts/files/file_contexts.local
- done
-}
diff --git a/sys-libs/libselinux/libselinux-2.3_rc1-r1.ebuild b/sys-libs/libselinux/libselinux-2.3_rc1-r1.ebuild
deleted file mode 100644
index edcea7903796..000000000000
--- a/sys-libs/libselinux/libselinux-2.3_rc1-r1.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.3_rc1-r1.ebuild,v 1.1 2014/04/29 19:13:15 swift Exp $
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 python3_2 python3_3 )
-USE_RUBY="ruby18 ruby19 ruby20"
-
-# No, I am not calling ruby-ng
-inherit multilib python-r1 toolchain-funcs eutils multilib-minimal
-
-MY_P="${P//_/-}"
-
-SEPOL_VER="2.3_rc1"
-
-DESCRIPTION="SELinux userland library"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/2.3-rc1/${MY_P}.tar.gz
- http://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${P}.tar.gz"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="python ruby static-libs ruby_targets_ruby18 ruby_targets_ruby19 ruby_targets_ruby20"
-
-RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
- >=dev-libs/libpcre-8.30-r2[static-libs?]
- python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- python? ( >=dev-lang/swig-2.0.9 )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- EPATCH_MULTI_MSG="Applying libselinux patches ... " \
- EPATCH_SUFFIX="patch" \
- EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
- EPATCH_FORCE="yes" \
- epatch
-
- epatch_user
-
- multilib_copy_sources
-}
-
-multilib_src_compile() {
- tc-export PKG_CONFIG RANLIB
- local PCRE_CFLAGS=$(${PKG_CONFIG} libpcre --cflags)
- local PCRE_LIBS=$(${PKG_CONFIG} libpcre --libs)
- export PCRE_{CFLAGS,LIBS}
-
- emake \
- AR="$(tc-getAR)" \
- CC="$(tc-getCC)" \
- LIBDIR="\$(PREFIX)/$(get_libdir)" \
- SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
- LDFLAGS="-fPIC ${LDFLAGS} -pthread" \
- all
-
- if multilib_is_native_abi && use python; then
- building() {
- python_export PYTHON_INCLUDEDIR PYTHON_LIBPATH
- emake \
- CC="$(tc-getCC)" \
- PYINC="-I${PYTHON_INCLUDEDIR}" \
- PYTHONLIBDIR="${PYTHON_LIBPATH}" \
- PYPREFIX="${EPYTHON##*/}" \
- LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \
- pywrap
- }
- python_foreach_impl building
- fi
-
- if multilib_is_native_abi && use ruby; then
- building() {
- einfo "Calling rubywrap for ${1}"
- # Clean up .lo file to force rebuild
- test -f src/selinuxswig_ruby_wrap.lo && rm src/selinuxswig_ruby_wrap.lo
- emake \
- CC="$(tc-getCC)" \
- RUBY=${1} \
- RUBYINSTALL=$(${1} -e 'print RbConfig::CONFIG["vendorarchdir"]') \
- LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \
- rubywrap
- }
- for RUBYTARGET in ${USE_RUBY}; do
- use ruby_targets_${RUBYTARGET} || continue
-
- building ${RUBYTARGET}
- done
- fi
-}
-
-multilib_src_install() {
- LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
- emake DESTDIR="${D}" install
-
- if multilib_is_native_abi && use python; then
- installation() {
- LIBDIR="\$(PREFIX)/$(get_libdir)" emake DESTDIR="${D}" install-pywrap
- }
- python_foreach_impl installation
- fi
-
- if multilib_is_native_abi && use ruby; then
- installation() {
- einfo "Calling install-rubywrap for ${1}"
- # Forcing (re)build here as otherwise the resulting SO file is used for all ruby versions
- rm src/selinuxswig_ruby_wrap.lo
- LIBDIR="\$(PREFIX)/$(get_libdir)" emake DESTDIR="${D}" \
- RUBY=${1} \
- RUBYINSTALL="${D}/$(${1} -e 'print RbConfig::CONFIG["vendorarchdir"]')" \
- install-rubywrap
- }
- for RUBYTARGET in ${USE_RUBY}; do
- use ruby_targets_${RUBYTARGET} || continue
-
- installation ${RUBYTARGET}
- done
- fi
-
- use static-libs || rm "${D}"/usr/lib*/*.a
-}
-
-pkg_postinst() {
- # Fix bug 473502
- for POLTYPE in ${POLICY_TYPES};
- do
- mkdir -p /etc/selinux/${POLTYPE}/contexts/files
- touch /etc/selinux/${POLTYPE}/contexts/files/file_contexts.local
- done
-}
diff --git a/sys-libs/libselinux/libselinux-2.3_rc1.ebuild b/sys-libs/libselinux/libselinux-2.3_rc1.ebuild
deleted file mode 100644
index db087e854931..000000000000
--- a/sys-libs/libselinux/libselinux-2.3_rc1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.3_rc1.ebuild,v 1.1 2014/04/28 19:39:01 swift Exp $
-
-EAPI="5"
-PYTHON_COMPAT=( python2_7 python3_2 python3_3 )
-
-inherit multilib python-r1 toolchain-funcs eutils multilib-minimal
-
-MY_P="${P//_/-}"
-
-SEPOL_VER="2.3_rc1"
-
-DESCRIPTION="SELinux userland library"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/2.3-rc1/${MY_P}.tar.gz
- http://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${P}.tar.gz"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="python static-libs"
-
-RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
- >=dev-libs/libpcre-8.30-r2[static-libs?]
- python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- python? ( >=dev-lang/swig-2.0.9 )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- EPATCH_MULTI_MSG="Applying libselinux patches ... " \
- EPATCH_SUFFIX="patch" \
- EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
- EPATCH_FORCE="yes" \
- epatch
-
- epatch_user
-
- multilib_copy_sources
-}
-
-multilib_src_compile() {
- tc-export PKG_CONFIG RANLIB
- local PCRE_CFLAGS=$(${PKG_CONFIG} libpcre --cflags)
- local PCRE_LIBS=$(${PKG_CONFIG} libpcre --libs)
- export PCRE_{CFLAGS,LIBS}
-
- emake \
- AR="$(tc-getAR)" \
- CC="$(tc-getCC)" \
- LIBDIR="\$(PREFIX)/$(get_libdir)" \
- SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
- LDFLAGS="-fPIC ${LDFLAGS} -pthread" \
- all
-
- if multilib_is_native_abi && use python; then
- building() {
- python_export PYTHON_INCLUDEDIR PYTHON_LIBPATH
- emake \
- CC="$(tc-getCC)" \
- PYINC="-I${PYTHON_INCLUDEDIR}" \
- PYTHONLIBDIR="${PYTHON_LIBPATH}" \
- PYPREFIX="${EPYTHON##*/}" \
- LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \
- pywrap
- }
- python_foreach_impl building
- fi
-}
-
-multilib_src_install() {
- LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
- emake DESTDIR="${D}" install
-
- if multilib_is_native_abi && use python; then
- installation() {
- LIBDIR="\$(PREFIX)/$(get_libdir)" emake DESTDIR="${D}" install-pywrap
- }
- python_foreach_impl installation
- fi
-
- use static-libs || rm "${D}"/usr/lib*/*.a
-}
-
-pkg_postinst() {
- # Fix bug 473502
- for POLTYPE in ${POLICY_TYPES};
- do
- mkdir -p /etc/selinux/${POLTYPE}/contexts/files
- touch /etc/selinux/${POLTYPE}/contexts/files/file_contexts.local
- done
-}