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

Contents of /sys-apps/policycoreutils/policycoreutils-1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Aug 19 00:59:52 2003 UTC (11 years, 3 months ago) by pebenito
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
add setfiles altroot patch, and a couple utility scripts

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-1.0.ebuild,v 1.2 2003/08/11 00:05:08 pebenito Exp $
4
5 IUSE=""
6
7 DESCRIPTION="SELinux core utilites"
8 HOMEPAGE="http://www.nsa.gov/selinux"
9 SRC_URI="http://www.nsa.gov/selinux/archives/${P}.tgz"
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="x86 ppc"
13
14 DEPEND="sys-libs/libselinux
15 sys-apps/attr
16 sys-libs/pam"
17
18 RDEPEND="${DEPEND}
19 sys-apps/mkinitrd
20 sys-apps/checkpolicy
21 sec-policy/selinux-base-policy"
22
23 S=${WORKDIR}/${P}
24
25 src_unpack() {
26 unpack ${A}
27
28 cd ${S}
29 epatch ${FILESDIR}/${P}-gentoo.diff
30 }
31
32 src_compile() {
33 SUBDIRS="load_policy newrole run_init setfiles"
34
35 for i in ${SUBDIRS}; do
36 einfo "Compiling ${i}"
37 cd ${S}/${i}
38 emake EXTRA_CFLAGS="${CFLAGS}"
39 done
40 }
41
42 src_install() {
43 make DESTDIR="${D}" install
44
45 dosbin ${FILESDIR}/rlpkg
46 }

  ViewVC Help
Powered by ViewVC 1.1.20