Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 166546 Details for
Bug 238812
network-analyzer/snortsam-2.57 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
snortsam-2.60 ebuild
snortsam-2.60.ebuild (text/plain), 1.38 KB, created by
RB
on 2008-09-26 20:04:16 UTC
(
hide
)
Description:
snortsam-2.60 ebuild
Filename:
MIME Type:
Creator:
RB
Created:
2008-09-26 20:04:16 UTC
Size:
1.38 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils toolchain-funcs > >MY_P="${PN}-src-${PV}" >DESCRIPTION="Snort plugin that allows automated blocking of IP addresses on several firewalls" >HOMEPAGE="http://www.snortsam.net/" >SRC_URI="http://www.snortsam.net/files/snortsam/${MY_P}.tar.gz" > >LICENSE="as-is" >SLOT="0" >KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64" >IUSE="debug" > >S=${WORKDIR}/${PN} >UNAME=`uname` > >src_compile() { > use debug && DEBUG='-DFWSAMDEBUG' > for tool in all samtool ; do > emake -C src/ \ > LDFLAGS="${LDFLAGS}" \ > CFLAGS="${CFLAGS} -D${UNAME} ${DEBUG}" \ > $tool || die "make $tool failed" > done >} > >src_install() { > rm -Rf docs/CVS conf/CVS > newinitd ${FILESDIR}/snortsam.init snortsam > dobin snortsam samtool > dodoc docs/* conf/* > insinto /etc > doins ${FILESDIR}/snortsam.conf > case ${UNAME} in > Linux*) > sed -i "s:%%BASEFW%%:iptables eth0:g" ${D}/etc/snortsam.conf > ;; > FreeBSD*) > sed -i "s:%%BASEFW%%:ipfw2 em0 1 2:g" ${D}/etc/snortsam.conf > ;; > *) > sed -i "s:%%BASEFW%%:email 127.0.0.1 root snortsam:g" ${D}/etc/snortsam.conf > ;; > esac >} > >pkg_postinst() { > elog > elog "To use snortsam with snort, you'll have to compile snort with USE=snortsam." > elog "Read the INSTALL file to configure snort for snortsam, and configure" > elog "snortsam for your particular firewall." > elog >}
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 238812
: 166546 |
166547
|
166548