[arch-commits] Commit in hostapd/repos (14 files)
Date: Friday, February 17, 2017 @ 18:02:29 Author: spupykin Revision: 212956 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: hostapd/repos/community-staging-i686/ hostapd/repos/community-staging-i686/PKGBUILD (from rev 212955, hostapd/trunk/PKGBUILD) hostapd/repos/community-staging-i686/config (from rev 212955, hostapd/trunk/config) hostapd/repos/community-staging-i686/hostapd-2.3-noscan.patch (from rev 212955, hostapd/trunk/hostapd-2.3-noscan.patch) hostapd/repos/community-staging-i686/hostapd.install (from rev 212955, hostapd/trunk/hostapd.install) hostapd/repos/community-staging-i686/hostapd.service (from rev 212955, hostapd/trunk/hostapd.service) hostapd/repos/community-staging-i686/openvswitch.patch (from rev 212955, hostapd/trunk/openvswitch.patch) hostapd/repos/community-staging-x86_64/ hostapd/repos/community-staging-x86_64/PKGBUILD (from rev 212955, hostapd/trunk/PKGBUILD) hostapd/repos/community-staging-x86_64/config (from rev 212955, hostapd/trunk/config) hostapd/repos/community-staging-x86_64/hostapd-2.3-noscan.patch (from rev 212955, hostapd/trunk/hostapd-2.3-noscan.patch) hostapd/repos/community-staging-x86_64/hostapd.install (from rev 212955, hostapd/trunk/hostapd.install) hostapd/repos/community-staging-x86_64/hostapd.service (from rev 212955, hostapd/trunk/hostapd.service) hostapd/repos/community-staging-x86_64/openvswitch.patch (from rev 212955, hostapd/trunk/openvswitch.patch) ---+ community-staging-i686/PKGBUILD | 66 community-staging-i686/config | 98 community-staging-i686/hostapd-2.3-noscan.patch | 76 + community-staging-i686/hostapd.install|3 community-staging-i686/hostapd.service| 10 + community-staging-i686/openvswitch.patch | 153 community-staging-x86_64/PKGBUILD | 66 community-staging-x86_64/config | 98 community-staging-x86_64/hostapd-2.3-noscan.patch | 76 + community-staging-x86_64/hostapd.install |3 community-staging-x86_64/hostapd.service | 10 + community-staging-x86_64/openvswitch.patch| 153 12 files changed, 812 insertions(+) Copied: hostapd/repos/community-staging-i686/PKGBUILD (from rev 212955, hostapd/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-02-17 18:02:29 UTC (rev 212956) @@ -0,0 +1,66 @@ +# $Id$ +# Maintainer: Sergej Pupykin + +pkgname=hostapd +pkgver=2.6 +pkgrel=4 +pkgdesc="IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator" +arch=('i686' 'x86_64') +url="http://w1.fi/hostapd/"; +license=('custom') +depends=('openssl' 'libnl') +install=hostapd.install +options=(emptydirs) +validpgpkeys=('EC4AA0A991A5F2464582D52D2B6EF432EFC895FA') +source=(https://w1.fi/releases/$pkgname-$pkgver.tar.gz{,.asc} + config + hostapd.service + hostapd-2.3-noscan.patch + openvswitch.patch) +sha256sums=('01526b90c1d23bec4b0f052039cc4456c2fd19347b4d830d1d58a0a6aea7117d' +'SKIP' +'6ecafb0be226b29ba7fe7a080ef3dbc2fe4cb5afa34d2ede2b39d9c32081ba53' +'989bc6855f44c0b360e3d4cd4a146c35b7c12f8a0ced627b4b033f58edcade8e' +'c15b4310f21b41254e4d4485bc04e36926572f213e7c4d3a17038fdff19529b5' +'eeb07b5a3b971b3108ce8c5c947f4600d98ec9b338b8b88a96a7774cef269e49') + +prepare() { + cd $pkgname-$pkgver + patch -p1 <"$srcdir"/hostapd-2.3-noscan.patch + patch -p1 <"$srcdir"/openvswitch.patch +} + +build() { + cd $pkgname-$pkgver/hostapd + cp ../../config .config + sed -i 's#/etc/hostapd#/etc/hostapd/hostapd#' hostapd.conf + export CFLAGS="$CFLAGS $(pkg-config --cflags libnl-3.0)" + make +} + +package() { + # Systemd unit + install -Dm644 hostapd.service "$pkgdir/usr/lib/systemd/system/hostapd.service" + + cd $pkgname-$pkgver + + # License + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + + cd hostapd + + # Binaries + install -d "$pkgdir/usr/bin" + install -t "$pkgdir/usr/bin" hostapd hostapd_cli + + # Configuration + install -d "$pkgdir/etc/hostapd" + install -d "$pkgdir/usr/share/doc/hostapd" + install -m644 -t "$pkgdir/usr/share/doc/hostapd" \ +hostapd.{accept,conf,deny,eap_user,radius_clients,sim_db,vlan,wpa_psk} \ +wired.conf hlr_auc_gw.milenage_db + + # Man pages + install -Dm644 hostapd.8 "$pkgdir/usr/share/man/man8/hostapd.8" + install -Dm644 hostapd_cli.1 "$pkgdir/usr/share/man/man1/hostapd_cli.1" +} Copied: hostapd/repos/community-staging-i686/config (from rev 212955, hostapd/trunk/config) === --- com
[arch-commits] Commit in hostapd/repos (14 files)
Date: Wednesday, March 2, 2016 @ 19:30:55 Author: fyan Revision: 164210 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: hostapd/repos/community-staging-i686/ hostapd/repos/community-staging-i686/PKGBUILD (from rev 164205, hostapd/trunk/PKGBUILD) hostapd/repos/community-staging-i686/config (from rev 164205, hostapd/trunk/config) hostapd/repos/community-staging-i686/hostapd-2.3-noscan.patch (from rev 164207, hostapd/trunk/hostapd-2.3-noscan.patch) hostapd/repos/community-staging-i686/hostapd.install (from rev 164207, hostapd/trunk/hostapd.install) hostapd/repos/community-staging-i686/hostapd.service (from rev 164207, hostapd/trunk/hostapd.service) hostapd/repos/community-staging-i686/openvswitch.patch (from rev 164207, hostapd/trunk/openvswitch.patch) hostapd/repos/community-staging-x86_64/ hostapd/repos/community-staging-x86_64/PKGBUILD (from rev 164209, hostapd/trunk/PKGBUILD) hostapd/repos/community-staging-x86_64/config (from rev 164209, hostapd/trunk/config) hostapd/repos/community-staging-x86_64/hostapd-2.3-noscan.patch (from rev 164209, hostapd/trunk/hostapd-2.3-noscan.patch) hostapd/repos/community-staging-x86_64/hostapd.install (from rev 164209, hostapd/trunk/hostapd.install) hostapd/repos/community-staging-x86_64/hostapd.service (from rev 164209, hostapd/trunk/hostapd.service) hostapd/repos/community-staging-x86_64/openvswitch.patch (from rev 164209, hostapd/trunk/openvswitch.patch) ---+ community-staging-i686/PKGBUILD | 64 community-staging-i686/config | 98 community-staging-i686/hostapd-2.3-noscan.patch | 54 +++ community-staging-i686/hostapd.install|3 community-staging-i686/hostapd.service| 10 + community-staging-i686/openvswitch.patch | 153 community-staging-x86_64/PKGBUILD | 64 community-staging-x86_64/config | 98 community-staging-x86_64/hostapd-2.3-noscan.patch | 54 +++ community-staging-x86_64/hostapd.install |3 community-staging-x86_64/hostapd.service | 10 + community-staging-x86_64/openvswitch.patch| 153 12 files changed, 764 insertions(+) Copied: hostapd/repos/community-staging-i686/PKGBUILD (from rev 164205, hostapd/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-03-02 18:30:55 UTC (rev 164210) @@ -0,0 +1,64 @@ +# $Id$ +# Maintainer: Sergej Pupykin + +pkgname=hostapd +pkgver=2.5 +pkgrel=2 +pkgdesc="IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator" +arch=('i686' 'x86_64') +url="http://w1.fi/hostapd/"; +license=('custom') +depends=('openssl' 'libnl') +install=hostapd.install +options=(emptydirs) +source=(http://w1.fi/releases/$pkgname-$pkgver.tar.gz + config + hostapd.service + hostapd-2.3-noscan.patch + openvswitch.patch) +md5sums=('69f9cec3f76d74f402864a43e4f8624f' + '43c0ec1d8b4d4e46f468bc161bb05c4b' + '380042b9cf4950e34ed34b3093ab9e7f' + 'eaf8e48a9a63b5902fddadff2b8933fa' + 'a0802a604ed957078da0e14863df74f0') + +prepare() { + cd $pkgname-$pkgver + patch -p1 <$srcdir/hostapd-2.3-noscan.patch + patch -p1 <$srcdir/openvswitch.patch +} + +build() { + cd $pkgname-$pkgver/hostapd + cp ../../config .config + sed -i 's#/etc/hostapd#/etc/hostapd/hostapd#' hostapd.conf + export CFLAGS="$CFLAGS $(pkg-config --cflags libnl-3.0)" + make +} + +package() { + # Systemd unit + install -Dm644 hostapd.service "$pkgdir/usr/lib/systemd/system/hostapd.service" + + cd $pkgname-$pkgver + + # License + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + + cd hostapd + + # Binaries + install -d "$pkgdir/usr/bin" + install -t "$pkgdir/usr/bin" hostapd hostapd_cli + + # Configuration + install -d "$pkgdir/etc/hostapd" + install -d "$pkgdir/usr/share/doc/hostapd" + install -m644 -t "$pkgdir/usr/share/doc/hostapd" \ +hostapd.{accept,conf,deny,eap_user,radius_clients,sim_db,vlan,wpa_psk} \ +wired.conf hlr_auc_gw.milenage_db + + # Man pages + install -Dm644 hostapd.8 "$pkgdir/usr/share/man/man8/hostapd.8" + install -Dm644 hostapd_cli.1 "$pkgdir/usr/share/man/man1/hostapd_cli.1" +} Copied: hostapd/repos/community-staging-i686/config (from rev 164205, hostapd/trunk/config) === --- community-staging-i686/config (rev 0) +++ community-staging-i686/config 2016-03-02 18:30:55 UTC (rev 164210) @@ -0,0 +1,98 @@ +# Example hostapd build time configuration +# +# This file lists the configuration options that are used when build
[arch-commits] Commit in hostapd/repos (14 files)
Date: Wednesday, March 25, 2015 @ 13:40:35 Author: spupykin Revision: 129897 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: hostapd/repos/community-testing-i686/ hostapd/repos/community-testing-i686/PKGBUILD (from rev 129896, hostapd/trunk/PKGBUILD) hostapd/repos/community-testing-i686/config (from rev 129896, hostapd/trunk/config) hostapd/repos/community-testing-i686/hostapd-2.3-noscan.patch (from rev 129896, hostapd/trunk/hostapd-2.3-noscan.patch) hostapd/repos/community-testing-i686/hostapd.install (from rev 129896, hostapd/trunk/hostapd.install) hostapd/repos/community-testing-i686/hostapd.service (from rev 129896, hostapd/trunk/hostapd.service) hostapd/repos/community-testing-i686/openvswitch.patch (from rev 129896, hostapd/trunk/openvswitch.patch) hostapd/repos/community-testing-x86_64/ hostapd/repos/community-testing-x86_64/PKGBUILD (from rev 129896, hostapd/trunk/PKGBUILD) hostapd/repos/community-testing-x86_64/config (from rev 129896, hostapd/trunk/config) hostapd/repos/community-testing-x86_64/hostapd-2.3-noscan.patch (from rev 129896, hostapd/trunk/hostapd-2.3-noscan.patch) hostapd/repos/community-testing-x86_64/hostapd.install (from rev 129896, hostapd/trunk/hostapd.install) hostapd/repos/community-testing-x86_64/hostapd.service (from rev 129896, hostapd/trunk/hostapd.service) hostapd/repos/community-testing-x86_64/openvswitch.patch (from rev 129896, hostapd/trunk/openvswitch.patch) ---+ community-testing-i686/PKGBUILD | 64 community-testing-i686/config | 98 community-testing-i686/hostapd-2.3-noscan.patch | 54 +++ community-testing-i686/hostapd.install|3 community-testing-i686/hostapd.service| 10 + community-testing-i686/openvswitch.patch | 153 community-testing-x86_64/PKGBUILD | 64 community-testing-x86_64/config | 98 community-testing-x86_64/hostapd-2.3-noscan.patch | 54 +++ community-testing-x86_64/hostapd.install |3 community-testing-x86_64/hostapd.service | 10 + community-testing-x86_64/openvswitch.patch| 153 12 files changed, 764 insertions(+) Copied: hostapd/repos/community-testing-i686/PKGBUILD (from rev 129896, hostapd/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-03-25 12:40:35 UTC (rev 129897) @@ -0,0 +1,64 @@ +# $Id$ +# Maintainer: Sergej Pupykin + +pkgname=hostapd +pkgver=2.4 +pkgrel=2 +pkgdesc="IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator" +arch=('i686' 'x86_64') +url="http://w1.fi/hostapd/"; +license=('custom') +depends=('openssl' 'libnl') +install=hostapd.install +options=(emptydirs) +source=(http://w1.fi/releases/$pkgname-$pkgver.tar.gz + config + hostapd.service + hostapd-2.3-noscan.patch + openvswitch.patch) +md5sums=('04578f3f2c3eb1bec1adf30473813912' + '43c0ec1d8b4d4e46f468bc161bb05c4b' + '380042b9cf4950e34ed34b3093ab9e7f' + 'eaf8e48a9a63b5902fddadff2b8933fa' + 'a0802a604ed957078da0e14863df74f0') + +prepare() { + cd $pkgname-$pkgver + patch -p1 <$srcdir/hostapd-2.3-noscan.patch + patch -p1 <$srcdir/openvswitch.patch +} + +build() { + cd $pkgname-$pkgver/hostapd + cp ../../config .config + sed -i 's#/etc/hostapd#/etc/hostapd/hostapd#' hostapd.conf + export CFLAGS="$CFLAGS $(pkg-config --cflags libnl-3.0)" + make +} + +package() { + # Systemd unit + install -Dm644 hostapd.service "$pkgdir/usr/lib/systemd/system/hostapd.service" + + cd $pkgname-$pkgver + + # License + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + + cd hostapd + + # Binaries + install -d "$pkgdir/usr/bin" + install -t "$pkgdir/usr/bin" hostapd hostapd_cli + + # Configuration + install -d "$pkgdir/etc/hostapd" + install -d "$pkgdir/usr/share/doc/hostapd" + install -m644 -t "$pkgdir/usr/share/doc/hostapd" \ +hostapd.{accept,conf,deny,eap_user,radius_clients,sim_db,vlan,wpa_psk} \ +wired.conf hlr_auc_gw.milenage_db + + # Man pages + install -Dm644 hostapd.8 "$pkgdir/usr/share/man/man8/hostapd.8" + install -Dm644 hostapd_cli.1 "$pkgdir/usr/share/man/man1/hostapd_cli.1" +} Copied: hostapd/repos/community-testing-i686/config (from rev 129896, hostapd/trunk/config) === --- community-testing-i686/config (rev 0) +++ community-testing-i686/config 2015-03-25 12:40:35 UTC (rev 129897) @@ -0,0 +1,98 @@ +# Example hostapd build time configuration +# +# This file lists the configuration options that are used when
[arch-commits] Commit in hostapd/repos (14 files)
Date: Thursday, March 7, 2013 @ 13:22:41 Author: foutrelis Revision: 85796 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: hostapd/repos/community-staging-i686/ hostapd/repos/community-staging-i686/PKGBUILD (from rev 85795, hostapd/trunk/PKGBUILD) hostapd/repos/community-staging-i686/config (from rev 85795, hostapd/trunk/config) hostapd/repos/community-staging-i686/hostapd (from rev 85795, hostapd/trunk/hostapd) hostapd/repos/community-staging-i686/hostapd.conf.d (from rev 85795, hostapd/trunk/hostapd.conf.d) hostapd/repos/community-staging-i686/hostapd.install (from rev 85795, hostapd/trunk/hostapd.install) hostapd/repos/community-staging-i686/hostapd.service (from rev 85795, hostapd/trunk/hostapd.service) hostapd/repos/community-staging-x86_64/ hostapd/repos/community-staging-x86_64/PKGBUILD (from rev 85795, hostapd/trunk/PKGBUILD) hostapd/repos/community-staging-x86_64/config (from rev 85795, hostapd/trunk/config) hostapd/repos/community-staging-x86_64/hostapd (from rev 85795, hostapd/trunk/hostapd) hostapd/repos/community-staging-x86_64/hostapd.conf.d (from rev 85795, hostapd/trunk/hostapd.conf.d) hostapd/repos/community-staging-x86_64/hostapd.install (from rev 85795, hostapd/trunk/hostapd.install) hostapd/repos/community-staging-x86_64/hostapd.service (from rev 85795, hostapd/trunk/hostapd.service) --+ community-staging-i686/PKGBUILD | 71 ++ community-staging-i686/config| 92 + community-staging-i686/hostapd | 35 +++ community-staging-i686/hostapd.conf.d|2 community-staging-i686/hostapd.install |7 ++ community-staging-i686/hostapd.service | 11 +++ community-staging-x86_64/PKGBUILD| 71 ++ community-staging-x86_64/config | 92 + community-staging-x86_64/hostapd | 35 +++ community-staging-x86_64/hostapd.conf.d |2 community-staging-x86_64/hostapd.install |7 ++ community-staging-x86_64/hostapd.service | 11 +++ 12 files changed, 436 insertions(+) Copied: hostapd/repos/community-staging-i686/PKGBUILD (from rev 85795, hostapd/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-03-07 12:22:41 UTC (rev 85796) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Sergej Pupykin + +pkgname=hostapd +pkgver=2.0 +pkgrel=3 +pkgdesc="IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator" +arch=('i686' 'x86_64') +url="http://w1.fi/hostapd/"; +license=('custom') +depends=('openssl' 'libnl') +backup=('etc/hostapd/hostapd.conf' +'etc/conf.d/hostapd' +'etc/hostapd/hlr_auc_gw.milenage_db' +'etc/hostapd/hostapd.accept' +'etc/hostapd/hostapd.deny' +'etc/hostapd/hostapd.eap_user' +'etc/hostapd/hostapd.radius_clients' +'etc/hostapd/hostapd.sim_db' +'etc/hostapd/hostapd.vlan' +'etc/hostapd/hostapd.wpa_psk' +'etc/hostapd/wired.conf') +install=hostapd.install +source=(http://w1.fi/releases/$pkgname-$pkgver.tar.gz + config + hostapd + hostapd.conf.d + hostapd.service) +md5sums=('ba22e639bc57aa4035d2ea8ffa9bbbee' + '5d7ee10b04e33f22c37be56a4c33dddb' + 'd570327c385f34a4af24d3a0d61cea19' + 'f169534b0f59b341f6df1a21e0344511' + 'a0a16879eed5e4e41ae6b225a4809955') + +build() { + cd $pkgname-$pkgver/hostapd + cp ../../config .config + sed -i 's#/etc/hostapd#/etc/hostapd/hostapd#' hostapd.conf + export CFLAGS="$CFLAGS $(pkg-config --cflags libnl-3.0)" + make +} + +package() { + # RC script + install -D hostapd "$pkgdir/etc/rc.d/hostapd" + install -Dm644 hostapd.conf.d "$pkgdir/etc/conf.d/hostapd" + + # Systemd unit + install -Dm644 hostapd.service "$pkgdir/usr/lib/systemd/system/hostapd.service" + + cd $pkgname-$pkgver + + # License + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + + cd hostapd + + # Binaries + install -d "$pkgdir/usr/bin" + install -t "$pkgdir/usr/bin" hostapd hostapd_cli + + # Configuration + install -d "$pkgdir/etc/hostapd" + install -m644 -t "$pkgdir/etc/hostapd" \ +hostapd.{accept,conf,deny,eap_user,radius_clients,sim_db,vlan,wpa_psk} \ +wired.conf hlr_auc_gw.milenage_db + + # Man pages + install -Dm644 hostapd.8 "$pkgdir/usr/share/man/man8/hostapd.8" + install -Dm644 hostapd_cli.1 "$pkgdir/usr/share/man/man1/hostapd_cli.1" +} Copied: hostapd/repos/community-staging-i686/config (from rev 85795, hostapd/trunk/config) === --- community-staging-i686/config (rev 0) +++ community-staging-i686/config 2013-03-07 12:22:4
[arch-commits] Commit in hostapd/repos (14 files)
Date: Saturday, February 9, 2013 @ 21:03:58 Author: thomas Revision: 84065 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: hostapd/repos/community-testing-i686/ hostapd/repos/community-testing-i686/PKGBUILD (from rev 84064, hostapd/trunk/PKGBUILD) hostapd/repos/community-testing-i686/config (from rev 84064, hostapd/trunk/config) hostapd/repos/community-testing-i686/hostapd (from rev 84064, hostapd/trunk/hostapd) hostapd/repos/community-testing-i686/hostapd.conf.d (from rev 84064, hostapd/trunk/hostapd.conf.d) hostapd/repos/community-testing-i686/hostapd.install (from rev 84064, hostapd/trunk/hostapd.install) hostapd/repos/community-testing-i686/hostapd.service (from rev 84064, hostapd/trunk/hostapd.service) hostapd/repos/community-testing-x86_64/ hostapd/repos/community-testing-x86_64/PKGBUILD (from rev 84064, hostapd/trunk/PKGBUILD) hostapd/repos/community-testing-x86_64/config (from rev 84064, hostapd/trunk/config) hostapd/repos/community-testing-x86_64/hostapd (from rev 84064, hostapd/trunk/hostapd) hostapd/repos/community-testing-x86_64/hostapd.conf.d (from rev 84064, hostapd/trunk/hostapd.conf.d) hostapd/repos/community-testing-x86_64/hostapd.install (from rev 84064, hostapd/trunk/hostapd.install) hostapd/repos/community-testing-x86_64/hostapd.service (from rev 84064, hostapd/trunk/hostapd.service) --+ community-testing-i686/PKGBUILD | 71 ++ community-testing-i686/config| 92 + community-testing-i686/hostapd | 35 +++ community-testing-i686/hostapd.conf.d|2 community-testing-i686/hostapd.install |7 ++ community-testing-i686/hostapd.service | 11 +++ community-testing-x86_64/PKGBUILD| 71 ++ community-testing-x86_64/config | 92 + community-testing-x86_64/hostapd | 35 +++ community-testing-x86_64/hostapd.conf.d |2 community-testing-x86_64/hostapd.install |7 ++ community-testing-x86_64/hostapd.service | 11 +++ 12 files changed, 436 insertions(+) Copied: hostapd/repos/community-testing-i686/PKGBUILD (from rev 84064, hostapd/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2013-02-09 20:03:58 UTC (rev 84065) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Sergej Pupykin + +pkgname=hostapd +pkgver=2.0 +pkgrel=2 +pkgdesc="IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator" +arch=('i686' 'x86_64') +url="http://w1.fi/hostapd/"; +license=('custom') +depends=('openssl' 'libnl') +backup=('etc/hostapd/hostapd.conf' +'etc/conf.d/hostapd' +'etc/hostapd/hlr_auc_gw.milenage_db' +'etc/hostapd/hostapd.accept' +'etc/hostapd/hostapd.deny' +'etc/hostapd/hostapd.eap_user' +'etc/hostapd/hostapd.radius_clients' +'etc/hostapd/hostapd.sim_db' +'etc/hostapd/hostapd.vlan' +'etc/hostapd/hostapd.wpa_psk' +'etc/hostapd/wired.conf') +install=hostapd.install +source=(http://w1.fi/releases/$pkgname-$pkgver.tar.gz + config + hostapd + hostapd.conf.d + hostapd.service) +md5sums=('ba22e639bc57aa4035d2ea8ffa9bbbee' + '5d7ee10b04e33f22c37be56a4c33dddb' + 'd570327c385f34a4af24d3a0d61cea19' + 'f169534b0f59b341f6df1a21e0344511' + 'a0a16879eed5e4e41ae6b225a4809955') + +build() { + cd $pkgname-$pkgver/hostapd + cp ../../config .config + sed -i 's#/etc/hostapd#/etc/hostapd/hostapd#' hostapd.conf + export CFLAGS="$CFLAGS $(pkg-config --cflags libnl-3.0)" + make +} + +package() { + # RC script + install -D hostapd "$pkgdir/etc/rc.d/hostapd" + install -Dm644 hostapd.conf.d "$pkgdir/etc/conf.d/hostapd" + + # Systemd unit + install -Dm644 hostapd.service "$pkgdir/usr/lib/systemd/system/hostapd.service" + + cd $pkgname-$pkgver + + # License + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + + cd hostapd + + # Binaries + install -d "$pkgdir/usr/bin" + install -t "$pkgdir/usr/bin" hostapd hostapd_cli + + # Configuration + install -d "$pkgdir/etc/hostapd" + install -m644 -t "$pkgdir/etc/hostapd" \ +hostapd.{accept,conf,deny,eap_user,radius_clients,sim_db,vlan,wpa_psk} \ +wired.conf hlr_auc_gw.milenage_db + + # Man pages + install -Dm644 hostapd.8 "$pkgdir/usr/share/man/man8/hostapd.8" + install -Dm644 hostapd_cli.1 "$pkgdir/usr/share/man/man1/hostapd_cli.1" +} Copied: hostapd/repos/community-testing-i686/config (from rev 84064, hostapd/trunk/config) === --- community-testing-i686/config (rev 0) +++ community-testing-i686/config 2013-02-09 20:03:5