<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6609ea45872e00cad21b771f695ecbcc07e5e7e8">https://github.com/macports/macports-ports/commit/6609ea45872e00cad21b771f695ecbcc07e5e7e8</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6609ea45872e00cad21b771f695ecbcc07e5e7e8
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Sun May 13 22:56:11 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> portsentry: update to version 1.2, license
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Patch to fix build.
</span>---
security/portsentry/Portfile | 15 +++++++++------
security/portsentry/files/patch-portsentry.c.diff | 12 ++++++++++++
2 files changed, 21 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/portsentry/Portfile b/security/portsentry/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1e3a9dd..4b89d6b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/portsentry/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/portsentry/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,8 +3,9 @@
</span> PortSystem 1.0
name portsentry
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.2
</span> categories security
<span style='display:block; white-space:pre;background:#e0ffe0;'>+license CPL-1
</span> maintainers nomaintainer
description port scan detection and active defense
long_description PortSentry is part of the Abacus Project suite of \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,15 +21,17 @@ homepage https://sourceforge.net/projects/sentrytools/
</span> master_sites https://dl.packetstormsecurity.net/UNIX/IDS/ \
sourceforge:sentrytools
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 782839446b7eca554bb1880ef0882670
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir ${name}_beta
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 8bf4bce18229a7ebff47e7fe50493738ae818085 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 dd1edcfcf2d9db7b5722de4f1da36ae45703bf05917af657ab6f7491be7fa52e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 48054
</span>
use_configure no
build.target generic
<span style='display:block; white-space:pre;background:#ffe0e0;'>-## 1.2 beta from sf.net doesn't compile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-## 1.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#checksums md5 3ebd3618ba9abfea2525e236bd44cebd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#set worksrcdir ${name}_beta
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-portsentry.c.diff
</span>
post-patch {
reinplace "s|/usr/local/psionic/portsentry/portsentry.conf|${prefix}/etc/${name}/portsentry.conf|" \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/portsentry/files/patch-portsentry.c.diff b/security/portsentry/files/patch-portsentry.c.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..f0e68ae
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/portsentry/files/patch-portsentry.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- portsentry.c.orig 2018-05-13 22:33:24.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ portsentry.c 2018-05-13 22:34:45.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1581,8 +1581,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Usage (void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("PortSentry - Port Scan Detector.\n");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- printf ("Copyright 1997-2003 Craig H. Rowland <craigrowland at users dot
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-sourceforget dot net>\n");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ printf ("Copyright 1997-2003 Craig H. Rowland <craigrowland at users dot sourceforget dot net>\n");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("Licensing restrictions apply. Please see documentation\n");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ printf ("Version: %s\n\n", VERSION);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef SUPPORT_STEALTH
</span></pre><pre style='margin:0'>
</pre>