[arch-commits] Commit in wireless-regdb/repos (10 files)
Thomas Bächler
thomas at nymeria.archlinux.org
Tue Dec 3 10:31:17 UTC 2013
Date: Tuesday, December 3, 2013 @ 11:31:17
Author: thomas
Revision: 200721
db-move: moved wireless-regdb from [testing] to [core] (any)
Added:
wireless-regdb/repos/core-any/PKGBUILD
(from rev 200720, wireless-regdb/repos/testing-any/PKGBUILD)
wireless-regdb/repos/core-any/crda.conf.d
(from rev 200720, wireless-regdb/repos/testing-any/crda.conf.d)
wireless-regdb/repos/core-any/wireless-regdb.install
(from rev 200720, wireless-regdb/repos/testing-any/wireless-regdb.install)
Deleted:
wireless-regdb/repos/core-any/LICENSE
wireless-regdb/repos/core-any/PKGBUILD
wireless-regdb/repos/core-any/crda.conf.d
wireless-regdb/repos/core-any/linville.key.pub.pem
wireless-regdb/repos/core-any/regulatory.bin.5
wireless-regdb/repos/core-any/wireless-regdb.install
wireless-regdb/repos/testing-any/
---------------------------------+
/PKGBUILD | 46 +++++++++++++++++++++++++++++++++
/crda.conf.d | 4 ++
/wireless-regdb.install | 13 +++++++++
core-any/LICENSE | 16 -----------
core-any/PKGBUILD | 52 --------------------------------------
core-any/crda.conf.d | 4 --
core-any/linville.key.pub.pem | 9 ------
core-any/regulatory.bin.5 | 37 ---------------------------
core-any/wireless-regdb.install | 13 ---------
9 files changed, 63 insertions(+), 131 deletions(-)
Deleted: core-any/LICENSE
===================================================================
--- core-any/LICENSE 2013-12-03 10:31:08 UTC (rev 200720)
+++ core-any/LICENSE 2013-12-03 10:31:17 UTC (rev 200721)
@@ -1,16 +0,0 @@
-Copyright (c) 2008, Luis R. Rodriguez <mcgrof at gmail.com>
-Copyright (c) 2008, Johannes Berg <johannes at sipsolutions.net>
-Copyright (c) 2008, Michael Green <Michael.Green at Atheros.com>
-
-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.
-
Deleted: core-any/PKGBUILD
===================================================================
--- core-any/PKGBUILD 2013-12-03 10:31:08 UTC (rev 200720)
+++ core-any/PKGBUILD 2013-12-03 10:31:17 UTC (rev 200721)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Thomas Bächler <thomas at archlinux.org>
-
-pkgname=wireless-regdb
-pkgver=2013.01.11
-pkgrel=1
-pkgdesc="Central Regulatory Domain Database"
-arch=('any')
-url="http://wireless.kernel.org/en/developers/Regulatory/CRDA"
-backup=(etc/conf.d/wireless-regdom)
-license=('custom')
-makedepends=('crda')
-depends=('sh')
-install=wireless-regdb.install
-source=(http://wireless.kernel.org/download/${pkgname}/regulatory.bins/${pkgver}-regulatory.bin
- linville.key.pub.pem
- regulatory.bin.5
- LICENSE
- crda.conf.d)
-sha256sums=('b1ee0b20c123c612dfdb6851ab42c01666f66fb583e0e590942f19bb54cf84be'
- '5d49ed0267082af35fd147a58434f19f7619518064b502b8a87143ee3e140546'
- 'f24bcaf67ecd088b407a9650375704a2fe1b23e3cfffbb1e7fe1026a02b3178a'
- '678b0df753c86198fc496d1f1033429bbd57f101472132ee7eaaf9f5e0a7fae1'
- '192428fd959806705356107bffc97b8b379854e79bd013c4ee140e5202326e2b')
-
-package() {
- # Install and verify regulatory.bin file
- msg "Installing and verifying the regulatory.bin file ..."
- install -D -m644 "${srcdir}"/${pkgver}-regulatory.bin "${pkgdir}"/usr/lib/crda/regulatory.bin
- # If crda is installed, the wireless regdb can be verified using regdbdump
- # Keep this step optional so no depend/makedepend loop is created
- if /usr/bin/regdbdump "${pkgdir}"/usr/lib/crda/regulatory.bin > /dev/null; then
- msg "Regulatory database verification was succesful."
- else
- error "Regulatory database verification failed."
- return 1
- fi
-
- install -D -m644 "${srcdir}"/linville.key.pub.pem "${pkgdir}"/usr/lib/crda/pubkeys/linville.key.pub.pem
- install -D -m644 "${srcdir}"/LICENSE "${pkgdir}"/usr/share/licenses/wireless-regdb/LICENSE
- install -D -m644 "${srcdir}"/regulatory.bin.5 "${pkgdir}"/usr/share/man/man5/regulatory.bin.5
-
- msg "Installing /etc/conf.d/wireless-regdom ..."
- install -D -m644 "${srcdir}"/crda.conf.d "${pkgdir}"/etc/conf.d/wireless-regdom
- for dom in $(/usr/bin/regdbdump "${pkgdir}"/usr/lib/crda/regulatory.bin | grep ^country | cut -d' ' -f2 | sed 's|:||g'); do
- echo "#WIRELESS_REGDOM=\"${dom}\"" >> "${pkgdir}"/etc/conf.d/wireless-regdom.tmp
- done
- sort -u "${pkgdir}"/etc/conf.d/wireless-regdom.tmp >> "${pkgdir}"/etc/conf.d/wireless-regdom
- rm "${pkgdir}"/etc/conf.d/wireless-regdom.tmp
-
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: wireless-regdb/repos/core-any/PKGBUILD (from rev 200720, wireless-regdb/repos/testing-any/PKGBUILD)
===================================================================
--- core-any/PKGBUILD (rev 0)
+++ core-any/PKGBUILD 2013-12-03 10:31:17 UTC (rev 200721)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Thomas Bächler <thomas at archlinux.org>
+
+pkgname=wireless-regdb
+pkgver=2013.11.27
+pkgrel=1
+pkgdesc="Central Regulatory Domain Database"
+arch=('any')
+url="http://wireless.kernel.org/en/developers/Regulatory"
+backup=(etc/conf.d/wireless-regdom)
+license=('custom')
+depends=('sh')
+makedepends=('crda')
+install=wireless-regdb.install
+source=(https://www.kernel.org/pub/software/network/wireless-regdb/${pkgname}-${pkgver}.tar.xz
+ crda.conf.d)
+sha256sums=('aa86150a367df0d6c8d875c05448c96a18c4ddf063f3e1b8c2235c2679117cc2'
+ '192428fd959806705356107bffc97b8b379854e79bd013c4ee140e5202326e2b')
+
+package() {
+ # Install and verify regulatory.bin file
+ msg "Installing and verifying the regulatory.bin file ..."
+ install -D -m644 "${srcdir}"/${pkgname}-${pkgver}/regulatory.bin "${pkgdir}"/usr/lib/crda/regulatory.bin
+ # This creates a depend/makedepend loop:
+ # crda depends on wireless-regdb (but strictly doesn't makedepend on it)
+ # wireless-regdb makedepends on crda
+ if /usr/bin/regdbdump "${pkgdir}"/usr/lib/crda/regulatory.bin > /dev/null; then
+ msg "Regulatory database verification was succesful."
+ else
+ error "Regulatory database verification failed."
+ return 1
+ fi
+ install -D -m644 "${srcdir}"/${pkgname}-${pkgver}/linville.key.pub.pem "${pkgdir}"/usr/lib/crda/pubkeys/linville.key.pub.pem
+ install -D -m644 "${srcdir}"/${pkgname}-${pkgver}/LICENSE "${pkgdir}"/usr/share/licenses/wireless-regdb/LICENSE
+ install -D -m644 "${srcdir}"/${pkgname}-${pkgver}/regulatory.bin.5 "${pkgdir}"/usr/share/man/man5/regulatory.bin.5
+
+ msg "Installing /etc/conf.d/wireless-regdom ..."
+ install -D -m644 "${srcdir}"/crda.conf.d "${pkgdir}"/etc/conf.d/wireless-regdom
+ for dom in $(grep ^country "${srcdir}"/${pkgname}-${pkgver}/db.txt | cut -d' ' -f2 | sed 's|:||g'); do
+ echo "#WIRELESS_REGDOM=\"${dom}\"" >> "${pkgdir}"/etc/conf.d/wireless-regdom.tmp
+ done
+ sort -u "${pkgdir}"/etc/conf.d/wireless-regdom.tmp >> "${pkgdir}"/etc/conf.d/wireless-regdom
+ rm "${pkgdir}"/etc/conf.d/wireless-regdom.tmp
+
+ install -D -m644 "${srcdir}"/${pkgname}-${pkgver}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
Deleted: core-any/crda.conf.d
===================================================================
--- core-any/crda.conf.d 2013-12-03 10:31:08 UTC (rev 200720)
+++ core-any/crda.conf.d 2013-12-03 10:31:17 UTC (rev 200721)
@@ -1,4 +0,0 @@
-#
-# Wireless regulatory domain configuration
-#
-
Copied: wireless-regdb/repos/core-any/crda.conf.d (from rev 200720, wireless-regdb/repos/testing-any/crda.conf.d)
===================================================================
--- core-any/crda.conf.d (rev 0)
+++ core-any/crda.conf.d 2013-12-03 10:31:17 UTC (rev 200721)
@@ -0,0 +1,4 @@
+#
+# Wireless regulatory domain configuration
+#
+
Deleted: core-any/linville.key.pub.pem
===================================================================
--- core-any/linville.key.pub.pem 2013-12-03 10:31:08 UTC (rev 200720)
+++ core-any/linville.key.pub.pem 2013-12-03 10:31:17 UTC (rev 200721)
@@ -1,9 +0,0 @@
------BEGIN PUBLIC KEY-----
-MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1leZcYjTXc4qLq1oN2Ak
-8vLP85P5cFTrCpqdSI5W4VOwdaJB4TtaxU2fATcH/A2EsE3h1rOfzI0+fBV9DcOO
-qyID+zdILBMb8xK5Zv+78OkBGls/WzvDDVhdmn1TRHvRvmJy7cX1mCT56cnHrZM/
-ZBaFwVfiD9TcqqisyF1sqE5+cMHTWRbxc1+rtojr0eGYrNfK20awlD5KVj6Ejzot
-r9EDWAsL1bH/kGfMdnputcyMapLQpRVruO/jEdjSmhAE/sj1tmHcAXBT6j5al4Oa
-LiBaWnP++rune7rjimwfzp0549/rupQUM7nAZRDLyzXj3J/KEci6dXtjonBUFqDY
-4QIDAQAB
------END PUBLIC KEY-----
Deleted: core-any/regulatory.bin.5
===================================================================
--- core-any/regulatory.bin.5 2013-12-03 10:31:08 UTC (rev 200720)
+++ core-any/regulatory.bin.5 2013-12-03 10:31:17 UTC (rev 200721)
@@ -1,37 +0,0 @@
-.TH regulatory.bin 5 "23 January 2009" "regulatory.bin" "Linux"
-.SH NAME
-regulatory.bin \- The Linux wireless regulatory database
-
-.ad l
-.in +8
-.ti -8
-
-.SS
-.SH Description
-.B regulatory.bin
-is the file used by the Linux wireless subsystem to keep its regulatory
-database information. It is read by
-.B crda
-upon the Linux kernel's request for regulatory information for a specific
-ISO / IEC 3166 alpha2 country code. The regulatory database is kept in
-a small binary format for size and code efficiency. The
-.B regulatory.bin
-file can be parsed and read in human format by using the
-.B regdbdump
-command. The
-.B regulatory.bin
-file should be updated upon regulatory changes or corrections.
-
-.SH Upkeeping
-The regulatory database is maintained by the community as such
-you are encouraged to send any corrections or updates to the
-linux-wireless mailing list:
-.B linux-wireless at vger.kernel.org
-
-.SH SEE ALSO
-.BR regdbdump (8)
-.BR crda (8)
-.BR iw (8)
-
-.BR http://wireless.kernel.org/en/developers/Regulatory/
-
Deleted: core-any/wireless-regdb.install
===================================================================
--- core-any/wireless-regdb.install 2013-12-03 10:31:08 UTC (rev 200720)
+++ core-any/wireless-regdb.install 2013-12-03 10:31:17 UTC (rev 200721)
@@ -1,13 +0,0 @@
-post_install() {
- post_upgrade
-}
-
-post_upgrade() {
- # If crda is installed, we verify the integrity of the database
- # If not, we skip this step silently
- if [ -x /usr/bin/regdbdump ]; then
- if ! /usr/bin/regdbdump /usr/lib/crda/regulatory.bin > /dev/null; then
- echo "Failed to verify the integrity of the wireless regulatory database, CRDA will not work."
- fi
- fi
-}
Copied: wireless-regdb/repos/core-any/wireless-regdb.install (from rev 200720, wireless-regdb/repos/testing-any/wireless-regdb.install)
===================================================================
--- core-any/wireless-regdb.install (rev 0)
+++ core-any/wireless-regdb.install 2013-12-03 10:31:17 UTC (rev 200721)
@@ -0,0 +1,13 @@
+post_install() {
+ post_upgrade
+}
+
+post_upgrade() {
+ # If crda is installed, we verify the integrity of the database
+ # If not, we skip this step silently
+ if [ -x /usr/bin/regdbdump ]; then
+ if ! /usr/bin/regdbdump /usr/lib/crda/regulatory.bin > /dev/null; then
+ echo "Failed to verify the integrity of the wireless regulatory database, CRDA will not work."
+ fi
+ fi
+}
More information about the arch-commits
mailing list