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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Oct 27 05:53:01 2003 UTC (10 years, 5 months ago) by solar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
cleaned out some older versions of gradm

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.10.ebuild,v 1.2 2003/06/21 21:19:39 drobbins Exp $
4
5 DESCRIPTION="Administrative interface for grsecurity ${PV} access control lists"
6 SRC_URI="http://www.grsecurity.net/${P}.tar.gz"
7 HOMEPAGE="http://www.grsecurity.net/"
8
9 LICENSE="GPL-2"
10 KEYWORDS="x86 amd64 ~sparc ~ppc"
11 SLOT="0"
12
13 IUSE=""
14 DEPEND="virtual/glibc
15 sys-devel/bison
16 sys-devel/flex
17 sys-apps/chpax"
18
19 S="${WORKDIR}/${PN}"
20
21 src_unpack() {
22 unpack ${A}
23 cd ${S}
24 epatch ${FILESDIR}/gradm_parse.c-1.9.x.patch
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 }
32
33 src_install() {
34 doman gradm.8
35 dodoc acl
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
42 fperms 700 /sbin/gradm
43 }

  ViewVC Help
Powered by ViewVC 1.1.20