/[gentoo-x86]/sys-apps/policycoreutils/policycoreutils-2.1.10-r3.ebuild
Gentoo

Diff of /sys-apps/policycoreutils/policycoreutils-2.1.10-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/Attic/policycoreutils-2.1.10-r3.ebuild,v 1.2 2012/06/26 05:02:43 floppym Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/Attic/policycoreutils-2.1.10-r3.ebuild,v 1.3 2012/07/10 20:13:17 swift Exp $
4 4
5EAPI="4" 5EAPI="4"
6PYTHON_DEPEND="*" 6PYTHON_DEPEND="*"
7PYTHON_USE_WITH="xml" 7PYTHON_USE_WITH="xml"
8SUPPORT_PYTHON_ABIS="1" 8SUPPORT_PYTHON_ABIS="1"
13EXTRAS_VER="1.21" 13EXTRAS_VER="1.21"
14SEMNG_VER="2.1.6" 14SEMNG_VER="2.1.6"
15SELNX_VER="2.1.9" 15SELNX_VER="2.1.9"
16SEPOL_VER="2.1.4" 16SEPOL_VER="2.1.4"
17 17
18IUSE="audit pam dbus sesandbox" 18IUSE="audit pam dbus"
19 19
20DESCRIPTION="SELinux core utilities" 20DESCRIPTION="SELinux core utilities"
21HOMEPAGE="http://userspace.selinuxproject.org" 21HOMEPAGE="http://userspace.selinuxproject.org"
22SRC_URI="http://userspace.selinuxproject.org/releases/20120216/${P}.tar.gz 22SRC_URI="http://userspace.selinuxproject.org/releases/20120216/${P}.tar.gz
23 http://dev.gentoo.org/~swift/patches/policycoreutils/patchbundle-${P}-gentoo-r1.tar.gz 23 http://dev.gentoo.org/~swift/patches/policycoreutils/patchbundle-${P}-gentoo-r1.tar.gz
24 mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2" 24 mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
25 25
26LICENSE="GPL-2" 26LICENSE="GPL-2"
27SLOT="0" 27SLOT="0"
28KEYWORDS="~amd64 ~x86" 28KEYWORDS="amd64 x86"
29 29
30COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER}[python] 30COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER}[python]
31 >=sys-libs/glibc-2.4 31 >=sys-libs/glibc-2.4
32 >=sys-libs/libcap-1.10-r10 32 >=sys-libs/libcap-1.10-r10
33 >=sys-libs/libsemanage-${SEMNG_VER}[python] 33 >=sys-libs/libsemanage-${SEMNG_VER}[python]
34 sys-libs/libcap-ng 34 sys-libs/libcap-ng
35 >=sys-libs/libsepol-${SEPOL_VER} 35 >=sys-libs/libsepol-${SEPOL_VER}
36 sys-devel/gettext 36 sys-devel/gettext
37 dev-python/ipy 37 dev-python/ipy
38 sesandbox? ( dev-libs/libcgroup )
39 dbus? ( 38 dbus? (
40 sys-apps/dbus 39 sys-apps/dbus
41 dev-libs/dbus-glib 40 dev-libs/dbus-glib
42 ) 41 )
43 audit? ( >=sys-process/audit-1.5.1 ) 42 audit? ( >=sys-process/audit-1.5.1 )
105 local use_sesandbox="n"; 104 local use_sesandbox="n";
106 105
107 use audit && use_audit="y"; 106 use audit && use_audit="y";
108 use pam && use_pam="y"; 107 use pam && use_pam="y";
109 use dbus && use_dbus="y"; 108 use dbus && use_dbus="y";
110 use sesandbox && use_sesandbox="y";
111 109
112 # Python scripts are present in many places. There are no extension modules. 110 # Python scripts are present in many places. There are no extension modules.
113 installation() { 111 installation() {
114 einfo "Installing policycoreutils" 112 einfo "Installing policycoreutils"
115 emake -C "${S}" DESTDIR="${T}/images/${PYTHON_ABI}" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" AUDIT_LOG_PRIV="y" PYLIBVER="python$(python_get_version)" install || return 1 113 emake -C "${S}" DESTDIR="${T}/images/${PYTHON_ABI}" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" AUDIT_LOG_PRIV="y" PYLIBVER="python$(python_get_version)" install || return 1

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20