[gentoo-commits] repo/gentoo:master commit in: net-analyzer/snortsam/files/, profiles/, net-analyzer/snortsam/
commit: 0543ca771f5413c1952933b386bc86135e806c18 Author: Jakov Smolić gentoo org> AuthorDate: Sat Dec 31 18:15:49 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Sat Dec 31 18:30:52 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0543ca77 net-analyzer/snortsam: treeclean Closes: https://bugs.gentoo.org/805296 Signed-off-by: Jakov Smolić gentoo.org> net-analyzer/snortsam/Manifest | 1 - .../snortsam/files/snortsam-2.70-gentoo.patch | 140 - net-analyzer/snortsam/metadata.xml | 8 -- net-analyzer/snortsam/snortsam-2.70-r1.ebuild | 45 --- profiles/package.mask | 5 - 5 files changed, 199 deletions(-) diff --git a/net-analyzer/snortsam/Manifest b/net-analyzer/snortsam/Manifest deleted file mode 100644 index e341252bae98.. --- a/net-analyzer/snortsam/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST snortsam-src-2.70.tar.gz 1971624 BLAKE2B 10f26afb8addffb52db099e0c376a9adb884b625503233b72203070cadc79a688c7a6950014759d6fb58c8844899482057d9701e9eaa5e9d12066f10e88d6421 SHA512 e0b6d53dfc0963e5a0012e25c1cd15f76263cc0d0158f6a50eab3876f1ae40c47eeafb7309113d27f1ca92d5491a19e32748c3bf51754be9320346ebbf26e5b1 diff --git a/net-analyzer/snortsam/files/snortsam-2.70-gentoo.patch b/net-analyzer/snortsam/files/snortsam-2.70-gentoo.patch deleted file mode 100644 index f2d8fd330d33.. --- a/net-analyzer/snortsam/files/snortsam-2.70-gentoo.patch +++ /dev/null @@ -1,140 +0,0 @@ - makesnortsam.sh | 66 + - 1 file changed, 24 insertions(+), 42 deletions(-) - -diff --git a/makesnortsam.sh b/makesnortsam.sh -index 64c6eb6..37f66c9 100644 a/makesnortsam.sh -+++ b/makesnortsam.sh -@@ -36,8 +36,7 @@ SSP_OBSD_SRC="ssp_pf.c ssp_pf2.c" - SSP_BSD_SRC="ssp_ipf.c ssp_ipfw2.c ssp_pf2.c" - SSP_SUNOS_SRC="ssp_ipf.c" - --CFLAGS="-O2 -D${systype}" --LDFLAGS= -+CFLAGS=" ${CFLAGS} -D${systype}" - - # OS specific flags - LINUX_CFLAGS= -@@ -72,23 +71,23 @@ case "$1" in - - case "${systype}" in - Linux*) -- gcc ${CFLAGS} ${LINUX_CFLAGS} ${OPSEC_CFLAGS} ${LDFLAGS} ${LINUX_LDFLAGS} ${OPSEC_LDFLAGS} ${OPSEC_LIBS} \ -- ${SSP_GENERIC_SRC} ${SSP_LINUX_SRC} -o ${SNORTSAM} -+ ${CC} ${CFLAGS} ${LINUX_CFLAGS} ${OPSEC_CFLAGS} ${LDFLAGS} \ -+ ${SSP_GENERIC_SRC} ${SSP_LINUX_SRC} -o ${SNORTSAM} ${LINUX_LDFLAGS} ${OPSEC_LDFLAGS} ${OPSEC_LIBS} - ;; - - OpenBSD*) -- #gcc ${CFLAGS} ${OBSD_CFLAGS} ${OPSEC_CFLAGS} ${LDFLAGS} ${OBSD_LDFLAGS} ${OPSEC_LIBS} /usr/lib/libnsl.a -o ${SNORTSAM} -- gcc ${CFLAGS} ${OBSD_CFLAGS} ${OPSEC_CFLAGS} ${LDFLAGS} ${OBSD_LDFLAGS} ${OPSEC_LDFLAGS} ${OPSEC_LIBS} \ -+ #${CC} ${CFLAGS} ${OBSD_CFLAGS} ${OPSEC_CFLAGS} ${LDFLAGS} ${OBSD_LDFLAGS} ${OPSEC_LIBS} /usr/lib/libnsl.a -o ${SNORTSAM} -+ ${CC} ${CFLAGS} ${OBSD_CFLAGS} ${OPSEC_CFLAGS} ${LDFLAGS} ${OBSD_LDFLAGS} ${OPSEC_LDFLAGS} ${OPSEC_LIBS} \ - ${SSP_GENERIC_SRC} ${SSP_OBSD_SRC} -o ${SNORTSAM} - ;; - - *BSD*) -- gcc ${CFLAGS} ${BSD_CFLAGS} ${OPSEC_CFLAGS} ${LDFLAGS} ${BSD_LDFLAGS} ${OPSEC_LDFLAGS} ${OPSEC_LIBS} \ -+ ${CC} ${CFLAGS} ${BSD_CFLAGS} ${OPSEC_CFLAGS} ${LDFLAGS} ${BSD_LDFLAGS} ${OPSEC_LDFLAGS} ${OPSEC_LIBS} \ - ${SSP_GENERIC_SRC} ${SSP_BSD_SRC} -o ${SNORTSAM} - ;; - - SunOS*) -- gcc ${CFLAGS} ${SUNOS_CFLAGS} ${OPSEC_SUNOS_CFLAGS} ${LDFLAGS} ${SUNOS_LDFLAGS} ${OPSEC_SUNOS_LDFLAGS} \ -+ ${CC} ${CFLAGS} ${SUNOS_CFLAGS} ${OPSEC_SUNOS_CFLAGS} ${LDFLAGS} ${SUNOS_LDFLAGS} ${OPSEC_SUNOS_LDFLAGS} \ - ${SSP_GENERIC_SRC} ${SSP_SUNOS_SRC} -o ${SNORTSAM} - ;; - esac -@@ -104,23 +103,23 @@ case "$1" in - - case "${systype}" in - Linux*) -- gcc ${CFLAGS} ${LINUX_CFLAGS} ${OPSEC_CFLAGS} ${LDFLAGS} ${LINUX_LDFLAGS} ${OPSEC_LDFLAGS} ${OPSEC_LIBS} \ -+ ${CC} ${CFLAGS} ${LINUX_CFLAGS} ${OPSEC_CFLAGS} ${LDFLAGS} ${LINUX_LDFLAGS} ${OPSEC_LDFLAGS} ${OPSEC_LIBS} \ - ${SSP_GENERIC_SRC} ${SSP_LINUX_SRC} -o ${SNORTSAM} - ;; - - OpenBSD*) -- #gcc ${CFLAGS} ${OBSD_CFLAGS} ${OPSEC_CFLAGS} ${LDFLAGS} ${OBSD_LDFLAGS} ${OPSEC_LIBS} /usr/
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/snortsam/
commit: 3856afddab4496750121131c622907c21235343e Author: David Seifert gentoo org> AuthorDate: Sat Jan 29 15:16:25 2022 + Commit: David Seifert gentoo org> CommitDate: Sat Jan 29 15:16:25 2022 + 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 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 }
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/snortsam/
commit: c5e11cd20e948cfed460e2737ae0ec279a39bbed Author: Sam James gentoo org> AuthorDate: Sat Apr 3 18:42:43 2021 + Commit: Sam James gentoo org> CommitDate: Sat Apr 3 18:59:11 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e11cd2 net-analyzer/snortsam: eutils->epatch Signed-off-by: Sam James 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
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/snortsam/
commit: 0af737e519c6a8e792e0b22f27a62df7d06c6e19 Author: David Seifert gentoo org> AuthorDate: Wed Feb 12 18:02:53 2020 + Commit: David Seifert gentoo org> CommitDate: Wed Feb 12 18:02:53 2020 + 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 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/";
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/snortsam/
commit: 05df6a08f4c8082244da96f396185a7ace8a1ce8 Author: Michał Górny gentoo org> AuthorDate: Sat Oct 5 07:31:56 2019 + Commit: Michał Górny gentoo org> CommitDate: Sat Oct 5 07:31:56 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05df6a08 net-analyzer/snortsam: Drop old (EAPI=0) Signed-off-by: Michał Górny 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..000 --- 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 -}