summaryrefslogtreecommitdiff
path: root/sys-libs/libsepol
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-11-21 18:29:09 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-11-21 18:29:09 +0200
commitbd3328379be00ce903a24e706ffd098868fff712 (patch)
treeed872bd068bb4fa00e7e516f758887396de016a6 /sys-libs/libsepol
parent6a0bfae07e5f01a28ea7e28a5770fbfcbb1fa9e1 (diff)
Libsepol 2.1.8 maintaining
Diffstat (limited to 'sys-libs/libsepol')
-rw-r--r--sys-libs/libsepol/Manifest1
-rw-r--r--sys-libs/libsepol/libsepol-2.1.8.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/sys-libs/libsepol/Manifest b/sys-libs/libsepol/Manifest
index 5ce93cc8..0d57d8ec 100644
--- a/sys-libs/libsepol/Manifest
+++ b/sys-libs/libsepol/Manifest
@@ -1,3 +1,4 @@
+DIST libsepol-2.1.8.tar.gz 203545 SHA256 63eedd2e435658eedb14cf5eb803468b701f4a2404f1a4af4ab52858e9c068f0 SHA512 9e06f854b5d11dea016c8828616241dcbb44ec38afd0230399d1af788755e719d9ce98f6746d9080f3e389bd40194463a193fd6185a358ee0ccc8301865009ae WHIRLPOOL 7f12a0e7619146dc60390bb15146ad0dda4013c84c047dda310d68fb9a9d3d0d2d4fc089423c8f89dd73e516a30354aa00998ce42a3d8d32520c4617adbf1d6b
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
diff --git a/sys-libs/libsepol/libsepol-2.1.8.ebuild b/sys-libs/libsepol/libsepol-2.1.8.ebuild
new file mode 100644
index 00000000..4a484d4f
--- /dev/null
+++ b/sys-libs/libsepol/libsepol-2.1.8.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/Attic/libsepol-2.1.8.ebuild,v 1.4 2014/01/20 20:02:17 swift dead $
+
+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/20120924/${P}.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() {
+ # 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 "${FILESDIR}/libsepol-2.1.4-fix_role_fix_callback.patch"
+
+ epatch_user
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)" CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+}