diff options
author | Sven Vermeulen <swift@gentoo.org> | 2014-11-14 19:19:04 +0000 |
---|---|---|
committer | Sven Vermeulen <swift@gentoo.org> | 2014-11-14 19:19:04 +0000 |
commit | 35c491c07a2bc6f41d3ed9c57153a51173d7473c (patch) | |
tree | aee9d7027234f56c225fc56d665b2679555984e9 /sys-libs | |
parent | Bump to rc6 (diff) | |
download | historical-35c491c07a2bc6f41d3ed9c57153a51173d7473c.tar.gz historical-35c491c07a2bc6f41d3ed9c57153a51173d7473c.tar.bz2 historical-35c491c07a2bc6f41d3ed9c57153a51173d7473c.zip |
Bump to rc6, add python3_4 to PYTHON_COMPAT (fixes bug 529176); rc6 also fixes unconfined issue when USE=-unconfined is set
Package-Manager: portage-2.2.8-r2/cvs/Linux x86_64
Manifest-Sign-Key: 0x2EDD52403B68AF47
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libselinux/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/libselinux/Manifest | 30 | ||||
-rw-r--r-- | sys-libs/libselinux/libselinux-2.4_rc6.ebuild | 140 | ||||
-rw-r--r-- | sys-libs/libsemanage/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/libsemanage/Manifest | 30 | ||||
-rw-r--r-- | sys-libs/libsemanage/libsemanage-2.4_rc6.ebuild | 103 |
6 files changed, 289 insertions, 30 deletions
diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog index d0343080153e..fda45a348263 100644 --- a/sys-libs/libselinux/ChangeLog +++ b/sys-libs/libselinux/ChangeLog @@ -1,6 +1,12 @@ # 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.133 2014/10/29 17:30:23 swift Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.134 2014/11/14 19:17:27 swift Exp $ + +*libselinux-2.4_rc6 (14 Nov 2014) + + 14 Nov 2014; Sven Vermeulen <swift@gentoo.org> +libselinux-2.4_rc6.ebuild: + Bump to rc6, add python3_4 to PYTHON_COMPAT (fixes bug 529176); rc6 also fixes + unconfined issue when USE=-unconfined is set *libselinux-2.4_rc5 (29 Oct 2014) diff --git a/sys-libs/libselinux/Manifest b/sys-libs/libselinux/Manifest index 4516c7ee9a1d..86423fb0e704 100644 --- a/sys-libs/libselinux/Manifest +++ b/sys-libs/libselinux/Manifest @@ -7,28 +7,30 @@ DIST libselinux-2.2.2.tar.gz 171013 SHA256 30ab363416806da907b86b97f1d31c252473e DIST libselinux-2.3.tar.gz 171254 SHA256 0b1e0b43ecd84a812713d09564019b08e7c205d89072b5cbcd07b052cd8e77b2 SHA512 8cfcd20ab0b43ffbb32389e0498b21e43cde643dcdf471a2354f1ca557f11641d250871ed5e71b9dde4c5f47ac1048746fe514f8f6cfad668fa179ed5136e802 WHIRLPOOL e975a391559aca3f8b251d2aa484cf8e344d09caa43ff56dd929e75a0ad195cf8d9a88b950679f589f4deb74aea0d22be4e7ad00b11eacc080288df0b5ac7ccb DIST libselinux-2.4-rc2.tar.gz 165817 SHA256 8b3b79247e6b93d49b6a9a38627e1e933cf96000117a36fe38af6a17a7d95b4d SHA512 60854a6b3efc52aa1b3f5d300aebaac889b26a51a58a8e4a5dce22a26707506b524b01706a10b6b3415e25c9eee1fbe5474e7bb7d83144ad1443c79562a565d7 WHIRLPOOL 7517be13cad652d921cf892a4e37a3e4d45676d512858a744bad5a0ed551bba210da17555845a82f14b5115c5879c813075633d76664b2bab2ade91df76a712b DIST libselinux-2.4-rc5.tar.gz 165951 SHA256 7e3a9a014a504ee066286c45e9b24ed90a1eb0d6abb62f972bf8a7aab3deca0f SHA512 fbc0e55ce336585818496030143ae8f43dd439868730554afd850692fd29b2022b632249d71fcbed09c8469bda97a01ab3c476fbccdc80e5c7baa5f67327d508 WHIRLPOOL f2f62dc3b801024c2b1b1bcbbfd62427d7600d00b654e578e491f584257fd9c4e71c7f64abfebb7e07403e7423ebb6b36c6169acac7ca6f008abb70ec4418020 +DIST libselinux-2.4-rc6.tar.gz 165956 SHA256 a8df5c615632b74240f4a27a9d91f7a63a73bdd7c899203d5add59fd3d24416c SHA512 a72444037294a9daab371b63b29979a3ceb4aaf2d6809bb6dabe8d4fae84dd35c141b6ecac76ef3df785b5da1c00aaefa9e648b564cfbebed517ccc8206b7dea WHIRLPOOL 101e1c9ac01b84168a4091ad67842efc9398f46ea54b22b9512a0c7a3b5354cd9c25ce2212d2da282b9e5d5a7c88a886b8eeb45dd305e127e6bf473e096a6e3c DIST patchbundle-libselinux-2.2.2-r5.tar.gz 2304 SHA256 ad77f499c05ec3b5707cb9db518a891dd9c84ccb77db07e686c87e5799e1802c SHA512 a01db39a7aade27b0127dd0e2f3185587ff4d913b7b1be7beac36dc2d3e1007de5e6bae8a11bc84567385420fff064ba54892d8e113c8fd54ad3c598dde7648d WHIRLPOOL 5886d9de6fcf073d54ca5e0eac3f8b4754c44382e7044debb223f94ecc81ea0e26b7638037eef17eb6f8ce4cc5046a4bb9f93b9b7767480908ee5b2ced0413ac DIST patchbundle-libselinux-4.tar.gz 2631 SHA256 91bf43c84ce3d3178c8d21fdcf97380a635fa2465d1611fe4e0e3838a586c78c SHA512 bd2f9762f095e3dbc67e77ee04968cb8e87d460fdf10feff91cb1ce6027e19a660bb57617887e44608d39720e8f95500c451c4b284d58c0a756a04b08fa305c2 WHIRLPOOL 07a6a69d33c46c443907aae2ae4f3646a0360565e28d0a50cbcf81f8b5d8c259812d3e086841fc21c2a8104ce9863fc6c9c1d32e28ea08ebc7baf2d45af3509f EBUILD libselinux-2.2.2-r5.ebuild 2534 SHA256 a98b5b6f55cba51844b9307156d0174b5aa350092d998a7d7cb4ebef691b41ca SHA512 9c789b638cd8822cdd738906de5a0e52f2cdf5c5c88316048a790a775d9f41601ae49e971709f572dd3eca964af8ec262fcb41ed1387a6d6be1ece74ed879fe2 WHIRLPOOL 1b6800e9eb589da42f05e9d8eff6009aa4aff6e1b55bc0e81f1b8cef280726e2105a069accdf645e68f0213c02bbd610c068536a57a7e56ae42156192ef288b1 EBUILD libselinux-2.3-r1.ebuild 3947 SHA256 ca0baaae337084e32d687b2c8d74c50b995d91e737a26ed3cddd4f51c121e68e SHA512 7e57b18370145fad0ffb13f0d121a3efe0f9bac0c51a1f5a9aa24e4bb8d8a42e25dfa2025252e43e05ac5ac020a1cff2ca2d0b842943d5746b269f0d22140f2c WHIRLPOOL 6686edc1ee477fd6495935b1038e6a0341727c2b9600098ed0deed8b8a8eced95f6b9466600b4846cf4ea78d091e3b9378daf1ddb109481e8d2c50160ff41fd7 EBUILD libselinux-2.4_rc2.ebuild 3846 SHA256 66c873baa7f32acfa7678b2896e7c83b16ecc8556e7ee4e40844e96af0afa653 SHA512 029b993d39c8c883caf5175014223caff857fcff391c69134a8d194c0a941118ebf7907767f8c5bc71aa80432ac482254ab1451500a3ac256ad6f779e4bf5206 WHIRLPOOL 00bf289ec7574d34bfbf572dfa178ce47b94e104ba84c8c3e29cc7a7d48516987eb8e83596e68a966bbddc63e1e849bc1a8c807639cf5812cbf36065ef7e148c EBUILD libselinux-2.4_rc5.ebuild 3846 SHA256 c9ef55f1c52617ddfc379b35bbb3f822eec368043a7ffa1fca11d5da0078c628 SHA512 3f7fd109c5020908f8e73456c87bd35a42a634fb0f55a4cffb1677749666c1b66451a2d695f197bacb6768c228baf2a1aa5a9e808b0c2355d017a1fde2c2a539 WHIRLPOOL 27244c8226d48370cfa18439bc907ca8dc7886b42ac12dfd4bdc00751b41f3aab451d9efc7a2e53a2806a92d0aea25f4556e906ea4fa492f971638f40126c9ed -MISC ChangeLog 19897 SHA256 bc0d2579939d928fcb7a427ffe5cb0a253fecfa0a047e9546e19fa47900435e1 SHA512 c592733813b14f8b92a8c1a62087c8b8d720fb80fb9572b371178be67a7606d03967dbe28522e54bb78ddebb2f71165f103c1a86ea4f7ab1ceda1d1cdd1cc5c2 WHIRLPOOL 8bee983c7f33d7dbf22db3be2bbe43e467c35a3da8454ac039606e1be9171fb5500abf3d76e2bb3eeb85432e2e4559fbb7ec74046bc66fb86a83a692a9903049 +EBUILD libselinux-2.4_rc6.ebuild 3856 SHA256 45720810331cd8fb9ef6ccf38cc97a5332c7f636690a2398a37c40b6cc786c97 SHA512 c1714217693dcd1f55e0d332aaa7cf5011547374002b7949e2303f65da366e58186eb921b6026affa33d235fb4ba9d3e42553e6ee613c41a01edd2a757f04b14 WHIRLPOOL d3cde8b99416c2a08215fef1bd732f6a9a64babfa04f430bd7203cd295348f0015152bcef23ce06d8014d709734d5c9d15dcb3aa87e6e523e963f3be0cd561d0 +MISC ChangeLog 20138 SHA256 37f239fa8cbb8b655711b4aeaea329999ebddf40f190c60de4573eab049253ef SHA512 fa7cc1c41f8d76c04a77dabece0aaaca023906d902f1af5a02e466ec4773851bdd28538a7fb6f2b2c80cd4f3d409ac5ade5952c29df1b922fd47ed0263054fb4 WHIRLPOOL 84eb961e1c62bc5a01ac2b9b63afbedf79c8c3277014fe78298fb31d34f17ff6a3012780295be287dabbfce5c6cbcd4a22d413ef30806590ed6b5c7ac361c828 MISC metadata.xml 406 SHA256 934da6149d008c09754c0654dbea6c49da117923adc6fbf3fcabac58195b9c45 SHA512 5bd2b0637c4d77b6113540dff5c4253390b1fcc69b864aaf2196d2c6e8c2c10fbb06bfcb69ba73978e3a2c3ca60fc6e4eccc0ea02a818b34a66c137f993a33a0 WHIRLPOOL f34ec6f0a7f35b9c2a8f29688fc58b6228484e3ba0568d65b6d8e24cc91662b6704ea532e036cf0a6ceca83b4e118bb7c8a64c6c4ba45bd60e2fa2d73d2d2abd -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0 -iQIcBAEBCAAGBQJUUSOvAAoJEC7dUkA7aK9HLa4QAKCNon+EhL6sfiksUIdzYHjY -nsC+gL/r2xvGZ23WkPe+zD/ySiaLvS0zM4CMuTPFJDTiFJ3e9MRtjJyisxBkRAmV -bS9+sPL6q2mFAq5S5o3wwDqIE1D+ka5PEZ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O3VhLFayimPvRcgCgeCmmxmt1Qn +XeL8+5RN8btPyykqRDPHxa5BQWowmNTuJ4wyu4oS+fyJLdMMG5e9uxddmSuneS8k +qbRvcKCl0eQ7LgUe7C63gqrZypiZFq7cjuEpkVfF7G+RM63X+tdXJk59cA44DiQe +4IOgNMRL59ND212072ywcPBDVcd+wzCrOsNhNcSYZGau+JH0z88fxpCp+jieDw7e +oolxcBZJEYRNQ4wJkZ5u +=0NE4 -----END PGP SIGNATURE----- diff --git a/sys-libs/libselinux/libselinux-2.4_rc6.ebuild b/sys-libs/libselinux/libselinux-2.4_rc6.ebuild new file mode 100644 index 000000000000..ccd45b8848e1 --- /dev/null +++ b/sys-libs/libselinux/libselinux-2.4_rc6.ebuild @@ -0,0 +1,140 @@ +# 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.4_rc6.ebuild,v 1.1 2014/11/14 19:17:27 swift Exp $ + +EAPI="5" +PYTHON_COMPAT=( python2_7 python3_2 python3_3 python3_4 ) +USE_RUBY="ruby19 ruby20" + +PATCHBUNDLE="5" + +# No, I am not calling ruby-ng +inherit multilib python-r1 toolchain-funcs eutils multilib-minimal + +MY_P="${P//_/-}" + +SEPOL_VER="2.4_rc6" + +DESCRIPTION="SELinux userland library" +HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" +SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20140826/${MY_P}.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 "${FILESDIR}/0005-use-ruby-include-with-rubylibver.patch" + epatch "${FILESDIR}/0006-build-related-fixes-bug-500674.patch" + + 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 + # Fix bug 516608 + for EXPRFILE in file_contexts file_contexts.homedirs file_contexts.local ; do + sefcontext_compile /etc/selinux/${POLTYPE}/contexts/files/${EXPRFILE}; + done + done +} diff --git a/sys-libs/libsemanage/ChangeLog b/sys-libs/libsemanage/ChangeLog index 86f8a724b2ae..edf63d26ede4 100644 --- a/sys-libs/libsemanage/ChangeLog +++ b/sys-libs/libsemanage/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-libs/libsemanage # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.80 2014/11/01 18:35:53 swift Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.81 2014/11/14 19:19:00 swift Exp $ + +*libsemanage-2.4_rc6 (14 Nov 2014) + + 14 Nov 2014; Sven Vermeulen <swift@gentoo.org> +libsemanage-2.4_rc6.ebuild: + Bump to rc6, add python3_4 to PYTHON_COMPAT (fixes bug 529176); rc6 also fixes + unconfined issue when USE=-unconfined is set 01 Nov 2014; Sven Vermeulen <swift@gentoo.org> libsemanage-2.3-r3.ebuild: Stabilize libsemanage-2.3-r3 (fix for bug #520608) diff --git a/sys-libs/libsemanage/Manifest b/sys-libs/libsemanage/Manifest index 1bfd8f3e9ee0..8183a39e7a08 100644 --- a/sys-libs/libsemanage/Manifest +++ b/sys-libs/libsemanage/Manifest @@ -5,27 +5,29 @@ DIST libsemanage-2.2.tar.gz 138208 SHA256 11f60bfa0f1c6063cd9bd99ce0cb4acc9d6d9e DIST libsemanage-2.3.tar.gz 138231 SHA256 03e09e35e611c286e446bef92b6023ef2623815996f5a53394bb02e49a312e4b SHA512 defe3bbdbe51abdaa13a39f693c33446d8a1a8509ac1eb25c7770da2df6487bcb0ca31259d02b4531d4c81db5e221e94e95bec97f6a1a155e1de2f65e6f0da34 WHIRLPOOL 943d4d300aa8ad49c411b10b41c0c3e751c46dbcbbe129bdd1d2e975e231c58391d6ecdee6b27699fff9f6e6facf5b48fc8d57c2ff68692694c7de430750fac9 DIST libsemanage-2.4-rc2.tar.gz 151013 SHA256 1e759200a4ef10943b3992b86d98004ad5751cf3a43b286cfa0500659debd815 SHA512 b9cfb0483481b68e5771dbb7c08413dbb7f41cfead45971ea98072aaa973723d45f6edf2ff67e909f7376de0c3d0d1e34abf1046e8f1db4607edbf0a310fc52a WHIRLPOOL f9d0abd6ff4f17d71a8c0ea74b3e4b9c3b312517d3ca8a76a4ff5a2c85d92c18f51fe25e069164691031bd121e315a86b75c37ae8281b00422400d265559349c DIST libsemanage-2.4-rc5.tar.gz 151083 SHA256 9596de9328fa55acaf22e3c356d201818fe1d6247d7fcc7dd3f2f8e2e894a4d8 SHA512 d1b3ffb0d40830f3a91b9b4ab520608052b23e0334aa037688ffb703e96bd061686a21256124efd207a4ae24fb53831f1a231b0c11f7a0d64f31f9a961957cf4 WHIRLPOOL 9d75f0b4cd9dad6e858c2f429f740150c946cb5c4b4c120757870473888b001d52b5249a0b68ba6a3a98c487c01d26387a64b3d0d9df06bfc04499e56cda0239 +DIST libsemanage-2.4-rc6.tar.gz 151087 SHA256 92fc0fa14dbc297de41941cb90c02225b7fc9591df29129725751f98a41c5d93 SHA512 0c3fdbce56a0b3794c451d88330d8b32da462681b4d6b9f14a2c885a6eb4b32d2510ab6bc3a830a79304ec66511c57c33ec41da030d75d3f80d51e14ac529f2b WHIRLPOOL 6ee96b1164133b480e9d1855293b6ed468b3b0ae249a457a7f5b5bd5846fc806c7efb82e3a75ea55b285966cdfbbd1603fd2e9afd9d6c82c4e5053d716f01969 EBUILD libsemanage-2.2-r2.ebuild 3210 SHA256 97027d0ced1e3aa603feb38cd4974d43e9d559519b9ff83bdb52d831080d01b2 SHA512 4f543459d29f85c42ef0370e51bb5055342e04382f4b13ca018d47da3af4acf0073bfbe0d8c340dfa00a4f2d69f7acf64df3471da543e46ed7888323b00236f8 WHIRLPOOL c8963d06b370e61c8313c0c6cd4b67ad9a28c994887266817aaa1af7a6d8761c51d9383ebd202560cdf17699d765bbcab70ed7adaa85aacf7645d8d5f656de9c EBUILD libsemanage-2.3-r2.ebuild 3451 SHA256 c7a81769d7838df565c99ee28fad062dbdf02311ff41579d060bae7ee878d994 SHA512 3c13ea458d3e803d6ef27c1abb13e5262674291a16a5681007a8f82e32660b907a129403bf20f131e2b2eaf27ecce8b007e7ee032c0e588a43c7f0158ceb1be1 WHIRLPOOL 15a2968969ad36f4213d81c15151a6ea620eec5f21af5ec8de2a6f3357ff9b1446d23e8f2cc17beecd8a75ba593e1ff67fd7f947af703a58851e225882e5e22f EBUILD libsemanage-2.3-r3.ebuild 3537 SHA256 00c6826ae6646ec7ddcf6c176035a7058962d8ba25ba2cd9febbcd4d290b3a88 SHA512 86401b345346d23e7a874bf1fd68636bd79c33e2937f9885a2a1c0c1d043c7a7bbc73b183b0687882164a6d50f70b8c5c04c38dd60dd2d6f060e764cb607fef5 WHIRLPOOL ccada4c09dfd01dc7d85f1e551438a8e8c7f7cb65a2908fb6d128c0dde447b4bf9c9ae53fc273b8466d117b7b9a170fa442977e15ebcf255f6e941239f3ac731 EBUILD libsemanage-2.4_rc2.ebuild 3549 SHA256 282783f8df0962d5035954cedaed996c119ae8806fdb40d6e9656543e0b3943c SHA512 dc265873655347c4aed4da4072df9ae047a781b1d0aff042d0fc750f58211c7163081d8a3df12ee28e9e45925fa2de5f43957ad17c0a8f76e4bc819902a4b61b WHIRLPOOL 84058341789f3fe9bec16c2f18d8f67f4cf0a983244da199737d04dc4af1750b8dc5d50e9b1a7a5b2ed08255dae0961df722a45103b576c1a396c1233f9647d8 EBUILD libsemanage-2.4_rc5.ebuild 3549 SHA256 6a473e9697e607c3b03cc40c1ee1562716128daf099dcec82444af64a250e0ad SHA512 c57689f340b6174ac41edb75517197827cdb6cc0511e0968f6431355c6dc43b412c0628ea63a58fe084433c184e343312af9dc92a0435d5ca34ed2aeeba3a465 WHIRLPOOL 1464e71d68a32f854515d211f141f070e8a84f7d309823e3b9f84869fdc293f8d9b0198c6a3741afcdab56152799969a5437c7736bc594d448a668e4ff954fcb -MISC ChangeLog 11344 SHA256 9047981a6f2d3b758646f509ce4b2927cf7db06c22ca3b525878910be79b9d5d SHA512 cfd51ae0f9e469d9d21f7d9b4de9875bf1626b2dc9b12a451757a5411f737b04071ec037e56eadca9ab10cbf09a9f723f792147f9c6b47194178b88c233882f9 WHIRLPOOL 31327c3aa4e17a187714411441e3d8a98bb03d2498f3a17f463b9dd5950f7d98c4b0ab6a27199af5d917d25d7aa87a1291b23a1b8bdd2227d0d2d582ad353bdb +EBUILD libsemanage-2.4_rc6.ebuild 3559 SHA256 74bfae2b3a00d2f8867aa8b01418ab66192a6f0e95154a39c5be276a8e07e28b SHA512 b5f9ba1d57a13d2fe91ce5f6a027bfbe29dd07a205c303e8a1c35cd97dadff22fc81f81c02e160133f5ee65ae1fe8eb5c697a48d9328fdfb6a2d73de6f3a8f84 WHIRLPOOL 514e7fe1d288525f0a13ac71c98823a26ae9580de4ecf8725a18a3a97cce351c44d0828acd061d475d03d02843c01bb9d7bd18e43b7a9c23df8a984c48b3aac6 +MISC ChangeLog 11587 SHA256 fcac11e97d2c156e3910ce3493ae9b9026c013d524534bc97c010b4361b455ae SHA512 7cb0cf95eaecb5334f500da9bfaa2bd6cc0cc36a0cec7e8b22073684aa67f0d1f401dd46f704ba3f7ab656450e836ddf01b251cd64612fec8f2e38941d4d5dc7 WHIRLPOOL 818bf457e88c469528d84fcc7ffe786f23a70db7fa39e43193ec600a32d5ad9922ac6ad7f839a46d3da63237eabce3f2dee925516a892fe5e9c2256bc8a5658d MISC metadata.xml 233 SHA256 c5a240155da9b7588e31ff668d3656486a16868654c076f7e1aea823a6b85ae9 SHA512 96a2805dfeebf2e9458e4b602da2cff381f9a3a2e05feb0b36d22b25cac15417e54c8f0572f14f3f944ca7d20377f20ef217ad51105e273a40525b1174df714a WHIRLPOOL 1e68c6d8f1f0446a8be9a001f4c89d641a2055fc9d440be286f753fbf8a216f9d0ed530694f1ff5859a1604eff125316fdcf9593cb91113e4735cc3fa8e8b9a3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0 -iQIcBAEBCAAGBQJUVSeGAAoJEC7dUkA7aK9H7sQQAILrTK3gXhDDw2UmvBh26pwm -uv28A6hL5ZPDIJ0GMCremA0/OOxl/B1OB5b6lHn3w1NoxMHQc0ZFKMdfaD7pA61f -9ha1JWB5+r2xN3GqCM7e36DmxlUXEcyc+qTHFRqW2wiNmMvg4XxP0r7CCH4hFSAF -4NMX0BvHHS5/ZDBiMU/nmn0s8sKaZMYsBW+vEIhpPh8eWiKOeNJHT1JXHQY7pgjS -sL8knGlv3A4ibGQOUERpw0OiC53H2okw4w97dbQUjy/eH8m8/ICe1+iRXFxrDLC2 -+KHyWaxTR7220VdghOb5leL4/sZQbH+KdwCUnKDupcF/vCa5w+sXIu0N012fLooo -cHovrgFJ8B2LwKNpUS3dnQDeY9d1BhGWlWa+0gWTyWxFL8Fqmcv3k400XqtOAlLn -D8UK27J4iE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uild b/sys-libs/libsemanage/libsemanage-2.4_rc6.ebuild new file mode 100644 index 000000000000..3cb9f599a8de --- /dev/null +++ b/sys-libs/libsemanage/libsemanage-2.4_rc6.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-2.4_rc6.ebuild,v 1.1 2014/11/14 19:19:00 swift Exp $ + +EAPI="5" +PYTHON_COMPAT=( python2_7 python3_2 python3_3 python3_4 ) + +inherit multilib python-r1 toolchain-funcs eutils multilib-minimal + +MY_P="${P//_/-}" + +SEPOL_VER="2.4_rc6" +SELNX_VER="2.4_rc6" + +DESCRIPTION="SELinux kernel and policy management library" +HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" +SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20140826/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="python" + +RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}[${MULTILIB_USEDEP}] + >=sys-libs/libselinux-${SELNX_VER}[${MULTILIB_USEDEP}] + >=sys-process/audit-2.2.2[${MULTILIB_USEDEP}] + >=dev-libs/ustr-1.0.4-r2[${MULTILIB_USEDEP}] + " +DEPEND="${RDEPEND} + sys-devel/bison + sys-devel/flex + python? ( + >=dev-lang/swig-2.0.4-r1 + virtual/pkgconfig + ${PYTHON_DEPS} + )" + +# tests are not meant to be run outside of the +# full SELinux userland repo +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + echo "# Set this to true to save the linked policy." >> "${S}/src/semanage.conf" + echo "# This is normally only useful for analysis" >> "${S}/src/semanage.conf" + echo "# or debugging of policy." >> "${S}/src/semanage.conf" + echo "save-linked=false" >> "${S}/src/semanage.conf" + echo >> "${S}/src/semanage.conf" + echo "# Set this to 0 to disable assertion checking." >> "${S}/src/semanage.conf" + echo "# This should speed up building the kernel policy" >> "${S}/src/semanage.conf" + echo "# from policy modules, but may leave you open to" >> "${S}/src/semanage.conf" + echo "# dangerous rules which assertion checking" >> "${S}/src/semanage.conf" + echo "# would catch." >> "${S}/src/semanage.conf" + echo "expand-check=1" >> "${S}/src/semanage.conf" + echo >> "${S}/src/semanage.conf" + echo "# Modules in the module store can be compressed" >> "${S}/src/semanage.conf" + echo "# with bzip2. Set this to the bzip2 blocksize" >> "${S}/src/semanage.conf" + echo "# 1-9 when compressing. The higher the number," >> "${S}/src/semanage.conf" + echo "# the more memory is traded off for disk space." >> "${S}/src/semanage.conf" + echo "# Set to 0 to disable bzip2 compression." >> "${S}/src/semanage.conf" + echo "bzip-blocksize=0" >> "${S}/src/semanage.conf" + echo >> "${S}/src/semanage.conf" + echo "# Reduce memory usage for bzip2 compression and" >> "${S}/src/semanage.conf" + echo "# decompression of modules in the module store." >> "${S}/src/semanage.conf" + echo "bzip-small=true" >> "${S}/src/semanage.conf" + + epatch_user + + multilib_copy_sources +} + +multilib_src_compile() { + emake \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ + all + + if multilib_is_native_abi && use python; then + building_py() { + python_export PYTHON_INCLUDEDIR PYTHON_LIBPATH + emake CC="$(tc-getCC)" PYINC="-I${PYTHON_INCLUDEDIR}" PYTHONLBIDIR="${PYTHON_LIBPATH}" PYPREFIX="${EPYTHON##*/}" "$@" + } + python_foreach_impl building_py swigify + python_foreach_impl building_py pywrap + fi +} + +multilib_src_install() { + emake \ + LIBDIR="${ED}/usr/$(get_libdir)" \ + SHLIBDIR="${ED}/usr/$(get_libdir)" \ + DESTDIR="${ED}" install + + if multilib_is_native_abi && use python; then + installation_py() { + emake DESTDIR="${ED}" LIBDIR="${ED}/usr/$(get_libdir)" \ + SHLIBDIR="${ED}/usr/$(get_libdir)" install-pywrap + } + python_foreach_impl installation_py + fi +} |