aboutsummaryrefslogtreecommitdiff
path: root/security/tripwire
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2004-06-07 11:55:18 +0000
committerCy Schubert <cy@FreeBSD.org>2004-06-07 11:55:18 +0000
commitb3ee73febf72db5978009b5be3f561a8fcaafd3c (patch)
treeceb6e7be590e6dd10d677872fe9f1dc43312b56c /security/tripwire
parentc65aec90b45dd1f8dff066c479c64bfac523959e (diff)
downloadports-b3ee73febf72db5978009b5be3f561a8fcaafd3c.tar.gz
ports-b3ee73febf72db5978009b5be3f561a8fcaafd3c.zip
Notes
Diffstat (limited to 'security/tripwire')
-rw-r--r--security/tripwire/Makefile2
-rw-r--r--security/tripwire/files/patch-src::tripwire::pipedmailmessage.cpp16
2 files changed, 17 insertions, 1 deletions
diff --git a/security/tripwire/Makefile b/security/tripwire/Makefile
index eb19a96ecc56..431e3dd808e8 100644
--- a/security/tripwire/Makefile
+++ b/security/tripwire/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tripwire
PORTVERSION= 2.3.1.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= http://download.sourceforge.net/tripwire/
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.[0-9]*$/-&/:C/-\./-/}
diff --git a/security/tripwire/files/patch-src::tripwire::pipedmailmessage.cpp b/security/tripwire/files/patch-src::tripwire::pipedmailmessage.cpp
new file mode 100644
index 000000000000..f88afd69aea0
--- /dev/null
+++ b/security/tripwire/files/patch-src::tripwire::pipedmailmessage.cpp
@@ -0,0 +1,16 @@
+Index: src/tripwire/pipedmailmessage.cpp
+===================================================================
+retrieving revision 1.1
+retrieving revision 1.2
+diff -u -r1.1 -r1.2
+--- src/tripwire/pipedmailmessage.cpp 21 Jan 2001 00:46:48 -0000 1.1
++++ src/tripwire/pipedmailmessage.cpp 26 May 2004 20:59:15 -0000 1.2
+@@ -180,7 +180,7 @@
+
+ void cPipedMailMessage::SendString( const TSTRING& s )
+ {
+- if( _ftprintf( mpFile, s.c_str() ) < 0 )
++ if( _ftprintf( mpFile, "%s", s.c_str() ) < 0 )
+ {
+ TOSTRINGSTREAM estr;
+ estr << TSS_GetString( cTripwire, tripwire::STR_ERR2_MAIL_MESSAGE_COMMAND )