mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
net-analyzer/snortsam: Drop old (EAPI=0)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST snortsam-2.50-ciscoacl.diff.bz2 7295 BLAKE2B 174d84e06d9242c900f3c52cacd57c2a69114c120ee381038f566cf52346dac238a66f899804dc0b10f73e5275b45d862f62fda9f7602a55aa93c7df90382f5c SHA512 c8b19b19721f75fb00a269923e4191a26853749658ebbec9d4c74dcbaaacb8db30a6a0bd33068a364aa95375db958b6fd45ad498abdc97029e04b7e140cb2523
|
||||
DIST snortsam-src-2.50.tar.gz 1073391 BLAKE2B 544410d68316e733285e41feade98b2d09e9ac47fd7d5d7efaa6d70daad7bc5a2e4919c44b1f9abb02581e62681bba5ae6ef049ad4cf49edd0d2a13f56ebddf7 SHA512 cc4509c0d02666d6697a565e95013639a1f0c042ef948d8def92b749f249f647247ef7649ae23a2860ce58f08e310c08edeabc93301f812a98845f74ba5c266e
|
||||
DIST snortsam-src-2.70.tar.gz 1971624 BLAKE2B 10f26afb8addffb52db099e0c376a9adb884b625503233b72203070cadc79a688c7a6950014759d6fb58c8844899482057d9701e9eaa5e9d12066f10e88d6421 SHA512 e0b6d53dfc0963e5a0012e25c1cd15f76263cc0d0158f6a50eab3876f1ae40c47eeafb7309113d27f1ca92d5491a19e32748c3bf51754be9320346ebbf26e5b1
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=0
|
||||
|
||||
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
|
||||
mirror://gentoo/${PN}-2.50-ciscoacl.diff.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
# bug 155955, ciscoacl segfaults with gcc-4.1.1
|
||||
epatch "${DISTDIR}"/${PN}-2.50-ciscoacl.diff.bz2
|
||||
sed -i -e "s:sbin/functions.sh:etc/init.d/functions.sh:" \
|
||||
-e "s: -O2 : ${CFLAGS} :" \
|
||||
-e "s:gcc :$(tc-getCC) :" \
|
||||
-e "s:\( -o ../snortsam\): ${LDFLAGS}\1:" makesnortsam.sh || die "sed failed"
|
||||
ecvs_clean
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
sh makesnortsam.sh || die "makesnortsam.sh failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin snortsam || die "dobin failed"
|
||||
find "${S}" -depth -type f -name "*.asc" -exec rm -f {} \;
|
||||
dodoc docs/* conf/*
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user