wok diff hostapd/receipt @ rev 25062
Up foomatic-db-nonfree (20210824)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 07 10:29:31 2022 +0000 (2022-06-07) |
parents | af8d823a3077 |
children |
line diff
1.1 --- a/hostapd/receipt Mon Feb 14 14:14:23 2022 +0000 1.2 +++ b/hostapd/receipt Tue Jun 07 10:29:31 2022 +0000 1.3 @@ -1,19 +1,20 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="hostapd" 1.7 -VERSION="2.9" 1.8 +VERSION="2.10" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Daemon for wireless software access points." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="https://w1.fi/hostapd" 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 -WEB_SITE="https://w1.fi/hostapd" 1.16 WGET_URL="${WEB_SITE%/*}/releases/$TARBALL" 1.17 -HOST_ARCH="i486 arm" 1.18 1.19 DEPENDS="openssl libnl" 1.20 BUILD_DEPENDS="openssl-dev libnl-dev" 1.21 1.22 +HOST_ARCH="i486 arm" 1.23 + 1.24 # What is the latest version available today? 1.25 current_version() 1.26 { 1.27 @@ -27,26 +28,35 @@ 1.28 cd $src/hostapd && 1.29 cp -a $stuff/config .config && 1.30 sed -i "s|/usr/local/bin|/usr/bin|" Makefile && 1.31 - make && make DESTDIR=$DESTDIR install 1.32 + make && 1.33 + make install DESTDIR=$DESTDIR 1.34 } 1.35 1.36 # Rules to gen a SliTaz package suitable for Tazpkg. 1.37 genpkg_rules() 1.38 { 1.39 - mkdir -p $fs/usr $fs/etc/init.d $fs/etc/hostapd 1.40 - mkdir -p $install/usr/share/man $install/usr/share/doc 1.41 - 1.42 - cp -a $src/hostapd/*.[1-8] $install/usr/share/man 1.43 - cp -a $src/hostapd/README* $install/usr/share/doc 1.44 - cp -a $src/hostapd/ChangeLog $install/usr/share/doc 1.45 - cp -a $src/hostapd/*.conf $install/usr/share/doc 1.46 - cp -a $src/hostapd/*.txt $install/usr/share/doc 1.47 - cp -a $stuff/hostapd $fs/etc/init.d && 1.48 - cp -a $src/hostapd/hostapd.accept $src/hostapd/hostapd.conf \ 1.49 - $src/hostapd/hostapd.deny $src/hostapd/hostapd.eap_user \ 1.50 - $src/hostapd/hostapd.radius_clients $src/hostapd/hostapd.sim_db \ 1.51 - $src/hostapd/hostapd.vlan $src/hostapd/hostapd.wpa_psk \ 1.52 - $src/hostapd/wired.conf $src/hostapd/hlr_auc_gw.milenage_db \ 1.53 - $fs/etc/hostapd && 1.54 - cp -a $install/usr/bin $fs/usr 1.55 + mkdir -p $fs/usr $fs/etc/init.d 1.56 + mkdir -p $fs/etc/hostapd 1.57 + mkdir -p $install/usr/share/man 1.58 + mkdir -p $install/usr/share/doc 1.59 + 1.60 + cp -a $src/hostapd/*.[1-8] $install/usr/share/man 1.61 + cp -a $src/hostapd/README* $install/usr/share/doc 1.62 + cp -a $src/hostapd/ChangeLog $install/usr/share/doc 1.63 + cp -a $src/hostapd/*.conf $install/usr/share/doc 1.64 + cp -a $src/hostapd/*.txt $install/usr/share/doc 1.65 + cp -a $stuff/hostapd $fs/etc/init.d 1.66 + cp -a $src/hostapd/hostapd.accept $fs/etc/hostapd 1.67 + cp -a $src/hostapd/hostapd.conf $fs/etc/hostapd 1.68 + cp -a $src/hostapd/hostapd.deny $fs/etc/hostapd 1.69 + cp -a $src/hostapd/hostapd.eap_user $fs/etc/hostapd 1.70 + cp -a $src/hostapd/hostapd.radius_clients \ 1.71 + $fs/etc/hostapd 1.72 + cp -a $src/hostapd/hostapd.sim_db $fs/etc/hostapd 1.73 + cp -a $src/hostapd/hostapd.vlan $fs/etc/hostapd 1.74 + cp -a $src/hostapd/hostapd.wpa_psk $fs/etc/hostapd 1.75 + cp -a $src/hostapd/wired.conf $fs/etc/hostapd 1.76 + cp -a $src/hostapd/hlr_auc_gw.milenage_db \ 1.77 + $fs/etc/hostapd 1.78 + cp -a $install/usr/bin $fs/usr 1.79 }