This commit is contained in:
joborun linux 2023-08-20 20:12:37 +03:00
parent c6695b46b5
commit 6e5bdfc5ae
11 changed files with 506 additions and 9 deletions

213
iwd/ChangeLog Normal file
View File

@ -0,0 +1,213 @@
ver 1.9:
Fix issue with WPA3 connections in transition mode.
Fix issue with handling roaming attempt failures.
Add support for radio management work queue.
Add support P2P service manager interface.
Add support for WiFi Display client API.
ver 1.8:
Fix issue with handling FT AKMs when not supported.
Fix issue with handling FILS and RSNE in authenticate.
Fix issue with handling auto-connection and quick scan.
Fix issue with sending multiple scan requests.
Add support for P2P feature and API.
ver 1.7:
Fix issue with APs that send IGTK falsely in big endian.
Fix issue with setting linkmode & operstate for open networks.
ver 1.6:
Fix issue with handling missing AP stop events.
Fix issue with handling out-of-order disconnect events.
Fix issue with handling missing auth/assoc support.
Fix issue with handling omitted EAP-TLS-CACert.
Fix issue with handling OWE PTK derivation.
Add support for internal frame exchange API.
Add support for MAC randomization and override.
Add support for per-network MAC addresses.
ver 1.5:
Fix issue with handling missing NEW_WIPHY events.
Fix issue with interface creation and NEW_WIPHY events.
Fix issue with handling LastConnectedTime property change.
Fix issue with PEAPv0 interoperability with Windows.
ver 1.4:
Fix issue with handling Crypto-Binding and invalid MACs.
Fix issue with handling change station error results.
Fix issue with handling DNS resolving installations.
ver 1.3:
Fix issue with handling EAP-GTC and password requests.
Fix issue with handling Crypto-Binding TLV for PEAPv0.
Fix issue with handling key installation and PEAP Phase 2.
Fix issue with handling externally triggered scan requests.
Fix issue with handling RCPI calculation for RRM requests.
ver 1.2:
Fix issue with handling scan requests while connecting.
Fix issue with handling scan duration for RRM requests.
Fix issue with handling parent TSF value for RRM requests.
ver 1.1:
Fix issue with simple configuration support checks.
Fix issue with handling TLS tunnel and PEAPv0.
Add support for radio resource management.
ver 1.0:
Add support for stable D-Bus interfaces.
Add support for network configuration documentation.
ver 0.23:
Fix issue with strict certificate chain checks.
Fix issue with parsing RSNE_ADVANCE information.
Fix issue with parsing RSN information for WPA1.
Fix issue with logic error in scan frequency validation.
Fix issue with integer overflow and authentication frames.
Add support for installing various manual pages.
ver 0.22:
Fix issue with hotplug and device capability detection.
Add support for IPv6 network configuration handling.
Add support for embedding certificates in profiles.
ver 0.21:
Fix issue with cleartext ACK and tunneled EAP-Success.
Fix issue with setting bits in extended capabilities.
Fix issue with WPA-1 information element parsing.
Add support for handling QoS Map IE and frames.
Add support for STATE_DIRECTORY environment.
Add support for CONFIGURATION_DIRECTORY environment.
ver 0.20:
Add support for adding Extended Capabilities bits.
Add support for ServerDomainMask configuration option.
ver 0.19:
Add support for Hotspot 2.0 functionality.
Add support for FILS Fast Transition feature.
Add support for network configuration handling.
Add support for resolution services framework.
ver 0.18:
Fix issue with handling stale scan results.
Fix issue with handling OWE group renegotiation.
Fix issue with handshake failures on FT-PSK.
Add support for FILS (Fast Initial Link Setup).
ver 0.17:
Fix issue with handling association failure path.
Fix issue with handling checks for valid ECC point/scalar.
Fix issue with handling potential infinite loop and SAE.
Fix issue with handling randomization for passive scans.
Add support for randomization of SN for probe requests.
Add support for handling the FILS cipher suites.
Add support for ERP key caching feature.
ver 0.16:
Add missing pkcs8.conf for module loading.
ver 0.15:
Fix issue with handling RSSI thresholds.
Fix issue with handling abort for a connection.
Fix issue with stopping Access Point operation.
Add support for individual BSS blacklisting.
Add support for utilizing MAC randomization.
Add support for utilizing different key lengths.
Add support for 16, 24 and 32 byte MIC lengths.
Add support for handling driver rekying feature.
ver 0.14:
Add support for tunneled MSCHAPv2 authentication.
ver 0.13:
Fix issue with WSC interface runtime handling.
Add support for Opportunistic Wireless Encryption.
Add support for common EAP-TLS framework.
ver 0.12:
Fix issue with handling 802.1x automatic connection.
Fix issue with handling missing support for backtrace.
ver 0.11:
Fix issue with handling EAP-TTLS and redundant L flags.
Fix issue with handling EAP-TLS upper limit on request size.
Fix issue with handling handshake complete after setting keys.
Fix issue with handling access points with too many rates.
Fix issue with requiring PSK if passphrase is present.
Add support for retrieving list of hidden access points.
Add support for tunneled MS-CHAP.
ver 0.10:
Fix issue with Ethernet authentication packet handling.
Fix issue with ad-hoc network scan results in station mode.
Fix issue with cancellation of ongoing rekey offload.
Add support for setting per-mac GTK credentials.
Add support for using external Embedded Linux library.
ver 0.9:
Fix issue with handling EAP-WSC passwords.
Add support for TTLS-CHAP and TTLS-PAP.
Add support for handling FT over SAE.
ver 0.8:
Fix issue with handling EAP_CACHE_NEVER secret types.
Fix issue with redundant usage of the L flag and PEAP.
Fix issue with EAP type 33 as termination mechanism for PEAPv1.
Add initial version of Ethernet authentication daemon.
Add support for Station mode interface.
ver 0.7:
Fix issue with hard coded peer address and SAE networks.
Fix issue with raw passphrase requirement and SAE networks.
Fix issue with differentiating authenticator and supplicant.
Fix issue with timestamps comparison of known networks.
Fix issue with handling cancellation of power callbacks.
Fix issue with honoring auto-connect setting on power up.
Fix issue with crash during operstate callbacks.
ver 0.6:
Fix issue with syncing the PSK on first connection.
Fix issue with unnecessary known object removal events.
ver 0.5:
Fix issue with EAPoL handling and Ad-Hoc networks.
Add support for using agent with EAP-GTC methods.
Add support for improved Known Networks management.
Add support for Simultaneous Authentication of Equals.
Add support for exposing supported modes of operation.
Add support for D-Bus auto-activation via systemd.
ver 0.4:
Fix issue with handling all zero PMKID.
Fix issue with handling PEAP servers and M bit requirement.
Fix issue with handling MS-CHAP v2 and uninitialized memory.
Fix issue with handling memory leak and aborting connections.
Fix issue with handling memory leak and PSK configuration.
Fix issue with handling not yet running D-Bus daemon.
Add support for advanced scanning of hidden networks.
Add support for MAC address randomization.
Add support for Ad-Hoc network interface.
Add support for Access Point interface.
ver 0.3:
Fix issue with auto-connect settings for open networks.
Fix issue with handling beacon loss in roaming situations.
Fix issue with handling bridged wireless network interfaces.
Fix issue with handling EAP identity prompt or notification.
Fix issue with handling EAP state reset and reauthentication.
Add support for user specified hidden network connections.
Add support for configuring WDS / 4ADDR operation.
ver 0.2:
Fix issue with unsupported bands from roam scan frequency set.
Fix issue with handling disconnect by AP and by SME events.
Fix issue with string start calculation for MS-CHAP v2.
Add workaround for 0 oper class in neighbor report.
Add support for EAPoL over NL80211 kernel feature.
Add support for EAP-PWD authentication method.
Add support for EAP-GTC authentication method.
Add support for agent functionality to client.
ver 0.1:
Initial public release.

65
iwd/PKGBUILD Normal file
View File

@ -0,0 +1,65 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=iwd
pkgver=2.7
pkgrel=01
pkgdesc='Internet Wireless Daemon w/o systemd'
url='https://git.kernel.org/cgit/network/wireless/iwd.git/'
depends=('glibc' 'readline' 'libreadline.so' 'ell' 'gcc-libs')
makedepends=('python-docutils' 'dbus')
optdepends=('qrencode: for displaying QR code after DPP is started')
source=("https://www.kernel.org/pub/linux/network/wireless/iwd-${pkgver}.tar"{.xz,.sign})
# https://mirrors.edge.kernel.org/pub/linux/network/wireless/sha256sums.asc
changelog=ChangeLog
install=iwd.install
build() {
cd ${pkgname}-${pkgver}
dbus-run-session ./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/iwd \
--disable-systemd-service \
--enable-external-ell \
--enable-wired \
--enable-ofono \
--enable-hwsim \
--disable-tools
make
# --disable-dbus-policy \
}
check() {
cd ${pkgname}-${pkgver}
# pass broken tests - should reported upstream
# One test fail because we need kernel capabilities that
# we don't have inside of systemd-nspawn
# this could only be fixed via changing our build environment
# make -k check || /bin/true
make -k check
}
package() {
cd ${pkgname}-${pkgver}
make install DESTDIR="${pkgdir}"
install -Dm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('LGPL')
validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659')
sha256sums=(289ff47a76fb854e7789c45c5e3e0f15de4adc5fd2e82e47ab08e3564d8961d9 # iwd-2.7.tar.xz
74808d6197301511beb09adf1cdfa933f5d5a1b889ccf9b42222aca18ed7d265) # iwd-2.7.tar.sign
## 7b5293c5e3896eca5623ceff209ac28c8b176e3587a4c74fc8539f167b33063f iwd-2.7-01-x86_64.pkg.tar.lz

52
iwd/PKGBUILD-arch Normal file
View File

@ -0,0 +1,52 @@
# Maintainer : Christian Rebischke <chris.rebischke@archlinux.org>
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: AndyRTR <andyrtr at archlinux.org>
pkgname=iwd
pkgver=2.7
pkgrel=1
pkgdesc='Internet Wireless Daemon'
arch=('x86_64')
url='https://git.kernel.org/cgit/network/wireless/iwd.git/'
license=('LGPL')
depends=('glibc' 'readline' 'libreadline.so' 'ell' 'gcc-libs')
makedepends=('python-docutils' 'dbus' 'systemd')
optdepends=('qrencode: for displaying QR code after DPP is started')
source=("https://www.kernel.org/pub/linux/network/wireless/iwd-${pkgver}.tar"{.xz,.sign})
# https://mirrors.edge.kernel.org/pub/linux/network/wireless/sha256sums.asc
sha256sums=('289ff47a76fb854e7789c45c5e3e0f15de4adc5fd2e82e47ab08e3564d8961d9'
'SKIP')
validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659')
changelog=ChangeLog
install=iwd.install
build() {
cd ${pkgname}-${pkgver}
dbus-run-session ./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/iwd \
--enable-external-ell \
--enable-wired \
--enable-ofono \
--enable-hwsim \
--disable-tools
make
}
check() {
cd ${pkgname}-${pkgver}
# pass broken tests - should reported upstream
# One test fail because we need kernel capabilities that
# we don't have inside of systemd-nspawn
# this could only be fixed via changing our build environment
make -k check || /bin/true
}
package() {
cd ${pkgname}-${pkgver}
make install DESTDIR="${pkgdir}"
install -Dm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
}
# vim: ts=2 sw=2 et:

1
iwd/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,iwd*.tar.*}

154
iwd/configure vendored Normal file
View File

@ -0,0 +1,154 @@
`configure' configures iwd 2.7 to adapt to many kinds of systems.
Usage: src/iwd-2.7/configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking ...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/iwd]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
Program names:
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-silent-rules less verbose build output (undo: "make V=1")
--disable-silent-rules verbose build output (undo: "make V=0")
--enable-maintainer-mode
enable make rules and dependencies not useful (and
sometimes confusing) to the casual installer
--enable-dependency-tracking
do not reject slow dependency extractors
--disable-dependency-tracking
speeds up one-time build
--disable-largefile omit support for large files
--enable-static[=PKGS] build static libraries [default=no]
--enable-shared[=PKGS] build shared libraries [default=yes]
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
--disable-optimization disable code optimization through compiler
--enable-debug enable compiling with debugging information
--enable-gcov enable compiling with code coverage information
--enable-pie enable position independent executables flag
--enable-asan enable linking with address sanitizer
--enable-lsan enable linking with leak sanitizer
--enable-ubsan enable linking with undefined behavior sanitizer
--disable-daemon don't install iwd system daemon
--disable-client don't install iwctl client utility
--disable-monitor don't install iwmon monitor utility
--disable-dbus-policy don't install D-Bus system policy files
--disable-systemd-service
don't install systemd service files
--disable-manual-pages don't install manual pages
--enable-external-ell enable external Embedded Linux library
--enable-libedit enable Editline library instead of Readline
--enable-wired enable Ethernet authentication support
--enable-hwsim enable Wireless simulation utility
--enable-tools enable internal testing utilities
--enable-ofono enable oFono SIM authentication support
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
both]
--with-aix-soname=aix|svr4|both
shared library versioning (aka "SONAME") variant to
provide on AIX, [default=aix].
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-sysroot[=DIR] Search for dependent libraries within DIR (or the
compiler's sysroot if not specified).
--with-dbus-datadir=DIR path to D-Bus data directory
--with-dbus-busdir=DIR path to D-Bus bus services directory
--with-systemd-unitdir=DIR
path to systemd unit directory
--with-systemd-networkdir=DIR
path to systemd network directory
--with-systemd-modloaddir=DIR
path to systemd modules load directory
Some influential environment variables:
PKG_CONFIG path to pkg-config utility
PKG_CONFIG_PATH
directories to add to pkg-config's search path
PKG_CONFIG_LIBDIR
path overriding pkg-config's built-in search path
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
LT_SYS_LIBRARY_PATH
User-defined run-time library search path.
LIBEDIT_CFLAGS
C compiler flags for LIBEDIT, overriding pkg-config
LIBEDIT_LIBS
linker flags for LIBEDIT, overriding pkg-config
READLINE_CFLAGS
C compiler flags for READLINE, overriding pkg-config
READLINE_LIBS
linker flags for READLINE, overriding pkg-config
ELL_CFLAGS C compiler flags for ELL, overriding pkg-config
ELL_LIBS linker flags for ELL, overriding pkg-config
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to the package provider.

5
iwd/deps Normal file
View File

@ -0,0 +1,5 @@
ell
python-docutils

6
iwd/iwd.install Normal file
View File

@ -0,0 +1,6 @@
post_upgrade() {
if (($(vercmp 0.20-3 $2) > 0)); then
chmod 700 /var/lib/ead/
chmod 700 /var/lib/iwd/
fi
}

1
iwd/key Normal file
View File

@ -0,0 +1 @@
gpg -v --recv-key A2C794A986419D8A

6
iwd/time Normal file
View File

@ -0,0 +1,6 @@
real 0m40.597s
user 0m38.142s
sys 0m3.506s

View File

@ -18,13 +18,6 @@ _source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkg
source=($_source_base/$pkgname-$pkgver.src.tar.xz{,.sig}
$_source_base/cmake-$pkgver.src.tar.xz{,.sig}
llvm-config.h)
sha256sums=('4ad8b2cc8003c86d0078d15d987d84e3a739f24aae9033865c027abae93ee7a4'
'SKIP'
'8986f29b634fdaa9862eedda78513969fe9788301c9f2d938f4c10a3e7a3e7ea'
'SKIP'
'597dc5968c695bbdbb0eac9e8eb5117fcd2773bc91edf5ec103ecffffab8bc48')
validpgpkeys=('474E22316ABF4785A88C6E8EA2C794A986419D8A' # Tom Stellard <tstellar@redhat.com>
'D574BD5D1D0E98895E3BF90044F2485E45D59042') # Tobias Hieta <tobias@hieta.se>
# Utilizing LLVM_DISTRIBUTION_COMPONENTS to avoid
# installing static libraries; inspired by Gentoo

View File

@ -8,7 +8,6 @@
pkgname=('llvm14' 'llvm14-libs')
pkgver=14.0.6
pkgrel=03
arch=('x86_64')
url="https://llvm.org/"
## ex llvm pkg became llvm14 after the 15.0 upgrade
makedepends=('cmake' 'ninja' 'libffi' 'libedit' 'ncurses' 'libxml2'
@ -138,7 +137,9 @@ package_llvm14-libs() {
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
#---- license gpg-key sha256sums ----
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('custom:Apache 2.0 with LLVM Exception')