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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Apr 19 01:48:53 2004 UTC (10 years, 4 months ago) by solar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
grsec1 has been deprecated upstream and thus will no longer be supported by gentoo either. This means it's time to flush your old policies and begin using the really nice gradm2 learning mode offers. Note: also that the gradm2 package has also been deprecated and is now simply this one. This gradm-2 works for both 2.4.x and 2.6.x kernels. Gentoo init.d/conf.d scripts comming in due time.. User contributions welcome for that.

1 # Copyright 1999-2004 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.12.ebuild,v 1.3 2004/02/23 17:28:57 mr_bones_ 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 hppa"
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