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

2014-02-21 Thread Thomas Bächler
Date: Friday, February 21, 2014 @ 21:01:53
  Author: thomas
Revision: 206217

archrelease: copy trunk to testing-i686

Added:
  wpa_supplicant/repos/testing-i686/
  wpa_supplicant/repos/testing-i686/PKGBUILD
(from rev 206216, wpa_supplicant/trunk/PKGBUILD)
  wpa_supplicant/repos/testing-i686/config
(from rev 206216, wpa_supplicant/trunk/config)

--+
 PKGBUILD |   58 +++
 config   |  505 +
 2 files changed, 563 insertions(+)

Copied: wpa_supplicant/repos/testing-i686/PKGBUILD (from rev 206216, 
wpa_supplicant/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-02-21 20:01:53 UTC (rev 206217)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Thomas Bächler tho...@archlinux.org
+
+pkgname=wpa_supplicant
+pkgver=2.1
+pkgrel=1
+pkgdesc=A utility providing key negotiation for WPA wireless networks
+url=http://hostap.epitest.fi/wpa_supplicant;
+arch=('i686' 'x86_64')
+depends=('openssl' 'libdbus' 'readline' 'libnl')
+optdepends=('wpa_supplicant_gui: wpa_gui program')
+license=('GPL')
+backup=('etc/wpa_supplicant/wpa_supplicant.conf')
+source=(http://w1.fi/releases/${pkgname}-${pkgver}.tar.gz;
+   config)
+sha256sums=('91632e7e3b49a340ce408e2f978a93546a697383abf2e5a60f146faae9e1b277'
+'6cb74517f4cc1d319e5124ff049bc3fd224180cc4dabc274f8e4b0a5a2291cef')
+
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver}/${pkgname}
+
+  cp ${srcdir}/config ./.config
+  sed -i 's@/usr/local@$(PREFIX)@g' Makefile
+}
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}/${pkgname}
+
+  # The Makefile does not pick up our CPPFLAGS
+  export CFLAGS=$CPPFLAGS $CFLAGS
+  make PREFIX=/usr
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}/${pkgname}
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+
+  install -d -m755 ${pkgdir}/etc/wpa_supplicant
+  install -m644 wpa_supplicant.conf 
${pkgdir}/etc/wpa_supplicant/wpa_supplicant.conf
+
+  install -d -m755 ${pkgdir}/usr/share/man/man{5,8}
+  install -m644 doc/docbook/*.5 ${pkgdir}/usr/share/man/man5/
+  install -m644 doc/docbook/*.8 ${pkgdir}/usr/share/man/man8/
+  rm -f ${pkgdir}/usr/share/man/man8/wpa_{priv,gui}.8
+
+  install -d -m755 ${pkgdir}/usr/share/dbus-1/system-services
+  install -m644 
dbus/{fi.epitest.hostap.WPASupplicant.service,fi.w1.wpa_supplicant1.service} 
${pkgdir}/usr/share/dbus-1/system-services/
+
+  install -d -m755 ${pkgdir}/etc/dbus-1/system.d
+  install -m644 dbus/dbus-wpa_supplicant.conf 
${pkgdir}/etc/dbus-1/system.d/wpa_supplicant.conf
+
+  install -d -m755 ${pkgdir}/usr/lib/systemd/system
+  install -m644 systemd/*.service ${pkgdir}/usr/lib/systemd/system/
+
+  # usrmove
+  cd $pkgdir/usr
+  mv sbin bin
+}

Copied: wpa_supplicant/repos/testing-i686/config (from rev 206216, 
wpa_supplicant/trunk/config)
===
--- testing-i686/config (rev 0)
+++ testing-i686/config 2014-02-21 20:01:53 UTC (rev 206217)
@@ -0,0 +1,505 @@
+# Example wpa_supplicant build time configuration
+#
+# This file lists the configuration options that are used when building the
+# hostapd binary. All lines starting with # are ignored. Configuration option
+# lines must be commented out complete, if they are not to be included, i.e.,
+# just setting VARIABLE=n is not disabling that variable.
+#
+# This file is included in Makefile, so variables like CFLAGS and LIBS can also
+# be modified from here. In most cases, these lines should use += in order not
+# to override previous values of the variables.
+
+
+# Uncomment following two lines and fix the paths if you have installed OpenSSL
+# or GnuTLS in non-default location
+#CFLAGS += -I/usr/local/openssl/include
+#LIBS += -L/usr/local/openssl/lib
+
+# Some Red Hat versions seem to include kerberos header files from OpenSSL, but
+# the kerberos files are not in the default include path. Following line can be
+# used to fix build issues on such systems (krb5.h not found).
+#CFLAGS += -I/usr/include/kerberos
+
+# Driver interface for generic Linux wireless extensions
+# Note: WEXT is deprecated in the current Linux kernel version and no new
+# functionality is added to it. nl80211-based interface is the new
+# replacement for WEXT and its use allows wpa_supplicant to properly control
+# the driver to improve existing functionality like roaming and to support new
+# functionality.
+CONFIG_DRIVER_WEXT=y
+
+# Driver interface for Linux drivers using the nl80211 kernel interface
+CONFIG_DRIVER_NL80211=y
+
+# driver_nl80211.c requires libnl. If you are compiling it yourself
+# you may need to point hostapd to your version of libnl.
+#
+#CFLAGS += -I$path to libnl include files
+#LIBS += -L$path to libnl library files
+
+# Use libnl v2.0 (or 3.0) libraries.
+#CONFIG_LIBNL20=y
+
+# Use libnl 3.2 libraries (if this is selected, CONFIG_LIBNL20 is ignored)

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

2014-02-21 Thread Thomas Bächler
Date: Friday, February 21, 2014 @ 21:02:02
  Author: thomas
Revision: 206218

archrelease: copy trunk to testing-x86_64

Added:
  wpa_supplicant/repos/testing-x86_64/
  wpa_supplicant/repos/testing-x86_64/PKGBUILD
(from rev 206217, wpa_supplicant/trunk/PKGBUILD)
  wpa_supplicant/repos/testing-x86_64/config
(from rev 206217, wpa_supplicant/trunk/config)

--+
 PKGBUILD |   58 +++
 config   |  505 +
 2 files changed, 563 insertions(+)

Copied: wpa_supplicant/repos/testing-x86_64/PKGBUILD (from rev 206217, 
wpa_supplicant/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-02-21 20:02:02 UTC (rev 206218)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Thomas Bächler tho...@archlinux.org
+
+pkgname=wpa_supplicant
+pkgver=2.1
+pkgrel=1
+pkgdesc=A utility providing key negotiation for WPA wireless networks
+url=http://hostap.epitest.fi/wpa_supplicant;
+arch=('i686' 'x86_64')
+depends=('openssl' 'libdbus' 'readline' 'libnl')
+optdepends=('wpa_supplicant_gui: wpa_gui program')
+license=('GPL')
+backup=('etc/wpa_supplicant/wpa_supplicant.conf')
+source=(http://w1.fi/releases/${pkgname}-${pkgver}.tar.gz;
+   config)
+sha256sums=('91632e7e3b49a340ce408e2f978a93546a697383abf2e5a60f146faae9e1b277'
+'6cb74517f4cc1d319e5124ff049bc3fd224180cc4dabc274f8e4b0a5a2291cef')
+
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver}/${pkgname}
+
+  cp ${srcdir}/config ./.config
+  sed -i 's@/usr/local@$(PREFIX)@g' Makefile
+}
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}/${pkgname}
+
+  # The Makefile does not pick up our CPPFLAGS
+  export CFLAGS=$CPPFLAGS $CFLAGS
+  make PREFIX=/usr
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}/${pkgname}
+  make PREFIX=/usr DESTDIR=${pkgdir} install
+
+  install -d -m755 ${pkgdir}/etc/wpa_supplicant
+  install -m644 wpa_supplicant.conf 
${pkgdir}/etc/wpa_supplicant/wpa_supplicant.conf
+
+  install -d -m755 ${pkgdir}/usr/share/man/man{5,8}
+  install -m644 doc/docbook/*.5 ${pkgdir}/usr/share/man/man5/
+  install -m644 doc/docbook/*.8 ${pkgdir}/usr/share/man/man8/
+  rm -f ${pkgdir}/usr/share/man/man8/wpa_{priv,gui}.8
+
+  install -d -m755 ${pkgdir}/usr/share/dbus-1/system-services
+  install -m644 
dbus/{fi.epitest.hostap.WPASupplicant.service,fi.w1.wpa_supplicant1.service} 
${pkgdir}/usr/share/dbus-1/system-services/
+
+  install -d -m755 ${pkgdir}/etc/dbus-1/system.d
+  install -m644 dbus/dbus-wpa_supplicant.conf 
${pkgdir}/etc/dbus-1/system.d/wpa_supplicant.conf
+
+  install -d -m755 ${pkgdir}/usr/lib/systemd/system
+  install -m644 systemd/*.service ${pkgdir}/usr/lib/systemd/system/
+
+  # usrmove
+  cd $pkgdir/usr
+  mv sbin bin
+}

Copied: wpa_supplicant/repos/testing-x86_64/config (from rev 206217, 
wpa_supplicant/trunk/config)
===
--- testing-x86_64/config   (rev 0)
+++ testing-x86_64/config   2014-02-21 20:02:02 UTC (rev 206218)
@@ -0,0 +1,505 @@
+# Example wpa_supplicant build time configuration
+#
+# This file lists the configuration options that are used when building the
+# hostapd binary. All lines starting with # are ignored. Configuration option
+# lines must be commented out complete, if they are not to be included, i.e.,
+# just setting VARIABLE=n is not disabling that variable.
+#
+# This file is included in Makefile, so variables like CFLAGS and LIBS can also
+# be modified from here. In most cases, these lines should use += in order not
+# to override previous values of the variables.
+
+
+# Uncomment following two lines and fix the paths if you have installed OpenSSL
+# or GnuTLS in non-default location
+#CFLAGS += -I/usr/local/openssl/include
+#LIBS += -L/usr/local/openssl/lib
+
+# Some Red Hat versions seem to include kerberos header files from OpenSSL, but
+# the kerberos files are not in the default include path. Following line can be
+# used to fix build issues on such systems (krb5.h not found).
+#CFLAGS += -I/usr/include/kerberos
+
+# Driver interface for generic Linux wireless extensions
+# Note: WEXT is deprecated in the current Linux kernel version and no new
+# functionality is added to it. nl80211-based interface is the new
+# replacement for WEXT and its use allows wpa_supplicant to properly control
+# the driver to improve existing functionality like roaming and to support new
+# functionality.
+CONFIG_DRIVER_WEXT=y
+
+# Driver interface for Linux drivers using the nl80211 kernel interface
+CONFIG_DRIVER_NL80211=y
+
+# driver_nl80211.c requires libnl. If you are compiling it yourself
+# you may need to point hostapd to your version of libnl.
+#
+#CFLAGS += -I$path to libnl include files
+#LIBS += -L$path to libnl library files
+
+# Use libnl v2.0 (or 3.0) libraries.
+#CONFIG_LIBNL20=y
+
+# Use libnl 3.2 libraries (if this is selected,