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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Mon Aug 25 03:42:51 2003 UTC (10 years, 10 months ago) by pebenito
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
mark stable

1 pebenito 1.1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3 pebenito 1.3 # $Header: /home/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-1.1.ebuild,v 1.2 2003/08/16 01:09:59 pebenito Exp $
4 pebenito 1.1
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}/${PN}-1.0-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 pebenito 1.2
47     # overwrite pam.d stuff with ours
48     rm -f ${D}/etc/pam.d/{newrole,run_init}
49     insinto /etc/pam.d
50     doins ${FILESDIR}/{newrole,run_init}
51 pebenito 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20