/[gentoo-x86]/sys-apps/gradm/gradm-1.9.9f.ebuild
Gentoo

Contents of /sys-apps/gradm/gradm-1.9.9f.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Apr 20 18:21:14 2003 UTC (11 years, 11 months ago) by method
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
version bump

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/gradm/gradm-1.9.9f.ebuild,v 1.2 2003/04/11 15:16:04 method Exp $
4
5 DESCRIPTION="ACL administrative interface to grsecurity including gentoo policies"
6 SRC_URI="http://www.grsecurity.net/${P}.tar.gz"
7 HOMEPAGE="http://www.grsecurity.net/"
8
9 LICENSE="GPL-2"
10 KEYWORDS="~x86"
11 SLOT="0"
12
13 DEPEND="sys-devel/bison
14 sys-devel/flex"
15 RDEPEND=""
16
17 S="${WORKDIR}/${PN}"
18
19 src_unpack() {
20 unpack ${A}
21
22 cd ${S}
23 cp ${FILESDIR}/${PN}-chpax.c chpax.c
24
25 mv Makefile{,.orig}
26 sed -e "s|-O2|${CFLAGS}|" Makefile.orig > Makefile
27 }
28
29 src_compile() {
30 emake CC="${CC}" || die "compile problem"
31 emake CC="${CC}" chpax || die "compile problem"
32 }
33
34 src_install() {
35 doman gradm.8
36 dodoc acl
37 exeinto /etc/init.d
38 newexe ${FILESDIR}/grsecurity.rc grsecurity
39 insinto /etc/conf.d
40 doins ${FILESDIR}/grsecurity
41 insinto /etc/grsec/gentoo_secure_acls
42 doins ${S}/gentoo_secure_acls/*
43 echo "include </etc/grsec/gentoo_secure_acls>" > ${D}/etc/grsec/acl
44 into /
45 dosbin gradm chpax
46 fperms 700 /sbin/gradm
47 fperms 700 /sbin/chpax
48 }

  ViewVC Help
Powered by ViewVC 1.1.20