[arch-commits] Commit in netcfg/trunk (PKGBUILD git-fixes.patch)
Date: Saturday, July 7, 2012 @ 12:56:04 Author: bluewind Revision: 163128 upgpkg: netcfg 2.8.6-1 upstream update Modified: netcfg/trunk/PKGBUILD Deleted: netcfg/trunk/git-fixes.patch -+ PKGBUILD| 11 --- git-fixes.patch | 24 2 files changed, 4 insertions(+), 31 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-07-07 16:30:30 UTC (rev 163127) +++ PKGBUILD2012-07-07 16:56:04 UTC (rev 163128) @@ -1,8 +1,8 @@ # Maintainer: Jouke Witteveen j.wittev...@gmail.com pkgname=netcfg -pkgver=2.8.5 -pkgrel=3 +pkgver=2.8.6 +pkgrel=1 pkgdesc=Network configuration and profile scripts url=http://archlinux.org/netcfg/; license=(BSD) @@ -17,15 +17,12 @@ 'ifenslave: for bond connections' 'bridge-utils: for bridge connections' ) -source=(ftp://ftp.archlinux.org/other/netcfg/netcfg-${pkgver}.tar.xz git-fixes.patch) +source=(ftp://ftp.archlinux.org/other/netcfg/netcfg-${pkgver}.tar.xz) arch=(any) -md5sums=('61019de518f430f421a6353ddb652549' 'c511a6844769bac9e418644b51315cd2') +md5sums=('62fcb4112bf00267c780ed68ab5e7ba3') package() { cd $srcdir/netcfg-${pkgver} - - patch -p1 -i $srcdir/git-fixes.patch - make DESTDIR=$pkgdir install install -D -m644 LICENSE $pkgdir/usr/share/licenses/netcfg/LICENSE Deleted: git-fixes.patch === --- git-fixes.patch 2012-07-07 16:30:30 UTC (rev 163127) +++ git-fixes.patch 2012-07-07 16:56:04 UTC (rev 163128) @@ -1,24 +0,0 @@ -commit 9eb995ef8a34d552077b2af02787574a6534b1e2 -Author: Tasos Latsas tlatsas2...@gmail.com -Date: Sat Jun 30 11:07:45 2012 +0300 - -wifi-menu: fix name of wireless key variable - -Dialog returns the wireless key in variable $key. Uppercase -'KEY' is used later to create the profile. - -Signed-off-by: Tasos Latsas tlatsas2...@gmail.com - -diff --git a/scripts/wifi-menu b/scripts/wifi-menu -index e182f25..ba8eb47 100755 a/scripts/wifi-menu -+++ b/scripts/wifi-menu -@@ -115,7 +115,7 @@ create_profile() - [[ $OBSCURE ]] box=--insecure --passwordbox || box=--inputbox - msg=Enter $security security key for\n'$1' - key=$(dialog $box $msg 10 40 --stdout) || return $? --[[ ${#KEY} -ge 8 ${#KEY} -le 63 ]] || return 4 -+[[ ${#key} -ge 8 ${#key} -le 63 ]] || return 4 - if [[ $OBSCURE ]]; then - key=$(wpa_passphrase $1 $key | grep -m 1 ^[[:space:]]*psk=) - key=KEY=${key#*psk=}
[arch-commits] Commit in netcfg/trunk (PKGBUILD git-fixes.patch)
Date: Tuesday, July 3, 2012 @ 10:24:00 Author: bluewind Revision: 162902 upgpkg: netcfg 2.8.5-2 add bugfix from git Added: netcfg/trunk/git-fixes.patch Modified: netcfg/trunk/PKGBUILD -+ PKGBUILD|7 --- git-fixes.patch | 24 2 files changed, 28 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2012-07-03 11:58:44 UTC (rev 162901) +++ PKGBUILD2012-07-03 14:24:00 UTC (rev 162902) @@ -2,7 +2,7 @@ pkgname=netcfg pkgver=2.8.5 -pkgrel=1 +pkgrel=2 pkgdesc=Network configuration and profile scripts url=http://archlinux.org/netcfg/; license=(BSD) @@ -17,14 +17,15 @@ 'ifenslave: for bond connections' 'bridge-utils: for bridge connections' ) -source=(ftp://ftp.archlinux.org/other/netcfg/netcfg-${pkgver}.tar.xz) +source=(ftp://ftp.archlinux.org/other/netcfg/netcfg-${pkgver}.tar.xz git-fixes.patch) arch=(any) -md5sums=('61019de518f430f421a6353ddb652549') +md5sums=('61019de518f430f421a6353ddb652549' 'c511a6844769bac9e418644b51315cd2') package() { cd $srcdir/netcfg-${pkgver} make DESTDIR=$pkgdir install install -D -m644 LICENSE $pkgdir/usr/share/licenses/netcfg/LICENSE + patch -p1 -i $srcdir/git-fixes.patch # Shell Completion install -D -m644 contrib/bash-completion $pkgdir/usr/share/bash-completion/completions/netcfg Added: git-fixes.patch === --- git-fixes.patch (rev 0) +++ git-fixes.patch 2012-07-03 14:24:00 UTC (rev 162902) @@ -0,0 +1,24 @@ +commit 9eb995ef8a34d552077b2af02787574a6534b1e2 +Author: Tasos Latsas tlatsas2...@gmail.com +Date: Sat Jun 30 11:07:45 2012 +0300 + +wifi-menu: fix name of wireless key variable + +Dialog returns the wireless key in variable $key. Uppercase +'KEY' is used later to create the profile. + +Signed-off-by: Tasos Latsas tlatsas2...@gmail.com + +diff --git a/scripts/wifi-menu b/scripts/wifi-menu +index e182f25..ba8eb47 100755 +--- a/scripts/wifi-menu b/scripts/wifi-menu +@@ -115,7 +115,7 @@ create_profile() + [[ $OBSCURE ]] box=--insecure --passwordbox || box=--inputbox + msg=Enter $security security key for\n'$1' + key=$(dialog $box $msg 10 40 --stdout) || return $? +-[[ ${#KEY} -ge 8 ${#KEY} -le 63 ]] || return 4 ++[[ ${#key} -ge 8 ${#key} -le 63 ]] || return 4 + if [[ $OBSCURE ]]; then + key=$(wpa_passphrase $1 $key | grep -m 1 ^[[:space:]]*psk=) + key=KEY=${key#*psk=}