summaryrefslogtreecommitdiff
blob: 7be138f86b85b1ab481df67b32246158f333df7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/raccess/raccess-0.6.ebuild,v 1.12 2004/07/15 03:21:57 agriffis Exp $

DESCRIPTION="Remote Access Session is a security tool to analyze the integrity of systems using a library of publically available (and proven to work) exploits"
SRC_URI="http://salix.org/raccess/${P}.tar.gz"
HOMEPAGE="http://salix.org/raccess/"
KEYWORDS="x86 sparc "
IUSE=""
LICENSE="GPL-2"
SLOT="0"

DEPEND="sys-devel/gcc"

src_compile() {

	./configure --prefix=/usr --sysconfdir=/etc/raccess --host=${CHOST}  || die
	make BINFILES="-DLOCATION_BIN_FILES=\\\"/usr/lib/raccess\\\"" CFGFILES="-DLOCATION_CONFIG_FILES=\\\"/etc/raccess\\\"" CFLAGS="-g ${CFLAGS}" all || die

}

src_install() {
	dodir /etc/raccess
	dodir /usr/lib/raccess

	mv ${S}/exploits/Makefile ${S}/exploits/Makefile.old
	sed 's/bin\/exploits/lib\/raccess/g' ${S}/exploits/Makefile.old > ${S}/exploits/Makefile

	make prefix=${D}/usr mandir=${D}/usr/share/man sysconfdir=${D}/etc/raccess install  || die

	dodoc AUTHORS COPYING ChangeLog INSTALL NEWS PROJECT_PLANNING README
}