Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=d3c03ac0a99b11b26dba22b044eb3cc499ffb661

commit d3c03ac0a99b11b26dba22b044eb3cc499ffb661
Author: Krisztian VASAS <i...@frugalware.org>
Date:   Wed Feb 23 13:30:11 2011 +0100

libvirt-0.8.8-2-x86_64
* fixed iptables path (closes FS#4438 in current)
* added dnsmasq to rodepends

diff --git a/source/xlib-extra/libvirt/FrugalBuild 
b/source/xlib-extra/libvirt/FrugalBuild
index 3614459..6a9a180 100644
--- a/source/xlib-extra/libvirt/FrugalBuild
+++ b/source/xlib-extra/libvirt/FrugalBuild
@@ -3,18 +3,21 @@

pkgname=libvirt
pkgver=0.8.8
-pkgrel=1
+pkgrel=2
pkgdesc="libvirt is a library providing access to information from various 
virtualization tools"
url="http://libvirt.org";
depends=('libxml2' 'gnutls' 'cyrus-sasl' 'parted>=2.3' 'lvm2' 'libnl')
+rodepends=('dnsmasq')
makedepends=('python' 'gtk-doc')
groups=('xlib-extra')
archs=('x86_64' 'i686')
up2date="lynx -dump ftp://libvirt.org/libvirt/|grep "[0-9].tar.gz$"|sed 
's/.*-\(.*\).t.*/\1/'|Fsort|sed -n '$ p'"
-source=(ftp://ftp.libvirt.org/libvirt/$pkgname-$pkgver.tar.gz rc.libvirtd 
rc.libvirt-guests)
+source=(ftp://ftp.libvirt.org/libvirt/$pkgname-$pkgver.tar.gz rc.libvirtd 
rc.libvirt-guests \
+       fix_iptables_path.patch)
sha1sums=('b80374768d7bc3234735c1221aa554c75fe79ab8' \
'c14b6de4e3bf04c12757606223e165f37ffc9ea7' \
-          '1ede84a711b8ca63c04af077fd1e915f6491221a')
+          '1ede84a711b8ca63c04af077fd1e915f6491221a' \
+         '3ef036f94a6903e871e2ae8ea2b01fa81943e375')

subpkgs=('libvirt-python')
subdescs=('Python bindings for libvirt')
@@ -25,7 +28,10 @@ subarchs=('x86_64 i686')
options=('scriptlet')

build() {
-       Fbuild
+       Fpatchall
+       Fautoreconf
+       Fmake
+       Fmakeinstall
Fsplit libvirt-python usr/lib/python*
Fsplit libvirt-python usr/share/doc/libvirt-python-$pkgver
Frcd2 libvirtd
diff --git a/source/xlib-extra/libvirt/fix_iptables_path.patch 
b/source/xlib-extra/libvirt/fix_iptables_path.patch
new file mode 100644
index 0000000..d75bc85
--- /dev/null
+++ b/source/xlib-extra/libvirt/fix_iptables_path.patch
@@ -0,0 +1,20 @@
+diff -Naur libvirt-0.8.8.orig//configure.ac libvirt-0.8.8/configure.ac
+--- libvirt-0.8.8.orig//configure.ac   2011-02-17 04:00:39.000000000 +0100
++++ libvirt-0.8.8/configure.ac 2011-02-23 13:15:14.000000000 +0100
+@@ -332,13 +332,13 @@
+ AC_PATH_PROG([IP_PATH], [ip], /sbin/ip, [/usr/sbin:$PATH])
+ AC_DEFINE_UNQUOTED([IP_PATH], "$IP_PATH", [path to ip binary])
+
+-AC_PATH_PROG([IPTABLES_PATH], [iptables], /sbin/iptables, [/usr/sbin:$PATH])
++AC_PATH_PROG([IPTABLES_PATH], [iptables], /usr/sbin/iptables, 
[/usr/sbin:$PATH])
+ AC_DEFINE_UNQUOTED([IPTABLES_PATH], "$IPTABLES_PATH", [path to iptables 
binary])
+
+-AC_PATH_PROG([IP6TABLES_PATH], [ip6tables], /sbin/ip6tables, 
[/usr/sbin:$PATH])
++AC_PATH_PROG([IP6TABLES_PATH], [ip6tables], /usr/sbin/ip6tables, 
[/usr/sbin:$PATH])
+ AC_DEFINE_UNQUOTED([IP6TABLES_PATH], "$IP6TABLES_PATH", [path to ip6tables 
binary])
+
+-AC_PATH_PROG([EBTABLES_PATH], [ebtables], /sbin/ebtables, [/usr/sbin:$PATH])
++AC_PATH_PROG([EBTABLES_PATH], [ebtables], /usr/sbin/ebtables, 
[/usr/sbin:$PATH])
+ AC_DEFINE_UNQUOTED([EBTABLES_PATH], "$EBTABLES_PATH", [path to ebtables 
binary])
+
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to