1
0
forked from ports/opt

[notify] wpa_supplicant: update to 2.10

includes several security fixes, see
http://lists.infradead.org/pipermail/hostap/2022-January/040148.html
This commit is contained in:
Juergen Daubert 2022-01-17 14:46:43 +01:00
parent ab9a5e2d3d
commit 20f8d3929b
2 changed files with 31 additions and 31 deletions

View File

@ -1,7 +1,7 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/Z8F24R/uGzt+LbODHEqKa+KVfxqZHO3MUmvLqMtLaHfPIf9kBgf11ptZptyHR/sWsOK4dAXyvTeeDfwqHcU8QE=
SHA256 (Pkgfile) = 508a0c594521cbef1a989d3f230f5d409febc6a11ba0ceefa73a3a76aa58319a
RWSE3ohX2g5d/ZXlBIptFhcMHXs4zxk0qW3jF0dKyy80EORhxCWVOT70k9akpCIpAFBsK08cdJpGklGAMQ6ckhNNkyM6a5qt4A4=
SHA256 (Pkgfile) = 275efe1d4bf2ff076e65440c5fba2e8c04d68da85429664eae881fe4187b6631
SHA256 (.footprint) = c601da7d8f0118f98fe747611466a530d48519832c8aba47db01df055d64f869
SHA256 (wpa_supplicant-2.9.tar.gz) = fcbdee7b4a64bea8177973299c8c824419c413ec2e3a95db63dd6a5dc3541f17
SHA256 (wpa_supplicant-2.10.tar.gz) = 20df7ae5154b3830355f8ab4269123a87affdea59fe74fe9292a91d0d7e17b2f
SHA256 (wpa_supplicant) = 6d7c37c49d4f06194195ca1e7c66a4bb067d82e3884b278e6cdd72c6f7476bae
SHA256 (wlan) = c025ad557806d86ef231770c8a77a02a0194d92d89b5fb16bec036eddbc5d308

View File

@ -1,40 +1,40 @@
# Description: User space IEEE 802.1X/WPA supplicant (wireless client)
# URL: https://hostap.epitest.fi/wpa_supplicant/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: openssl readline libnl dbus
# URL: https://hostap.epitest.fi/wpa_supplicant/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: openssl readline libnl dbus
name=wpa_supplicant
version=2.9
release=2
version=2.10
release=1
source=(https://w1.fi/releases/$name-$version.tar.gz
wpa_supplicant wlan)
wpa_supplicant wlan)
build () {
cd $name-$version/$name
build() {
cd $name-$version/$name
cp defconfig .config
echo "CONFIG_READLINE=y
CONFIG_LIBNL32=y
CONFIG_CTRL_IFACE_DBUS_NEW=y
CFLAGS+=-I/usr/include/libnl3" >> .config
cp defconfig .config
echo "CONFIG_READLINE=y
CONFIG_LIBNL32=y
CONFIG_CTRL_IFACE_DBUS_NEW=y
CFLAGS+=-I/usr/include/libnl3" >> .config
make BINDIR=/usr/sbin LIBDIR=/usr/lib
make BINDIR=/usr/sbin LIBDIR=/usr/lib
install -d $PKG/{usr/sbin,usr/share/man/man{8,5},etc}
install -m 0755 wpa_{cli,passphrase,supplicant} $PKG/usr/sbin
install -m 0644 doc/docbook/wpa_{background,cli,passphrase,supplicant}.8 $PKG/usr/share/man/man8
install -m 0644 doc/docbook/wpa_supplicant.conf.5 $PKG/usr/share/man/man5
install -d $PKG/{usr/sbin,usr/share/man/man{8,5},etc}
install -m 0755 wpa_{cli,passphrase,supplicant} $PKG/usr/sbin
install -m 0644 doc/docbook/wpa_{background,cli,passphrase,supplicant}.8 $PKG/usr/share/man/man8
install -m 0644 doc/docbook/wpa_supplicant.conf.5 $PKG/usr/share/man/man5
# config
echo -e "ctrl_interface=/var/run/wpa_supplicant\n" > $PKG/etc/wpa_supplicant.conf
chmod 0600 $PKG/etc/wpa_supplicant.conf
# config
echo -e "ctrl_interface=/var/run/wpa_supplicant\n" > $PKG/etc/wpa_supplicant.conf
chmod 0600 $PKG/etc/wpa_supplicant.conf
# rc script
install -D -m 0755 $SRC/wlan $PKG/etc/rc.d/wlan
install -m 0755 $SRC/wpa_supplicant $PKG/etc/rc.d
# rc script
install -D -m 0755 $SRC/wlan $PKG/etc/rc.d/wlan
install -m 0755 $SRC/wpa_supplicant $PKG/etc/rc.d
# dbus
install -d $PKG/{usr/share/dbus-1/system-services,etc/dbus-1/system.d}
install -m 0644 dbus/fi.w1.wpa_supplicant1.service $PKG/usr/share/dbus-1/system-services/
install -m 0644 dbus/dbus-wpa_supplicant.conf $PKG/etc/dbus-1/system.d/wpa_supplicant.conf
# dbus
install -d $PKG/{usr/share/dbus-1/system-services,etc/dbus-1/system.d}
install -m 0644 dbus/fi.w1.wpa_supplicant1.service $PKG/usr/share/dbus-1/system-services/
install -m 0644 dbus/dbus-wpa_supplicant.conf $PKG/etc/dbus-1/system.d/wpa_supplicant.conf
}