[arch-commits] Commit in netctl/repos (3 files)

Florian Pritz bluewind at nymeria.archlinux.org
Tue Mar 4 11:52:31 UTC 2014


    Date: Tuesday, March 4, 2014 @ 12:52:31
  Author: bluewind
Revision: 206655

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 206654, netctl/trunk/0001-Fix-typo-in-detection-of-hex-keys.patch)
  netctl/repos/testing-any/PKGBUILD
    (from rev 206654, netctl/trunk/PKGBUILD)

----------------------------------------------+
 0001-Fix-typo-in-detection-of-hex-keys.patch |   35 +++++++++++++++++++++++++
 PKGBUILD                                     |   34 ++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

Copied: netctl/repos/testing-any/0001-Fix-typo-in-detection-of-hex-keys.patch (from rev 206654, 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	2014-03-04 11:52:31 UTC (rev 206655)
@@ -0,0 +1,35 @@
+From 3dc6d75f5fa4813fe5c998b13582912fffd88159 Mon Sep 17 00:00:00 2001
+From: Jouke Witteveen <j.witteveen at 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 206654, netctl/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2014-03-04 11:52:31 UTC (rev 206655)
@@ -0,0 +1,34 @@
+# Maintainer: Jouke Witteveen <j.witteveen at gmail.com>
+
+pkgname=netctl
+pkgver=1.5
+pkgrel=1
+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'
+            'ppp: for pppoe connections'
+           )
+source=(ftp://ftp.archlinux.org/other/packages/netctl/netctl-${pkgver}.tar.xz{,.sig})
+arch=('any')
+md5sums=('69d3711d3444a8668a2fd18be9445748'
+         '52631979acadb59b23693e0be6d9b6e4')
+
+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"
+}
+




More information about the arch-commits mailing list