summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2008-07-18 07:36:04 +0000
committerJeroen Roovers <jer@gentoo.org>2008-07-18 07:36:04 +0000
commit2800bc65c61e0692fd490385d5c8c4741a94291b (patch)
tree355d234d8c0b39371eef1d9cf22ad026d41b0e30 /net-analyzer/sara
parentMarked ~hppa (for net-analyzer/sara). (diff)
downloadgentoo-2-2800bc65c61e0692fd490385d5c8c4741a94291b.tar.gz
gentoo-2-2800bc65c61e0692fd490385d5c8c4741a94291b.tar.bz2
gentoo-2-2800bc65c61e0692fd490385d5c8c4741a94291b.zip
Version bump (bug #231432). Marked ~hppa too.
(Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r2-JeR i686)
Diffstat (limited to 'net-analyzer/sara')
-rw-r--r--net-analyzer/sara/ChangeLog7
-rw-r--r--net-analyzer/sara/sara-7.8.1.ebuild91
2 files changed, 97 insertions, 1 deletions
diff --git a/net-analyzer/sara/ChangeLog b/net-analyzer/sara/ChangeLog
index 4a72a2da97c7..1d8bd7eb6df4 100644
--- a/net-analyzer/sara/ChangeLog
+++ b/net-analyzer/sara/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/sara
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sara/ChangeLog,v 1.24 2008/06/21 16:06:23 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sara/ChangeLog,v 1.25 2008/07/18 07:36:04 jer Exp $
+
+*sara-7.8.1 (18 Jul 2008)
+
+ 18 Jul 2008; Jeroen Roovers <jer@gentoo.org> +sara-7.8.1.ebuild:
+ Version bump (bug #231432). Marked ~hppa too.
*sara-7.5.6 (21 Jun 2008)
diff --git a/net-analyzer/sara/sara-7.8.1.ebuild b/net-analyzer/sara/sara-7.8.1.ebuild
new file mode 100644
index 000000000000..4682ab2eba72
--- /dev/null
+++ b/net-analyzer/sara/sara-7.8.1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sara/sara-7.8.1.ebuild,v 1.1 2008/07/18 07:36:04 jer Exp $
+
+DESCRIPTION="SARA Security Auditor's Research Assistant is a derived work of Security Administrator Tool for Analyzing Networks SATAN"
+SRC_URI="http://www-arc.com/sara/downloads/${P}.tgz"
+RESTRICT="mirror"
+HOMEPAGE="http://www-arc.com/sara/"
+
+SLOT="0"
+LICENSE="satan"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="X"
+
+DEPEND=">=dev-lang/perl-5.8
+ >=app-shells/tcsh-6.14-r3
+ net-misc/netkit-rsh
+ net-ftp/netkit-tftp
+ app-arch/sharutils
+ net-misc/netkit-fingerd
+ net-analyzer/nmap
+ net-ftp/ftp
+ X? ( x11-libs/libX11
+ x11-proto/xproto )"
+
+SARA_HOME=/opt/sara
+
+src_compile(){
+ econf || die
+ # does not like to build in parallel
+ emake -j1 || die
+}
+
+src_install(){
+ dodir ${SARA_HOME}
+ insinto ${SARA_HOME}
+ doins add_user reconfig
+ exeinto ${SARA_HOME}
+ doexe sara
+ dodir ${SARA_HOME}/administrators
+ dodir ${SARA_HOME}/bin
+ exeinto ${SARA_HOME}/bin ; doexe bin/*
+ dodir ${SARA_HOME}/config
+ insinto ${SARA_HOME}/config ; doins config/*
+ dodir ${SARA_HOME}/perl
+ insinto ${SARA_HOME}/perl ; doins perl/*.pl
+ dodir ${SARA_HOME}/perl/contrib
+ insinto ${SARA_HOME}/perl/contrib ; doins perl/contrib/*
+ dodir ${SARA_HOME}/perl/Modules/Net
+ insinto ${SARA_HOME}/perl/Modules/Net ; doins perl/Modules/Net/*
+ dodir ${SARA_HOME}/rules
+ insinto ${SARA_HOME}/rules
+ doins rules/drop rules/corrections.default rules/facts rules/hosttype rules/*.rules \
+ rules/services rules/timing rules/todo rules/trust
+ dodir ${SARA_HOME}/plugins ; dodir ${SARA_HOME}/plugins/images
+ insinto ${SARA_HOME}/plugins ; doins plugins/cis* plugins/README
+ insinto ${SARA_HOME}/plugins/images ; doins plugins/images/*
+ dodir ${SARA_HOME}/sss
+ insinto ${SARA_HOME}/sss ; doins sss/*
+ dodir ${SARA_HOME}/perllib
+ insinto ${SARA_HOME}/perllib; doins perllib/*
+ dodir ${SARA_HOME}/encoded
+ insinto ${SARA_HOME}/encoded; doins encoded/*
+ #html stuff
+
+ dodir ${SARA_HOME}/html
+ dodir ${SARA_HOME}/html/{admin,data,docs,dots,images,reporting,running,search,update}
+ dodir ${SARA_HOME}/html/tutorials
+ dodir ${SARA_HOME}/html/tutorials/first_time
+
+ insinto ${SARA_HOME}/html ; doins html/*.pl html/*.html
+ insinto ${SARA_HOME}/html/admin ; doins html/admin/*
+ insinto ${SARA_HOME}/html/data ; doins html/data/*
+ insinto ${SARA_HOME}/html/docs ; doins html/docs/*
+ insinto ${SARA_HOME}/html/dots ; doins html/dots/*
+ insinto ${SARA_HOME}/html/images ; doins html/images/*
+ insinto ${SARA_HOME}/html/reporting ; doins html/reporting/*
+ insinto ${SARA_HOME}/html/running ; doins html/running/*
+ insinto ${SARA_HOME}/html/search ; doins html/search/*
+ insinto ${SARA_HOME}/html/tutorials ; doins html/tutorials/*pl
+ insinto ${SARA_HOME}/html/tutorials/first_time ; doins html/tutorials/first_time/*
+
+ dodir /usr/sbin
+ exeinto /usr/sbin; doexe "${FILESDIR}"/sara
+ doman docs/sara.8
+}
+
+pkg_postinst() {
+ elog "Read the documentation in ${SARA_HOME}/html before running this program."
+ elog "You must have installed a web browser."
+}