Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 10799 Details for
Bug 19379
Snort Security Vulnerability - Remotely exploitable buffer overflow in 1.8.x, 1.9.x, and 2.0 < RC1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Snort 2.0.0 ebuild
snort-2.0.0.ebuild (text/plain), 2.19 KB, created by
Bug Hunter
on 2003-04-17 18:05:15 UTC
(
hide
)
Description:
Snort 2.0.0 ebuild
Filename:
MIME Type:
Creator:
Bug Hunter
Created:
2003-04-17 18:05:15 UTC
Size:
2.19 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/net-analyzer/snort/snort-1.9.1-r1.ebuild,v 1.1 2003/03/29 16:13:54 agriffis Exp $ > >inherit eutils > >IUSE="postgres mysql" >S=${WORKDIR}/${P} >DESCRIPTION="Libpcap-based packet sniffer/logger/lightweight IDS" >SRC_URI="http://www.snort.org/dl/${P}.tar.gz" >HOMEPAGE="http://www.snort.org" > >SLOT="0" >LICENSE="GPL-2" >KEYWORDS="x86 sparc alpha" > >DEPEND="virtual/glibc > >=net-libs/libpcap-0.6.2-r1 > postgres? ( >=dev-db/postgresql-7.2 ) > mysql? ( >=dev-db/mysql-3.23.26 )" > >RDEPEND="virtual/glibc > dev-lang/perl > >=net-libs/libpcap-0.6.2-r1 > postgres? ( >=dev-db/postgresql-7.2 ) > mysql? ( >=dev-db/mysql-3.23.26 )" > >src_unpack() { > unpack ${A} > > # Following patch contributed in bug #18258 > use alpha && epatch ${FILESDIR}/${P}-alpha.patch >} > >src_compile() { > > local myconf > > use postgres && myconf="${myconf} --with-postgresql" > use mysql && myconf="${myconf} --with-mysql" > > > ./configure \ > --prefix=/usr \ > --mandir=/usr/share/man \ > --host=${CHOST} ${myconf} || die "bad ./configure" > > emake || die "compile problem" >} > >src_install () { > > make DESTDIR=${D} install || die > > dodir /var/log/snort > touch ${D}/var/log/snort/.keep > > insinto /usr/lib/snort/bin > doins contrib/{create_mysql,snortlog,*.pl} > > dodoc COPYING LICENSE doc/* > docinto contrib ; dodoc contrib/* > > insinto /etc/snort > doins etc/classification.config rules/*.rules > newins etc/snort.conf snort.conf.distrib > > exeinto /etc/init.d ; newexe ${FILESDIR}/snort.rc6 snort > insinto /etc/conf.d ; newins ${FILESDIR}/snort.confd snort >} > >pkg_postinst() { > > if ! grep -q ^snort: /etc/group ; then > groupadd snort || die "problem adding group snort" > fi > if ! grep -q ^snort: /etc/passwd ; then > useradd -g snort -s /dev/null -d /var/log/snort -c "snort" snort > assert "problem adding user snort" > fi > usermod -c "snort" snort || die "usermod problem" > 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 19379
: 10799 |
10800