summaryrefslogtreecommitdiff
path: root/net-analyzer/snortsam
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-02-02 01:39:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-02-02 01:39:05 +0000
commitfcc5224904648a8e6eb528d7603154160a20022f (patch)
tree3bfce096b38a9cea8eed13fc70c1526c456e9abd /net-analyzer/snortsam
parent2fd57282f0262ca084e05b0f2c63fbada395d02b (diff)
gentoo resync : 02.02.2022
Diffstat (limited to 'net-analyzer/snortsam')
-rw-r--r--net-analyzer/snortsam/Manifest2
-rw-r--r--net-analyzer/snortsam/snortsam-2.70-r1.ebuild (renamed from net-analyzer/snortsam/snortsam-2.70.ebuild)17
2 files changed, 10 insertions, 9 deletions
diff --git a/net-analyzer/snortsam/Manifest b/net-analyzer/snortsam/Manifest
index 4c722403763b..befc0648ae16 100644
--- a/net-analyzer/snortsam/Manifest
+++ b/net-analyzer/snortsam/Manifest
@@ -1,4 +1,4 @@
AUX snortsam-2.70-gentoo.patch 8979 BLAKE2B 7df4e769ed440b5bd595b6a62a414d9172ec283ab6f48bd00f5ede432c7430c1c936a9915ca40857216e926ccf7354cf45743e97fdbd945374efe01e403a928c SHA512 17f5b03820491ffbd8eda4b5cc99230ab358788194eb07221a303e98cc0ef5855d347804b30bd21f38d2a6f0e370f2433a691a33db0599c50887857bdadb53b6
DIST snortsam-src-2.70.tar.gz 1971624 BLAKE2B 10f26afb8addffb52db099e0c376a9adb884b625503233b72203070cadc79a688c7a6950014759d6fb58c8844899482057d9701e9eaa5e9d12066f10e88d6421 SHA512 e0b6d53dfc0963e5a0012e25c1cd15f76263cc0d0158f6a50eab3876f1ae40c47eeafb7309113d27f1ca92d5491a19e32748c3bf51754be9320346ebbf26e5b1
-EBUILD snortsam-2.70.ebuild 1024 BLAKE2B 1caa788ed5182079c86f0c22e6387bd0fe3f94eec3b1928259a339d2fdcbb2f035eb0d5c54a97c47d997804acb0edbc0b6285761f99ed4f61fb2e982166e562c SHA512 a3cd84c06d551f9eb179ab6f629ccff178c6e1f5f150fbe4eb2a528340b96402124f06f72edb0121c0cb8d6fb4235e9242d90cbf1cb53f6245977c86e0cc66f3
+EBUILD snortsam-2.70-r1.ebuild 1015 BLAKE2B eca02a1a262fd4af2a799f139d91e85237bded56f6dd8835eb9a11498680a0719a5dbd7f3bc4069f13b89a95a5899a25eae5cee73a204f14d8489e79e77ece07 SHA512 ae07e5f8c5e0003aca62caf60ea7f4c0e80d40a3c1246fc08b0df22395ddb5530010820c6d47f5e883036e1de34cd0af4c0cd4537d7c686316683c4ef1a657aa
MISC metadata.xml 287 BLAKE2B f19164a15f9d23702c60e146fcf4397bdceb885848c02ca219c14841ecf18066f94c8fff216a6d84e5480545161ead3535bf56e949b037fe61e2dbfd0ab33c48 SHA512 ec0634c44ec4f2564927d307807236bf9e623c63ebb6a5a2c8fcf9dc68f0f871eeee52e04675aa30a3aef2d73cbef0446d0ca7675da82e62cc57a1fd593855f0
diff --git a/net-analyzer/snortsam/snortsam-2.70.ebuild b/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
}