[arch-commits] Commit in wireless-regdb/repos (7 files)

Thomas Bächler thomas at archlinux.org
Thu Nov 3 14:52:54 EDT 2011


    Date: Thursday, November 3, 2011 @ 14:52:54
  Author: thomas
Revision: 141966

db-move: moved wireless-regdb from [testing] to [core] (any)

Added:
  wireless-regdb/repos/core-any/PKGBUILD
    (from rev 141965, wireless-regdb/repos/testing-any/PKGBUILD)
  wireless-regdb/repos/core-any/crda.conf.d
    (from rev 141965, wireless-regdb/repos/testing-any/crda.conf.d)
  wireless-regdb/repos/core-any/wireless-regdb.install
    (from rev 141965, wireless-regdb/repos/testing-any/wireless-regdb.install)
Deleted:
  wireless-regdb/repos/core-any/PKGBUILD
  wireless-regdb/repos/core-any/crda.conf.d
  wireless-regdb/repos/core-any/wireless-regdb.install
  wireless-regdb/repos/testing-any/

------------------------+
 PKGBUILD               |   92 +++++++++++++++++++++++------------------------
 crda.conf.d            |    8 ++--
 wireless-regdb.install |   26 ++++++-------
 3 files changed, 63 insertions(+), 63 deletions(-)

Deleted: core-any/PKGBUILD
===================================================================
--- core-any/PKGBUILD	2011-11-03 18:49:44 UTC (rev 141965)
+++ core-any/PKGBUILD	2011-11-03 18:52:54 UTC (rev 141966)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Thomas Bächler <thomas at archlinux.org>
-
-pkgname=wireless-regdb
-pkgver=2010.11.24
-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')
-depends=('sh')
-install=wireless-regdb.install
-source=(http://wireless.kernel.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2
-        crda.conf.d)
-sha256sums=('77b33ac88baef36839e777d5e235be160f5c90dfcb058f4e7707f1873d9c73d3'
-            '192428fd959806705356107bffc97b8b379854e79bd013c4ee140e5202326e2b')
-
-package() {
-  # Install and verify regulatory.bin file
-  msg "Installing and verifying the regulatory.bin file ..."
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
-  # If crda is installed, the wireless regdb can be verified using regdbdump
-  # Keep this step optional so no depend/makedepend loop is created
-  if [ -x /sbin/regdbdump ]; then
-    if /sbin/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
-  else
-    warning "Crda is not installed, regulatory database could not be verified."
-  fi
-  
-  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 -f ${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 141965, wireless-regdb/repos/testing-any/PKGBUILD)
===================================================================
--- core-any/PKGBUILD	                        (rev 0)
+++ core-any/PKGBUILD	2011-11-03 18:52:54 UTC (rev 141966)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Thomas Bächler <thomas at archlinux.org>
+
+pkgname=wireless-regdb
+pkgver=2011.04.28
+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')
+depends=('sh')
+install=wireless-regdb.install
+source=(http://wireless.kernel.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+        crda.conf.d)
+sha256sums=('ed1c3e134e34ba5f93594f6f76b90861fe8d24359c064839a2bb78736416642b'
+            '192428fd959806705356107bffc97b8b379854e79bd013c4ee140e5202326e2b')
+
+package() {
+  # Install and verify regulatory.bin file
+  msg "Installing and verifying the regulatory.bin file ..."
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+  # If crda is installed, the wireless regdb can be verified using regdbdump
+  # Keep this step optional so no depend/makedepend loop is created
+  if [ -x /sbin/regdbdump ]; then
+    if /sbin/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
+  else
+    warning "Crda is not installed, regulatory database could not be verified."
+  fi
+  
+  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 -f ${pkgdir}/etc/conf.d/wireless-regdom.tmp
+
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Deleted: core-any/crda.conf.d
===================================================================
--- core-any/crda.conf.d	2011-11-03 18:49:44 UTC (rev 141965)
+++ core-any/crda.conf.d	2011-11-03 18:52:54 UTC (rev 141966)
@@ -1,4 +0,0 @@
-#
-# Wireless regulatory domain configuration
-#
-

Copied: wireless-regdb/repos/core-any/crda.conf.d (from rev 141965, wireless-regdb/repos/testing-any/crda.conf.d)
===================================================================
--- core-any/crda.conf.d	                        (rev 0)
+++ core-any/crda.conf.d	2011-11-03 18:52:54 UTC (rev 141966)
@@ -0,0 +1,4 @@
+#
+# Wireless regulatory domain configuration
+#
+

Deleted: core-any/wireless-regdb.install
===================================================================
--- core-any/wireless-regdb.install	2011-11-03 18:49:44 UTC (rev 141965)
+++ core-any/wireless-regdb.install	2011-11-03 18:52:54 UTC (rev 141966)
@@ -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 /sbin/regdbdump ]; then
-    if ! /sbin/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 141965, wireless-regdb/repos/testing-any/wireless-regdb.install)
===================================================================
--- core-any/wireless-regdb.install	                        (rev 0)
+++ core-any/wireless-regdb.install	2011-11-03 18:52:54 UTC (rev 141966)
@@ -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 /sbin/regdbdump ]; then
+    if ! /sbin/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