Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/ntop/files: ntop-initd ntop-3.3.6-gentoo.patch
Date: Fri, 04 Jul 2008 23:44:27
Message-Id: E1KEuwv-0001Di-O8@stork.gentoo.org
1 mrness 08/07/04 23:44:21
2
3 Modified: ntop-initd
4 Added: ntop-3.3.6-gentoo.patch
5 Log:
6 Version bump.
7 Fix init script (#191576).
8 Fix broken ebuild when locales use other chars than ASCII (#205382).
9 Fix libtool dependency (#221623).
10 (Portage version: 2.1.4.4)
11
12 Revision Changes Path
13 1.2 net-analyzer/ntop/files/ntop-initd
14
15 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/files/ntop-initd?rev=1.2&view=markup
16 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/files/ntop-initd?rev=1.2&content-type=text/plain
17 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/files/ntop-initd?r1=1.1&r2=1.2
18
19 Index: ntop-initd
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/ntop/files/ntop-initd,v
22 retrieving revision 1.1
23 retrieving revision 1.2
24 diff -u -r1.1 -r1.2
25 --- ntop-initd 24 Jul 2007 21:13:25 -0000 1.1
26 +++ ntop-initd 4 Jul 2008 23:44:21 -0000 1.2
27 @@ -17,12 +17,13 @@
28 start() {
29 checkconfig || return 1
30 ebegin "Starting ntop"
31 + LC_ALL=C # apparently doesn't work with some locales (#191576 and #205382)
32 start-stop-daemon --start --exec /usr/bin/ntop -- -d -L ${NTOP_OPTS}
33 eend $?
34 }
35
36 stop() {
37 ebegin "Stopping ntop"
38 - start-stop-daemon --stop --retry 5 --pidfile /var/lib/ntop/ntop.pid
39 + start-stop-daemon --stop --retry 30 --pidfile /var/run/ntop.pid
40 eend $?
41 }
42
43
44
45 1.1 net-analyzer/ntop/files/ntop-3.3.6-gentoo.patch
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/files/ntop-3.3.6-gentoo.patch?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/ntop/files/ntop-3.3.6-gentoo.patch?rev=1.1&content-type=text/plain
49
50 Index: ntop-3.3.6-gentoo.patch
51 ===================================================================
52 diff -Nru ntop.orig/configure.in ntop/configure.in
53 --- ntop.orig/configure.in 2008-06-04 09:29:06.000000000 +0200
54 +++ ntop/configure.in 2008-07-05 00:40:53.000000000 +0200
55 @@ -515,13 +515,6 @@
56 LOCALEDIR="/usr/lib/locale"
57 fi
58
59 -dnl> Add /usr/local/
60 -CFLAGS="${CFLAGS} -I/usr/local/include -I/opt/local/include"
61 -CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/opt/local/include"
62 -LDFLAGS="${LDFLAGS} -L/usr/local/lib -L/opt/local/lib"
63 -
64 -
65 -
66 echo
67 echo "Test the compiler and setup CFLAGS..."
68 echo
69 diff -Nru ntop.orig/globals-core.c ntop/globals-core.c
70 --- ntop.orig/globals-core.c 2007-11-24 19:26:29.000000000 +0100
71 +++ ntop/globals-core.c 2008-07-05 00:48:09.000000000 +0200
72 @@ -427,7 +427,7 @@
73 _mtuSize[DLT_ATM_RFC1483] = 9180 /* LLC/SNAP encapsulated atm */;
74 _headerSize[DLT_ATM_RFC1483] = 0;
75
76 - /* _mtuSize[DLT_RAW] = ? raw IP */
77 + _mtuSize[DLT_RAW] = 1500 /* raw IP */;
78 _headerSize[DLT_RAW] = 0;
79
80 /* Others defined in bpf.h at tcpdump.org as of the resync - it would be NICE
81 diff -Nru ntop.orig/report.c ntop/report.c
82 --- ntop.orig/report.c 2008-04-05 17:56:58.000000000 +0200
83 +++ ntop/report.c 2008-07-05 01:09:36.000000000 +0200
84 @@ -2301,7 +2301,7 @@
85 if(fetchPrefsValue("dot.path", buf, sizeof(buf)) != -1) {
86 snprintf(dotPath, sizeof(dotPath), "%s", buf);
87 } else {
88 - snprintf(dotPath, sizeof(dotPath), "/usr/local/bin/dot");
89 + snprintf(dotPath, sizeof(dotPath), "/usr/bin/dot");
90 storePrefsValue("dot.path", dotPath); /* Set the default */
91 }
92
93
94
95
96 --
97 gentoo-commits@l.g.o mailing list