summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-05-06 19:25:25 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-05-06 19:25:25 +0000
commitbb819466454cd0e628da5edc60264f43a77fd4f7 (patch)
tree0c082da84762d23efea9ea86e2290e3562b1efe2 /user
parent7bcb34d24ee80b914b14de055ab8b0560e87e7fd (diff)
parentdb7114254b794947d72c4c78d2e04c91dcf7eb00 (diff)
downloadpackages-bb819466454cd0e628da5edc60264f43a77fd4f7.tar.gz
packages-bb819466454cd0e628da5edc60264f43a77fd4f7.tar.bz2
packages-bb819466454cd0e628da5edc60264f43a77fd4f7.tar.xz
packages-bb819466454cd0e628da5edc60264f43a77fd4f7.zip
Merge branch 'iw' into 'master'
New packages: user/iw and user/wireless-regdb wireless-regdb contains a firmware file which is essential to ensure that Adélie hosts comply with local radio regulations. iw is a modern replacement for the antique wireless-tools; without it, users may not be able to use all features of modern wifi hardware. See merge request !228
Diffstat (limited to 'user')
-rw-r--r--user/iw/APKBUILD24
-rw-r--r--user/wireless-regdb/APKBUILD22
2 files changed, 46 insertions, 0 deletions
diff --git a/user/iw/APKBUILD b/user/iw/APKBUILD
new file mode 100644
index 000000000..65c762edf
--- /dev/null
+++ b/user/iw/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: Luis Ressel <aranea@aixah.de>
+# Maintainer: Luis Ressel <aranea@aixah.de>
+pkgname=iw
+pkgver=5.0.1
+pkgrel=0
+pkgdesc="CLI configuration utility for wireless devices"
+url="https://wireless.wiki.kernel.org/en/users/Documentation/iw"
+arch="all"
+options="!check" # no usable test suite
+license="ISC"
+depends=""
+makedepends="libnl3-dev linux-headers pkgconfig"
+subpackages="$pkgname-doc"
+source="https://kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar.xz"
+
+build() {
+ make V=1
+}
+
+package() {
+ make V=1 DESTDIR="$pkgdir" install
+}
+
+sha512sums="98764c1be7c63f86cc10193319e18c216a3f9a323444723b2949db0738ff8fcff04e6d78c035b5448c083d825a4b4cde27ec607539ec79b1898af73a7969c544 iw-5.0.1.tar.xz"
diff --git a/user/wireless-regdb/APKBUILD b/user/wireless-regdb/APKBUILD
new file mode 100644
index 000000000..678ec0bdd
--- /dev/null
+++ b/user/wireless-regdb/APKBUILD
@@ -0,0 +1,22 @@
+# Contributor: Luis Ressel <aranea@aixah.de>
+# Maintainer: Luis Ressel <aranea@aixah.de>
+pkgname=wireless-regdb
+pkgver=2019.03.01
+pkgrel=0
+pkgdesc="Database of regulatory radio restrictions"
+url="https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb"
+arch="noarch"
+options="!check" # no test suite
+license="ISC"
+depends=""
+makedepends=""
+subpackages="$pkgname-doc"
+source="https://kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar.xz"
+
+package() {
+ install -Dm644 -t "$pkgdir/lib/firmware" regulatory.db regulatory.db.p7s
+ install -Dm644 -t "$pkgdir/usr/share/man/man5" regulatory.bin.5 regulatory.db.5
+ install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" db.txt
+}
+
+sha512sums="f0b94e1f661d86f4fcd39384588e10d7353ad085563ddc40a98446b416ce0d7bd0cbe34f1d9620ac45a33f16b7bfe58419da915061942cd5f51d5a3bf9809d72 wireless-regdb-2019.03.01.tar.xz"