diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-11-21 17:18:13 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-11-21 17:18:13 +0200 |
commit | ff58a1945028a65f3f2c543fca4e5ad80135cd38 (patch) | |
tree | d5d98962681e666de469eca4ab715a203f9db3fa /sys-libs | |
parent | ca3d463b52e6a57350e3bd9e2589448223bdb614 (diff) |
Safe keeping the libsepol 2.1 version
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libsepol/Manifest | 2 | ||||
-rw-r--r-- | sys-libs/libsepol/libsepol-2.1.9-r1.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/sys-libs/libsepol/Manifest b/sys-libs/libsepol/Manifest index 453a484e..5ce93cc8 100644 --- a/sys-libs/libsepol/Manifest +++ b/sys-libs/libsepol/Manifest @@ -1,4 +1,6 @@ +DIST libsepol-2.1.9.tar.gz 204876 SHA256 290d17f583635a4a5d8a2141511272adf0571c4205cdea38b5a68df20d58a70b SHA512 9f01a6349b995310880a892d05e8783c1161739df0ff83f1d38f75a9c16707f40aedd5f078e726e4588120d49bdabba72bb9f9b5b93244b2ffb4e1a72a683651 WHIRLPOOL c570d5487324e2730247c66e25357f53bed7332ce2c82bcb3ab5178769f07fb511e9eb6aaf71688b8bd273d6bd9f4d8774783143ed454fa7cf264b2a0bf72216 DIST libsepol-2.2.tar.gz 209622 SHA256 77a4b27006295805bdbd7f240038cb32a49be1d60847d413899501702933fc0f SHA512 96e489eb29f5256fbcb1a522d3738e0c5f05fff55041989c7c26331987abc71d80ed8fdbe228aadb60248869552c5d62fa5721b6218fb093ad027bfb44fac772 WHIRLPOOL 4d1eeaa0e1964461b0b28de9e3d19e38bb28e386413280c8ef45919906c25abaf575a3ecd0f40dce0de82800d34b5e1c3d5060f1e93d0270e5fe3c3105964305 DIST libsepol-2.3.tar.gz 209570 SHA256 cc8d8642c3b7b95d6928d65dcbca2ab0627abc1c05166637851e63c1a6eae68f SHA512 5155645642f7f09c7e1d17736d7ce1654c973d1feb9401ee67aad0a96f9bd561105b4ab1f564c60362821985023ac523d20ed40da0e5a52973f7984217ad0d03 WHIRLPOOL 15b19d021c4a52cfdae118a7a1ddd7057722286553a0e1dccfe5d92f0b8c5b1291388b8bb8d37b8f5e51fd162f57708746ccde67d0d9ae035506839cf9ba3bc0 DIST libsepol-2.4-rc2.tar.gz 569842 SHA256 43303df588d8531d686e76724b597d0d02b7dcd10205201424ed6a3fa0da8632 SHA512 cd22ac9aff7d3bc3d4d462955eb5994f112cf9436e35ceb6f06057cfb1f45d62355f20d33a27409d28d2a4fc08ce5eea1b432f4d4df50b43b4d7388bd61cc889 WHIRLPOOL 5e7ed7c6c2c5222532c60c4dde516e82d06c97e3ed3b3907b9ab4d6c9c55629ffbad4a69e3204c41876c4279e593a157f225bd70e4ebca66eb44ddf07bc484a6 DIST libsepol-2.4-rc5.tar.gz 570069 SHA256 19e52e92de29b26efeb8c029586d110ba77c1ddf03c2f146a89edb658174ff87 SHA512 af02f0ead43fc4b2d76aaf6b268ff03da42b4510ba74e0f2dce2321e686ed5304f4739d3e8293cb0b8cccd99780cd96747f29a912c9769456513b76732766577 WHIRLPOOL bacf9fad7e53b529a799dcfa9b22bad1963c25bbd0f930ea85cc6a62dd3962da962565854253ba642e771dde476757abc0e517844167f66203759fdbcbededc4 +DIST patchbundle-libsepol-2.1.9-r1.tar.gz 534 SHA256 3a2bcba0c797ac960eb3883bdd5f22ce294f3560df86de0c198bc90233e8e54a SHA512 3d4d0f340fd24d48a867490ae1e24dafe821f69d78e68b7cdf67a310f3f46a4c086129d04e6a6d13fa44768e9bad8c3320a4c97a8af8809606099a09b9ef8aec WHIRLPOOL 7f7021b872ab9264d4d2ec51ff55f880612d5252323e8691e1008fd2d0d31ff92a235f25bb7ebf8dabf6ea304485199b8c575b47781ac1354a55de1ef31356f0 diff --git a/sys-libs/libsepol/libsepol-2.1.9-r1.ebuild b/sys-libs/libsepol/libsepol-2.1.9-r1.ebuild new file mode 100644 index 00000000..a64bb63c --- /dev/null +++ b/sys-libs/libsepol/libsepol-2.1.9-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-2.1.8-r1.ebuild,v 1.2 2012/12/30 15:19:13 swift Exp $ + +EAPI="2" + +inherit multilib toolchain-funcs eutils + +DESCRIPTION="SELinux binary policy representation library" +HOMEPAGE="http://userspace.selinuxproject.org" +SRC_URI="http://userspace.selinuxproject.org/releases/20130423/${P}.tar.gz + http://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${P}-r1.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +# tests are not meant to be run outside of the +# full SELinux userland repo +RESTRICT="test" + +src_prepare() { + EPATCH_MULTI_MSG="Applying libsepol patches ... " \ + EPATCH_SUFFIX="patch" \ + EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \ + EPATCH_FORCE="yes" \ + epatch + + # fix up paths for multilib + sed -i -e "/^LIBDIR/s/lib/$(get_libdir)/" src/Makefile \ + || die "Fix for multilib LIBDIR failed." + sed -i -e "/^SHLIBDIR/s/lib/$(get_libdir)/" src/Makefile \ + || die "Fix for multilib SHLIBDIR failed." + + epatch_user +} + +src_compile() { + tc-export RANLIB; + emake AR="$(tc-getAR)" CC="$(tc-getCC)" || die +} + +src_install() { + emake DESTDIR="${D}" install || die +} |