Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 23035 Details for
Bug 36165
New release - Snort 2.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Proposed snort-2.1 ebuild
snort-2.1.0.ebuild (text/plain), 3.23 KB, created by
Kris Merrill
on 2004-01-02 13:21:10 UTC
(
hide
)
Description:
Proposed snort-2.1 ebuild
Filename:
MIME Type:
Creator:
Kris Merrill
Created:
2004-01-02 13:21:10 UTC
Size:
3.23 KB
patch
obsolete
>inherit eutils > >DESCRIPTION="Libpcap-based packet sniffer/logger/lightweight IDS" >HOMEPAGE="http://www.snort.org/" >SRC_URI="http://www.snort.org/dl/${P}.tar.gz > prelude? ( http://www.prelude-ids.org/download/releases/snort-prelude-re >porting-patch-0.2.5.tar.gz )" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~sparc -alpha ~amd64" >IUSE="ssl postgres mysql prelude flexresp samba" > ># Added libpcre for snort-2.1.0. >DEPEND="virtual/glibc > >=net-libs/libpcap-0.6.2-r1 > >=dev-libs/libpcre-4.2-r1 > flexresp? ( <net-libs/libnet-1.1 > >=net-libs/libnet-1.0.2a-r3 ) > postgres? ( >=dev-db/postgresql-7.2 ) > mysql? ( >=dev-db/mysql-3.23.26 ) > ssl? ( >=dev-libs/openssl-0.9.6b ) > prelude? ( >=dev-libs/libprelude-0.8 )" ># snmp? ( >=net-analyzer/net-snmp-5.0 ) > ># Added libpcre for snort-2.1.0. >RDEPEND="virtual/glibc > dev-lang/perl > >=net-libs/libpcap-0.6.2-r1 > >=dev-libs/libpcre-4.2-r1 > postgres? ( >=dev-db/postgresql-7.2 ) > mysql? ( >=dev-db/mysql-3.23.26 ) > ssl? ( >=dev-libs/openssl-0.9.6b ) > samba? ( net-fs/samba ) > prelude? ( >=dev-libs/libprelude-0.8 )" > >src_unpack() { > unpack ${A} > > cd ${S} > use flexresp && epatch ${FILESDIR}/${PV}-libnet-1.0.patch > > epatch ${FILESDIR}/${P}-gcc3.patch > > epatch ${FILESDIR}/snort-drop-calculation.diff > > sed "s:var RULE_PATH ../rules:var RULE_PATH /etc/snort:" < etc/snort.con >f > etc/snort.conf.distrib > > use prelude && ( > epatch ../${P/.6/.2}-prelude.diff > sh ./autogen.sh > ) >} > >src_compile() { > local myconf > use flexresp && myconf="$myconf --enable-flexresp" # There is no --diabl >e-flexresp, can't use use_enable > use samba && myconf="$myconf --enable-smbalerts" # There is no --diable- >smbalerts, can't use use_enable > > econf \ > `use_with postgres postgresql` \ > `use_with mysql` \ > `use_with ssl openssl` \ > `use_with prelude` \ > --without-odbc \ > --without-oracle \ > $myconf || die "bad ./configure" > > emake || die "compile problem" >} > >src_install() { > make DESTDIR=${D} install || die > > dodir /var/log/snort > keepdir /var/log/snort/ > > insinto /usr/lib/snort/bin > doins contrib/{create_mysql,snortlog,*.pl} > > dodoc COPYING LICENSE doc/* > docinto contrib ; dodoc contrib/* > > insinto /etc/snort > doins etc/reference.config etc/classification.config rules/*.rules etc/* >.map > use prelude && doins etc/prelude-classification.config > doins etc/snort.conf.distrib > > exeinto /etc/init.d ; newexe ${FILESDIR}/snort.rc6 snort > insinto /etc/conf.d ; newins ${FILESDIR}/snort.confd snort >} > >pkg_postinst() { > enewgroup snort > enewuser snort -1 /dev/null /var/log/snort snort > usermod -d "/var/log/snort" snort || die "usermod problem" > usermod -g "snort" snort || die "usermod problem" > usermod -s "/dev/null" snort || die "usermod problem" > echo "ignore any message about CREATE_HOME above..." > > chown snort:snort /var/log/snort > chmod 0770 /var/log/snort >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 36165
: 23035