mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-04 20:19:05 +00:00
Fix hostapd packages relationships
This commit is contained in:
parent
4e9886bc0b
commit
06dc09291b
11 changed files with 89 additions and 22 deletions
|
@ -1,7 +1,7 @@
|
|||
# hostapd-realtek
|
||||
local package_name="hostapd-realtek"
|
||||
local package_repo="http://w1.fi/hostap.git"
|
||||
local package_ref="branch:hostap_2_5"
|
||||
local package_ref="tag:hostap_2_5"
|
||||
local package_upstream_version="2.5"
|
||||
local package_builddeps="pkg-config libssl-dev libreadline-dev libpcsclite-dev libnl-route-3-dev libnl-genl-3-dev libnl-3-dev libncurses5-dev libdbus-1-dev docbook-utils docbook-to-man"
|
||||
local package_install_target="hostapd-realtek"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# hostapd
|
||||
local package_name="hostapd"
|
||||
local package_repo="http://w1.fi/hostap.git"
|
||||
local package_ref="branch:hostap_2_5"
|
||||
local package_ref="tag:hostap_2_5"
|
||||
local package_upstream_version="2.5"
|
||||
local package_builddeps="pkg-config libssl-dev libreadline-dev libpcsclite-dev libnl-route-3-dev libnl-genl-3-dev libnl-3-dev libncurses5-dev libdbus-1-dev docbook-utils docbook-to-man"
|
||||
local package_install_target="hostapd"
|
||||
|
|
29
extras-buildpkgs/hostapd-realtek/debian/config/hostapd.conf
Normal file
29
extras-buildpkgs/hostapd-realtek/debian/config/hostapd.conf
Normal file
|
@ -0,0 +1,29 @@
|
|||
ssid=SSID
|
||||
interface=wlan0
|
||||
hw_mode=g
|
||||
channel=5
|
||||
driver=nl80211
|
||||
bridge=br0
|
||||
logger_syslog=0
|
||||
logger_syslog_level=0
|
||||
wmm_enabled=1
|
||||
ieee80211n=1
|
||||
wpa=2
|
||||
preamble=1
|
||||
wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27
|
||||
wpa_passphrase=12345678
|
||||
wpa_key_mgmt=WPA-PSK
|
||||
wpa_pairwise=TKIP
|
||||
rsn_pairwise=CCMP
|
||||
auth_algs=1
|
||||
macaddr_acl=0
|
||||
noscan=1
|
||||
#ht_capab=[HT40-][SHORT-GI-40][SHORT-GI-40][DSSS_CCK-40]
|
||||
#country_code=SI
|
||||
#ieee80211d=1
|
||||
driver=rtl871xdrv
|
||||
|
||||
#5 Ghz example config
|
||||
#hw_mode=a
|
||||
#channel=108
|
||||
#ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40]
|
|
@ -31,8 +31,9 @@ Depends: ${shlibs:Depends},
|
|||
${misc:Depends},
|
||||
lsb-base
|
||||
Breaks: initscripts (<< 2.88dsf-13.3)
|
||||
Provides: hostapd-realtek
|
||||
Conflicts: hostapd
|
||||
Provides: hostapd
|
||||
Conflicts: hostapd, armbian-hostapd
|
||||
Replaces: hostapd, armbian-hostapd
|
||||
Description: IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
|
||||
Originally, hostapd was an optional user space component for Host AP
|
||||
driver. It adds more features to the basic IEEE 802.11 management
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# file and hostapd will be started during system boot. An example configuration
|
||||
# file can be found at /usr/share/doc/hostapd/examples/hostapd.conf.gz
|
||||
#
|
||||
#DAEMON_CONF=""
|
||||
#DAEMON_CONF="/etc/hostapd.conf"
|
||||
|
||||
# Additional daemon options to be appended to hostapd command:-
|
||||
# -d show more debug messages (-dd for even more)
|
||||
|
|
|
@ -47,6 +47,8 @@ override_dh_install:
|
|||
dh_install
|
||||
install --mode=755 -D debian/ifupdown/hostapd.sh \
|
||||
debian/hostapd-realtek/etc/hostapd/ifupdown.sh
|
||||
install --mode=644 -D debian/config/hostapd.conf \
|
||||
debian/hostapd-realtek/etc/hostapd.conf
|
||||
|
||||
override_dh_installchangelogs:
|
||||
dh_installchangelogs --package=hostapd-realtek hostapd/ChangeLog
|
||||
|
@ -57,6 +59,10 @@ override_dh_gencontrol:
|
|||
|
||||
override_dh_builddeb:
|
||||
dh_builddeb -- -Zxz -z6
|
||||
|
||||
override_dh_installinit:
|
||||
dh_installinit --name=hostapd
|
||||
|
||||
### end dh overrides
|
||||
|
||||
%:
|
||||
|
|
28
extras-buildpkgs/hostapd/debian/config/hostapd.conf
Normal file
28
extras-buildpkgs/hostapd/debian/config/hostapd.conf
Normal file
|
@ -0,0 +1,28 @@
|
|||
ssid=SSID
|
||||
interface=wlan0
|
||||
hw_mode=g
|
||||
channel=5
|
||||
driver=nl80211
|
||||
bridge=br0
|
||||
logger_syslog=0
|
||||
logger_syslog_level=0
|
||||
wmm_enabled=1
|
||||
ieee80211n=1
|
||||
wpa=2
|
||||
preamble=1
|
||||
wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27
|
||||
wpa_passphrase=12345678
|
||||
wpa_key_mgmt=WPA-PSK
|
||||
wpa_pairwise=TKIP
|
||||
rsn_pairwise=CCMP
|
||||
auth_algs=1
|
||||
macaddr_acl=0
|
||||
noscan=1
|
||||
#ht_capab=[HT40-][SHORT-GI-40][SHORT-GI-40][DSSS_CCK-40]
|
||||
#country_code=SI
|
||||
#ieee80211d=1
|
||||
|
||||
#5 Ghz example config
|
||||
#hw_mode=a
|
||||
#channel=108
|
||||
#ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40]
|
|
@ -32,7 +32,8 @@ Depends: ${shlibs:Depends},
|
|||
lsb-base
|
||||
Breaks: initscripts (<< 2.88dsf-13.3)
|
||||
Provides: hostapd
|
||||
Conflicts: hostapd-realtek
|
||||
Conflicts: hostapd, hostapd-realtek, armbian-hostapd
|
||||
Replaces: hostapd, hostapd-realtek, armbian-hostapd
|
||||
Description: IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
|
||||
Originally, hostapd was an optional user space component for Host AP
|
||||
driver. It adds more features to the basic IEEE 802.11 management
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# file and hostapd will be started during system boot. An example configuration
|
||||
# file can be found at /usr/share/doc/hostapd/examples/hostapd.conf.gz
|
||||
#
|
||||
#DAEMON_CONF=""
|
||||
#DAEMON_CONF="/etc/hostapd.conf"
|
||||
|
||||
# Additional daemon options to be appended to hostapd command:-
|
||||
# -d show more debug messages (-dd for even more)
|
||||
|
|
|
@ -47,6 +47,8 @@ override_dh_install:
|
|||
dh_install
|
||||
install --mode=755 -D debian/ifupdown/hostapd.sh \
|
||||
debian/hostapd/etc/hostapd/ifupdown.sh
|
||||
install --mode=644 -D debian/config/hostapd.conf \
|
||||
debian/hostapd-realtek/etc/hostapd.conf
|
||||
|
||||
override_dh_installchangelogs:
|
||||
dh_installchangelogs --package=hostapd hostapd/ChangeLog
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue