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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Jan 14 06:16:34 2003 UTC (11 years, 7 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
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 http://pageexec.virtualave.net/chpax.c"
8 HOMEPAGE="http://www.grsecurity.net/"
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 ${P}.tar.gz
21
22 cd ${S}
23 cp ${DISTDIR}/chpax.c .
24
25 mv Makefile Makefile.orig
26 sed <Makefile.orig >Makefile \
27 -e 's|YACC=/usr/bin/yacc|YACC=/usr/bin/bison|' \
28 -e 's|$(YACC) -d|$(YACC) -y -d|' \
29 -e "s|-O2|${CFLAGS}|"
30 }
31
32 src_compile() {
33 emake || die "compile problem"
34 emake chpax || die "compile problem"
35 }
36
37 src_install() {
38 doman gradm.8
39 dodoc acl
40 exeinto /etc/init.d
41 newexe ${FILESDIR}/grsecurity.rc grsecurity
42 insinto /etc/conf.d
43 doins ${FILESDIR}/grsecurity
44 into /
45 dosbin gradm chpax
46 chmod 700 ${D}/sbin/gradm ${D}/sbin/chpax
47 }

  ViewVC Help
Powered by ViewVC 1.1.20