]> git.pld-linux.org Git - packages/ntop.git/commitdiff
make it build with current autofoo
authorElan Ruusamäe <glen@delfi.ee>
Fri, 22 Mar 2013 13:21:57 +0000 (15:21 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 22 Mar 2013 13:21:57 +0000 (15:21 +0200)
ntop.spec

index 9a7beb5e953741b9cdc8150c3be00d1dd06585d7..6d9c1f248b41e7b82f4c705134fb512940a28f07 100644 (file)
--- 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
This page took 0.120064 seconds and 4 git commands to generate.