From 06e69cdf0d06742983b1f64ebc514e0c8ac1e36f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 11 Mar 2014 13:21:48 +0100 Subject: [PATCH] netctl: update to 1.6. --- ...975586317cf851319e9616bdccfafdd81741.patch | 23 ------------------- srcpkgs/netctl/template | 6 ++--- 2 files changed, 3 insertions(+), 26 deletions(-) delete mode 100644 srcpkgs/netctl/patches/015f975586317cf851319e9616bdccfafdd81741.patch diff --git a/srcpkgs/netctl/patches/015f975586317cf851319e9616bdccfafdd81741.patch b/srcpkgs/netctl/patches/015f975586317cf851319e9616bdccfafdd81741.patch deleted file mode 100644 index 59032cdc10..0000000000 --- a/srcpkgs/netctl/patches/015f975586317cf851319e9616bdccfafdd81741.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 015f975586317cf851319e9616bdccfafdd81741 Mon Sep 17 00:00:00 2001 -From: Jouke Witteveen -Date: Wed, 05 Mar 2014 22:00:56 +0000 -Subject: Fix adding of interfaces - -`shift 3` doesn't do anything if there are only 2 parameters. ---- -diff --git a/src/lib/network b/src/lib/network -index a875101..0250c3d 100755 ---- src/lib/network -+++ src/lib/network -@@ -17,8 +17,7 @@ is_interface() { - # $4...: additional arguments - interface_add() { - local type="$1" name="$2" link="$3" -- shift 3 -- ip link add ${link:+link "$link"} name "$name" type "$type" "$@" || return -+ do_debug ip link add ${link:+link "$link"} name "$name" type "$type" "${@:4}" || return - if [[ -x "$PROFILE_DIR/interfaces/$name" ]]; then - source "$PROFILE_DIR/interfaces/$name" - fi --- -cgit v0.9.2-18-g5137 diff --git a/srcpkgs/netctl/template b/srcpkgs/netctl/template index da9bf1b51f..8a5b0ec477 100644 --- a/srcpkgs/netctl/template +++ b/srcpkgs/netctl/template @@ -1,7 +1,7 @@ # Template file for 'netctl' pkgname=netctl -version=1.5 -revision=2 +version=1.6 +revision=1 hostmakedepends="pkg-config" makedepends="iproute2 openresolv dhcpcd wpa_supplicant dialog systemd-devel" depends="iproute2 openresolv dhcpcd wpa_supplicant dialog systemd" @@ -14,7 +14,7 @@ maintainer="Ypnose " homepage="http://projects.archlinux.org/netctl.git/" license="GPL" distfiles="ftp://ftp.archlinux.org/other/packages/${pkgname}/${pkgname}-${version}.tar.xz" -checksum=44e6ae25ac46f5ea1cbe0d10f10bc4ca54e2c2e1bfb5d03f27936371a01db3b2 +checksum=cff07bdf44fd9461b7582946707b171711ba4e29cff378d05cc7e88966f7c07d do_install() { make PREFIX=/usr DESTDIR=$DESTDIR install