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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Jan 14 06:16:34 2003 UTC (11 years, 8 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +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.4.ebuild,v 1.4 2002/10/28 05:53:00 vapier Exp $
4
5 DESCRIPTION="Administrative interface to grsecurity"
6 SRC_URI="http://www.grsecurity.net/gradm-1.4.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 cd ${S}
22 cp ${DISTDIR}/chpax.c .
23 mv Makefile Makefile.orig
24 sed <Makefile.orig >Makefile \
25 -e 's|YACC=/usr/bin/yacc|YACC=/usr/bin/bison|' \
26 -e 's|$(YACC) -d|$(YACC) -y -d|'
27 }
28
29 src_compile() {
30 emake || die "compile problem"
31 emake chpax || die "compile problem"
32 }
33
34 src_install() {
35 doman gradm.8
36 exeinto /etc/init.d
37 newexe ${FILESDIR}/grsecurity.rc grsecurity
38 insinto /etc/conf.d
39 doins ${FILESDIR}/grsecurity
40 into /
41 dosbin gradm chpax
42 chmod 700 ${D}/sbin/gradm ${D}/sbin/chpax
43 }

  ViewVC Help
Powered by ViewVC 1.1.20