summaryrefslogtreecommitdiffstats
path: root/security/tripwire
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2005-08-11 03:05:00 +0000
committercy <cy@FreeBSD.org>2005-08-11 03:05:00 +0000
commitdfa315516f96b22789963ba35b6cf4a6b21fc7cb (patch)
treecf04061bf6b9a75a33869b72c3a1c95c655292aa /security/tripwire
parent9616c54e989832e555745e70e64c7762af3ae2fa (diff)
downloadFreeBSD-ports-dfa315516f96b22789963ba35b6cf4a6b21fc7cb.zip
FreeBSD-ports-dfa315516f96b22789963ba35b6cf4a6b21fc7cb.tar.gz
Fix ports/84648 (Interactive tripwire's database update does not work on 5.x).
PR: ports/84648 Approved by: portsmgr (marcus)
Diffstat (limited to 'security/tripwire')
-rw-r--r--security/tripwire/Makefile2
-rw-r--r--security/tripwire/files/patch-src::core::msystem.cpp14
2 files changed, 15 insertions, 1 deletions
diff --git a/security/tripwire/Makefile b/security/tripwire/Makefile
index f85eb4a..90f4698 100644
--- a/security/tripwire/Makefile
+++ b/security/tripwire/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tripwire
PORTVERSION= 2.3.1.2
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/security/tripwire/files/patch-src::core::msystem.cpp b/security/tripwire/files/patch-src::core::msystem.cpp
new file mode 100644
index 0000000..5df1a0d
--- /dev/null
+++ b/security/tripwire/files/patch-src::core::msystem.cpp
@@ -0,0 +1,14 @@
+--- src/core/msystem.cpp.orig Wed Aug 10 15:59:22 2005
++++ src/core/msystem.cpp Wed Aug 10 17:00:19 2005
+@@ -951,8 +951,11 @@
+ * ignore any signals until child dies
+ */
+ for(i = 0; i < MAX_SIGNAL; i++)
++#ifdef __FreeBSD__
++#define SIGCLD SIGCHLD
++#endif
+ #ifdef SIGCLD
+ if (i != SIGCLD)
+ #endif
+ savesig[i] = tw_sigign(i);
+ /*
OpenPOWER on IntegriCloud