first commit
This commit is contained in:
20
external/packages/extras-buildpkgs/hostapd-realtek/debian/NEWS
vendored
Normal file
20
external/packages/extras-buildpkgs/hostapd-realtek/debian/NEWS
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
wpasupplicant (0.6.2-1) unstable; urgency=low
|
||||
|
||||
The -w (wait for network interface to exist) command line option no longer
|
||||
exists. If you have scripts that require this option, it is time to change
|
||||
them, or use one of the two supported modes of operation explained at
|
||||
/usr/share/doc/wpasupplicant/README.modes.gz.
|
||||
|
||||
ifupdown supports hot-plugged network devices via the "allow-hotplug" class
|
||||
of operation. An example /etc/network/interfaces configuration stanza would
|
||||
look like:
|
||||
|
||||
allow-hotplug wlan0
|
||||
iface wlan0 inet dhcp
|
||||
wpa-ssid myssid
|
||||
wpa-psk mysecretpassphrase
|
||||
|
||||
network-manager is also able to handle hot-plugged network devices.
|
||||
|
||||
-- Kel Modderman <kel@otaku42.de> Mon, 14 Jan 2008 18:02:17 +1000
|
||||
|
||||
128
external/packages/extras-buildpkgs/hostapd-realtek/debian/README.source
vendored
Normal file
128
external/packages/extras-buildpkgs/hostapd-realtek/debian/README.source
vendored
Normal file
@@ -0,0 +1,128 @@
|
||||
"wpa" sources for Debian
|
||||
------------------------
|
||||
|
||||
This "wpa" source package merges wpa_supplicant and hostapd sources, which are
|
||||
maintained in one source repository[1] upstream and share considerable/
|
||||
duplicate amounts of source. Starting with the 1.x branch, both wpa_supplicant
|
||||
and hostapd are built from this common source package for Debian, while not
|
||||
released together as tarball by upstream, the source can be obtained from the
|
||||
upstream git repositories.
|
||||
|
||||
The preferred way to generate the orig.tar.gz is by calling
|
||||
|
||||
$ debian/rules get-orig-source
|
||||
|
||||
which will clone the upstream git repository under $TMPDIR, using mktemp(1),
|
||||
and create a new tarball based on the git tag corresponding to the top most
|
||||
entry in debian/changelog. This newly generated tarball will be stored as
|
||||
../wpa_${VERSION}.orig.tar.gz or ../tarballs/wpa_${VERSION}.orig.tar.gz, if
|
||||
a directory called ../tarballs/ exists. Eventually existing tarballs
|
||||
corresponding to the current version will not be overwritten.
|
||||
|
||||
Required dependencies to generate a new orig.tar.gz:
|
||||
- a SUSv3 compatible shell, like dash or bash
|
||||
- dpkg-parsechangelog, available from dpkg-dev
|
||||
- git
|
||||
- xz, available from xz-utils or busybox
|
||||
- mktemp and rm, available from coreutils or busybox
|
||||
- sed, available from sed or busybox
|
||||
- tar, available from tar or busybox
|
||||
|
||||
It is recommended to base tarballs for development snapshots of "wpa" on
|
||||
according git tags from the upstream git repository, the available git tags
|
||||
can be queried by:
|
||||
|
||||
$ git clone git://w1.fi/srv/git/hostap-1.git # 1.x branch
|
||||
|
||||
or
|
||||
|
||||
$ git clone git://w1.fi/srv/git/hostap.git # >= 2.x branches
|
||||
|
||||
changing into the corresponding directory (hostap-1 or hostapd) and calling
|
||||
git tag.
|
||||
|
||||
$ cd hostapd-1
|
||||
$ git tag
|
||||
hostap_0_6_3
|
||||
[…]
|
||||
hostap_1_0
|
||||
[…]
|
||||
hostap_1_0_rc3
|
||||
[…]
|
||||
|
||||
The Debian versions for these tags would be 0.6.3-1, 1.0 or 1.0~rc3 in
|
||||
debian/changelog. Intermediate states between tags or HEAD are usually best
|
||||
dealt with by creating a patch series based on the newest matching tag.
|
||||
|
||||
Exporting commits between "hostap_1_0" and the current git HEAD:
|
||||
|
||||
$ git format-patch hostap_1_0..HEAD
|
||||
|
||||
Exporting commits between "hostap_1_0_rc3" and "hostap_1_0":
|
||||
|
||||
$ git format-patch hostap_1_0_rc3..hostap_1_0
|
||||
|
||||
In both cases numbered patches will be dropped in the base directory of the
|
||||
git clone. These numbered patches can be imported to the Debian package using
|
||||
standard procedures for "3.0 (quilt)" source packages.
|
||||
|
||||
Tarballs can also be created manually from the upstream git repository:
|
||||
|
||||
$ git clone git://w1.fi/srv/git/hostap-1.git
|
||||
$ cd hostap-1
|
||||
$ git archive \
|
||||
--format=tar \
|
||||
--prefix="wpa-1.0/" \
|
||||
hostap_1_0 \
|
||||
README COPYING patches src wpa_supplicant hostapd | \
|
||||
xz -c6 > wpa_1.0.orig.tar.gz
|
||||
|
||||
Arbitrary git tags or commit IDs can be used for this purpose.
|
||||
|
||||
|
||||
Upstream git snapshots can be exported by using a specially crafted version
|
||||
syntax used in the top most (pending) changelog entry. The required syntax for
|
||||
correctly parsing this is:
|
||||
|
||||
<upstream_version>+git<date>.<revision>+<git_hash>-<debian_revision>
|
||||
upstream_version := [0-9\.]* --> 2.0
|
||||
date := [0-9]* --> 20131120 (YYYYMMDD)
|
||||
revision := [0-9]* --> 1
|
||||
git_hash := [0-9a-f]* --> 594516b
|
||||
debian_revision := [0-9*] --> 1
|
||||
|
||||
e.g.:
|
||||
|
||||
2.0+git20131120.1+594516b-1
|
||||
|
||||
Technically any incrementing number can be used for <date>, but it's strongly
|
||||
recommended to use YYYYMMDD (date --utc +%Y%m%d) and follow it by an
|
||||
strictly incrementing arbitrary revision number (typically '.1'). The supplied
|
||||
git hash can be abbreviated, but must be unique (see git describe, without
|
||||
leading 'g').
|
||||
|
||||
The debian/rules get-orig-source target will automatically switch between
|
||||
hostapd-1.git and hostapd.git (for >= 2.0) as needed, but it will only fetch
|
||||
the explicitly specified version from a properly formatted, top most,
|
||||
debian/changelog entry; it will not fetch the last upstream release or git
|
||||
HEAD automatically.
|
||||
|
||||
|
||||
The Debian packaging for wpa_supplicant/ hostapd is maintained in a subversion
|
||||
repository at:
|
||||
|
||||
Vcs-Svn: svn://anonscm.debian.org/svn/pkg-wpa/wpa/trunk/
|
||||
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-wpa/wpa/trunk/
|
||||
|
||||
The development mailing list and its mailing list archive is located at:
|
||||
|
||||
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-wpa-devel
|
||||
|
||||
Work for the wpa package can be coordinated on this mailing list through:
|
||||
|
||||
Debian wpasupplicant Maintainers <pkg-wpa-devel@lists.alioth.debian.org>
|
||||
|
||||
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Sat, 28 Dec 2013 22:37:03 +0100
|
||||
|
||||
[1] http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap-1.git [1.x branch]
|
||||
http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git [development]
|
||||
39
external/packages/extras-buildpkgs/hostapd-realtek/debian/changelog
vendored
Normal file
39
external/packages/extras-buildpkgs/hostapd-realtek/debian/changelog
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
wpa (2.4-0ubuntu6) xenial; urgency=medium
|
||||
|
||||
* debian/patches/wpasupplicant_band_selection_aa517ae2.patch: add the last
|
||||
missing 5 GHz band selection related cherry-pick from Debian that was not
|
||||
included in wpa 2.4 (LP: #1517040)
|
||||
|
||||
-- Timo Jyrinki <timo-jyrinki@ubuntu.com> Tue, 19 Jan 2016 12:36:00 +0200
|
||||
|
||||
wpa (2.4-0ubuntu5) xenial; urgency=medium
|
||||
|
||||
* SECURITY UPDATE: unauthorized WNM Sleep Mode GTK control
|
||||
- debian/patches/CVE-2015-5310.patch: Ignore Key Data in WNM Sleep Mode
|
||||
Response frame if no PMF in use in wpa_supplicant/wnm_sta.c.
|
||||
- CVE-2015-5310
|
||||
* SECURITY UPDATE: EAP-pwd missing last fragment length validation
|
||||
- debian/patches/CVE-2015-5315-1.patch: Fix last fragment length
|
||||
validation in src/eap_peer/eap_pwd.c.
|
||||
- debian/patches/CVE-2015-5315-2.patch: Fix last fragment length
|
||||
validation in src/eap_server/eap_server_pwd.c.
|
||||
- CVE-2015-5315
|
||||
* SECURITY UPDATE: EAP-pwd peer error path failure on unexpected Confirm
|
||||
message
|
||||
- debian/patches/CVE-2015-5316.patch: fix error path in
|
||||
src/eap_peer/eap_pwd.c.
|
||||
- CVE-2015-5316
|
||||
* SECURITY UPDATE: denial of service in NDEF record parser
|
||||
- debian/patches/CVE-2015-8041.patch: validate payload lengths in
|
||||
src/wps/ndef.c.
|
||||
- CVE-2015-8041
|
||||
|
||||
-- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 10 Nov 2015 13:38:25 -0500
|
||||
|
||||
wpa (2.4-0ubuntu4) xenial; urgency=medium
|
||||
|
||||
* Add debian/system-sleep/wpasupplicant: Call wpa_cli suspend/resume
|
||||
before/after suspend, like the pm-utils hook. In some cases this brings
|
||||
back missing Wifi connection after resuming. (LP: #1422143)
|
||||
|
||||
-- Martin Pitt <martin.pitt@ubuntu.com> Mon, 26 Oct 2015 14:24:30 +0100
|
||||
54
external/packages/extras-buildpkgs/hostapd-realtek/debian/changelog.hostapd
vendored
Normal file
54
external/packages/extras-buildpkgs/hostapd-realtek/debian/changelog.hostapd
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
hostapd (1:0.7.3-5) UNRELEASED; urgency=low
|
||||
|
||||
* NOT RELEASED YET
|
||||
* bump standards version to 3.9.3, no changes necessary.
|
||||
* update dep-5 version to final 1.0:
|
||||
- add format qualifier
|
||||
- s/Upstream-Maintainer/Upstream-Contact/
|
||||
- s/Upstream-Source/Source/
|
||||
- use "or" instead of "BSD | GPL-2" for dual-licensed sources
|
||||
- order licenses alphabetically.
|
||||
- fix lists of copyright holders for the final syntax
|
||||
- fix license continuation.
|
||||
|
||||
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Mon, 27 Feb 2012 22:07:19 +0100
|
||||
|
||||
hostapd (1:0.7.3-4) unstable; urgency=low
|
||||
|
||||
* add myself to uploaders.
|
||||
* add "hostap: Allow linking with libnl-3" from Ben Greear
|
||||
<greearb@candelatech.com> to allow building against libnl3 3.2.
|
||||
* switch build dependency from libnl-dev (libnl1) to libnl-3-dev &&
|
||||
libnl-genl-3-dev accordingly.
|
||||
* add libpcap-dev and libbsd-dev to kFreeBSD specific build-depends.
|
||||
* disable IAPP on kFreeBSD, to avoid FTBS.
|
||||
* restrict hostapd to linux-any and kfreebsd-any, hurd lacks kernel support.
|
||||
* raise versioned build-dependency to (>= 3.2.3-2~), we need
|
||||
libnl-genl-3-200-udeb and expect it in /lib/.
|
||||
* add "For MS-CHAP, convert the password from UTF-8 to UCS-2" from
|
||||
Evan Broder <ebroder@mokafive.com>, accepted upstream into hostap-1.git
|
||||
* fix long description, driver_madwifi is no longer enabled, while driver_bsd
|
||||
got enabled.
|
||||
|
||||
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Tue, 20 Dec 2011 02:51:49 +0100
|
||||
|
||||
hostapd (1:0.7.3-3) unstable; urgency=low
|
||||
|
||||
[ Kel Modderman ]
|
||||
* Use /run/sendsigs.omit.d/ for sendsigs omission pid file and depend on
|
||||
initscripts (>= 2.88dsf-13.3). (Closes: #633026)
|
||||
* Migrate existing sendsigs omission pid files from /lib/init/rw to /run.
|
||||
* Add a loop to ifupdown.sh to wait for creation of hostapd pid file before
|
||||
attempting creation of sensigs omission pid file, in some cases hostapd
|
||||
daemon can return before creation of the pid file has been written to disk.
|
||||
* Adjust standards version to 3.9.2, no further changes required to
|
||||
satisfy that.
|
||||
* Only test that DAEMON_CONF is set in init.d script, do not test if what is
|
||||
set is readable (which assumes only one configuration file is being used).
|
||||
(Closes: #615821)
|
||||
|
||||
[ Stefan Lippers-Hollmann ]
|
||||
* use new anonscm URIs for alioth.
|
||||
|
||||
-- Kel Modderman <kel@otaku42.de> Sun, 11 Dec 2011 20:32:06 +1000
|
||||
|
||||
1
external/packages/extras-buildpkgs/hostapd-realtek/debian/compat
vendored
Normal file
1
external/packages/extras-buildpkgs/hostapd-realtek/debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
||||
9
|
||||
209
external/packages/extras-buildpkgs/hostapd-realtek/debian/config/config_realtek
vendored
Normal file
209
external/packages/extras-buildpkgs/hostapd-realtek/debian/config/config_realtek
vendored
Normal file
@@ -0,0 +1,209 @@
|
||||
# Example hostapd build time configuration
|
||||
#
|
||||
# This file lists the configuration options that are used when building the
|
||||
# hostapd binary. All lines starting with # are ignored. Configuration option
|
||||
# lines must be commented out complete, if they are not to be included, i.e.,
|
||||
# just setting VARIABLE=n is not disabling that variable.
|
||||
#
|
||||
# This file is included in Makefile, so variables like CFLAGS and LIBS can also
|
||||
# be modified from here. In most cass, these lines should use += in order not
|
||||
# to override previous values of the variables.
|
||||
|
||||
# Driver interface for Host AP driver
|
||||
#CONFIG_DRIVER_HOSTAP=y
|
||||
CONFIG_DRIVER_RTW=y
|
||||
|
||||
# Driver interface for wired authenticator
|
||||
#CONFIG_DRIVER_WIRED=y
|
||||
|
||||
# Driver interface for madwifi driver
|
||||
#CONFIG_DRIVER_MADWIFI=y
|
||||
#CFLAGS += -I../../madwifi # change to the madwifi source directory
|
||||
|
||||
# Driver interface for drivers using the nl80211 kernel interface
|
||||
#CONFIG_DRIVER_NL80211=y
|
||||
|
||||
# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
|
||||
#CONFIG_DRIVER_BSD=y
|
||||
#CONFIG_SUPPORT_RTW_DRIVER=y
|
||||
#CFLAGS += -I/usr/local/include
|
||||
#LIBS += -L/usr/local/lib
|
||||
#LIBS_p += -L/usr/local/lib
|
||||
#LIBS_c += -L/usr/local/lib
|
||||
|
||||
# Driver interface for no driver (e.g., RADIUS server only)
|
||||
#CONFIG_DRIVER_NONE=y
|
||||
|
||||
# IEEE 802.11F/IAPP
|
||||
#CONFIG_IAPP=y
|
||||
|
||||
# WPA2/IEEE 802.11i RSN pre-authentication
|
||||
#CONFIG_RSN_PREAUTH=y
|
||||
|
||||
# PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)
|
||||
#CONFIG_PEERKEY=y
|
||||
|
||||
# IEEE 802.11w (management frame protection)
|
||||
# This version is an experimental implementation based on IEEE 802.11w/D1.0
|
||||
# draft and is subject to change since the standard has not yet been finalized.
|
||||
# Driver support is also needed for IEEE 802.11w.
|
||||
#CONFIG_IEEE80211W=y
|
||||
|
||||
# Integrated EAP server
|
||||
CONFIG_EAP=y
|
||||
|
||||
# EAP-MD5 for the integrated EAP server
|
||||
#CONFIG_EAP_MD5=y
|
||||
|
||||
# EAP-TLS for the integrated EAP server
|
||||
#CONFIG_EAP_TLS=y
|
||||
|
||||
# EAP-MSCHAPv2 for the integrated EAP server
|
||||
#CONFIG_EAP_MSCHAPV2=y
|
||||
|
||||
# EAP-PEAP for the integrated EAP server
|
||||
#CONFIG_EAP_PEAP=y
|
||||
|
||||
# EAP-GTC for the integrated EAP server
|
||||
#CONFIG_EAP_GTC=y
|
||||
|
||||
# EAP-TTLS for the integrated EAP server
|
||||
#CONFIG_EAP_TTLS=y
|
||||
|
||||
# EAP-SIM for the integrated EAP server
|
||||
#CONFIG_EAP_SIM=y
|
||||
|
||||
# EAP-AKA for the integrated EAP server
|
||||
#CONFIG_EAP_AKA=y
|
||||
|
||||
# EAP-AKA' for the integrated EAP server
|
||||
# This requires CONFIG_EAP_AKA to be enabled, too.
|
||||
#CONFIG_EAP_AKA_PRIME=y
|
||||
|
||||
# EAP-PAX for the integrated EAP server
|
||||
#CONFIG_EAP_PAX=y
|
||||
|
||||
# EAP-PSK for the integrated EAP server (this is _not_ needed for WPA-PSK)
|
||||
#CONFIG_EAP_PSK=y
|
||||
|
||||
# EAP-SAKE for the integrated EAP server
|
||||
#CONFIG_EAP_SAKE=y
|
||||
|
||||
# EAP-GPSK for the integrated EAP server
|
||||
#CONFIG_EAP_GPSK=y
|
||||
# Include support for optional SHA256 cipher suite in EAP-GPSK
|
||||
#CONFIG_EAP_GPSK_SHA256=y
|
||||
|
||||
# EAP-FAST for the integrated EAP server
|
||||
# Note: Default OpenSSL package does not include support for all the
|
||||
# functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL,
|
||||
# the OpenSSL library must be patched (openssl-0.9.9-session-ticket.patch)
|
||||
# to add the needed functions.
|
||||
#CONFIG_EAP_FAST=y
|
||||
|
||||
# Wi-Fi Protected Setup (WPS)
|
||||
CONFIG_WPS=y
|
||||
# Enable WSC 2.0 support
|
||||
#CONFIG_WPS2=y
|
||||
# Enable UPnP support for external WPS Registrars
|
||||
#CONFIG_WPS_UPNP=y
|
||||
|
||||
CONFIG_TLS=internal
|
||||
CONFIG_INTERNAL_LIBTOMMATH=y
|
||||
|
||||
# EAP-IKEv2
|
||||
#CONFIG_EAP_IKEV2=y
|
||||
|
||||
# Trusted Network Connect (EAP-TNC)
|
||||
#CONFIG_EAP_TNC=y
|
||||
|
||||
# PKCS#12 (PFX) support (used to read private key and certificate file from
|
||||
# a file that usually has extension .p12 or .pfx)
|
||||
#CONFIG_PKCS12=y
|
||||
|
||||
# RADIUS authentication server. This provides access to the integrated EAP
|
||||
# server from external hosts using RADIUS.
|
||||
#CONFIG_RADIUS_SERVER=y
|
||||
|
||||
# Build IPv6 support for RADIUS operations
|
||||
#CONFIG_IPV6=y
|
||||
|
||||
# IEEE Std 802.11r-2008 (Fast BSS Transition)
|
||||
#CONFIG_IEEE80211R=y
|
||||
|
||||
# Use the hostapd's IEEE 802.11 authentication (ACL), but without
|
||||
# the IEEE 802.11 Management capability (e.g., madwifi or FreeBSD/net80211)
|
||||
#CONFIG_DRIVER_RADIUS_ACL=y
|
||||
|
||||
# IEEE 802.11n (High Throughput) support
|
||||
CONFIG_IEEE80211N=y
|
||||
|
||||
# Remove debugging code that is printing out debug messages to stdout.
|
||||
# This can be used to reduce the size of the hostapd considerably if debugging
|
||||
# code is not needed.
|
||||
#CONFIG_NO_STDOUT_DEBUG=y
|
||||
|
||||
# Add support for writing debug log to a file: -f /tmp/hostapd.log
|
||||
# Disabled by default.
|
||||
#CONFIG_DEBUG_FILE=y
|
||||
|
||||
# Remove support for RADIUS accounting
|
||||
#CONFIG_NO_ACCOUNTING=y
|
||||
|
||||
# Remove support for RADIUS
|
||||
#CONFIG_NO_RADIUS=y
|
||||
|
||||
# Remove support for VLANs
|
||||
#CONFIG_NO_VLAN=y
|
||||
|
||||
# Enable support for fully dynamic VLANs. This enables hostapd to
|
||||
# automatically create bridge and VLAN interfaces if necessary.
|
||||
#CONFIG_FULL_DYNAMIC_VLAN=y
|
||||
|
||||
# Remove support for dumping state into a file on SIGUSR1 signal
|
||||
# This can be used to reduce binary size at the cost of disabling a debugging
|
||||
# option.
|
||||
#CONFIG_NO_DUMP_STATE=y
|
||||
|
||||
# Enable tracing code for developer debugging
|
||||
# This tracks use of memory allocations and other registrations and reports
|
||||
# incorrect use with a backtrace of call (or allocation) location.
|
||||
#CONFIG_WPA_TRACE=y
|
||||
# For BSD, comment out these.
|
||||
#LIBS += -lexecinfo
|
||||
#LIBS_p += -lexecinfo
|
||||
#LIBS_c += -lexecinfo
|
||||
|
||||
# Use libbfd to get more details for developer debugging
|
||||
# This enables use of libbfd to get more detailed symbols for the backtraces
|
||||
# generated by CONFIG_WPA_TRACE=y.
|
||||
#CONFIG_WPA_TRACE_BFD=y
|
||||
# For BSD, comment out these.
|
||||
#LIBS += -lbfd -liberty -lz
|
||||
#LIBS_p += -lbfd -liberty -lz
|
||||
#LIBS_c += -lbfd -liberty -lz
|
||||
|
||||
# hostapd depends on strong random number generation being available from the
|
||||
# operating system. os_get_random() function is used to fetch random data when
|
||||
# needed, e.g., for key generation. On Linux and BSD systems, this works by
|
||||
# reading /dev/urandom. It should be noted that the OS entropy pool needs to be
|
||||
# properly initialized before hostapd is started. This is important especially
|
||||
# on embedded devices that do not have a hardware random number generator and
|
||||
# may by default start up with minimal entropy available for random number
|
||||
# generation.
|
||||
#
|
||||
# As a safety net, hostapd is by default trying to internally collect
|
||||
# additional entropy for generating random data to mix in with the data
|
||||
# fetched from the OS. This by itself is not considered to be very strong, but
|
||||
# it may help in cases where the system pool is not initialized properly.
|
||||
# However, it is very strongly recommended that the system pool is initialized
|
||||
# with enough entropy either by using hardware assisted random number
|
||||
# generatior or by storing state over device reboots.
|
||||
#
|
||||
# If the os_get_random() is known to provide strong ramdom data (e.g., on
|
||||
# Linux/BSD, the board in question is known to have reliable source of random
|
||||
# data from /dev/urandom), the internal hostapd random pool can be disabled.
|
||||
# This will save some in binary size and CPU use. However, this should only be
|
||||
# considered for builds that are known to be used on devices that meet the
|
||||
# requirements described above.
|
||||
#CONFIG_NO_RANDOM_POOL=y
|
||||
48
external/packages/extras-buildpkgs/hostapd-realtek/debian/config/hostapd.conf
vendored
Normal file
48
external/packages/extras-buildpkgs/hostapd-realtek/debian/config/hostapd.conf
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
#
|
||||
# orangepi hostapd configuration example
|
||||
#
|
||||
# realtek mode
|
||||
#
|
||||
|
||||
ssid=OrangePi
|
||||
interface=wlan0
|
||||
hw_mode=g
|
||||
channel=5
|
||||
bridge=br0
|
||||
driver=rtl871xdrv
|
||||
|
||||
logger_syslog=0
|
||||
logger_syslog_level=0
|
||||
wmm_enabled=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
|
||||
|
||||
### IEEE 802.11n
|
||||
#ieee80211n=1
|
||||
#ht_capab=
|
||||
#country_code=US
|
||||
#ieee80211d=1
|
||||
### IEEE 802.11n
|
||||
|
||||
### IEEE 802.11a
|
||||
#hw_mode=a
|
||||
### IEEE 802.11a
|
||||
|
||||
### IEEE 802.11ac
|
||||
#ieee80211ac=1
|
||||
#vht_capab=[MAX-MPDU-11454][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][MAX-A-MPDU-LEN-EXP3]
|
||||
#vht_oper_chwidth=1
|
||||
#vht_oper_centr_freq_seg0_idx=42
|
||||
### IEEE 802.11ac
|
||||
|
||||
# controlling enabled
|
||||
ctrl_interface=/var/run/hostapd
|
||||
ctrl_interface_group=0
|
||||
55
external/packages/extras-buildpkgs/hostapd-realtek/debian/control
vendored
Normal file
55
external/packages/extras-buildpkgs/hostapd-realtek/debian/control
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
Source: wpa
|
||||
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
|
||||
XSBC-Original-Maintainer: Debian wpasupplicant Maintainers <pkg-wpa-devel@lists.alioth.debian.org>
|
||||
Uploaders: Stefan Lippers-Hollmann <s.l-h@gmx.de>,
|
||||
Jan Dittberner <jandd@debian.org>
|
||||
Section: net
|
||||
Priority: optional
|
||||
Build-Depends: debhelper (>> 9.20120115),
|
||||
libdbus-1-dev,
|
||||
libssl-dev | libssl1.0-dev,
|
||||
libncurses5-dev,
|
||||
libpcsclite-dev,
|
||||
libnl-3-dev [linux-any],
|
||||
libnl-genl-3-dev [linux-any],
|
||||
libnl-route-3-dev [linux-any],
|
||||
libpcap-dev [kfreebsd-any],
|
||||
libbsd-dev [kfreebsd-any],
|
||||
libreadline-dev,
|
||||
pkg-config,
|
||||
docbook-to-man,
|
||||
docbook-utils,
|
||||
Standards-Version: 3.9.6
|
||||
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-wpa/wpa/trunk/
|
||||
Vcs-Svn: svn://anonscm.debian.org/pkg-wpa/wpa/trunk/
|
||||
Homepage: http://w1.fi/wpa_supplicant/
|
||||
|
||||
Package: hostapd-realtek
|
||||
Architecture: linux-any kfreebsd-any
|
||||
Multi-Arch: foreign
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
lsb-base
|
||||
Breaks: initscripts (<< 2.88dsf-13.3)
|
||||
Provides: hostapd
|
||||
Conflicts: hostapd, orangepi-hostapd
|
||||
Replaces: hostapd, orangepi-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
|
||||
included in the kernel driver: using external RADIUS authentication
|
||||
server for MAC address based access control, IEEE 802.1X Authenticator
|
||||
and dynamic WEP keying, RADIUS accounting, WPA/WPA2 (IEEE 802.11i/RSN)
|
||||
Authenticator and dynamic TKIP/CCMP keying.
|
||||
.
|
||||
The current version includes support for other drivers, an integrated
|
||||
EAP authenticator (i.e., allow full authentication without requiring
|
||||
an external RADIUS authentication server), and RADIUS authentication
|
||||
server for EAP authentication.
|
||||
.
|
||||
hostapd works with the following drivers:
|
||||
.
|
||||
* mac80211 based drivers with support for master mode [linux]
|
||||
* Host AP driver for Prism2/2.5/3 [linux]
|
||||
* Driver interface for FreeBSD net80211 layer [kfreebsd]
|
||||
* Any wired Ethernet driver for wired IEEE 802.1X authentication.
|
||||
422
external/packages/extras-buildpkgs/hostapd-realtek/debian/copyright
vendored
Normal file
422
external/packages/extras-buildpkgs/hostapd-realtek/debian/copyright
vendored
Normal file
@@ -0,0 +1,422 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: hostapd
|
||||
Upstream-Contact: Jouni Malinen <j@w1.fi>
|
||||
Source: git://w1.fi/srv/git/hostap.git
|
||||
|
||||
Files: *
|
||||
Copyright: 2002-2014, Jouni Malinen <j@w1.fi>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: hostapd/logwatch/*
|
||||
Copyright: 2005, Henrik Brix Andersen <brix@gentoo.org>
|
||||
License: BSD-3-clause or GPL-2
|
||||
|
||||
Files: hostapd/Android.mk
|
||||
Copyright: 2008, The Android Open Source Project
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: hostapd/hostapd.8
|
||||
hostapd/hostapd_cli.1
|
||||
Copyright: 2005, Faidon Liambotis <faidon@cube.gr>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: hs20/*
|
||||
Copyright: 2012-2014, Qualcomm Atheros, Inc.
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: patches/*
|
||||
Copyright: 2005, Alexey Kobozev <akobozev@cisco.com>
|
||||
2005-2012, Jouni Malinen <j@w1.fi>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/ap/acs.*
|
||||
Copyright: 2011, Atheros Communications
|
||||
2013, Qualcomm Atheros, Inc.
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/ap/ap_list.*
|
||||
src/ap/ap_mlme.*
|
||||
src/ap/beacon.*
|
||||
src/ap/hw_features.*
|
||||
src/ap/vlan_init.*
|
||||
src/ap/wmm.*
|
||||
Copyright: 2002-2009, Jouni Malinen <j@w1.fi>
|
||||
2002-2004, Instant802 Networks, Inc.
|
||||
2005-2006, Devicescape Software, Inc.
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/ap/dfs.*
|
||||
Copyright: 2002-2013, Jouni Malinen <j@w1.fi>
|
||||
2013, Qualcomm Atheros, Inc.
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/ap/gas_serv.*
|
||||
src/ap/wnm_ap.*
|
||||
src/common/ieee802_1x_defs.h
|
||||
src/common/qca-vendor*
|
||||
Copyright: 2011-2014, Qualcomm Atheros, Inc.
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/ap/hs20.*
|
||||
wpa_supplicant/hs20_supplicant.*
|
||||
Copyright: 2009, Atheros Communications, Inc.
|
||||
2011-2013, Qualcomm Atheros, Inc.
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/ap/ieee802_11_ht.c
|
||||
Copyright: 2002-2009, Jouni Malinen <j@w1.fi>
|
||||
2007-2008, Intel Corporation
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/ap/p2p_hostapd.*
|
||||
Copyright: 2009-2010, Atheros Communications
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/ap/vlan_util.*
|
||||
Copyright: 2012, Michael Braun <michael-dev@fami-braun.de>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/common/gas.*
|
||||
Copyright: 2009, Atheros Communications
|
||||
2011-2012, Qualcomm Atheros
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/common/ieee802_11_defs.h
|
||||
Copyright: 2002-2009, Jouni Malinen <j@w1.fi>
|
||||
2007-2008, Intel Corporation
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/common/wpa_helpers.*
|
||||
Copyright: 2010-2011, Atheros Communications, Inc.
|
||||
2011-2012, Qualcomm Atheros, Inc.
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/crypto/aes-internal*
|
||||
Copyright: 2000, Vincent Rijmen <vincent.rijmen@esat.kuleuven.ac.be>
|
||||
2000, Antoon Bosselaers <antoon.bosselaers@esat.kuleuven.ac.be>
|
||||
2000, Paulo Barreto <paulo.barreto@terra.com.br>
|
||||
2003-2012, Jouni Malinen <j@w1.fi>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/crypto/des-internal.c
|
||||
Copyright: 2005, Tom St Denis <tomstdenis@gmail.com>
|
||||
2006-2009, Jouni Malinen <j@w1.fi>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/crypto/md4-internal.c
|
||||
Copyright: 1993, Colin Plumb
|
||||
2004, Todd C. Miller
|
||||
2006, Jouni Malinen <j@w1.fi>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/crypto/md5-internal.c
|
||||
Copyright: 1993, Colin Plumb
|
||||
2003-2005, Jouni Malinen <j@w1.fi>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/crypto/sha1-internal.c
|
||||
Copyright: 1998, Steve Reid <sreid@sea-to-sky.net>
|
||||
1998, James H. Brown <jbrown@burgoyne.com>
|
||||
2001, Saul Kravitz <Saul.Kravitz@celera.com>
|
||||
2001-2005, Jouni Malinen <j@w1.fi>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/drivers/driver_atheros.c
|
||||
Copyright: 2004, Sam Leffler <sam@errno.com>
|
||||
2004, Video54 Technologies
|
||||
2005-2007, Jouni Malinen <j@w1.fi>
|
||||
2009, Atheros Communications
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/drivers/driver_bsd.c
|
||||
Copyright: 2004, Sam Leffler <sam@errno.com>
|
||||
2004, 2Wire, Inc
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/drivers/driver_macsec_qca.c
|
||||
Copyright: 2004, Gunter Burchardt <tira@isx.de>
|
||||
2005-2009, Jouni Malinen <j@w1.fi>
|
||||
2013-2014, Qualcomm Atheros, Inc.
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/drivers/driver_madwifi.c
|
||||
Copyright: 2004, Sam Leffler <sam@errno.com>
|
||||
2004, Video54 Technologies
|
||||
2004-2007, Jouni Malinen <j@w1.fi>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/drivers/driver_nl80211.c
|
||||
Copyright: 2002-2014, Jouni Malinen <j@w1.fi>
|
||||
2003-2004, Instant802 Networks, Inc.
|
||||
2005-2006, Devicescape Software, Inc.
|
||||
2007, Johannes Berg <johannes@sipsolutions.net>
|
||||
2009-2010, Atheros Communications
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/drivers/driver_none.c
|
||||
Copyright: 2008, Atheros Communications
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/drivers/driver_openbsd.c
|
||||
Copyright: 2013, Mark Kettenis <mark.kettenis@xs4all.nl>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/drivers/driver_roboswitch.c
|
||||
Copyright: 2008-2009, Jouke Witteveen
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/drivers/driver_wired.c
|
||||
Copyright: 2005-2009, Jouni Malinen <j@w1.fi>
|
||||
2004, Gunter Burchardt <tira@isx.de>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/drivers/nl80211_copy.h
|
||||
Copyright: 2006-2010, Johannes Berg <johannes@sipsolutions.net>
|
||||
2008, Michael Wu <flamingice@sourmilk.net>
|
||||
2008, Luis Carlos Cobo <luisca@cozybit.com>
|
||||
2008, Michael Buesch <m@bues.ch>
|
||||
2008-2009, Luis R. Rodriguez <lrodriguez@atheros.com>
|
||||
2008, Jouni Malinen <jouni.malinen@atheros.com>
|
||||
2008, Colin McCabe <colin@cozybit.com>
|
||||
License: ISC
|
||||
|
||||
Files: src/eap_common/eap_pwd_common.*
|
||||
src/eap_peer/eap_pwd.c
|
||||
src/eap_server/eap_server_pwd.c
|
||||
Copyright: 2010, Dan Harkins <dharkins@lounge.org>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/eap_peer/eap_proxy*
|
||||
Copyright: 2011-2013 Qualcomm Atheros, Inc.
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/l2_packet/l2_packet_freebsd.c
|
||||
Copyright: 2003-2005, Jouni Malinen <j@w1.fi>
|
||||
2005, Sam Leffler <sam@errno.com>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/p2p/*
|
||||
Copyright: 2009-2010, Atheros Communications
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/pae/*
|
||||
Copyright: 2013-2014, Qualcomm Atheros, Inc.
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/rsn_supp/tdls.c
|
||||
Copyright: 2010-2011, Atheros Communications
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/tls/libtommath.c
|
||||
Copyright: 2005-2007, Tom St Denis <tomstdenis@gmail.com>
|
||||
License: public-domain
|
||||
|
||||
Files: src/utils/browser*
|
||||
src/utils/http*
|
||||
src/utils/xml*
|
||||
Copyright: 2012-2014, Qualcomm Atheros, Inc.
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/utils/radiotap.c
|
||||
Copyright: 2007, Andy Green <andy@warmcat.com>
|
||||
2009, Johannes Berg <johannes@sipsolutions.net>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/utils/radiotap.h
|
||||
Copyright: 2003-2004, David Young
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/wps/http.h
|
||||
src/wps/upnp_xml.*
|
||||
src/wps/wps_upnp.*
|
||||
src/wps/wps_upnp_event.c
|
||||
src/wps/wps_upnp_i.h
|
||||
src/wps/wps_upnp_ssdp.c
|
||||
src/wps/wps_upnp_web.c
|
||||
Copyright: 2000-2003, Intel Corporation
|
||||
2006-2007, Sony Corporation
|
||||
2008-2009, Atheros Communications
|
||||
2009, Jouni Malinen <j@w1.fi>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/wps/httpread.*
|
||||
Copyright: 2008, Ted Merrill, Atheros Communications
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/wps/ndef.c
|
||||
Copyright: 2009-2012, Masashi Honma <honma@ictec.co.jp>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: src/wps/wps_validate.c
|
||||
Copyright: 2010, Atheros Communications, Inc.
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: wpa_supplicant/dbus/dbus_common.*
|
||||
wpa_supplicant/dbus/dbus_common_i.h
|
||||
wpa_supplicant/dbus/dbus_new.*
|
||||
wpa_supplicant/dbus/dbus_new_handlers.*
|
||||
wpa_supplicant/dbus/dbus_new_handlers_wps.c
|
||||
wpa_supplicant/dbus/dbus_new_helpers.*
|
||||
wpa_supplicant/dbus/dbus_new_introspect.c
|
||||
Copyright: 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
|
||||
2009-2010, Witold Sowa <witold.sowa@gmail.com>
|
||||
2009-2010, Jouni Malinen <j@w1.fi>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: wpa_supplicant/dbus/dbus_dict_helpers.*
|
||||
wpa_supplicant/dbus/dbus_old*
|
||||
Copyright: 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: wpa_supplicant/dbus/dbus_new_handlers_p2p.*
|
||||
wpa_supplicant/examples/p2p/*
|
||||
wpa_supplicant/examples/dbus-listen-preq.py
|
||||
Copyright: 2011-2012, Intel Corporation
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: wpa_supplicant/utils/log2pcap.py
|
||||
Copyright: Johannes Berg <johannes@sipsolutions.net>, Intel Corporation
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: wpa_supplicant/wpa_gui-qt4/icons/ap.svg
|
||||
Copyright: 2008, mystica
|
||||
License: public-domain
|
||||
|
||||
Files: wpa_supplicant/wpa_gui-qt4/icons/group.svg
|
||||
Copyright: 2009, Andrew Fitzsimon / Anonymous
|
||||
License: public-domain
|
||||
|
||||
Files: wpa_supplicant/wpa_gui-qt4/icons/invitation.svg
|
||||
Copyright: 2009, Jean Victor Balin
|
||||
License: public-domain
|
||||
|
||||
Files: wpa_supplicant/wpa_gui-qt4/icons/laptop.svg
|
||||
Copyright: 2008, metalmarious
|
||||
License: public-domain
|
||||
|
||||
Files: wpa_supplicant/wpa_gui-qt4/icons/wpa_gui.svg
|
||||
Copyright: 2008, Bernard Gray <bernard.gray@gmail.com>
|
||||
License: BSD-3-clause or GPL-2
|
||||
|
||||
Files: wpa_supplicant/wpa_gui-qt4/peers.*
|
||||
wpa_supplicant/wpa_gui-qt4/stringquery.*
|
||||
Copyright: 2009-2010, Atheros Communications
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: wpa_supplicant/wpa_gui-qt4/signalbar.*
|
||||
Copyright: 2011, Kel Modderman <kel@otaku42.de>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: wpa_supplicant/Android.mk
|
||||
wpa_supplicant/wpa_supplicant_conf.*
|
||||
Copyright: 2008-2010, The Android Open Source Project
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: wpa_supplicant/ap.*
|
||||
Copyright: 2003-2009, Jouni Malinen <j@w1.fi>
|
||||
2009, Atheros Communications
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: wpa_supplicant/autoscan*
|
||||
Copyright: 2012, Intel Corporation
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: wpa_supplicant/gas_query.*
|
||||
wpa_supplicant/offchannel.*
|
||||
wpa_supplicant/p2p_supplicant.*
|
||||
wpa_supplicant/wifi_display.*
|
||||
Copyright: 2009-2011, Atheros Communications
|
||||
2011-2014, Qualcomm Atheros
|
||||
2011-2014, Jouni Malinen <j@w1.fi>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: wpa_supplicant/interworking.*
|
||||
wpa_supplicant/wnm_sta.*
|
||||
wpa_supplicant/wpas_kay.*
|
||||
Copyright: 2011-2014, Qualcomm Atheros
|
||||
2011-2014, Jouni Malinen <j@w1.fi>
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2004-2006, Kyle McMartin <kyle@debian.org>
|
||||
2005-2009, Faidon Liambotis <paravoid@debian.org>
|
||||
2006-2008, Reinhard Tartler <siretart@tauware.de>
|
||||
2006-2012, Kel Modderman <kel@otaku42.de>
|
||||
2010, Jan Dittberner <jandd@debian.org>
|
||||
2010-2014, Stefan Lippers-Hollmann <s.l-h@gmx.de>
|
||||
License: BSD-3-clause
|
||||
|
||||
License: BSD-3-clause
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
.
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
.
|
||||
3. Neither the name(s) of the above-listed copyright holder(s) nor the
|
||||
names of its contributors may be used to endorse or promote products
|
||||
derived from this software without specific prior written permission.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
License: GPL-2
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License version 2 as
|
||||
published by the Free Software Foundation.
|
||||
.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
.
|
||||
On Debian GNU/Linux systems, the complete text of the GNU General Public
|
||||
License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
|
||||
.
|
||||
Note that this distribution of hostapd comes with configuration options that
|
||||
link it to the OpenSSL library. The OpenSSL license is GPL-incompatible,
|
||||
therefore in this distribution only the BSD license applies.
|
||||
|
||||
License: ISC
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
License: public-domain
|
||||
Minimal code for RSA support from LibTomMath 0.41
|
||||
http://libtom.org/
|
||||
http://libtom.org/files/ltm-0.41.tar.bz2
|
||||
This library was released in public domain by Tom St Denis.
|
||||
.
|
||||
The combination in this file may not use all of the optimized algorithms
|
||||
from LibTomMath and may be considerable slower than the LibTomMath with its
|
||||
default settings. The main purpose of having this version here is to make it
|
||||
easier to build bignum.c wrapper without having to install and build an
|
||||
external library.
|
||||
|
||||
38
external/packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.README.Debian
vendored
Normal file
38
external/packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.README.Debian
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
hostapd for Debian
|
||||
------------------
|
||||
|
||||
This package provides two methods for managing hostapd process(es); an
|
||||
initscript and an ifupdown hook. Both methods require creation of a
|
||||
hostapd daemon configuration file (eg. /etc/hostapd/hostapd.conf) to
|
||||
function correctly.
|
||||
|
||||
An example hostapd.conf may be used as a template but _must_ be edited
|
||||
to suit your local configuration. An example is located at:
|
||||
/usr/share/doc/hostapd/examples/hostapd.conf.gz
|
||||
|
||||
To use the example as a template:
|
||||
# zcat /usr/share/doc/hostapd/examples/hostapd.conf.gz > \
|
||||
/etc/hostapd/hostapd.conf
|
||||
# $EDITOR /etc/hostapd/hostapd.conf
|
||||
|
||||
To use the initscript method of starting a hostapd daemon see
|
||||
/etc/default/hostapd.
|
||||
|
||||
To use the ifupdown method, the path to hostapd configuration file can
|
||||
be specified in a network interfaces configuration stanza in
|
||||
/etc/network/interfaces like so:
|
||||
|
||||
iface eth1 inet static
|
||||
hostapd /etc/hostapd/hostapd.conf
|
||||
...
|
||||
|
||||
The hostapd process will be started in the pre-up phase of ifup, and be
|
||||
terminated in the post-down phase of ifdown.
|
||||
|
||||
-- Kel Modderman <kel@otaku42.de> Tue, 27 Oct 2009 12:03:01 +1000
|
||||
|
||||
Please note:
|
||||
* If you want to use hostapd with a Prism2/2.5/3 card in WPA mode, you'll need
|
||||
STA firmware version >= 1.7.0.
|
||||
|
||||
-- Faidon Liambotis <faidon@cube.gr>, Mon, 10 Oct 2005 14:57:11 +0300
|
||||
20
external/packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.default
vendored
Normal file
20
external/packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.default
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
# Defaults for hostapd initscript
|
||||
#
|
||||
# See /usr/share/doc/hostapd/README.Debian for information about alternative
|
||||
# methods of managing hostapd.
|
||||
#
|
||||
# Uncomment and set DAEMON_CONF to the absolute path of a hostapd configuration
|
||||
# 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="/etc/hostapd.conf"
|
||||
|
||||
# Additional daemon options to be appended to hostapd command:-
|
||||
# -d show more debug messages (-dd for even more)
|
||||
# -K include key data in debug messages
|
||||
# -t include timestamps in some debug messages
|
||||
#
|
||||
# Note that -B (daemon mode) and -P (pidfile) options are automatically
|
||||
# configured by the init.d script and must not be added to DAEMON_OPTS.
|
||||
#
|
||||
#DAEMON_OPTS=""
|
||||
6
external/packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.examples
vendored
Normal file
6
external/packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.examples
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
hostapd/hostapd.accept
|
||||
hostapd/hostapd.conf
|
||||
hostapd/hostapd.deny
|
||||
hostapd/hostapd.eap_user
|
||||
hostapd/hostapd.radius_clients
|
||||
hostapd/hostapd.wpa_psk
|
||||
67
external/packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.init
vendored
Normal file
67
external/packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.init
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: hostapd
|
||||
# Required-Start: $remote_fs
|
||||
# Required-Stop: $remote_fs
|
||||
# Should-Start: $network
|
||||
# Should-Stop:
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Advanced IEEE 802.11 management daemon
|
||||
# Description: Userspace IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP
|
||||
# Authenticator
|
||||
### END INIT INFO
|
||||
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
DAEMON_SBIN=/usr/sbin/hostapd
|
||||
DAEMON_DEFS=/etc/default/hostapd
|
||||
DAEMON_CONF=
|
||||
NAME=hostapd
|
||||
DESC="advanced IEEE 802.11 management"
|
||||
PIDFILE=/run/hostapd.pid
|
||||
|
||||
[ -x "$DAEMON_SBIN" ] || exit 0
|
||||
[ -s "$DAEMON_DEFS" ] && . /etc/default/hostapd
|
||||
[ -n "$DAEMON_CONF" ] || exit 0
|
||||
|
||||
DAEMON_OPTS="-B -P $PIDFILE $DAEMON_OPTS $DAEMON_CONF"
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
log_daemon_msg "Starting $DESC" "$NAME"
|
||||
start-stop-daemon --start --oknodo --quiet --exec "$DAEMON_SBIN" \
|
||||
--pidfile "$PIDFILE" -- $DAEMON_OPTS >/dev/null
|
||||
log_end_msg "$?"
|
||||
;;
|
||||
stop)
|
||||
log_daemon_msg "Stopping $DESC" "$NAME"
|
||||
start-stop-daemon --stop --oknodo --quiet --exec "$DAEMON_SBIN" \
|
||||
--pidfile "$PIDFILE"
|
||||
log_end_msg "$?"
|
||||
;;
|
||||
reload)
|
||||
log_daemon_msg "Reloading $DESC" "$NAME"
|
||||
start-stop-daemon --stop --signal HUP --exec "$DAEMON_SBIN" \
|
||||
--pidfile "$PIDFILE"
|
||||
log_end_msg "$?"
|
||||
;;
|
||||
restart|force-reload)
|
||||
$0 stop
|
||||
sleep 8
|
||||
$0 start
|
||||
;;
|
||||
status)
|
||||
status_of_proc "$DAEMON_SBIN" "$NAME"
|
||||
exit $?
|
||||
;;
|
||||
*)
|
||||
N=/etc/init.d/$NAME
|
||||
echo "Usage: $N {start|stop|restart|force-reload|reload|status}" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
2
external/packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.install
vendored
Normal file
2
external/packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.install
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
hostapd/hostapd usr/sbin/
|
||||
hostapd/hostapd_cli usr/sbin/
|
||||
2
external/packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.links
vendored
Normal file
2
external/packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.links
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
etc/hostapd/ifupdown.sh /etc/network/if-pre-up.d/hostapd
|
||||
etc/hostapd/ifupdown.sh /etc/network/if-post-down.d/hostapd
|
||||
2
external/packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.manpages
vendored
Normal file
2
external/packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.manpages
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
hostapd/hostapd.8
|
||||
hostapd/hostapd_cli.1
|
||||
30
external/packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.preinst
vendored
Normal file
30
external/packages/extras-buildpkgs/hostapd-realtek/debian/hostapd-realtek.preinst
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
rm_conffile() {
|
||||
local PKGNAME="$1"
|
||||
local CONFFILE="$2"
|
||||
|
||||
[ -e "$CONFFILE" ] || return 0
|
||||
|
||||
local md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')"
|
||||
local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \
|
||||
sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")"
|
||||
if [ "$md5sum" = "$old_md5sum" ]; then
|
||||
echo "Removing obsolete conffile $CONFFILE ..."
|
||||
rm -f "$CONFFILE"
|
||||
fi
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
install|upgrade)
|
||||
if dpkg --compare-versions "$2" le "1:0.6.9-3"; then
|
||||
rm_conffile hostapd /etc/hostapd/hostapd.conf
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
146
external/packages/extras-buildpkgs/hostapd-realtek/debian/ifupdown/hostapd.sh
vendored
Normal file
146
external/packages/extras-buildpkgs/hostapd-realtek/debian/ifupdown/hostapd.sh
vendored
Normal file
@@ -0,0 +1,146 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copyright (C) 2006-2009 Debian hostapd maintainers
|
||||
# Faidon Liambotis <paravoid@debian.org>
|
||||
# Kel Modderman <kel@otaku42.de>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# On Debian GNU/Linux systems, the text of the GPL license,
|
||||
# version 2, can be found in /usr/share/common-licenses/GPL-2.
|
||||
|
||||
# quit if we're called for lo
|
||||
if [ "$IFACE" = lo ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -n "$IF_HOSTAPD" ]; then
|
||||
HOSTAPD_CONF="$IF_HOSTAPD"
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
HOSTAPD_BIN="/usr/sbin/hostapd"
|
||||
HOSTAPD_PNAME="hostapd"
|
||||
HOSTAPD_PIDFILE="/run/hostapd.$IFACE.pid"
|
||||
HOSTAPD_OMIT_PIDFILE="/run/sendsigs.omit.d/hostapd.$IFACE.pid"
|
||||
|
||||
if [ ! -x "$HOSTAPD_BIN" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$VERBOSITY" = "1" ]; then
|
||||
TO_NULL="/dev/stdout"
|
||||
else
|
||||
TO_NULL="/dev/null"
|
||||
fi
|
||||
|
||||
hostapd_msg () {
|
||||
case "$1" in
|
||||
verbose)
|
||||
shift
|
||||
echo "$HOSTAPD_PNAME: $@" > "$TO_NULL"
|
||||
;;
|
||||
stderr)
|
||||
shift
|
||||
echo "$HOSTAPD_PNAME: $@" > /dev/stderr
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
test_hostapd_pidfile () {
|
||||
if [ -n "$1" ] && [ -f "$2" ]; then
|
||||
if start-stop-daemon --stop --quiet --signal 0 \
|
||||
--exec "$1" --pidfile "$2"; then
|
||||
return 0
|
||||
else
|
||||
rm -f "$2"
|
||||
return 1
|
||||
fi
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
init_hostapd () {
|
||||
HOSTAPD_OPTIONS="-B -P $HOSTAPD_PIDFILE $HOSTAPD_CONF"
|
||||
HOSTAPD_MESSAGE="$HOSTAPD_BIN $HOSTAPD_OPTIONS"
|
||||
|
||||
test_hostapd_pidfile "$HOSTAPD_BIN" "$HOSTAPD_PIDFILE" && return 0
|
||||
|
||||
hostapd_msg verbose "$HOSTAPD_MESSAGE"
|
||||
start-stop-daemon --start --oknodo --quiet --exec "$HOSTAPD_BIN" \
|
||||
--pidfile "$HOSTAPD_PIDFILE" -- $HOSTAPD_OPTIONS > "$TO_NULL"
|
||||
|
||||
if [ "$?" -ne 0 ]; then
|
||||
return "$?"
|
||||
fi
|
||||
|
||||
HOSTAPD_PIDFILE_WAIT=0
|
||||
until [ -s "$HOSTAPD_PIDFILE" ]; do
|
||||
if [ "$HOSTAPD_PIDFILE_WAIT" -ge 5 ]; then
|
||||
hostapd_msg stderr \
|
||||
"timeout waiting for pid file creation"
|
||||
return 1
|
||||
fi
|
||||
|
||||
HOSTAPD_PIDFILE_WAIT=$(($HOSTAPD_PIDFILE_WAIT + 1))
|
||||
sleep 1
|
||||
done
|
||||
cat "$HOSTAPD_PIDFILE" > "$HOSTAPD_OMIT_PIDFILE"
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
kill_hostapd () {
|
||||
HOSTAPD_MESSAGE="stopping $HOSTAPD_PNAME via pidfile: $HOSTAPD_PIDFILE"
|
||||
|
||||
test_hostapd_pidfile "$HOSTAPD_BIN" "$HOSTAPD_PIDFILE" || return 0
|
||||
|
||||
hostapd_msg verbose "$HOSTAPD_MESSAGE"
|
||||
start-stop-daemon --stop --oknodo --quiet --exec "$HOSTAPD_BIN" \
|
||||
--pidfile "$HOSTAPD_PIDFILE" > "$TO_NULL"
|
||||
|
||||
[ "$HOSTAPD_OMIT_PIDFILE" ] && rm -f "$HOSTAPD_OMIT_PIDFILE"
|
||||
}
|
||||
|
||||
case "$MODE" in
|
||||
start)
|
||||
case "$PHASE" in
|
||||
pre-up)
|
||||
init_hostapd || exit 1
|
||||
;;
|
||||
*)
|
||||
hostapd_msg stderr "unknown phase: \"$PHASE\""
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
stop)
|
||||
case "$PHASE" in
|
||||
post-down)
|
||||
kill_hostapd
|
||||
;;
|
||||
*)
|
||||
hostapd_msg stderr "unknown phase: \"$PHASE\""
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
hostapd_msg stderr "unknown mode: \"$MODE\""
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
3
external/packages/extras-buildpkgs/hostapd-realtek/debian/patches/series
vendored
Normal file
3
external/packages/extras-buildpkgs/hostapd-realtek/debian/patches/series
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
session-ticket.patch
|
||||
300-noscan.patch
|
||||
realtek.patch
|
||||
67
external/packages/extras-buildpkgs/hostapd-realtek/debian/rules
vendored
Normal file
67
external/packages/extras-buildpkgs/hostapd-realtek/debian/rules
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# without "-relro,-pie" building on Stretch breaks
|
||||
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
|
||||
|
||||
include /usr/share/dpkg/buildflags.mk
|
||||
|
||||
# The build system doesn't use CPPFLAGS, pass them to CFLAGS/CXXFLAGS to
|
||||
# enable the missing (hardening) flags
|
||||
DEB_CFLAGS_MAINT_APPEND = -MMD -Wall $(shell dpkg-buildflags --get CPPFLAGS)
|
||||
DEB_CXXFLAGS_MAINT_APPEND = $(shell dpkg-buildflags --get CPPFLAGS)
|
||||
DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||
export DEB_CFLAGS_MAINT_APPEND DEB_CXXFLAGS_MAINT_APPEND DEB_LDFLAGS_MAINT_APPEND
|
||||
|
||||
UCFLAGS = -MMD -Wall -g -Os -fPIC
|
||||
|
||||
BINDIR = /sbin
|
||||
#V = 1
|
||||
|
||||
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
|
||||
CC=$(DEB_HOST_GNU_TYPE)-gcc
|
||||
endif
|
||||
|
||||
export CC BINDIR
|
||||
|
||||
VERSION := $(shell dpkg-parsechangelog | sed -ne 's,^Version: *\([0-9]*:\)\?\(.*\)$$,\2,p')
|
||||
|
||||
override_dh_auto_build:
|
||||
# build hostapd
|
||||
cp -v --remove-destination debian/config/config_realtek hostapd/.config
|
||||
dh_auto_build --sourcedirectory=hostapd \
|
||||
--buildsystem=makefile \
|
||||
--parallel
|
||||
dh_auto_clean --sourcedirectory=src --buildsystem=makefile
|
||||
|
||||
override_dh_auto_clean:
|
||||
dh_auto_clean --sourcedirectory=hostapd \
|
||||
--buildsystem=makefile
|
||||
|
||||
override_dh_auto_install:
|
||||
$(info Skip dh_auto_install ...)
|
||||
|
||||
override_dh_clean:
|
||||
dh_clean hostapd/.config
|
||||
|
||||
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
|
||||
|
||||
override_dh_builddeb:
|
||||
dh_builddeb -- -Zxz -z6
|
||||
|
||||
override_dh_installinit:
|
||||
dh_installinit --name=hostapd
|
||||
|
||||
### end dh overrides
|
||||
|
||||
%:
|
||||
dh ${@} --parallel
|
||||
1
external/packages/extras-buildpkgs/hostapd-realtek/debian/source/format
vendored
Normal file
1
external/packages/extras-buildpkgs/hostapd-realtek/debian/source/format
vendored
Normal file
@@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
||||
2
external/packages/extras-buildpkgs/hostapd-realtek/debian/source/options
vendored
Normal file
2
external/packages/extras-buildpkgs/hostapd-realtek/debian/source/options
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
compression = "xz"
|
||||
compression-level = 6
|
||||
Reference in New Issue
Block a user