Gentoo Archives: gentoo-commits

From: "Sven Vermeulen (swift)" <swift@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/libsepol: ChangeLog libsepol-2.1.4-r1.ebuild
Date: Sat, 31 Mar 2012 11:03:38
Message-Id: 20120331110319.33DDD2004C@flycatcher.gentoo.org
1 swift 12/03/31 11:03:19
2
3 Modified: ChangeLog
4 Added: libsepol-2.1.4-r1.ebuild
5 Log:
6 Updating SELinux userspace utilities to support pending 2.20120215 policies
7
8 (Portage version: 2.1.10.49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.46 sys-libs/libsepol/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libsepol/ChangeLog?rev=1.46&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libsepol/ChangeLog?rev=1.46&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libsepol/ChangeLog?r1=1.45&r2=1.46
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v
20 retrieving revision 1.45
21 retrieving revision 1.46
22 diff -u -r1.45 -r1.46
23 --- ChangeLog 12 Nov 2011 18:11:13 -0000 1.45
24 +++ ChangeLog 31 Mar 2012 11:03:18 -0000 1.46
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-libs/libsepol
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.45 2011/11/12 18:11:13 swift Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.46 2012/03/31 11:03:18 swift Exp $
31 +
32 +*libsepol-2.1.4-r1 (31 Mar 2012)
33 +
34 + 31 Mar 2012; <swift@g.o> +libsepol-2.1.4-r1.ebuild,
35 + +files/libsepol-2.1.4-fix_role_fix_callback.patch:
36 + Bump to version 2.1.4
37
38 12 Nov 2011; <swift@g.o> -libsepol-2.0.41.ebuild,
39 -libsepol-2.0.42.ebuild:
40
41
42
43 1.1 sys-libs/libsepol/libsepol-2.1.4-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libsepol/libsepol-2.1.4-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libsepol/libsepol-2.1.4-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libsepol-2.1.4-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-2.1.4-r1.ebuild,v 1.1 2012/03/31 11:03:18 swift Exp $
53
54 EAPI="2"
55
56 inherit multilib toolchain-funcs eutils
57
58 DESCRIPTION="SELinux binary policy representation library"
59 HOMEPAGE="http://userspace.selinuxproject.org"
60 SRC_URI="http://userspace.selinuxproject.org/releases/20120216/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE=""
66
67 DEPEND=""
68 RDEPEND=""
69
70 # tests are not meant to be run outside of the
71 # full SELinux userland repo
72 RESTRICT="test"
73
74 src_prepare() {
75 # fix up paths for multilib
76 sed -i -e "/^LIBDIR/s/lib/$(get_libdir)/" src/Makefile \
77 || die "Fix for multilib LIBDIR failed."
78 sed -i -e "/^SHLIBDIR/s/lib/$(get_libdir)/" src/Makefile \
79 || die "Fix for multilib SHLIBDIR failed."
80 epatch "${FILESDIR}/libsepol-2.1.4-fix_role_fix_callback.patch"
81 }
82
83 src_compile() {
84 emake AR="$(tc-getAR)" CC="$(tc-getCC)" || die
85 }
86
87 src_install() {
88 emake DESTDIR="${D}" install || die
89 }