Patches for aports can be sent to this list

1

[alpine-aports] [PATCH 1/2] testing/wireless-regdb: new aport

Stefan Wagner
Details
Message ID
<1461772976-24195-1-git-send-email-stw@bit-strickerei.de>
Sender timestamp
1461772975
DKIM signature
missing
Download raw message
Patch: +26 -0
Linux Central Regulatory Domain Database
https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb

ref #3910
---
 testing/wireless-regdb/APKBUILD | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 testing/wireless-regdb/APKBUILD

diff --git a/testing/wireless-regdb/APKBUILD b/testing/wireless-regdb/APKBUILD
new file mode 100644
index 0000000..b40138b
--- /dev/null
+++ b/testing/wireless-regdb/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Stefan Wagner <stw@bit-strickerei.de>
+# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
+pkgname=wireless-regdb
+pkgver=2016.02.08
+pkgrel=0
+pkgdesc="Central Regulatory Domain Database"
+url="https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb"
+arch="noarch"
+license="ISC"
+subpackages="$pkgname-doc"
+source="http://kernel.org/pub/software/network/wireless-regdb/$pkgname-$pkgver.tar.xz"
+
+builddir="$srcdir/$pkgname-$pkgver"
+build() {
+	cd "$builddir"
+}
+
+package() {
+	cd "$builddir"
+	install -D -m644 "$builddir"/regulatory.bin "$pkgdir"/usr/lib/crda/regulatory.bin
+	install -D -m644 "$builddir"/regulatory.bin.5 "$pkgdir"/usr/share/man/man5/regulatory.bin.5
+}
+
+md5sums="96771eb66dc378f7fc5fd9d5ff79d004  wireless-regdb-2016.02.08.tar.xz"
+sha256sums="ce957b7f4fe103d8fb4d160d3b39825ad0b0da639b7453d4022d71415b6c9f9f  wireless-regdb-2016.02.08.tar.xz"
+sha512sums="bfb1e9f6b9c40f2f575f9e5866762bfb408be5157bc0c92aeafb1806c2e6c37d4cb085568e83291763469a30f47d1df8048982521b778a99a3d833d33842f569  wireless-regdb-2016.02.08.tar.xz"
-- 
2.8.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

[alpine-aports] [PATCH 2/2] testing/crda: new aport

Stefan Wagner
Details
Message ID
<1461772976-24195-2-git-send-email-stw@bit-strickerei.de>
In-Reply-To
<1461772976-24195-1-git-send-email-stw@bit-strickerei.de> (view parent)
Sender timestamp
1461772976
DKIM signature
missing
Download raw message
Patch: +42 -0
Linux Central Regulatory Domain Agent
http://www.linuxwireless.org/en/developers/Regulatory/CRDA/

ref #3910
---
 testing/crda/01-Makefile-dont-run-ldconfig.patch | 10 ++++++++
 testing/crda/APKBUILD                            | 32 ++++++++++++++++++++++++
 2 files changed, 42 insertions(+)
 create mode 100644 testing/crda/01-Makefile-dont-run-ldconfig.patch
 create mode 100644 testing/crda/APKBUILD

diff --git a/testing/crda/01-Makefile-dont-run-ldconfig.patch b/testing/crda/01-Makefile-dont-run-ldconfig.patch
new file mode 100644
index 0000000..d1e7477
--- /dev/null
+++ b/testing/crda/01-Makefile-dont-run-ldconfig.patch
@@ -0,0 +1,10 @@
+--- a/Makefile	2014-12-11 00:51:29.000000000 +0100
+@@ -127,7 +127,6 @@
+ 	$(NQ) '  INSTALL  libreg'
+ 	$(Q)mkdir -p $(DESTDIR)/$(LIBDIR)
+ 	$(Q)cp $(LIBREG) $(DESTDIR)/$(LIBDIR)/
+-	$(Q)ldconfig
+ 
+ %.o: %.c regdb.h $(LIBREG)
+ 	$(NQ) '  CC  ' $@
diff --git a/testing/crda/APKBUILD b/testing/crda/APKBUILD
new file mode 100644
index 0000000..bc5d020
--- /dev/null
+++ b/testing/crda/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Stefan Wagner <stw@bit-strickerei.de>
+# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
+pkgname=crda
+pkgver=3.18
+pkgrel=0
+pkgdesc="Linux Central Regulatory Domain Agent"
+url="http://www.linuxwireless.org/en/developers/Regulatory/CRDA/"
+arch="all"
+license="GPL"
+depends="wireless-regdb"
+makedepends="linux-headers libnl-dev py-m2crypto libgcrypt-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://kernel.org/pub/software/network/crda/crda-3.18.tar.xz
+	01-Makefile-dont-run-ldconfig.patch"
+
+builddir="$srcdir/$pkgname-$pkgver"
+build() {
+	cd "$builddir"
+	make
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+}
+
+md5sums="0431fef3067bf503dfb464069f06163a  crda-3.18.tar.xz
+412cbf7cc897359b78f468f5b71fb9a3  01-Makefile-dont-run-ldconfig.patch"
+sha256sums="43fcb9679f8b75ed87ad10944a506292def13e4afb194afa7aa921b01e8ecdbf  crda-3.18.tar.xz
+93d1c0ca0c1ef72ffc830033dbce8206695f721615b95b54b1a4afda1457bd7a  01-Makefile-dont-run-ldconfig.patch"
+sha512sums="57ae6309159f396448f052c127f401c2f63d47f4193e87dca231c4b7bbbd7e69b5e5666f356fc76dfc8a6ae58ffa55c3794428d6eb34d9937df77c4276036588  crda-3.18.tar.xz
+c642976b193722c0050c13331a010b466cea8391bb5f945832604a556e274ea1a4b289c78f74ff5d502fae800f18219db3d10ff10c0528eefc5e9443a963640f  01-Makefile-dont-run-ldconfig.patch"
-- 
2.8.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---