Date: Sunday, November 17, 2013 @ 10:42:54 Author: bluewind Revision: 199842
archrelease: copy trunk to testing-any Added: netctl/repos/testing-any/ netctl/repos/testing-any/0001-Fix-typo-in-detection-of-hex-keys.patch (from rev 199841, netctl/trunk/0001-Fix-typo-in-detection-of-hex-keys.patch) netctl/repos/testing-any/PKGBUILD (from rev 199841, netctl/trunk/PKGBUILD) ----------------------------------------------+ 0001-Fix-typo-in-detection-of-hex-keys.patch | 35 ++++++++++++++++++++ PKGBUILD | 43 +++++++++++++++++++++++++ 2 files changed, 78 insertions(+) Copied: netctl/repos/testing-any/0001-Fix-typo-in-detection-of-hex-keys.patch (from rev 199841, netctl/trunk/0001-Fix-typo-in-detection-of-hex-keys.patch) =================================================================== --- testing-any/0001-Fix-typo-in-detection-of-hex-keys.patch (rev 0) +++ testing-any/0001-Fix-typo-in-detection-of-hex-keys.patch 2013-11-17 09:42:54 UTC (rev 199842) @@ -0,0 +1,35 @@ +From 3dc6d75f5fa4813fe5c998b13582912fffd88159 Mon Sep 17 00:00:00 2001 +From: Jouke Witteveen <j.wittev...@gmail.com> +Date: Sat, 16 Nov 2013 23:12:11 +0100 +Subject: [PATCH] Fix typo in detection of hex keys + +Errata to f5065. $Key has a capital. +--- + src/lib/wpa | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/lib/wpa b/src/lib/wpa +index 6f21c0f..ff869db 100644 +--- a/src/lib/wpa ++++ b/src/lib/wpa +@@ -218,7 +218,7 @@ wpa_make_config_block() { + wep) + echo "key_mgmt=NONE" + echo "wep_tx_keyidx=0" +- if (( ${#Key} % 2 == 0 )) && [[ "$key" = +([[:xdigit:]]) ]]; then ++ if (( ${#Key} % 2 == 0 )) && [[ "$Key" = +([[:xdigit:]]) ]]; then + echo "wep_key0=$Key" + else + echo "wep_key0=$(wpa_quote "$Key")" +@@ -226,7 +226,7 @@ wpa_make_config_block() { + ;; + wpa) + echo "proto=RSN WPA" +- if [[ "${#key}" -eq 64 && "$key" = +([[:xdigit:]]) ]]; then ++ if [[ "${#Key}" -eq 64 && "$Key" = +([[:xdigit:]]) ]]; then + echo "psk=$Key" + else + echo "psk=$(wpa_quote "$Key")" +-- +1.8.4.2 + Copied: netctl/repos/testing-any/PKGBUILD (from rev 199841, netctl/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2013-11-17 09:42:54 UTC (rev 199842) @@ -0,0 +1,43 @@ +# Maintainer: Jouke Witteveen <j.wittev...@gmail.com> + +pkgname=netctl +pkgver=1.4 +pkgrel=2 +pkgdesc='Profile based systemd network management' +url='http://projects.archlinux.org/netctl.git/' +license=('GPL') +groups=('base') +depends=('coreutils' 'iproute2' 'openresolv' 'systemd') +# The source tarball includes pre-built (using asciidoc) documentation. +makedepends=('pkg-config') +optdepends=('dialog: for the menu based wifi assistant' + 'dhclient: for DHCP support (or dhcpcd)' + 'dhcpcd: for DHCP support (or dhclient)' + 'wpa_supplicant: for wireless networking support' + 'ifplugd: for automatic wired connections through netctl-ifplugd' + 'wpa_actiond: for automatic wireless connections through netctl-auto' + 'ifenslave: for bond connections' + 'ppp: for pppoe connections' + ) +source=(ftp://ftp.archlinux.org/other/packages/netctl/netctl-${pkgver}.tar.xz{,.sig} +0001-Fix-typo-in-detection-of-hex-keys.patch) +arch=('any') +md5sums=('825f07c432bff1de0254ab800f22cb61' + 'SKIP' + '951b058a3c9879b77a2e0d211bb03111') + + prepare() { + cd "$srcdir/netctl-${pkgver}" + patch -p1 -i "$srcdir/0001-Fix-typo-in-detection-of-hex-keys.patch" + } + +package() { + cd "$srcdir/netctl-${pkgver}" + make DESTDIR="$pkgdir" install + + # Shell Completion + install -D -m644 contrib/bash-completion "$pkgdir/usr/share/bash-completion/completions/netctl" + install -D -m644 contrib/zsh-completion "$pkgdir/usr/share/zsh/site-functions/_netctl" +} + +# vim: set noet: