Gentoo Archives: gentoo-commits

From: "Chris PeBenito (pebenito)" <pebenito@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/libsepol: ChangeLog libsepol-2.0.32.ebuild
Date: Fri, 03 Oct 2008 03:20:07
Message-Id: E1KlbD0-0007u3-V4@stork.gentoo.org
1 pebenito 08/10/03 03:20:02
2
3 Modified: ChangeLog
4 Added: libsepol-2.0.32.ebuild
5 Log:
6 Initial commit of 2.0 libsepol.
7 (Portage version: 2.2_rc11/cvs/Linux 2.6.24-gentoo-r3 x86_64)
8
9 Revision Changes Path
10 1.32 sys-libs/libsepol/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libsepol/ChangeLog?rev=1.32&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libsepol/ChangeLog?rev=1.32&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libsepol/ChangeLog?r1=1.31&r2=1.32
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v
19 retrieving revision 1.31
20 retrieving revision 1.32
21 diff -u -r1.31 -r1.32
22 --- ChangeLog 10 Sep 2008 17:34:19 -0000 1.31
23 +++ ChangeLog 3 Oct 2008 03:20:02 -0000 1.32
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-libs/libsepol
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.31 2008/09/10 17:34:19 pebenito Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/ChangeLog,v 1.32 2008/10/03 03:20:02 pebenito Exp $
29 +
30 +*libsepol-2.0.32 (03 Oct 2008)
31 +
32 + 03 Oct 2008; Chris PeBenito <pebenito@g.o>
33 + +files/libsepol-2.0.32-expand_rule.diff, +libsepol-2.0.32.ebuild:
34 + Initial commit of 2.0 libsepol.
35
36 10 Sep 2008; Chris PeBenito <pebenito@g.o> libsepol-1.16.11.ebuild:
37 Tests cannot be run in the ebuild, they are supposed to be ran on the full
38
39
40
41 1.1 sys-libs/libsepol/libsepol-2.0.32.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libsepol/libsepol-2.0.32.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libsepol/libsepol-2.0.32.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libsepol-2.0.32.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-libs/libsepol/libsepol-2.0.32.ebuild,v 1.1 2008/10/03 03:20:02 pebenito Exp $
51
52 IUSE=""
53
54 inherit multilib eutils
55
56 BUGFIX_PATCH="${FILESDIR}/libsepol-2.0.32-expand_rule.diff"
57
58 DESCRIPTION="SELinux binary policy representation library"
59 HOMEPAGE="http://userspace.selinuxproject.org"
60 SRC_URI="http://userspace.selinuxproject.org/releases/current/devel/${P}.tar.gz"
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86"
64
65 DEPEND="virtual/libc"
66
67 # tests are not meant to be run outside of the
68 # full SELinux userland repo
69 RESTRICT="test"
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74
75 [ ! -z "$BUGFIX_PATCH" ] && epatch "${BUGFIX_PATCH}"
76
77 # fix up paths for multilib
78 sed -i -e "/^LIBDIR/s/lib/$(get_libdir)/" src/Makefile \
79 || die "Fix for multilib LIBDIR failed."
80 sed -i -e "/^SHLIBDIR/s/lib/$(get_libdir)/" src/Makefile \
81 || die "Fix for multilib SHLIBDIR failed."
82 }
83
84 src_compile() {
85 emake || die
86 }
87
88 src_install() {
89 make DESTDIR="${D}" install
90 }