# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 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" HOMEPAGE="http://www-arc.com/sara/" SLOT="0" LICENSE="Satan" KEYWORDS="x86" DEPEND=">=dev-lang/perl-5.8 \ >=app-shells/tcsh-6.12" SARA_HOME=/opt/sara src_compile() { ./configure make || die } src_install() { dodir ${SARA_HOME} cp -r administrators bin config html perl rules plugins sss perllib ${D}${SARA_HOME} dodir ${SARA_HOME}/docs cp CHANGES COPYING README* TODO ${D}${SARA_HOME}/docs cp add_user reconfig sara status_file ${D}${SARA_HOME} doman sara.8 } pkg_postinst() { einfo "Read the documentation in ${SARA_HOME}/html directory before run this program." einfo "You must have installed a WWW browser." einfo "For run, type from ${SARA_HOME} directory ./sara" }