/[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.3 - (show annotations) (download)
Mon Jun 16 18:37:01 2003 UTC (11 years, 6 months ago) by solar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
version bump, removed old versions of gradm from portage and old chpax stuff in files, started the proccess of unmasking gradm for other arches added ~ppc ~sparc as these are known to work

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.5a.ebuild,v 1.2 2003/02/13 15:57:42 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