Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=6b9308267421347b0ce970295d6fe6ca2733237b

commit 6b9308267421347b0ce970295d6fe6ca2733237b
Author: James Buren <r...@frugalware.org>
Date:   Fri Nov 4 05:00:28 2011 -0500

ntop-4.1.0-2-x86_64
* drop glib1 support
* release bump

diff --git a/source/network-extra/ntop/FrugalBuild 
b/source/network-extra/ntop/FrugalBuild
index eea97f6..85f0f15 100644
--- a/source/network-extra/ntop/FrugalBuild
+++ b/source/network-extra/ntop/FrugalBuild
@@ -3,21 +3,24 @@

pkgname=ntop
pkgver=4.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="A network traffic probe that shows the network usage"
-depends=('openssl>=1.0.0' 'gd' 'gdbm' 'glib' 'libxml2' 'libpcap' 
'rrdtool>=1.4.3-3' 'geoip')
+depends=('openssl>=1.0.0' 'gd' 'gdbm' 'libxml2' 'libpcap' 'rrdtool>=1.4.3-3' 
'geoip')
groups=('network-extra')
archs=('i686' 'x86_64')
_F_sourceforge_ext=".tar.gz"
Finclude sourceforge
+source=(${source[@]} $pkgname-wget.patch)
url="http://www.ntop.org";
-sha1sums=('11cd397e5524fa72652d840ce1b92631f8bf39a2')
+sha1sums=('11cd397e5524fa72652d840ce1b92631f8bf39a2' \
+          'f6847429e8693ef711b31c40409638a5ca0753c7')

build()
{
-       Fcd
+       Fpatchall
sh autogen.sh --noconfig
-       Fbuild --with-rrd-home="${Fprefix}"
+       Fmake --with-rrd-home="${Fprefix}"
+       Fmakeinstall
Fmkdir var/
install -d -m755 --owner=nobody --group=nobody $Fdestdir/var/ntop || Fdie
}
diff --git a/source/network-extra/ntop/ntop-wget.patch 
b/source/network-extra/ntop/ntop-wget.patch
new file mode 100644
index 0000000..1eb5483
--- /dev/null
+++ b/source/network-extra/ntop/ntop-wget.patch
@@ -0,0 +1,28 @@
+diff -ur a/autogen.sh b/autogen.sh
+--- a/autogen.sh       2010-03-31 10:13:52.000000000 -0500
++++ b/autogen.sh       2011-11-04 04:54:12.206340278 -0500
+@@ -202,15 +202,15 @@
+   GNU_OR_DIE=0
+ }
+
+-WGET=`find_command 'wget*'`
+-($WGET --version) < /dev/null > /dev/null 2>&1 ||
+-{
+-  echo
+-  echo "You must have wget installed to compile $progname."
+-  echo "Download the appropriate package for your distribution, or get the"
+-  echo "source tarball from ftp://ftp.gnu.org/pub/gnu/wget";
+-  GNU_OR_DIE=0
+-}
++#WGET=`find_command 'wget*'`
++#($WGET --version) < /dev/null > /dev/null 2>&1 ||
++#{
++#  echo
++#  echo "You must have wget installed to compile $progname."
++#  echo "Download the appropriate package for your distribution, or get the"
++#  echo "source tarball from ftp://ftp.gnu.org/pub/gnu/wget";
++#  GNU_OR_DIE=0
++#}
+
+ if test "$GNU_OR_DIE" -eq 0; then
+   exit 1
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to