/[gentoo-x86]/sys-apps/gradm/gradm-1.5a.ebuild
Gentoo

Contents of /sys-apps/gradm/gradm-1.5a.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Oct 28 05:53:00 2002 UTC (17 years, 8 months ago) by vapier
Branch: MAIN
CVS Tags: GENTOO_1_4_SNAP_2003010800
Version bump

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

  ViewVC Help
Powered by ViewVC 1.1.20