summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <swift@gentoo.org>2014-04-28 19:39:41 +0000
committerSven Vermeulen <swift@gentoo.org>2014-04-28 19:39:41 +0000
commit37ac0dba44363110c941e98a0236956d54231f36 (patch)
tree490770da169fa1e14e426c682dd18e507b23d226 /sys-libs/libselinux
parentVersion bump (diff)
downloadhistorical-37ac0dba44363110c941e98a0236956d54231f36.tar.gz
historical-37ac0dba44363110c941e98a0236956d54231f36.tar.bz2
historical-37ac0dba44363110c941e98a0236956d54231f36.zip
2.3-rc1 release
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/Manifest31
-rw-r--r--sys-libs/libselinux/libselinux-2.3_rc1.ebuild95
3 files changed, 118 insertions, 15 deletions
diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
index c0ff18f70ab2..040545cd127a 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.116 2014/04/21 18:37:25 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.117 2014/04/28 19:39:01 swift Exp $
+
+*libselinux-2.3_rc1 (28 Apr 2014)
+
+ 28 Apr 2014; Sven Vermeulen <swift@gentoo.org> +libselinux-2.3_rc1.ebuild:
+ 2.3-rc1 release
21 Apr 2014; Sven Vermeulen <swift@gentoo.org> libselinux-2.2.2-r4.ebuild:
Stabilize 2.2.2-r4
diff --git a/sys-libs/libselinux/Manifest b/sys-libs/libselinux/Manifest
index 9d71361494aa..19056b01fde1 100644
--- a/sys-libs/libselinux/Manifest
+++ b/sys-libs/libselinux/Manifest
@@ -8,6 +8,7 @@ DIST libselinux-2.1.13.tar.gz 168931 SHA256 57aad47c06b7ec18a76e8d9870539277a84c
DIST libselinux-2.2.1.tar.gz 171057 SHA256 d720209532b77f84d4abdf55882206d10442fda5fee4e2d6cb20309fac8e789f SHA512 a0f698c5c83fb43a92f86fc8663a730d95aca390421bfa3056fb33510978f4069c5a7dcf92a377425e5d4fb1e3efdc4ce5eb5d396ba2caf36bdd81d91f28d6a5 WHIRLPOOL 223e142546442d5f0b4e1fa3fdd9eb3f01e62a07a5f8801fa4e79e376c08a1492364cc049c2d3f0735da612eaf2a162df5449c71ede3869c8e9e05f9d28e7497
DIST libselinux-2.2.2.tar.gz 171013 SHA256 30ab363416806da907b86b97f1d31c252473e3200358bb1570f563c8312b5a3e SHA512 1270cba11ec0795a2cea3706ac5547655d0e65dcd2141932000526f3d0c781b6ae114051b2bb53950b8ef207a318335329280b9fc9fd81796e8e4a27cf6ae841 WHIRLPOOL a444e44225ced35b126bbd2e8924aaf5c9f4da7abb9663d20a32b97babe750245c22d75e2238de0958b73295cf582b8aec39e23312886b96417120c600ed37dc
DIST libselinux-2.2.tar.gz 171011 SHA256 e9dc64216543a7283d786f623ac28e8867f8794138e7deba474a3aa8d02dce33 SHA512 61472f0699e95cf1317b2f28a8d87a3f3298d4daa844f9894973cede2d64fb4477255a1499022e3ee5fee77561578db9f43fceee8c99339cdd64356a37d3aa1e WHIRLPOOL 3bedb3420de00e0b4af2d73d140777688c5db0b0e2b9ecde5cf2c5a1e2f310c619d9d9e3c3af5b97e6ef6d2d2e7d81b0b84f75a4ec739f72fe21877f98723a01
+DIST libselinux-2.3-rc1.tar.gz 171271 SHA256 154dcee626a30c7a8a1083ea209c77336310517607d9ebd22d95bd5a462e2123 SHA512 3bd86207e257531006c273d374829f674fb63153919eb551ef074ff8b6e6280b23fde7776996ef8896b04c1ffe032ad7e7a0fd0651d9ff025fb8c51fe31bf867 WHIRLPOOL 0deeda057923ac20d8d521b1ffba90ed3854c270bc472df36648bdf4921e5ecd8cb57770135c77415045e30754dfaf70327e19e9c7b0f9c600e9f27304a6ad4f
DIST patchbundle-libselinux-2.1.13-r1.tar.gz 1652 SHA256 437a3de602d0df7a00b0ba5664f7f7f682b1ca69e1ce019dd7d0a41465c28d31 SHA512 b79b72d0240294462d816e1878bb99d0090da7adf1c5fb62882adad2eb1771c02da6627630fe699257c86628e7271c2965e0ce0e23911d10a3dead570b3829fd WHIRLPOOL 582afda95c80b3896256678b41e8897664c065a841ba61305816298ddc4ba05df919836846cb79aa520b39bf1a8c5dceb8ef3a8fd3f5b8beb979c80c3bc72e58
DIST patchbundle-libselinux-2.1.13-r2.tar.gz 2771 SHA256 d71f0923c7bd7cce8d3d305865736aa56d4038de319a1d016582f1470108cb07 SHA512 38c9e0ce5c3689ef2e737f58d41ceb20085f6cfdf38cc9f8f8cca0d1c739bf3edbf21504e93e5110806a86d514deef6b1a1c69527d0bada04f293fc5db508c12 WHIRLPOOL f4c64f2dcfef2b2002fd881c5e7b2c1e39c40bfb4ae058e08bd721ea5570968a0c4c00a2b15ef0ed762382730010d779597cd046b5137e964177cad84170b4a6
DIST patchbundle-libselinux-2.1.13-r3.tar.gz 2887 SHA256 c48b541e4ad26cdde9be9be0d71b2cf7b3ebeefde58271b69297eee40b16ff10 SHA512 5042ad656c2dd7f53ee49875ce3b5fbdd911e3b6fe9761d6f7357c087fee8d703662d803262a95e638f45a094132cef71d74456821841f2c2a29c61de86d9b6e WHIRLPOOL b9124a5bb20c3f7957d5c8561f97e4e3ad704d0960a5f4046426c1d7a9f87da7a14deb32c389930213261e926a34ebb4ead0a685ff1ca08ed9a152ad6bedfff4
@@ -15,6 +16,7 @@ DIST patchbundle-libselinux-2.2-r1.tar.gz 499 SHA256 9540c7b27a8b6cba155b4256bcd
DIST patchbundle-libselinux-2.2.1-r1.tar.gz 508 SHA256 45a2819f2ac9b46135eaccd0395aabb2660370c06e489c969cd7dc7049346465 SHA512 81fc25984013a858758cf22f7adc5e8e47ee536041c6d1f4bd935dc60c8d761e7151e1cb13894f0933de6feeade89df6ee1531d9adfb2132b6bfa4c6c6ef0119 WHIRLPOOL 1b08953bbc6fba2fe8292357d283e44ea8a443db8ef461bad305412f03a1781d342dca6a2b11c03d76935f4aa1373bf0cd99eb95666905fea2b1796ebde402d6
DIST patchbundle-libselinux-2.2.2-r1.tar.gz 500 SHA256 8e6b50b03f8bf0051de179e3dc51f5fcd10c6dd61a8162a816ffb3bebe7b5c85 SHA512 8ace941a25469a68f92cab26f304a28ae93a5858ef2281c05497971726d0e9b356c72782015462db8625987b8790091a1e0d9cfa5f2cb3666074d53ce6e26eb2 WHIRLPOOL f9e2485f25160339ea39279f7188ba83c57638adf6fd5edf883ce77d68a5b398c935a6630c5957710149854c6f7cfe0dea9ec067094b70bea6f3a059ed8c6a6a
DIST patchbundle-libselinux-2.2.2-r4.tar.gz 1500 SHA256 a502a3958f8e0949bc65c23bc2f3629fb8aeb38525dad5ccef531a08a3a9bb1a SHA512 7a13b69cae815845cc01bdfa26b3af051d12ef5e83dab8e50aab853952d5a365e60cb99a56e84b73d0273a3675fba65b6998f7bab524d06a7a78c77b64a57bbf WHIRLPOOL a6c1e0ec3b9cb5c3bbbeaa90ff64d794ab5d522730df05cbef66c13a3d6f48fbde83646437b1d5fca851e8a425ab7becc26eeb246a08f7d349143792cddc6124
+DIST patchbundle-libselinux-2.3_rc1.tar.gz 1500 SHA256 a502a3958f8e0949bc65c23bc2f3629fb8aeb38525dad5ccef531a08a3a9bb1a SHA512 7a13b69cae815845cc01bdfa26b3af051d12ef5e83dab8e50aab853952d5a365e60cb99a56e84b73d0273a3675fba65b6998f7bab524d06a7a78c77b64a57bbf WHIRLPOOL a6c1e0ec3b9cb5c3bbbeaa90ff64d794ab5d522730df05cbef66c13a3d6f48fbde83646437b1d5fca851e8a425ab7becc26eeb246a08f7d349143792cddc6124
EBUILD libselinux-2.1.13-r1.ebuild 3299 SHA256 c12efb1771f1a55efff50e0ccc29887111aae4f7e1dbb1d3150b94aeae423b64 SHA512 bb3aab781877770a901da936f3d83a230933ad947a2ef67ce39ee581a10dad5233094977f63faf5219964b16d16af8a8225fb5368e53099656e0051cd9ccfd8f WHIRLPOOL d5d2a5233e5ea94b3d741e0b112c110cfc88d87427f75cafdb5f583db8f467ddd11a15fe522b53ed0f44bcc3a1b5b353133caa21e3067034fa0ad9deea3c6f09
EBUILD libselinux-2.1.13-r2.ebuild 3297 SHA256 5ad7f7d5e2dfbf09cbf3bda0ab5cd79362a66f39e58aec6f101a9129fbb23440 SHA512 4697645ae6d07a5732304fdf6508e767ac1dfd4448abfbfb813c99b9dfc1375822e08c6259031de6490c08921fe6bb5d0234a3bb9659f6eb763f2a395b6aee53 WHIRLPOOL 63ca300ca18566752e06af6d9fb05501101d87cc197746d60d3863045cd4b9e201c4db7865e1174c862815bc1eb1b35b7d19cc8bae6ebd577e0b3b22f1dc7bb9
EBUILD libselinux-2.1.13-r3.ebuild 3299 SHA256 82325ab152c473ae4b546a457aef638b1830702ead9696f47571430237da7cba SHA512 53af7e037b45e77e9f6c70ec1c36b0f7521d53e0a50417e3bb8dc0ead176f3dcf7a6c03ac352bd6efc5cdfb8325e92aa4ea68475b07de90af7f55ff86f049731 WHIRLPOOL f7f1bba95a2e45c3a4b2b5f4883da9e6b3648795fc3babfff47e25e8d2c1a88dcf8c3c0324a45d85b515f598f9c1aff942811f8f6a229e4a6d07c10ab2a62611
@@ -24,22 +26,23 @@ EBUILD libselinux-2.2.1-r1.ebuild 3323 SHA256 6822e1a6ea3869654c68e0196a1e089c8b
EBUILD libselinux-2.2.2-r1.ebuild 2140 SHA256 deff00397bb716ad79f3993bd80f978cb61cff7c1333320921369a324d3b334e SHA512 09a4b0ae46f95018ab53eaed1bda97b7d811afdb1d1d8565465e959ec27a5acee3a8eef77b30a566ee97fd5cd12672dfe4cdf67912ee0d86511fe7563082eb25 WHIRLPOOL f09eb9ab689657d7148e4acef7707186fce95510a81a1d4c9e191b2cbaf8d99b4af47918239cebf94e5ed591786a7a6ab9b269e46b2119b95ac6a60011cf6625
EBUILD libselinux-2.2.2-r2.ebuild 2257 SHA256 d710376bb101c5961e57aedc04d22571be6a5c941f3cd647ed10d8a4a848fe71 SHA512 0b2c63c7028925c6156cf20cae7fdc306eb0809bd090d0195899c8fd642f9116477bc8f93ca28aefb359d936a6041fc26bd31299d24da8e96dcb71542d999c20 WHIRLPOOL b7e09a45126795a291074aef4c1a46d676e3ff1bb23741ddd8c1eb68c32f32a1819d8039472acb5de870e82556744201f5729550d8a21934080a13131007bf03
EBUILD libselinux-2.2.2-r4.ebuild 2354 SHA256 c36409df2746b35757041d975a03a3717db52372d996651ba5d4c1dcad01cdfa SHA512 1ae0948a24b5d418e266a752369bf98b23087545ebbb7939530c9d9a814175009c99b08a826607d441b5d80a0decdd591a42f625bc69f58ad6cc8e18c69e523d WHIRLPOOL 5b14cdcf4545035047254f70404ba33c193ba2fe75e9f7d7a6ca597d0e55e07add522c6e8bf771ea2f986faceb40411ba04285055fda31a6d089072e2dc37c48
-MISC ChangeLog 16916 SHA256 13d18db6993a4b7bfbcdd03be74301b5ad26546fc2401ce4e613027df296a5ce SHA512 b62ae2bd5f1394f20cd145e066850d7b2a58ceafe704f770c50892a79c74dac30eacbfbfc4550ac046f488b124a1245995aa5a0a01c5be932d6c1d367377df14 WHIRLPOOL 852783142633cc0d4402b45b5f3ca34b1952182c999f9a271fcf80dac8f1f8205ac0b9dcac7038193d664f67c7668ddcc599353d83361388180e7204b47eb502
+EBUILD libselinux-2.3_rc1.ebuild 2400 SHA256 2c4102756d09f4819c078e5224b45cb69b9c34f6e72aa7d894ed1b86e7b35622 SHA512 2e0af0c787760a58df95abce32e0808fe68e638b71520689e13618ea94c30bf16a581f8851eaa85527d99cbe158f0802dde8083eab3211b8ef22686259253e67 WHIRLPOOL e73128ac49a20f8005961b99591400ffeffa0bf753eabae4ffd9d1a9f1d09ca3bc16df43c2d6b65231925b3cc6a1a8f663fbcbec1e64ee244685ef964ca567fa
+MISC ChangeLog 17047 SHA256 d734f7c499acfab8bb2ecb2d5d97f4a867d88f6be2e12b89328bce9c2da29b77 SHA512 963bd3662666d12f0b55a66b3eb6df38f2c9d93276745a57adbf32d4cea6c1e80b7c0936f236873e54ac433a9460a4c7c3ef8e6dfde8df6b07654f8c47f9e036 WHIRLPOOL 56ef9a726ce649a523ac4bc8d3f6c4103259c3a5c7ccaa9b4cff7e89452bacec0f4afbe8bdb37113668ae583c37ca75730615e372b89db60c5a9d7081fa1739b
MISC metadata.xml 406 SHA256 934da6149d008c09754c0654dbea6c49da117923adc6fbf3fcabac58195b9c45 SHA512 5bd2b0637c4d77b6113540dff5c4253390b1fcc69b864aaf2196d2c6e8c2c10fbb06bfcb69ba73978e3a2c3ca60fc6e4eccc0ea02a818b34a66c137f993a33a0 WHIRLPOOL f34ec6f0a7f35b9c2a8f29688fc58b6228484e3ba0568d65b6d8e24cc91662b6704ea532e036cf0a6ceca83b4e118bb7c8a64c6c4ba45bd60e2fa2d73d2d2abd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJTVWVYAAoJEC7dUkA7aK9HZ7QP/3tUNPRLH8cx+0y/PshS7E++
-nJLUA4Rj6g22ndOTyhZTqDlDikfEtT9npuQrT/zqRhxlUP23UNB1oogWF5Hs0jVQ
-pV3xSqqL9MvOuDbl9tbPoSJ8qxu/7IHGrNrRdt5cZ762up/CzLVivhSqj2CD2puo
-3jsNEmRBAZc2E5awYzNubkDL3XTStIsRPGNjrL1mCHZ6fF1k0nNSUblCjqwF8fLe
-Ty4eSE4pLFLGQpf4gqTNcTQQQgxKRrdBS/N4lmgg1zpd1xTeZFG7n9VBQjOTHbt/
-QzttnWMbmR9UDzUxQxDqauDVZ92460sywSqv2+o46etPRV/EXmROVao8k33huPMo
-XJtvjnDcwjfaB7HUHXsyzGbKcTPVgnP9pQMiAnRVrhZHb+a76uNKv9sslTDE3TIy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selinux/libselinux-2.3_rc1.ebuild b/sys-libs/libselinux/libselinux-2.3_rc1.ebuild
new file mode 100644
index 000000000000..db087e854931
--- /dev/null
+++ b/sys-libs/libselinux/libselinux-2.3_rc1.ebuild
@@ -0,0 +1,95 @@
+# 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
+}