1 |
swift 14/04/28 19:39:37 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libsemanage-2.3_rc1.ebuild |
5 |
Log: |
6 |
2.3-rc1 release |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2EDD52403B68AF47) |
9 |
|
10 |
Revision Changes Path |
11 |
1.66 sys-libs/libsemanage/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libsemanage/ChangeLog?rev=1.66&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libsemanage/ChangeLog?rev=1.66&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libsemanage/ChangeLog?r1=1.65&r2=1.66 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v |
20 |
retrieving revision 1.65 |
21 |
retrieving revision 1.66 |
22 |
diff -u -r1.65 -r1.66 |
23 |
--- ChangeLog 23 Mar 2014 19:29:35 -0000 1.65 |
24 |
+++ ChangeLog 28 Apr 2014 19:39:37 -0000 1.66 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-libs/libsemanage |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.65 2014/03/23 19:29:35 swift Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.66 2014/04/28 19:39:37 swift Exp $ |
30 |
+ |
31 |
+*libsemanage-2.3_rc1 (28 Apr 2014) |
32 |
+ |
33 |
+ 28 Apr 2014; Sven Vermeulen <swift@g.o> +libsemanage-2.3_rc1.ebuild: |
34 |
+ 2.3-rc1 release |
35 |
|
36 |
*libsemanage-2.2-r2 (23 Mar 2014) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-libs/libsemanage/libsemanage-2.3_rc1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libsemanage/libsemanage-2.3_rc1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libsemanage/libsemanage-2.3_rc1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: libsemanage-2.3_rc1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 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.3_rc1.ebuild,v 1.1 2014/04/28 19:39:37 swift Exp $ |
51 |
|
52 |
EAPI="5" |
53 |
PYTHON_COMPAT=( python2_7 python3_2 python3_3 ) |
54 |
|
55 |
inherit multilib python-r1 toolchain-funcs eutils multilib-minimal |
56 |
|
57 |
MY_P="${P//_/-}" |
58 |
|
59 |
SEPOL_VER="2.3_rc1" |
60 |
SELNX_VER="2.3_rc1" |
61 |
|
62 |
DESCRIPTION="SELinux kernel and policy management library" |
63 |
HOMEPAGE="http://userspace.selinuxproject.org" |
64 |
SRC_URI="http://userspace.selinuxproject.org/releases/2.3-rc1/${MY_P}.tar.gz" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~x86" |
69 |
IUSE="python" |
70 |
|
71 |
RDEPEND=">=sys-libs/libsepol-${SEPOL_VER} |
72 |
>=sys-libs/libselinux-${SELNX_VER} |
73 |
dev-libs/ustr |
74 |
sys-process/audit" |
75 |
DEPEND="${RDEPEND} |
76 |
sys-devel/bison |
77 |
sys-devel/flex |
78 |
python? ( |
79 |
>=dev-lang/swig-2.0.4-r1 |
80 |
virtual/pkgconfig |
81 |
${PYTHON_DEPS} |
82 |
)" |
83 |
|
84 |
# tests are not meant to be run outside of the |
85 |
# full SELinux userland repo |
86 |
RESTRICT="test" |
87 |
|
88 |
S="${WORKDIR}/${MY_P}" |
89 |
|
90 |
src_prepare() { |
91 |
echo "# Set this to true to save the linked policy." >> "${S}/src/semanage.conf" |
92 |
echo "# This is normally only useful for analysis" >> "${S}/src/semanage.conf" |
93 |
echo "# or debugging of policy." >> "${S}/src/semanage.conf" |
94 |
echo "save-linked=false" >> "${S}/src/semanage.conf" |
95 |
echo >> "${S}/src/semanage.conf" |
96 |
echo "# Set this to 0 to disable assertion checking." >> "${S}/src/semanage.conf" |
97 |
echo "# This should speed up building the kernel policy" >> "${S}/src/semanage.conf" |
98 |
echo "# from policy modules, but may leave you open to" >> "${S}/src/semanage.conf" |
99 |
echo "# dangerous rules which assertion checking" >> "${S}/src/semanage.conf" |
100 |
echo "# would catch." >> "${S}/src/semanage.conf" |
101 |
echo "expand-check=1" >> "${S}/src/semanage.conf" |
102 |
echo >> "${S}/src/semanage.conf" |
103 |
echo "# Modules in the module store can be compressed" >> "${S}/src/semanage.conf" |
104 |
echo "# with bzip2. Set this to the bzip2 blocksize" >> "${S}/src/semanage.conf" |
105 |
echo "# 1-9 when compressing. The higher the number," >> "${S}/src/semanage.conf" |
106 |
echo "# the more memory is traded off for disk space." >> "${S}/src/semanage.conf" |
107 |
echo "# Set to 0 to disable bzip2 compression." >> "${S}/src/semanage.conf" |
108 |
echo "bzip-blocksize=0" >> "${S}/src/semanage.conf" |
109 |
echo >> "${S}/src/semanage.conf" |
110 |
echo "# Reduce memory usage for bzip2 compression and" >> "${S}/src/semanage.conf" |
111 |
echo "# decompression of modules in the module store." >> "${S}/src/semanage.conf" |
112 |
echo "bzip-small=true" >> "${S}/src/semanage.conf" |
113 |
|
114 |
epatch_user |
115 |
|
116 |
multilib_copy_sources |
117 |
} |
118 |
|
119 |
multilib_src_compile() { |
120 |
emake AR="$(tc-getAR)" CC="$(tc-getCC)" all || die |
121 |
|
122 |
if multilib_is_native_abi && use python; then |
123 |
building() { |
124 |
python_export PYTHON_INCLUDEDIR PYTHON_LIBPATH |
125 |
emake CC="$(tc-getCC)" PYINC="-I${PYTHON_INCLUDEDIR}" PYTHONLBIDIR="${PYTHON_LIBPATH}" PYPREFIX="${EPYTHON##*/}" "$@" |
126 |
} |
127 |
python_foreach_impl building swigify |
128 |
python_foreach_impl building pywrap |
129 |
fi |
130 |
} |
131 |
|
132 |
multilib_src_install() { |
133 |
LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(PREFIX)/$(get_libdir)" \ |
134 |
emake DESTDIR="${D}" install |
135 |
|
136 |
if multilib_is_native_abi && use python; then |
137 |
installation() { |
138 |
emake DESTDIR="${D}" install-pywrap |
139 |
} |
140 |
python_foreach_impl installation |
141 |
fi |
142 |
} |