pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ntop patch-ac: Apply upstream SVN revision 3748, w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/58ec492c9638
branches:  trunk
changeset: 392591:58ec492c9638
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun May 03 15:31:08 2009 +0000

description:
patch-ac: Apply upstream SVN revision 3748, which fixes
upstream ticket 75: "access logs globally writable in daemonized mode"
Bump PKGREVISION.

diffstat:

 net/ntop/Makefile         |   3 ++-
 net/ntop/distinfo         |   3 ++-
 net/ntop/patches/patch-ac |  16 ++++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r 06e64afa38a3 -r 58ec492c9638 net/ntop/Makefile
--- a/net/ntop/Makefile Sun May 03 14:29:39 2009 +0000
+++ b/net/ntop/Makefile Sun May 03 15:31:08 2009 +0000
@@ -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 -r 06e64afa38a3 -r 58ec492c9638 net/ntop/distinfo
--- a/net/ntop/distinfo Sun May 03 14:29:39 2009 +0000
+++ b/net/ntop/distinfo Sun May 03 15:31:08 2009 +0000
@@ -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 -r 06e64afa38a3 -r 58ec492c9638 net/ntop/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ntop/patches/patch-ac Sun May 03 15:31:08 2009 +0000
@@ -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.",



Home | Main Index | Thread Index | Old Index