debian/0000755000000000000000000000000012164267755007205 5ustar debian/watch0000644000000000000000000000015112164100475010214 0ustar version=3 https://www.kernel.org/pub/software/network/wireless-regdb/wireless-regdb-(.*)\.tar\.xz debian debian/README.source0000644000000000000000000000141011621772753011354 0ustar If you need to make an NMU, you'll first have to create a key-pair. 1. Choose your author ID; I suggest your debian.org address. 2. Generate the private key by running: make REGDB_AUTHOR= ~/.wireless-regdb-.key.priv.pem 3. Generate the public key by running: make REGDB_AUTHOR= .key.pub.pem 4. Either add the public key to the crda package in debian/pubkeys, or modify this package to install it in /lib/crda/pubkeys. 5. Set REGDB_AUTHOR= in debian/rules. Note, you cannot build this package using an automated builder. You can use e.g. 'pbuilder --login --bindmounts /home' to create a controlled chroot in which to build it. -- Ben Hutchings , Mon, 11 Apr 2011 13:31:22 +0100 debian/rules0000755000000000000000000000107012164267535010257 0ustar #!/usr/bin/make -f export CRDA_PATH = /lib/crda export REGDB_AUTHOR = ubuntu-devel-discuss@lists.ubuntu.com export V = 1 # prevent the build system from calling lsb_release export LSB_ID = Debian/Ubuntu %: dh ${@} override_dh_auto_build: make .wireless-regdb-$(REGDB_AUTHOR).key.priv.pem dh_auto_build override_dh_install: make DESTDIR=debian/wireless-regdb install # crda will install public keys rm -f debian/wireless-regdb/lib/crda/pubkeys/linville.key.pub.pem override_dh_auto_clean: dh_auto_clean -- mrproper rm -f sha1sum.txt debian/copyright0000644000000000000000000000251112164103334011115 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: wireless-regdb Upstream-Contact: John W. Linville Source: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-regdb.git Files: * Copyright: 2008, Luis R. Rodriguez 2008, Johannes Berg 2008, Michael Green License: ISC Files: debian/* Copyright: 2009, Kel Modderman 2011, Stefan Lippers-Hollmann 2011-2013, Ben Hutchings License: ISC License: ISC 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. debian/source/0000755000000000000000000000000011621772753010501 5ustar debian/source/format0000644000000000000000000000001411621772753011707 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012164267535010630 5ustar debian/patches/add_EU_regdom0000644000000000000000000000105111621772753013226 0ustar From: Ben Hutchings Subject: [PATCH] Add 'EU' regulatory domain for backward compatibility Signed-off-by: Ben Hutchings --- a/db.txt +++ b/db.txt @@ -695,3 +695,11 @@ country ZA: country ZW: (2402 - 2482 @ 40), (N/A, 20) +# For backward compatibility with built-in regulatory domains, provide +# the 'country' code EU representing ETSI regulations. +country EU: + (2402 - 2482 @ 40), (N/A, 20) + (5170 - 5250 @ 40), (N/A, 20) + (5250 - 5330 @ 40), (N/A, 20), DFS + (5490 - 5710 @ 40), (N/A, 27), DFS + debian/patches/dont_auto_create_keypair0000644000000000000000000000244712164267535015625 0ustar From: Ben Hutchings Subject: [PATCH] Don't automatically create key-pairs If the private key is missing, this is probably an error in the build configuration. Don't create a private key unless it's the only explicit goal for make. Signed-off-by: Ben Hutchings Index: wireless-regdb/Makefile =================================================================== --- wireless-regdb.orig/Makefile 2011-09-22 09:07:56.216661000 -0400 +++ wireless-regdb/Makefile 2011-09-22 11:03:21.419882576 -0400 @@ -29,7 +29,7 @@ echo custom-user; \ fi) -REGDB_PRIVKEY ?= ~/.wireless-regdb-$(REGDB_AUTHOR).key.priv.pem +REGDB_PRIVKEY ?= .wireless-regdb-$(REGDB_AUTHOR).key.priv.pem REGDB_PUBKEY ?= $(REGDB_AUTHOR).key.pub.pem REGDB_UPSTREAM_PUBKEY ?= linville.key.pub.pem @@ -67,8 +67,15 @@ $(REGDB_PRIVKEY): +ifeq ($(MAKECMDGOALS),$(REGDB_PRIVKEY)) @echo "Generating private key for $(REGDB_AUTHOR)..." openssl genrsa -out $(REGDB_PRIVKEY) 2048 +else + @echo "No private key found. To generate a private key, run:" + @echo " make .wireless-regdb-.key.priv.pem" + @echo "Your author-id is currently \"$(REGDB_AUTHOR)\"; set REGDB_AUTHOR to override this." + @exit 1 +endif ifneq ($(shell test -e $(DISTRO_PRIVKEY) && echo yes),yes) $(DISTRO_PRIVKEY): debian/patches/series0000644000000000000000000000004711621772753012046 0ustar dont_auto_create_keypair add_EU_regdom debian/compat0000644000000000000000000000000211621772753010377 0ustar 8 debian/control0000644000000000000000000000201412164267535010601 0ustar Source: wireless-regdb Section: net Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Ben Hutchings Build-Depends: debhelper (>= 8), openssl, python, python-m2crypto Standards-Version: 3.9.4 Vcs-Git: git://git.debian.org/kernel/wireless-regdb.git Vcs-Browser: http://git.debian.org/?p=kernel/wireless-regdb.git Homepage: http://wireless.kernel.org/en/developers/Regulatory/#The_regulatory_database Package: wireless-regdb Architecture: all Multi-Arch: foreign Depends: ${misc:Depends} Suggests: crda Description: wireless regulatory database This package contains the wireless regulatory database used by the Central Regulatory Database Agent (CRDA) to configure wireless devices to operate within the radio spectrum allowed in the local jurisdiction. . This regulatory information is provided with no warranty either expressed or implied. Only Linux drivers which use cfg80211 framework can make use of the regulatory database and CRDA. debian/gbp.conf0000644000000000000000000000004212164100511010570 0ustar [git-buildpackage] compression=xz debian/changelog0000644000000000000000000000665612164267671011071 0ustar wireless-regdb (2013.02.13-1ubuntu1) saucy; urgency=low * Resynchronise with Debian. Remaining changes: - Replace REGDB_AUTHOR with the ubuntu-devel-discuss@ list, to create our own private key for signing the regulatory data. - Explicitly override dh_auto_build to make a new private key. - Don't remove pubkeys, to make sure the key can be verified; but still remove /lib/crda/pubkeys/linville.key.pub.pem since that conflicts with crda. - debian/patches/dont_auto_create_keypair: Drop the tilde from the key path, since it isn't guaranteed to work on buildds. -- Colin Watson Mon, 01 Jul 2013 13:01:55 +0100 wireless-regdb (2013.02.13-1) unstable; urgency=low * New upstream version - Add master DFS region information - Add regulations for Rwanda (RW) - Enable HT40 on channels 8-13 in Japan (JP) - Update regulations for Ukraine (UA) - Remove wrong 10 MHz rule for Japan (JP) - Add regulatory rules for US, China (CN) and ETSI members on 60 GHz band - Update regulatory rules for Spain (ES) on 5 GHz and 2.4 GHz - Allow 40 MHz on world roaming channels 12/13 - Add specific data for Serbia (RS) for the 2.4 GHz and 5 GHz bands * debian/control: Set Multi-Arch: foreign, thanks to Tim Gardner * debian/watch: Point to new download location on kernel.org - Switch to xz-compressed tarballs * debian/control: Update fragment in Homepage URL (Closes: #655029) * Update policy version to 3.9.4 - debian/copyright: Update to 1.0 format (no changes required) * debian/copyright: Remove unreferenced GPL-2 text * debian/copyright: Add my copyright to Debian packaging -- Ben Hutchings Sun, 30 Jun 2013 20:27:44 +0100 wireless-regdb (2011.04.28-1ubuntu3) precise; urgency=low * Don't install /lib/crda/pubkeys/linville.key.pub.pem; this conflicts with crda. -- Colin Watson Fri, 25 Nov 2011 20:05:57 +0000 wireless-regdb (2011.04.28-1ubuntu2) precise; urgency=low * Make wireless-regdb Multi-Arch: foreign -- Tim Gardner Mon, 21 Nov 2011 10:51:52 -0700 wireless-regdb (2011.04.28-1ubuntu1) oneiric; urgency=low * debian/rules: (LP: #831364) - replace REGDB_AUTHOR with the ubuntu-devel-discuss@ list, to create our own private key for signing the regulatory data. - explicitly override dh_auto_build to make a new private key. - don't remove pubkeys, to make sure the key can be verified. * debian/patches/dont_auto_create_keypair: drop the tilde from the key path, since it isn't guaranteed to work on buildds. -- Mathieu Trudel-Lapierre Thu, 22 Sep 2011 11:10:26 -0400 wireless-regdb (2011.04.28-1) unstable; urgency=low * New upstream version (Closes: #626816) - Update regulatory rules for Netherlands (NL) - web/Regulatory.py is now under the ISC licence -- Ben Hutchings Tue, 17 May 2011 02:40:08 +0100 wireless-regdb (2010.11.24-2) unstable; urgency=low * debian/copyright: Correct licence of web/Regulatory.py * debian/control: Add references to git repository -- Ben Hutchings Tue, 12 Apr 2011 00:15:21 +0100 wireless-regdb (2010.11.24-1) unstable; urgency=low * Initial release (Closes: #572220) - Most packaging was done by Kel Modderman and Stefan Lippers-Hollmann -- Ben Hutchings Mon, 11 Apr 2011 14:09:21 +0100