From: | "Chris PeBenito (pebenito)" <pebenito@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-libs/libsemanage: ChangeLog libsemanage-2.0.33.ebuild |
Date: | Sun, 02 Aug 2009 01:14:17 |
Message-Id: | E1MXPeR-0000Ua-0m@stork.gentoo.org |
1 | pebenito 09/08/02 01:14:15 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libsemanage-2.0.33.ebuild |
5 | Log: |
6 | new upstream release. |
7 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.25 sys-libs/libsemanage/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libsemanage/ChangeLog?rev=1.25&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libsemanage/ChangeLog?rev=1.25&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libsemanage/ChangeLog?r1=1.24&r2=1.25 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v |
19 | retrieving revision 1.24 |
20 | retrieving revision 1.25 |
21 | diff -u -r1.24 -r1.25 |
22 | --- ChangeLog 22 Jul 2009 13:25:19 -0000 1.24 |
23 | +++ ChangeLog 2 Aug 2009 01:14:14 -0000 1.25 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for sys-libs/libsemanage |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.24 2009/07/22 13:25:19 pebenito Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.25 2009/08/02 01:14:14 pebenito Exp $ |
29 | + |
30 | +*libsemanage-2.0.33 (02 Aug 2009) |
31 | + |
32 | + 02 Aug 2009; Chris PeBenito <pebenito@g.o> |
33 | + +libsemanage-2.0.33.ebuild: |
34 | + New upstream release. |
35 | |
36 | 18 Jul 2009; Chris PeBenito <pebenito@g.o> |
37 | -libsemanage-1.10.9.ebuild, libsemanage-2.0.27.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 sys-libs/libsemanage/libsemanage-2.0.33.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libsemanage/libsemanage-2.0.33.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/libsemanage/libsemanage-2.0.33.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: libsemanage-2.0.33.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/libsemanage-2.0.33.ebuild,v 1.1 2009/08/02 01:14:14 pebenito Exp $ |
51 | |
52 | IUSE="" |
53 | |
54 | inherit eutils multilib python |
55 | |
56 | # BUGFIX_PATCH="${FILESDIR}/libsemanage-1.6.6.diff" |
57 | |
58 | SEPOL_VER="2.0" |
59 | SELNX_VER="2.0" |
60 | |
61 | DESCRIPTION="SELinux kernel and policy management library" |
62 | HOMEPAGE="http://userspace.selinuxproject.org" |
63 | SRC_URI="http://userspace.selinuxproject.org/releases/current/devel/${P}.tar.gz" |
64 | LICENSE="GPL-2" |
65 | SLOT="0" |
66 | KEYWORDS="~amd64 ~x86" |
67 | DEPEND="=sys-libs/libsepol-${SEPOL_VER}* |
68 | =sys-libs/libselinux-${SELNX_VER}* |
69 | dev-libs/ustr" |
70 | |
71 | # tests are not meant to be run outside of the |
72 | # full SELinux userland repo |
73 | RESTRICT="test" |
74 | |
75 | src_unpack() { |
76 | unpack ${A} |
77 | cd "${S}" |
78 | |
79 | [ ! -z "${BUGFIX_PATCH}" ] && epatch "${BUGFIX_PATCH}" |
80 | |
81 | echo "# Set this to true to save the linked policy." >> "${S}/src/semanage.conf" |
82 | echo "# This is normally only useful for analysis" >> "${S}/src/semanage.conf" |
83 | echo "# or debugging of policy." >> "${S}/src/semanage.conf" |
84 | echo "save-linked=false" >> "${S}/src/semanage.conf" |
85 | echo >> "${S}/src/semanage.conf" |
86 | echo "# Set this to 0 to disable assertion checking." >> "${S}/src/semanage.conf" |
87 | echo "# This should speed up building the kernel policy" >> "${S}/src/semanage.conf" |
88 | echo "# from policy modules, but may leave you open to" >> "${S}/src/semanage.conf" |
89 | echo "# dangerous rules which assertion checking" >> "${S}/src/semanage.conf" |
90 | echo "# would catch." >> "${S}/src/semanage.conf" |
91 | echo "expand-check=1" >> "${S}/src/semanage.conf" |
92 | |
93 | # fix up paths for multilib |
94 | sed -i -e "/^LIBDIR/s/lib/$(get_libdir)/" "${S}/src/Makefile" \ |
95 | || die "Fix for multilib LIBDIR failed." |
96 | sed -i -e "/^SHLIBDIR/s/lib/$(get_libdir)/" "${S}/src/Makefile" \ |
97 | || die "Fix for multilib SHLIBDIR failed." |
98 | } |
99 | |
100 | src_compile() { |
101 | python_version |
102 | emake PYLIBVER="python${PYVER}" all || die |
103 | emake PYLIBVER="python${PYVER}" pywrap || die |
104 | } |
105 | |
106 | src_install() { |
107 | python_version |
108 | make DESTDIR="${D}" PYLIBVER="python${PYVER}" install install-pywrap |
109 | } |
110 | |
111 | pkg_postinst() { |
112 | python_version |
113 | python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages |
114 | } |
115 | |
116 | pkg_postrm() { |
117 | python_version |
118 | python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages |
119 | } |