Hello community,
here is the log from the commit of package ntop
checked in at Fri Aug 3 01:58:57 CEST 2007.
--------
--- ntop/ntop.changes 2007-07-26 16:56:20.000000000 +0200
+++ /mounts/work_src_done/STABLE/ntop/ntop.changes 2007-08-01 12:20:11.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Aug 1 12:19:04 CEST 2007 - bg@suse.de
+
+- update to version 3.3 (mainly bugfixes and automake changes)
+- fix some rpmlint warnings
+
+-------------------------------------------------------------------
Old:
----
myrrd.diff
ntop-3.2.diff
ntop-3.2.tar.bz2
sflow.diff
New:
----
libtool.diff
ntop-3.3.diff
ntop-3.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ntop.spec ++++++
--- /var/tmp/diff_new_pack.V25535/_old 2007-08-03 01:55:34.000000000 +0200
+++ /var/tmp/diff_new_pack.V25535/_new 2007-08-03 01:55:34.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package ntop (Version 3.2)
+# spec file for package ntop (Version 3.3)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,24 +11,23 @@
# norootforbuild
Name: ntop
-BuildRequires: freetype2-devel gcc-c++ gd-devel gdbm-devel libjpeg-devel libpcap-devel libpng-devel lsof mysql-devel openssl-devel readline-devel rrdtool-devel xorg-x11-devel
+BuildRequires: dos2unix fdupes freetype2-devel gcc-c++ gd-devel gdbm-devel libart_lgpl-devel libjpeg-devel libpcap-devel libpng-devel lsof mysql-devel net-snmp-devel openssl-devel readline-devel rrdtool-devel xorg-x11-devel
License: GPL v2 or later
Group: Productivity/Networking/Diagnostic
-PreReq: %fillup_prereq %insserv_prereq /bin/cat
+PreReq: %fillup_prereq %insserv_prereq /bin/cat sysconfig
Autoreqprov: on
-Version: 3.2
-Release: 95
+Version: 3.3
+Release: 1
Summary: Web-Based Network Traffic Monitor
Source: %{name}-%{version}.tar.bz2
Source2: rcntop
Source3: rc.config.ntop
Source4: passcheck.c
Source5: README.SuSE
-Patch: ntop-3.2.diff
-Patch1: sflow.diff
+Patch: ntop-%{version}.diff
Patch2: rrdPlugin.diff
-Patch3: myrrd.diff
Patch4: dotpath.diff
+Patch5: libtool.diff
URL: http://www.ntop.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -45,16 +44,16 @@
%prep
%setup -q -n %{name}-%{version}
%patch
-%patch1
%patch2
-%patch3
%patch4
+%patch5
%build
%{?suse_update_config:%{suse_update_config -f gdchart* ntop . }}
-autoconf
# ntop wants to setup the files for the newer autoconf itself:
-NTOP_AUTOREBUILD=yes ./configure || echo "new autoconf prepared"
+aclocal
+./autogen.sh
+# NTOP_AUTOREBUILD=yes ./configure || echo "new autoconf prepared"
# now we are ready for the real configure...
CFLAGS="$RPM_OPT_FLAGS -DHAVE_NCURSES_H" \
./configure \
@@ -96,6 +95,11 @@
cp %SOURCE5 .
find $RPM_BUILD_ROOT/usr/share/ntop/html -type f -print0 | xargs -0 chmod 644
+%fdupes $RPM_BUILD_ROOT/usr/share/ntop/html/
+find $RPM_BUILD_ROOT -name "*.la" | xargs rm
+rm docs/ntop-autotools.vsd
+dos2unix docs/RedHat-rpmbuild-HOWTO.txt
+
%post
# Are we in update mode?
if [ ${1:-0} -gt 1 ]; then
@@ -105,6 +109,7 @@
fi
fi
chown wwwrun:www /usr/share/ntop /var/lib/ntop
+etc/sysconfig/network/scripts/hwdesc2iface etc/sysconfig/ntop NTOPD_IFACE
%run_ldconfig
%{fillup_and_insserv -n ntop ntop }
@@ -121,9 +126,6 @@
%doc SUPPORT_NTOP.txt THANKS README.SuSE
%config /etc/init.d/ntop
/usr/bin/ntop
-%{_libdir}/libntopreport.la
-%{_libdir}/libntop.la
-%{_libdir}/libmyrrd.la
%{_libdir}/lib*.so
/usr/sbin/rcntop
/usr/sbin/passcheck
@@ -144,6 +146,9 @@
%changelog
+* Wed Aug 01 2007 - bg@suse.de
+- update to version 3.3 (mainly bugfixes and automake changes)
+- fix some rpmlint warnings
* Thu Jul 26 2007 - prusnak@suse.cz
- changed libpcap to libpcap-devel in BuildRequires
* Thu Jun 21 2007 - dmueller@suse.de
++++++ dotpath.diff ++++++
--- /var/tmp/diff_new_pack.V25535/_old 2007-08-03 01:55:35.000000000 +0200
+++ /var/tmp/diff_new_pack.V25535/_new 2007-08-03 01:55:35.000000000 +0200
@@ -1,11 +1,11 @@
--- report.c
+++ report.c
-@@ -2213,7 +2213,7 @@
- if(fetchPrefsValue("dot.path", buf, sizeof(buf)) != -1) {
- snprintf(dotPath, sizeof(dotPath), "%s", buf);
- } else {
-- snprintf(dotPath, sizeof(dotPath), "/usr/local/bin/dot");
-+ snprintf(dotPath, sizeof(dotPath), "/usr/bin/dot");
- storePrefsValue("dot.path", dotPath); /* Set the default */
- }
-
+@@ -2302,7 +2302,7 @@
+ if(fetchPrefsValue("dot.path", buf, sizeof(buf)) != -1) {
+ snprintf(dotPath, sizeof(dotPath), "%s", buf);
+ } else {
+- snprintf(dotPath, sizeof(dotPath), "/usr/local/bin/dot");
++ snprintf(dotPath, sizeof(dotPath), "/usr/bin/dot");
+ storePrefsValue("dot.path", dotPath); /* Set the default */
+ }
+
++++++ libtool.diff ++++++
--- libtool.m4.in.orig 2007-07-31 11:25:17.000000000 +0000
+++ libtool.m4.in 2007-07-31 11:25:29.000000000 +0000
@@ -4057,7 +4057,7 @@
libext="$libext"
# Shared library suffix (normally ".so").
-shrext='$shrext'
+shrext_cmds='$shrext'
# Executable file suffix (normally "").
exeext="$exeext"
++++++ ntop-3.2.diff -> ntop-3.3.diff ++++++
--- ntop/ntop-3.2.diff 2006-04-03 11:18:08.000000000 +0200
+++ /mounts/work_src_done/STABLE/ntop/ntop-3.3.diff 2007-07-31 14:05:58.000000000 +0200
@@ -62,50 +62,17 @@
char tmpBuf[80], *str;
int c;
---- report.c 2005/11/04 12:35:16 1.1
-+++ report.c 2005/11/04 12:36:49
-@@ -2166,7 +2166,7 @@
-
- /* ****************************************************************** */
-
--static makeHostName(HostTraffic *el, char *buf, int len) {
-+static void makeHostName(HostTraffic *el, char *buf, int len) {
- if(el->hostResolvedName[0] != '\0') strcpy(buf, el->hostResolvedName);
- else if(el->hostNumIpAddress[0] != '\0') strcpy(buf, el->hostNumIpAddress);
- else if(el->ethAddressString[0] != '\0') strcpy(buf, el->ethAddressString);
---- http.c 2005/11/04 12:37:06 1.1
-+++ http.c 2005/11/04 12:40:22
-@@ -1044,7 +1044,7 @@
- disconnected client is still sending */) {
- traceEvent(CONST_TRACE_ERROR, "EBADF during sending of page to web client");
- } else {
-- traceEvent(CONST_TRACE_ERROR, "errno %d during sending of page to web client");
-+ traceEvent(CONST_TRACE_ERROR, "errno %d during sending of page to web client",errno);
- }
-
- traceEvent(CONST_TRACE_VERYNOISY, "Failed text was %d bytes, '%s'", strlen(theString), theString);
---- globals-core.h 2005/11/04 12:28:55 1.1
-+++ globals-core.h 2005/11/04 12:29:53
-@@ -260,8 +260,6 @@
- #ifdef MAKE_WITH_SAFER_ROUTINES
-
- /* Fix to the free prototype courtesy of Tanner Lovelace