wok-next diff wpa_supplicant/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
line diff
     1.1 --- a/wpa_supplicant/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/wpa_supplicant/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="wpa_supplicant"
     1.7 -VERSION="2.6"
     1.8 +VERSION="2.7"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="WPA Supplicant with support for WPA and WPA2"
    1.11 +SHORT_DESC="WPA/WPA2/IEEE 802.1X Supplicant"
    1.12  MAINTAINER="devel@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://w1.fi/wpa_supplicant/"
    1.15 @@ -12,37 +12,22 @@
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18  WGET_URL="http://w1.fi/releases/$TARBALL"
    1.19 +TARBALL_SHA1="3c3c2c6bc493fb32b919d9b410768324f3729e25"
    1.20  
    1.21  BUILD_DEPENDS="libnl-dev dbus-dev openssl-dev readline-dev"
    1.22 +DEPENDS="dbus libnl openssl readline   ncurses"
    1.23 +
    1.24 +CONFIG_FILES="/etc/wpa/wpa_supplicant.conf"
    1.25 +TAGS="wireless Wi-Fi network"
    1.26  
    1.27  compile_rules() {
    1.28  	cd $src/wpa_supplicant
    1.29 -	cp -a defconfig .config
    1.30  
    1.31 -	# Main build configs
    1.32 -	cat >> .config <<EOT
    1.33 -CONFIG_DEBUG_FILE=y
    1.34 -CONFIG_DEBUG_SYSLOG=y
    1.35 -CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
    1.36 -CONFIG_IPV6=y
    1.37 -CONFIG_LIBNL32=y
    1.38 -CONFIG_READLINE=y
    1.39 -CONFIG_WPS=y
    1.40 -CONFIG_AP=y
    1.41 -CONFIG_BGSCAN_SIMPLE=y
    1.42 -CFLAGS += -I/usr/include/libnl3
    1.43 -CONFIG_CTRL_IFACE_DBUS=y
    1.44 -CONFIG_CTRL_IFACE_DBUS_NEW=y
    1.45 -CONFIG_CTRL_IFACE_DBUS_INTRO=y
    1.46 -EOT
    1.47 +	cp $stuff/.config .
    1.48  	make BINDIR=/sbin LIBDIR=/lib || return 1
    1.49  
    1.50 -	# commands
    1.51 -	bindir="$install/sbin"
    1.52 -	mkdir -p $bindir
    1.53 -	install -vm755 wpa_cli        $bindir
    1.54 -	install -vm755 wpa_passphrase $bindir
    1.55 -	install -vm755 wpa_supplicant $bindir
    1.56 +	mkdir -p $install/sbin/
    1.57 +	install -m755 wpa_cli wpa_passphrase wpa_supplicant $install/sbin/
    1.58  
    1.59  	cook_pick_manpages \
    1.60  		doc/docbook/wpa_supplicant.conf.5 \
    1.61 @@ -50,24 +35,15 @@
    1.62  		doc/docbook/wpa_passphrase.8 \
    1.63  		doc/docbook/wpa_supplicant.8
    1.64  
    1.65 -	mkdir -p $install/usr/share/dbus-1/system-services
    1.66 -	install -vm644 dbus/*.service $install/usr/share/dbus-1/system-services/
    1.67 +	mkdir -p $install/usr/share/dbus-1/system-services/
    1.68 +	install -m644 dbus/*.service $install/usr/share/dbus-1/system-services/
    1.69  
    1.70 -	mkdir -p $install/etc/dbus-1/system.d
    1.71 -	install -vm644 dbus/dbus-wpa_supplicant.conf \
    1.72 +	install -Dm644 dbus/dbus-wpa_supplicant.conf \
    1.73  		$install/etc/dbus-1/system.d/wpa_supplicant.conf
    1.74  
    1.75 -	# Startup script and cleaned up wpa_empty.conf
    1.76 -	cp -a $stuff/etc $install
    1.77 -	install -vm644 $src/wpa_supplicant/wpa_supplicant.conf $install/etc/wpa
    1.78 -	chown -R root:root $install/etc
    1.79 -}
    1.80 -
    1.81 -genpkg_rules() {
    1.82 -	copy @std
    1.83 -	DEPENDS="dbus openssl libnl ncurses readline"
    1.84 -	CONFIG_FILES="/etc/wpa/wpa_supplicant.conf"
    1.85 -	TAGS="wireless wifi network"
    1.86 +	install -Dm755 $stuff/wpa_supplicant $install/etc/init.d/wpa_supplicant
    1.87 +	install -Dm644 $stuff/wpa_empty.conf $install/etc/wpa/wpa_empty.conf
    1.88 +	install -m644  wpa_supplicant.conf   $install/etc/wpa/wpa_supplicant.conf
    1.89  }
    1.90  
    1.91  post_install() {