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

Contents of /sys-apps/gradm/gradm-1.9.9h.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Jun 16 18:37:01 2003 UTC (11 years, 1 month ago) by solar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +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.9.9h.ebuild,v 1.1 2003/05/11 14:56:34 method Exp $
4
5 DESCRIPTION="ACL administrative interface to grsecurity including gentoo policies"
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}/${PN}-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 insinto /etc/grsec/gentoo_secure_acls
42 doins ${S}/gentoo_secure_acls/*
43 echo "include </etc/grsec/gentoo_secure_acls>" > ${D}/etc/grsec/acl
44 into /
45 dosbin gradm chpax
46 fperms 700 /sbin/gradm
47 fperms 700 /sbin/chpax
48 }

  ViewVC Help
Powered by ViewVC 1.1.20