[arch-commits] Commit in hostapd/repos/community-x86_64 (6 files)
Date: Sunday, December 6, 2020 @ 17:26:56 Author: dvzrv Revision: 771055 archrelease: copy trunk to community-x86_64 Added: hostapd/repos/community-x86_64/PKGBUILD (from rev 771054, hostapd/trunk/PKGBUILD) hostapd/repos/community-x86_64/config (from rev 771054, hostapd/trunk/config) hostapd/repos/community-x86_64/hostapd.service (from rev 771054, hostapd/trunk/hostapd.service) Deleted: hostapd/repos/community-x86_64/PKGBUILD hostapd/repos/community-x86_64/config hostapd/repos/community-x86_64/hostapd.service -+ PKGBUILD| 154 +- config | 792 +++--- hostapd.service | 20 - 3 files changed, 492 insertions(+), 474 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-12-06 17:26:40 UTC (rev 771054) +++ PKGBUILD2020-12-06 17:26:56 UTC (rev 771055) @@ -1,68 +0,0 @@ -# Maintainer: Sergej Pupykin -# Contributor: David Runge - -pkgname=hostapd -pkgver=2.9 -pkgrel=3 -pkgdesc="IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator" -arch=('x86_64') -url="https://w1.fi/hostapd/; -license=('BSD') -depends=('glibc' 'libnl' 'openssl' 'sqlite') -backup=("etc/${pkgname}/${pkgname}."{accept,conf,deny,eap_user,radius_clients,vlan,wpa_psk}) -source=("https://w1.fi/releases/$pkgname-$pkgver.tar.gz"{,.asc} -config -hostapd.service) -sha256sums=('881d7d6a90b2428479288d64233151448f8990ab4958e0ecaca7eeb3c9db2bd7' -'SKIP' -'87445203a518864e704b85fa970d90940e9a5d9b401ceb802d11caab6c07a495' -'989bc6855f44c0b360e3d4cd4a146c35b7c12f8a0ced627b4b033f58edcade8e') -validpgpkeys=('EC4AA0A991A5F2464582D52D2B6EF432EFC895FA') # Jouni Malinen - -prepare() { - cd "$pkgname-$pkgver" - # fix include locations in main configuration file - sed -e 's|/etc/hostapd|/etc/hostapd/hostapd|g' \ - -e 's|/var/run|/run|g' \ - -e 's|radius_attr.sqlite|/var/lib/hostapd/radius_attr.sqlite|g' \ - -e 's|hostapd.cred|/var/lib/hostapd/hostapd.cred|g' \ - -e 's|hostapd.ap_settings|/var/lib/hostapd/hostapd.ap_settings|g' \ - -e 's|hostapd_wps_pin_requests|hostapd/wps_pin_requests|g' \ - -i "${pkgname}/${pkgname}.conf" - # extract license - cat "${pkgname}/README" |head -n47 |tail -n5 > LICENSE - # link build configuration into place: - # an up-to-date version of the build configuration can be found in - # hostapd/defconfig and should be diffed with the packaged one before every - # build - ln -sv "${srcdir}/config" "${pkgname}/.config" -} - -build() { - cd $pkgname-$pkgver/hostapd - make -} - -package() { - cd "$pkgname-$pkgver" - make -C "${pkgname}" install DESTDIR="${pkgdir}" BINDIR="/usr/bin" - # systemd service - install -vDm 644 "../${pkgname}.service" \ --t "$pkgdir/usr/lib/systemd/system/" - # license - install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" - # config - install -d "$pkgdir/etc/hostapd" - install -vDm 640 "${pkgname}/${pkgname}."{accept,conf,deny,eap_user,radius_clients,vlan,wpa_psk} \ --t "${pkgdir}/etc/${pkgname}" - # docs - install -vDm 644 "${pkgname}/"{hostapd.sim_db,wired.conf,hlr_auc_gw.{txt,milenage_db}} \ -"${pkgname}/"{README*,ChangeLog} \ --t "${pkgdir}/usr/share/doc/${pkgname}" - # man pages - install -vDm 644 "${pkgname}/${pkgname}.8" -t "$pkgdir/usr/share/man/man8/" - install -vDm 644 "${pkgname}/${pkgname}_cli.1" \ --t "$pkgdir/usr/share/man/man1/" - # state dir - install -vdm 750 "${pkgdir}/var/lib/${pkgname}" -} Copied: hostapd/repos/community-x86_64/PKGBUILD (from rev 771054, hostapd/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-12-06 17:26:56 UTC (rev 771055) @@ -0,0 +1,86 @@ +# Maintainer: Sergej Pupykin +# Contributor: David Runge + +pkgname=hostapd +pkgver=2.9 +pkgrel=4 +pkgdesc="IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator" +arch=('x86_64') +url="https://w1.fi/hostapd/; +license=('BSD') +depends=('glibc' 'libnl' 'openssl' 'sqlite') +backup=("etc/${pkgname}/${pkgname}."{accept,conf,deny,eap_user,radius_clients,vlan,wpa_psk}) +source=("https://w1.fi/releases/$pkgname-$pkgver.tar.gz"{,.asc} + "https://w1.fi/security/2020-1/0001-WPS-UPnP-Do-not-allow-event-subscriptions-with-URLs-.patch; + "https://w1.fi/security/2020-1/0002-WPS-UPnP-Fix-event-message-generation-using-a-long-U.patch; + "https://w1.fi/security/2020-1/0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch; +config +hostapd.service) +sha512sums=('66c729380152db18b64520bda55dfa00af3b0264f97b5de100b81a46e2593571626c4bdcf900f0988ea2131e30bc8788f75d8489dd1f57e37fd56e8098e48a9c' +'SKIP' + 'b76bbca282a74ef16c0303e5dbd2ccd33a62461595964d52c1481b0bfa4f41deacde56830b85409b288803b87ceb6f33cf0ccc69c5b17ec632c2d4784b872f3c' +
[arch-commits] Commit in hostapd/repos/community-x86_64 (6 files)
Date: Thursday, November 28, 2019 @ 08:36:59 Author: dvzrv Revision: 534267 archrelease: copy trunk to community-x86_64 Added: hostapd/repos/community-x86_64/PKGBUILD (from rev 534266, hostapd/trunk/PKGBUILD) hostapd/repos/community-x86_64/config (from rev 534266, hostapd/trunk/config) hostapd/repos/community-x86_64/hostapd.service (from rev 534266, hostapd/trunk/hostapd.service) Deleted: hostapd/repos/community-x86_64/PKGBUILD hostapd/repos/community-x86_64/config hostapd/repos/community-x86_64/hostapd.service -+ PKGBUILD| 136 - config | 792 +++--- hostapd.service | 21 - 3 files changed, 474 insertions(+), 475 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-11-28 08:36:52 UTC (rev 534266) +++ PKGBUILD2019-11-28 08:36:59 UTC (rev 534267) @@ -1,68 +0,0 @@ -# Maintainer: Sergej Pupykin -# Contributor: David Runge - -pkgname=hostapd -pkgver=2.9 -pkgrel=2 -pkgdesc="IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator" -arch=('x86_64') -url="https://w1.fi/hostapd/; -license=('BSD') -depends=('glibc' 'libnl' 'openssl' 'sqlite') -backup=("etc/${pkgname}/${pkgname}."{accept,conf,deny,eap_user,radius_clients,vlan,wpa_psk}) -source=("https://w1.fi/releases/$pkgname-$pkgver.tar.gz"{,.asc} -config -hostapd.service) -sha256sums=('881d7d6a90b2428479288d64233151448f8990ab4958e0ecaca7eeb3c9db2bd7' -'SKIP' -'87445203a518864e704b85fa970d90940e9a5d9b401ceb802d11caab6c07a495' -'d9a8b44915ed71211f27533b9b075e22423d2fab27013f5ca89f1eec150459b2') -validpgpkeys=('EC4AA0A991A5F2464582D52D2B6EF432EFC895FA') # Jouni Malinen - -prepare() { - cd "$pkgname-$pkgver" - # fix include locations in main configuration file - sed -e 's|/etc/hostapd|/etc/hostapd/hostapd|g' \ - -e 's|/var/run|/run|g' \ - -e 's|radius_attr.sqlite|/var/lib/hostapd/radius_attr.sqlite|g' \ - -e 's|hostapd.cred|/var/lib/hostapd/hostapd.cred|g' \ - -e 's|hostapd.ap_settings|/var/lib/hostapd/hostapd.ap_settings|g' \ - -e 's|hostapd_wps_pin_requests|hostapd/wps_pin_requests|g' \ - -i "${pkgname}/${pkgname}.conf" - # extract license - cat "${pkgname}/README" |head -n47 |tail -n5 > LICENSE - # link build configuration into place: - # an up-to-date version of the build configuration can be found in - # hostapd/defconfig and should be diffed with the packaged one before every - # build - ln -sv "${srcdir}/config" "${pkgname}/.config" -} - -build() { - cd $pkgname-$pkgver/hostapd - make -} - -package() { - cd "$pkgname-$pkgver" - make -C "${pkgname}" install DESTDIR="${pkgdir}" BINDIR="/usr/bin" - # systemd service - install -vDm 644 "../${pkgname}.service" \ --t "$pkgdir/usr/lib/systemd/system/" - # license - install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" - # config - install -d "$pkgdir/etc/hostapd" - install -vDm 640 "${pkgname}/${pkgname}."{accept,conf,deny,eap_user,radius_clients,vlan,wpa_psk} \ --t "${pkgdir}/etc/${pkgname}" - # docs - install -vDm 644 "${pkgname}/"{hostapd.sim_db,wired.conf,hlr_auc_gw.{txt,milenage_db}} \ -"${pkgname}/"{README*,ChangeLog} \ --t "${pkgdir}/usr/share/doc/${pkgname}" - # man pages - install -vDm 644 "${pkgname}/${pkgname}.8" -t "$pkgdir/usr/share/man/man8/" - install -vDm 644 "${pkgname}/${pkgname}_cli.1" \ --t "$pkgdir/usr/share/man/man1/" - # state dir - install -vdm 750 "${pkgdir}/var/lib/${pkgname}" -} Copied: hostapd/repos/community-x86_64/PKGBUILD (from rev 534266, hostapd/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-11-28 08:36:59 UTC (rev 534267) @@ -0,0 +1,68 @@ +# Maintainer: Sergej Pupykin +# Contributor: David Runge + +pkgname=hostapd +pkgver=2.9 +pkgrel=3 +pkgdesc="IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator" +arch=('x86_64') +url="https://w1.fi/hostapd/; +license=('BSD') +depends=('glibc' 'libnl' 'openssl' 'sqlite') +backup=("etc/${pkgname}/${pkgname}."{accept,conf,deny,eap_user,radius_clients,vlan,wpa_psk}) +source=("https://w1.fi/releases/$pkgname-$pkgver.tar.gz"{,.asc} +config +hostapd.service) +sha256sums=('881d7d6a90b2428479288d64233151448f8990ab4958e0ecaca7eeb3c9db2bd7' +'SKIP' +'87445203a518864e704b85fa970d90940e9a5d9b401ceb802d11caab6c07a495' +'989bc6855f44c0b360e3d4cd4a146c35b7c12f8a0ced627b4b033f58edcade8e') +validpgpkeys=('EC4AA0A991A5F2464582D52D2B6EF432EFC895FA') # Jouni Malinen + +prepare() { + cd "$pkgname-$pkgver" + # fix include locations in main configuration file + sed -e 's|/etc/hostapd|/etc/hostapd/hostapd|g' \ + -e 's|/var/run|/run|g' \ + -e 's|radius_attr.sqlite|/var/lib/hostapd/radius_attr.sqlite|g' \ + -e