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

Florian Pritz bluewind at archlinux.org
Thu Jul 5 16:03:22 UTC 2012


    Date: Thursday, July 5, 2012 @ 12:03:22
  Author: bluewind
Revision: 163016

archrelease: copy trunk to testing-any

Added:
  netcfg/repos/testing-any/
  netcfg/repos/testing-any/PKGBUILD
    (from rev 163015, netcfg/trunk/PKGBUILD)
  netcfg/repos/testing-any/git-fixes.patch
    (from rev 163015, netcfg/trunk/git-fixes.patch)

-----------------+
 PKGBUILD        |   36 ++++++++++++++++++++++++++++++++++++
 git-fixes.patch |   24 ++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

Copied: netcfg/repos/testing-any/PKGBUILD (from rev 163015, netcfg/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2012-07-05 16:03:22 UTC (rev 163016)
@@ -0,0 +1,36 @@
+# Maintainer: Jouke Witteveen <j.witteveen at gmail.com>
+
+pkgname=netcfg
+pkgver=2.8.5
+pkgrel=3
+pkgdesc="Network configuration and profile scripts"
+url="http://archlinux.org/netcfg/"
+license=("BSD")
+backup=(etc/iftab etc/conf.d/netcfg)
+depends=("coreutils" "dhcpcd" "iproute2")
+#makedepends=('asciidoc')  # The source tarball includes pre-built documentation.
+optdepends=('dialog: for the menu based profile and wifi selectors'
+            'wpa_supplicant: for wireless networking support'
+            'ifplugd: for automatic wired connections through rc.d/net-auto-wired'
+            'wpa_actiond: for automatic wireless connections through rc.d/net-auto-wireless'
+            'wireless_tools: for interface renaming through net-rename'
+            'ifenslave: for bond connections'
+            'bridge-utils: for bridge connections'
+           )
+source=(ftp://ftp.archlinux.org/other/netcfg/netcfg-${pkgver}.tar.xz git-fixes.patch)
+arch=(any)
+md5sums=('61019de518f430f421a6353ddb652549' 'c511a6844769bac9e418644b51315cd2')
+
+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"
+
+  # Shell Completion
+  install -D -m644 contrib/bash-completion "$pkgdir/usr/share/bash-completion/completions/netcfg"
+  install -D -m644 contrib/zsh-completion "$pkgdir/usr/share/zsh/site-functions/_netcfg"
+}
+

Copied: netcfg/repos/testing-any/git-fixes.patch (from rev 163015, netcfg/trunk/git-fixes.patch)
===================================================================
--- testing-any/git-fixes.patch	                        (rev 0)
+++ testing-any/git-fixes.patch	2012-07-05 16:03:22 UTC (rev 163016)
@@ -0,0 +1,24 @@
+commit 9eb995ef8a34d552077b2af02787574a6534b1e2
+Author: Tasos Latsas <tlatsas2000 at 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 <tlatsas2000 at 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=}"




More information about the arch-commits mailing list