From 99d0ec7ebad2eda5f3a03098962e3b250e3bef4c Mon Sep 17 00:00:00 2001 From: root Date: Tue, 16 Oct 2012 00:33:10 -0700 Subject: Tue Oct 16 00:33:08 PDT 2012 --- community/netcf/PKGBUILD | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'community/netcf') diff --git a/community/netcf/PKGBUILD b/community/netcf/PKGBUILD index 9c26ba270..9e1d02240 100644 --- a/community/netcf/PKGBUILD +++ b/community/netcf/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 70813 2012-05-16 21:38:44Z spupykin $ +# $Id: PKGBUILD 77847 2012-10-15 09:41:41Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Aurélien Wailly pkgname=netcf -pkgver=0.1.9 -pkgrel=2 +pkgver=0.2.2 +pkgrel=1 pkgdesc="A library for configuring network interfaces" arch=('i686' 'x86_64') license=('LGPL') @@ -12,25 +12,23 @@ url="https://fedorahosted.org/netcf/" depends=('augeas>=0.7.4' 'netcfg' 'libxslt' 'libxml2' 'libnl') makedepends=('gcc') options=(!libtool) -source=("https://fedorahosted.org/released/netcf/$pkgname-$pkgver.tar.gz" - "netcf-libnl3.patch::https://bugs.archlinux.org/task/29908?getfile=8775") -md5sums=('4d62010a79d56c12438969da9035b63c' - 'a509be4b819f669fac21e1eaa621e3e0') +source=("https://fedorahosted.org/released/netcf/$pkgname-$pkgver.tar.gz") +md5sums=('fbcd47101797b8fcd9519e22002cd200') build() { cd "${srcdir}/${pkgname}-${pkgver}" - patch -Np1 -i ${srcdir}/netcf-libnl3.patch aclocal automake --add-missing || true autoreconf -# CFLAGS="`pkg-config --cflags libnl-3.0` -DRTNL_LINK_NOT_FOUND=-1" - CFLAGS="-DNETCF_TRANSACTION=\"true\"" ./configure --prefix=/usr \ + ./configure --prefix=/usr \ --disable-static \ - --with-init-script=none + --with-init-script=none \ + --with-driver=redhat make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR=${pkgdir} install + rm -rf $pkgdir/etc/rc.d/init.d } -- cgit v1.2.3-54-g00ecf