diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-07-06 12:35:12 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-07-06 12:35:12 +0000 |
commit | fac23518ea9bd5e0ab2463a578d497cc3ce7ca6a (patch) | |
tree | ad9b26455450a892aeab01ba4cecc2df38316c1b /main/libnetcf | |
parent | f0e54ace924eda1d4db879f6a96c42409d0cb752 (diff) | |
download | aports-fac23518ea9bd5e0ab2463a578d497cc3ce7ca6a.tar.bz2 aports-fac23518ea9bd5e0ab2463a578d497cc3ce7ca6a.tar.xz |
main/libnetcf: upgrade to 0.1.9
Diffstat (limited to 'main/libnetcf')
-rw-r--r-- | main/libnetcf/APKBUILD | 20 | ||||
-rw-r--r-- | main/libnetcf/libnetcf-netcf_transaction.patch | 11 |
2 files changed, 22 insertions, 9 deletions
diff --git a/main/libnetcf/APKBUILD b/main/libnetcf/APKBUILD index 2335915c17..31b8f13d08 100644 --- a/main/libnetcf/APKBUILD +++ b/main/libnetcf/APKBUILD @@ -2,25 +2,26 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=libnetcf _realname=netcf -pkgver=0.1.7 -pkgrel=1 +pkgver=0.1.9 +pkgrel=0 pkgdesc="Cross-platform network configuration library" arch="all" url="https://fedorahosted.org/released/netcf" license="LGPLv2" depends= makedepends="augeas-dev libgcrypt-dev libnl-dev libxml2-dev libxslt-dev - pkgconfig readline-dev wget" + pkgconfig readline-dev" install= subpackages="$pkgname-dev" -source="https://fedorahosted.org/released/$_realname/$_realname-0.1.7.tar.gz" +source="https://fedorahosted.org/released/$_realname/$_realname-$pkgver.tar.gz + libnetcf-netcf_transaction.patch" _builddir="$srcdir/$_realname-$pkgver" -#prepare() { -# cd "$_builddir" -# patch -p1 < ../netcf-0.1.0-fix-initialization-of-libxslt.patch || return 1 -#} +prepare() { + cd "$_builddir" + patch -p1 < ../libnetcf-netcf_transaction.patch || return 1 +} build() { cd "$_builddir" @@ -37,4 +38,5 @@ package() { rm "$pkgdir"/usr/lib/*.la || return 1 } -md5sums="8e313b623c907eb035cf3948b71fecc2 netcf-0.1.7.tar.gz" +md5sums="4d62010a79d56c12438969da9035b63c netcf-0.1.9.tar.gz +9cd03ce04f635e49797115055cd24d5d libnetcf-netcf_transaction.patch" diff --git a/main/libnetcf/libnetcf-netcf_transaction.patch b/main/libnetcf/libnetcf-netcf_transaction.patch new file mode 100644 index 0000000000..0f875faa55 --- /dev/null +++ b/main/libnetcf/libnetcf-netcf_transaction.patch @@ -0,0 +1,11 @@ +--- a/src/drv_initscripts.c ++++ b/src/drv_initscripts.c +@@ -48,6 +48,8 @@ + + #include <libexslt/exslt.h> + ++#define NETCF_TRANSACTION "/etc/init.d/netcf-transaction" ++ + static const char *const network_scripts_path = + "/files/etc/sysconfig/network-scripts"; + |