commit:     3cc1792fcfc07edb26fda5512b1098e9ae271861
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Mar 20 00:29:00 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 20 06:16:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc1792f

net-analyzer/snort: add 2.9.20

Upstream update fixes the misnamed USE=debug code. Fails to fix anything
else... they did add some code to handle libtirpc. It looks like this:

```
##################################################
# Centos 8+ does not have inbuilt SunRPC support  #
# in glibc and is separately availble in tirpc   #
# package. Make sure we've got the library and   #
# link it                                        #
##################################################
if test -f /etc/centos-release ; then

[...]
```

Obviously this doesn't work...

There is also a snort 3.x which may be better but it looks like a lot
more work to package, and upstream still lists both as "stable releases"?

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/snort/Manifest                                        | 2 +-
 net-analyzer/snort/{snort-2.9.17-r1.ebuild => snort-2.9.20.ebuild} | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/net-analyzer/snort/Manifest b/net-analyzer/snort/Manifest
index d44ca91e97c3..d74b593f0aeb 100644
--- a/net-analyzer/snort/Manifest
+++ b/net-analyzer/snort/Manifest
@@ -1 +1 @@
-DIST snort-2.9.17.tar.gz 6983018 BLAKE2B 
8a6d5f4311e304b141f705fdcd3f570e88540dc5ce5882887b6fa52ea16e41daac384012badcbbc087693ee631e30477b8af2a6c49efa8230c71b80937597355
 SHA512 
c1a69e697298b4e85b8b8898e29077f5e74d8e2a8e42c2164a5597b3739204d856a74f30bc7c30b1907ec7b3bd3c6c6d798ead890656386b0c2a2da2c201d006
+DIST snort-2.9.20.tar.gz 7009894 BLAKE2B 
0fa1426dce94e2800550691bb433c01371c1688616a528c27803f75837cb5eb430246ee113b2a5a1e374b14b6fd5a57140ce54fe13fb13df94276fbd19aa0a15
 SHA512 
a9ca37e814baeb978a6db06c3c62256b9e98fdd9fa18ce881a2ce854c0c9a5d92476c3384bec9017b8a67e5d78c6f31ca19956a914f54b817343a159a2a7fced

diff --git a/net-analyzer/snort/snort-2.9.17-r1.ebuild 
b/net-analyzer/snort/snort-2.9.20.ebuild
similarity index 97%
rename from net-analyzer/snort/snort-2.9.17-r1.ebuild
rename to net-analyzer/snort/snort-2.9.20.ebuild
index 25092e422c53..7ec1a64c7821 100644
--- a/net-analyzer/snort/snort-2.9.17-r1.ebuild
+++ b/net-analyzer/snort/snort-2.9.20.ebuild
@@ -52,10 +52,6 @@ src_prepare() {
 
        mv configure.{in,ac} || die
 
-       # USE=debug exposes a macro whose name apparently wasn't changed
-       sed -i -e 's/BEFORE_SRV_FAIL/BEFORE_SERVICE_FAIL/' \
-               src/dynamic-preprocessors/appid/appInfoTable.c || die
-
        AT_M4DIR=m4 eautoreconf
 }
 

Reply via email to