diff options
author | Jason Zaman <perfinion@gentoo.org> | 2015-02-04 17:53:22 +0000 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2015-02-04 17:53:22 +0000 |
commit | 8b6197c3a5f24166561cd5df711bd99ba33c20a9 (patch) | |
tree | 76f45ea2c3599140736141869a99347b00fbaf07 /sys-libs/libsemanage | |
parent | Version bump (diff) | |
download | historical-8b6197c3a5f24166561cd5df711bd99ba33c20a9.tar.gz historical-8b6197c3a5f24166561cd5df711bd99ba33c20a9.tar.bz2 historical-8b6197c3a5f24166561cd5df711bd99ba33c20a9.zip |
Version bump
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0x7EF137EC935B0EAF
Diffstat (limited to 'sys-libs/libsemanage')
-rw-r--r-- | sys-libs/libsemanage/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/libsemanage/Manifest | 34 | ||||
-rw-r--r-- | sys-libs/libsemanage/libsemanage-2.4.ebuild | 114 |
3 files changed, 139 insertions, 16 deletions
diff --git a/sys-libs/libsemanage/ChangeLog b/sys-libs/libsemanage/ChangeLog index 65ccab87b92f..26a2bd71cf53 100644 --- a/sys-libs/libsemanage/ChangeLog +++ b/sys-libs/libsemanage/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/libsemanage # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.87 2015/01/26 10:35:34 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.88 2015/02/04 17:51:57 perfinion Exp $ + +*libsemanage-2.4 (04 Feb 2015) + + 04 Feb 2015; Jason Zaman <perfinion@gentoo.org> +libsemanage-2.4.ebuild: + Version bump 26 Jan 2015; Agostino Sarubbo <ago@gentoo.org> libsemanage-2.3-r4.ebuild: Stable for x86, wrt bug #535684 diff --git a/sys-libs/libsemanage/Manifest b/sys-libs/libsemanage/Manifest index f8328ce2fd1c..52121a99f5b9 100644 --- a/sys-libs/libsemanage/Manifest +++ b/sys-libs/libsemanage/Manifest @@ -6,27 +6,31 @@ 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-rc6.tar.gz 151087 SHA256 92fc0fa14dbc297de41941cb90c02225b7fc9591df29129725751f98a41c5d93 SHA512 0c3fdbce56a0b3794c451d88330d8b32da462681b4d6b9f14a2c885a6eb4b32d2510ab6bc3a830a79304ec66511c57c33ec41da030d75d3f80d51e14ac529f2b WHIRLPOOL 6ee96b1164133b480e9d1855293b6ed468b3b0ae249a457a7f5b5bd5846fc806c7efb82e3a75ea55b285966cdfbbd1603fd2e9afd9d6c82c4e5053d716f01969 DIST libsemanage-2.4-rc7.tar.gz 151193 SHA256 7ea902f829fa76856292c0fcc09334c528bd25db5bd95224aa1a00b32cee7f60 SHA512 6330af6bda8ea6da3caba9d006542db2b9a5d25ceeefb0a1058b9b50ddc604bf9b148214c1b1450bda042b4c7c9779cb4cb6b378c5eb205f567a6c221ac51fd5 WHIRLPOOL 4a4d9f147e492926714e72eb42e6ae9a47fc8153aabacb80fe153d9cdca06a8ad5afaf8164c5b79e9aa095ef5eb7b49761a9c74b2b8804309fa9f0fe84a684f5 +DIST libsemanage-2.4.tar.gz 151173 SHA256 1a4cace4ef16786531ec075c0e7b2f961e2fee5dc86c5f983a689058899a6484 SHA512 54f993253b22207b053daf4d34e72c65c72279866416089b6c0f047ef77bca3e307eac0ce6dfe40bd14e2e47e79841b358d5607501779f38d9b5f7c35f3b7729 WHIRLPOOL 7303c06515ed59b5756a87d08aff07671e51d26ce9fa452ca75643dd0ce4658571dc69d86434c943d691a4ab0d90cbdccdaa27e5aaec5fdf8057cf2d5d30631e EBUILD libsemanage-2.2-r2.ebuild 3210 SHA256 97027d0ced1e3aa603feb38cd4974d43e9d559519b9ff83bdb52d831080d01b2 SHA512 4f543459d29f85c42ef0370e51bb5055342e04382f4b13ca018d47da3af4acf0073bfbe0d8c340dfa00a4f2d69f7acf64df3471da543e46ed7888323b00236f8 WHIRLPOOL c8963d06b370e61c8313c0c6cd4b67ad9a28c994887266817aaa1af7a6d8761c51d9383ebd202560cdf17699d765bbcab70ed7adaa85aacf7645d8d5f656de9c EBUILD libsemanage-2.3-r3.ebuild 3537 SHA256 00c6826ae6646ec7ddcf6c176035a7058962d8ba25ba2cd9febbcd4d290b3a88 SHA512 86401b345346d23e7a874bf1fd68636bd79c33e2937f9885a2a1c0c1d043c7a7bbc73b183b0687882164a6d50f70b8c5c04c38dd60dd2d6f060e764cb607fef5 WHIRLPOOL ccada4c09dfd01dc7d85f1e551438a8e8c7f7cb65a2908fb6d128c0dde447b4bf9c9ae53fc273b8466d117b7b9a170fa442977e15ebcf255f6e941239f3ac731 EBUILD libsemanage-2.3-r4.ebuild 3567 SHA256 e2a132397a7be33ccd364ffde8f5ef507d157c8b539d0b4a63b0372a61430ca7 SHA512 5439c8cfa55e70f8ea88c389b180ad1e236da771d7a2015c844aaaf7a98fa09e7897efaaa15c2701aa91b1fad002c90ce51678488367f32f1009b9c80350441f WHIRLPOOL 371c9ab09844c463b2183d076c4f41c70e314407deb6e62bd4f641beb6532bde5769671393bd3ee4aea29bcbd804d78136e96bdb505ddffaa748af0d39020bbb +EBUILD libsemanage-2.4.ebuild 3958 SHA256 330de508631c3990f2bc60be455459992f9c9cbc85f83f2cb9e526aaabecddde SHA512 e5d5bb84ac8dfa369a5e03a2e210abd8059181918871602f517b76962a5ad7cb7338e38fdfe5d12f4c7a79a551edbf4165b13f453d43749786ee1b452f4cf41b WHIRLPOOL 87fd425105708fdccbb7c34b4fd3d4909f7af254d22ea3ecc79232521e4e1be904ff267fadda511ae70bb5eaccfb76c422be9d541bd0bd72b3c8362e16b0aea6 EBUILD libsemanage-2.4_rc6-r2.ebuild 4055 SHA256 0c4694bdf0e905ea308c252a98766c59053956d8c5a7892826c4841abf9a039a SHA512 de9a42e759891bc1ab04d70839bdaa959129455aa7510706888b40acec7f1d4b8ad187403af1b9355b6fc5986a7b890e7898cc5ff76c75dfa39fd42e33c09c67 WHIRLPOOL 735dae66a7f6a977d9331b82b988f81eda67f203cdc264e7d5a651f048e3e23c8fb6240b0f2b2d2b5ad3b5d41cac9cdbd6aecbcf9a8da85d9c8af0a2cffcc400 EBUILD libsemanage-2.4_rc7.ebuild 3962 SHA256 32c2c51cd4b57e6c964cba25ae3879e288493f43a78ca72e11d06cf9e702d962 SHA512 3ee7ebe2866239a1e44ddf0ec4e91ed0dbae77173c905ec8db9b54a4d0ca89990bf4c9b36536b9c751e30b8d75adee0d85c4a6a79abb17b1513a0cfc94efb681 WHIRLPOOL c58212e4b4e6ff99dc6847b90a4bdb0da83a1d54b16db581865a1e7d3315a08e91eb03ce47d86ed1d88c6aaead90d8fe15b6b9b017557beb35f8010ad7a25d01 -MISC ChangeLog 12745 SHA256 1b2ff8785238ded0ba2c304ece4e1133c6be8297b0ee9044866d52861b0c898e SHA512 69bf1f3979e967c3d8671236a68b76bc6c2667a37246311b493fea623677282fb72c683726eb5b0b2da7846713e45f4fb07bdd5700d58ccf2484660129efb8e9 WHIRLPOOL 4f0fa975bbb8f068138e31a3a3b576c35eb3833a6c11b861c6ebfa435d8c50f20e8087686f59fec1d7ca624cb5ff850fc8c554234dad55618f6fd218de1941c2 +MISC ChangeLog 12874 SHA256 21b90e72e27ffe48c3f4dafd1204fe8584d1490c204896ae4f305348ee8ba2d0 SHA512 939ec94834589563277d11a83860ac4b85d61099aa461f94a36686ab7ee43e3b9d73db1437b1ace9d08a373882eaeb934cd5752c7e5b9da53ed255bfa5f0e7c9 WHIRLPOOL 733d80c9299d193a9cb129894bf4fb211a3cda1f8527bf0017cf30f3fe4a4a02efe8fbc775eec2557b49e4502a8410f95d05f25d5c4d9f4297678d10335c490c MISC metadata.xml 233 SHA256 c5a240155da9b7588e31ff668d3656486a16868654c076f7e1aea823a6b85ae9 SHA512 96a2805dfeebf2e9458e4b602da2cff381f9a3a2e05feb0b36d22b25cac15417e54c8f0572f14f3f944ca7d20377f20ef217ad51105e273a40525b1174df714a WHIRLPOOL 1e68c6d8f1f0446a8be9a001f4c89d641a2055fc9d440be286f753fbf8a216f9d0ed530694f1ff5859a1604eff125316fdcf9593cb91113e4735cc3fa8e8b9a3 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2 +Version: GnuPG v2.0 -iQIcBAEBCAAGBQJUxhh3AAoJELp701BxlEWfoM4P/012Xg85lBqZr43fow3+nJ/Z -Thj3VKWPnyXG5huxjD1qesVBT8ih0d/opS8D5NHwQYjXtwK/cJEaPHRR5sOEboUQ -g3M+0r+pR73P7YZjpPNEbpsYX1B4WMt6GH9elx6ub0Bwu82mG1IRfja0yZBQ6p8V -JiGvoNGXtMBZkbp3e8AqXYaGHUtvGr4hEbemGNpotgydqlyg8ReE4h6EwzcS1V0v -afw9LrVYZivOqahKLYLCRK8P4+mQXA2agfIVh+e0tqLIvGKfouoCH56JqRblSbgT -H4wqXxEZx1g221HSxREMdxFDOF+X3ekZCriA27Sy69SpJus8stV/xFjBfCfOFZxW -KUeYx+/qMAx0Ftj1rHaOmzrQC43iEqA5MFkIsZNw0ZW1UHnrRPDc1LWZBJxIxwQV -K5YYv3xfs6owiFKDvH/D7RqZAQSpIaCzM1rd+CVcuyvw3CzUa+9jurCruBPwB+PU -gBk6yUDPqOkHQPk1lTH7FU5r5fl0JjjyvJJhf1BeY/TZyKCizB7X9aX4mmCJhxN4 -zY45tER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-2.4.ebuild b/sys-libs/libsemanage/libsemanage-2.4.ebuild new file mode 100644 index 000000000000..62a3634da09f --- /dev/null +++ b/sys-libs/libsemanage/libsemanage-2.4.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-2.4.ebuild,v 1.1 2015/02/04 17:51:57 perfinion 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="${PV}" +SELNX_VER="${PV}" + +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/20150202/${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_optimize # bug 531638 + } + python_foreach_impl installation_py + fi +} + +pkg_postinst() { + # Run the store migration without rebuilds + for POLICY_TYPE in ${POLICY_TYPES} ; do + if [ ! -d "${ROOT}/var/lib/selinux/${POLICY_TYPE}/active" ] ; then + einfo "Migrating store ${POLICY_TYPE} (without policy rebuild)." + /usr/libexec/selinux/semanage_migrate_store -n -s "${POLICY_TYPE}" || die "Failed to migrate store ${POLICY_TYPE}" + fi + done +} |