[packages/ntop] make it build with current autofoo

glen glen at pld-linux.org
Fri Mar 22 14:22:07 CET 2013


commit b0bef586cc38600488059d0249f42411cd0ce6e1
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Mar 22 15:21:57 2013 +0200

    make it build with current autofoo

 ntop.spec | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/ntop.spec b/ntop.spec
index 9a7beb5..6d9c1f2 100644
--- a/ntop.spec
+++ b/ntop.spec
@@ -1,6 +1,11 @@
 # TODO
 # - see if it uses system files for ettercap and geoip, ieee-oui files we did not package
 # - see where plugins are needed in plugin dir or in system dir
+# - unpackaged
+#        /etc/ntop/GeoIPASNum.dat
+#        /etc/ntop/GeoLiteCity.dat
+#        /usr/lib64/libntop.a
+#        /usr/lib64/libntopreport.a
 #
 # Conditional build:
 %bcond_with	mysql	# with mysql support
@@ -52,6 +57,7 @@ BuildRequires:	readline-devel >= 4.2
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	rrdtool-devel >= 1.1.0
+BuildRequires:	sed >= 4.0
 BuildRequires:	zlib-devel
 Requires(post,postun):	/sbin/ldconfig
 Requires(post,preun):	/sbin/chkconfig
@@ -93,6 +99,11 @@ robi to popularna uniksowa komenda top.
 %patch7 -p1
 %patch8 -p1
 
+sed -i -e '
+	s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/
+	s/AM_PROG_CC_STDC/AC_PROG_CC/
+' configure.in
+
 gzip -9c %{SOURCE3} >etter.finger.os.gz
 
 # taken from autogen.sh
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ntop.git/commitdiff/b0bef586cc38600488059d0249f42411cd0ce6e1



More information about the pld-cvs-commit mailing list