diff options
author | 2001-05-10 06:12:37 +0000 | |
---|---|---|
committer | 2001-05-10 06:12:37 +0000 | |
commit | 472b134739660e5924d43db138fbfafa47e27ca8 (patch) | |
tree | 13520fa6f5998a277f967e6f381665be4ba84b0d /net-misc | |
parent | A Latex editor for kde (diff) | |
download | historical-472b134739660e5924d43db138fbfafa47e27ca8.tar.gz historical-472b134739660e5924d43db138fbfafa47e27ca8.tar.bz2 historical-472b134739660e5924d43db138fbfafa47e27ca8.zip |
*** empty log message ***
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/snort/files/digest-snort-1.7 | 1 | ||||
-rw-r--r-- | net-misc/snort/snort-1.7.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/net-misc/snort/files/digest-snort-1.7 b/net-misc/snort/files/digest-snort-1.7 new file mode 100644 index 000000000000..d6d189e1145f --- /dev/null +++ b/net-misc/snort/files/digest-snort-1.7 @@ -0,0 +1 @@ +MD5 0eae2f987f663a2fbf236e38d1f8e960 snort-1.7.tar.gz diff --git a/net-misc/snort/snort-1.7.ebuild b/net-misc/snort/snort-1.7.ebuild new file mode 100644 index 000000000000..61ac5e539c7b --- /dev/null +++ b/net-misc/snort/snort-1.7.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger achim@gentoo.org +# $Header: /var/cvsroot/gentoo-x86/net-misc/snort/snort-1.7.ebuild,v 1.1 2001/05/10 06:12:37 ryan Exp $ + +#P= +A="${P}.tar.gz" +S=${WORKDIR}/${P} +DESCRIPTION="Libpcap packet sniffer/logger/lightweight IDS" +SRC_URI="http://www.snort.org/Files/${A}" +HOMEPAGE="http://www.snort.org" + +DEPEND=">=net-libs/libpcap-0.5.2 + mysql? ( >=dev-db/mysql-3.23.26 ) + ssl? ( >=dev-libs/openssl-0.9.6a )" + +src_compile() { + + local myconf + if [ `use mysql` ] + then + myconf="--with-mysql-includes=/usr/include/mysql \ + --with-mysql-libraries=/usr/lib/mysql" + else + myconf="--without-mysql" + fi + if [ `use ssl` ] + then + myconf="$myconf --with-openssl" + else + myconf="$myconf --without-openssl" + fi + try ./configure --prefix=/usr --host=${CHOST} \ + --enable-smbalerts --enable-pthreads \ + $myconf + try make + +} + +src_install () { + + cd ${S} + try make DESTDIR=${D} install + insinto /usr/lib/snort/bin + doins contrib/create_mysql contrib/*.pl contrib/snortlog + dodoc AUTHORS BUGS ChangeLog COPYING CREDITS NEWS README.* + dodoc RULES.SAMPLE USAGE contrib/pgsql.php3 +} + + |