Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 20 years ago
parent
commit
cc1773674c
2 changed files with 16 additions and 12 deletions
  1. +12
    -8
      package/avm/hostap/hostap.conf
  2. +4
    -4
      package/avm/hostap/hostap.desc

+ 12
- 8
package/avm/hostap/hostap.conf

@ -20,24 +20,28 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
hostap_postmake() {
if [ $( echo $PWD | grep "[wpa_supplicant|hostapd|hostap-util]" ) ]; then
hostap_postmake()
{
if basename $PWD | egrep -q "(hostapd|hostap-util)"; then
find $PWD -perm 755 -type f -exec cp -vp '{}' /usr/sbin/ \;
fi
if [ $( echo $PWD | grep hostap-driver ) ]; then
if basename $PWD | grep -q hostap-driver; then
make install
fi
}
hostap_premake() {
if [ $( echo $PWD | grep wpa_supplicant ) ]; then
make mkconfig
hostap_premake()
{
if basename $PWD | grep -q hostapd; then
cp defconfig .config
fi
if [ $( echo $PWD | grep hostap-driver ) ]; then
patch -p1 <$confdir/hostap-driver_nodepmod.diff
if basename $PWD | grep -q hostap-driver; then
patch -p1 < $confdir/hostap-driver_nodepmod.diff
fi
}
realmakeinstopt=$makeinstopt
makeinstopt=""
hook_add postmake 3 "hostap_postmake"
hook_add premake 3 "hostap_premake"

+ 4
- 4
package/avm/hostap/hostap.desc

@ -41,12 +41,12 @@
[L] GPL
[S] Stable
[V] 0.1.3
[V] 0.3.7
[P] X -?---5---9 800.000
[SRC] hostap-utils hostap-driver hostapd
[D] 2747387515 hostap-utils-0.1.3.tar.gz http://hostap.epitest.fi/releases/
[D] 2360786094 hostap-driver-0.1.3.tar.gz http://hostap.epitest.fi/releases/
[D] 2393882221 hostapd-0.1.3.tar.gz http://hostap.epitest.fi/releases/
[D] 3629757394 hostap-utils-0.3.7.tar.gz http://hostap.epitest.fi/releases/
[D] 50386355 hostap-driver-0.3.7.tar.gz http://hostap.epitest.fi/releases/
[D] 3447941051 hostapd-0.3.7.tar.gz http://hostap.epitest.fi/releases/

Loading…
Cancel
Save