* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/snortsam/
@ 2019-10-05 7:42 Michał Górny
0 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2019-10-05 7:42 UTC (permalink / raw
To: gentoo-commits
commit: 05df6a08f4c8082244da96f396185a7ace8a1ce8
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 5 07:31:56 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 5 07:31:56 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05df6a08
net-analyzer/snortsam: Drop old (EAPI=0)
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-analyzer/snortsam/Manifest | 2 --
net-analyzer/snortsam/snortsam-2.50-r1.ebuild | 49 ---------------------------
2 files changed, 51 deletions(-)
diff --git a/net-analyzer/snortsam/Manifest b/net-analyzer/snortsam/Manifest
index 363c938310f..e341252bae9 100644
--- a/net-analyzer/snortsam/Manifest
+++ b/net-analyzer/snortsam/Manifest
@@ -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
diff --git a/net-analyzer/snortsam/snortsam-2.50-r1.ebuild b/net-analyzer/snortsam/snortsam-2.50-r1.ebuild
deleted file mode 100644
index 8ec9905d8de..00000000000
--- a/net-analyzer/snortsam/snortsam-2.50-r1.ebuild
+++ /dev/null
@@ -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
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/snortsam/
@ 2020-02-12 18:06 David Seifert
0 siblings, 0 replies; 4+ messages in thread
From: David Seifert @ 2020-02-12 18:06 UTC (permalink / raw
To: gentoo-commits
commit: 0af737e519c6a8e792e0b22f27a62df7d06c6e19
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 12 18:02:53 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Feb 12 18:02:53 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0af737e5
net-analyzer/snortsam: [QA] inherit vcs-clean.eclass directly
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>
net-analyzer/snortsam/snortsam-2.70.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/snortsam/snortsam-2.70.ebuild b/net-analyzer/snortsam/snortsam-2.70.ebuild
index 4a04baa7aea..800c7f6f08e 100644
--- a/net-analyzer/snortsam/snortsam-2.70.ebuild
+++ b/net-analyzer/snortsam/snortsam-2.70.ebuild
@@ -3,7 +3,7 @@
EAPI=5
-inherit eutils flag-o-matic toolchain-funcs
+inherit eutils flag-o-matic toolchain-funcs vcs-clean
DESCRIPTION="Snort plugin that allows automated blocking of IP addresses on several firewalls"
HOMEPAGE="http://www.snortsam.net/"
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/snortsam/
@ 2021-04-03 18:59 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2021-04-03 18:59 UTC (permalink / raw
To: gentoo-commits
commit: c5e11cd20e948cfed460e2737ae0ec279a39bbed
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 3 18:42:43 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 3 18:59:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e11cd2
net-analyzer/snortsam: eutils->epatch
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/snortsam/snortsam-2.70.ebuild | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/net-analyzer/snortsam/snortsam-2.70.ebuild b/net-analyzer/snortsam/snortsam-2.70.ebuild
index 800c7f6f08e..f32b3f6db2e 100644
--- a/net-analyzer/snortsam/snortsam-2.70.ebuild
+++ b/net-analyzer/snortsam/snortsam-2.70.ebuild
@@ -1,21 +1,20 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-inherit eutils flag-o-matic toolchain-funcs vcs-clean
+inherit epatch flag-o-matic toolchain-funcs vcs-clean
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/${PN}-src-${PV}.tar.gz"
+S="${WORKDIR}"/${PN}
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha amd64 ppc ppc64 sparc x86"
IUSE="debug"
-S=${WORKDIR}/${PN}
-
src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
ecvs_clean
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/snortsam/
@ 2022-01-29 15:16 David Seifert
0 siblings, 0 replies; 4+ messages in thread
From: David Seifert @ 2022-01-29 15:16 UTC (permalink / raw
To: gentoo-commits
commit: 3856afddab4496750121131c622907c21235343e
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 29 15:16:25 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 15:16:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3856afdd
net-analyzer/snortsam: update EAPI 5 -> 7
Closes: https://bugs.gentoo.org/832319
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../{snortsam-2.70.ebuild => snortsam-2.70-r1.ebuild} | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/net-analyzer/snortsam/snortsam-2.70.ebuild b/net-analyzer/snortsam/snortsam-2.70-r1.ebuild
similarity index 77%
rename from net-analyzer/snortsam/snortsam-2.70.ebuild
rename to net-analyzer/snortsam/snortsam-2.70-r1.ebuild
index f32b3f6db2ed..d900b52d06f6 100644
--- a/net-analyzer/snortsam/snortsam-2.70.ebuild
+++ b/net-analyzer/snortsam/snortsam-2.70-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit epatch flag-o-matic toolchain-funcs vcs-clean
+inherit flag-o-matic toolchain-funcs vcs-clean
DESCRIPTION="Snort plugin that allows automated blocking of IP addresses on several firewalls"
HOMEPAGE="http://www.snortsam.net/"
@@ -15,8 +15,10 @@ SLOT="0"
KEYWORDS="~alpha amd64 ppc ppc64 sparc x86"
IUSE="debug"
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
src_prepare() {
- epatch "${FILESDIR}"/${P}-gentoo.patch
+ default
ecvs_clean
}
@@ -31,14 +33,13 @@ src_compile() {
src_install() {
dobin snortsam
- find "${S}" -depth -type f -name "*.asc" -exec rm -f {} \;
- dodoc docs/* conf/*
+
+ find . -depth -type f -name '*.asc' -delete || die
+ dodoc -r docs/. conf/.
}
pkg_postinst() {
- echo
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."
- echo
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-01-29 15:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-05 7:42 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/snortsam/ Michał Górny
-- strict thread matches above, loose matches on Subject: below --
2020-02-12 18:06 David Seifert
2021-04-03 18:59 Sam James
2022-01-29 15:16 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox