summaryrefslogtreecommitdiff
path: root/net/ntop
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-05-03 15:31:08 +0000
committertnn <tnn@pkgsrc.org>2009-05-03 15:31:08 +0000
commit4c7057eac6d48e9ec49ccd0e63a5811c3f2dfc05 (patch)
tree1f802de8d64a7206ff6f6c06b46a891cfcb67740 /net/ntop
parentc30b4297ab3c0032a14edc326c41a550c3e804ae (diff)
downloadpkgsrc-4c7057eac6d48e9ec49ccd0e63a5811c3f2dfc05.tar.gz
patch-ac: Apply upstream SVN revision 3748, which fixes
upstream ticket 75: "access logs globally writable in daemonized mode" Bump PKGREVISION.
Diffstat (limited to 'net/ntop')
-rw-r--r--net/ntop/Makefile3
-rw-r--r--net/ntop/distinfo3
-rw-r--r--net/ntop/patches/patch-ac16
3 files changed, 20 insertions, 2 deletions
diff --git a/net/ntop/Makefile b/net/ntop/Makefile
index 8905af77067..7061feb0601 100644
--- a/net/ntop/Makefile
+++ b/net/ntop/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.51 2009/04/24 10:18:03 adam Exp $
+# $NetBSD: Makefile,v 1.52 2009/05/03 15:31:08 tnn Exp $
DISTNAME= ntop-3.3.9
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ntop/}
diff --git a/net/ntop/distinfo b/net/ntop/distinfo
index 48ebb1d16b9..1bc34d82c6c 100644
--- a/net/ntop/distinfo
+++ b/net/ntop/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.11 2009/04/24 10:18:03 adam Exp $
+$NetBSD: distinfo,v 1.12 2009/05/03 15:31:08 tnn Exp $
SHA1 (ntop-3.3.9.tar.gz) = 77c1976d096709c6e45dcfe4befc2045cf83774b
RMD160 (ntop-3.3.9.tar.gz) = 3d7b14bff99a6652ae83fb86a2cda3206cc3392c
Size (ntop-3.3.9.tar.gz) = 4955257 bytes
SHA1 (patch-aa) = 64b2d4cda050cd9b8981b29b0e10d900469d4b7d
SHA1 (patch-ab) = 6c700cf0c8ed7651d40420b6cb6eb41d4f78ef81
+SHA1 (patch-ac) = 101dd95636a09339cf3f2032e9d697ccc37f27c6
diff --git a/net/ntop/patches/patch-ac b/net/ntop/patches/patch-ac
new file mode 100644
index 00000000000..decadaa5e0b
--- /dev/null
+++ b/net/ntop/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.6 2009/05/03 15:31:08 tnn Exp $
+
+http://www.ntop.org/trac/ticket/75
+
+Index: http.c
+===================================================================
+--- http.c (revision 3747)
++++ http.c (revision 3748)
+@@ -1341,6 +1341,7 @@
+ void initAccessLog(void) {
+
+ if(myGlobals.runningPref.accessLogFile) {
++ umask(0137);
+ myGlobals.accessLogFd = fopen(myGlobals.runningPref.accessLogFile, "a");
+ if(myGlobals.accessLogFd == NULL) {
+ traceEvent(CONST_TRACE_ERROR, "Unable to create file %s. Access log is disabled.",