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

Contents of /sys-apps/gradm/gradm-1.6.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, 3 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.6.ebuild,v 1.2 2003/02/13 15:57:48 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
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 ${A}
21
22 cd ${S}
23 cp ${FILESDIR}/${P}-chpax.c chpax.c
24
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 emake CC="${CC}" chpax || die "compile problem"
32 }
33
34 src_install() {
35 doman gradm.8
36 dodoc acl
37 exeinto /etc/init.d
38 newexe ${FILESDIR}/grsecurity.rc grsecurity
39 insinto /etc/conf.d
40 doins ${FILESDIR}/grsecurity
41 into /
42 dosbin gradm chpax
43 fperms 700 /sbin/gradm
44 fperms 700 /sbin/chpax
45 }

  ViewVC Help
Powered by ViewVC 1.1.20