[pkg-wpa-devel] r1371 - in /wireless-regdb/trunk/debian: ./ README.source changelog compat control copyright patches/ patches/do_not_sign_regulatory_bin.patch patches/fix_manual_page_section.patch patches/series rules watch
kelmo-guest at users.alioth.debian.org
kelmo-guest at users.alioth.debian.org
Sun May 10 17:15:49 UTC 2009
Author: kelmo-guest
Date: Sun May 10 17:15:49 2009
New Revision: 1371
URL: http://svn.debian.org/wsvn/pkg-wpa/?sc=1&rev=1371
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
wireless-regdb/trunk/debian/
wireless-regdb/trunk/debian/README.source
wireless-regdb/trunk/debian/changelog
wireless-regdb/trunk/debian/compat
wireless-regdb/trunk/debian/control
wireless-regdb/trunk/debian/copyright
wireless-regdb/trunk/debian/patches/
wireless-regdb/trunk/debian/patches/do_not_sign_regulatory_bin.patch
wireless-regdb/trunk/debian/patches/fix_manual_page_section.patch
wireless-regdb/trunk/debian/patches/series
wireless-regdb/trunk/debian/rules (with props)
wireless-regdb/trunk/debian/watch
Added: wireless-regdb/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-wpa/wireless-regdb/trunk/debian/README.source?rev=1371&op=file
==============================================================================
--- wireless-regdb/trunk/debian/README.source (added)
+++ wireless-regdb/trunk/debian/README.source Sun May 10 17:15:49 2009
@@ -1,0 +1,57 @@
+This package uses quilt to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To configure quilt to use debian/patches instead of patches, you want
+either to export QUILT_PATCHES=debian/patches in your environment
+or use this snippet in your ~/.quiltrc:
+
+ for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
+ if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
+ export QUILT_PATCHES=debian/patches
+ fi
+ done
+
+To get the fully patched source after unpacking the source package, cd to
+the root level of the source package and run:
+
+ quilt push -a
+
+The last patch listed in debian/patches/series will become the current
+patch.
+
+To add a new set of changes, first run quilt push -a, and then run:
+
+ quilt new <patch>
+
+where <patch> is a descriptive name for the patch, used as the filename in
+debian/patches. Then, for every file that will be modified by this patch,
+run:
+
+ quilt add <file>
+
+before editing those files. You must tell quilt with quilt add what files
+will be part of the patch before making changes or quilt will not work
+properly. After editing the files, run:
+
+ quilt refresh
+
+to save the results as a patch.
+
+Alternately, if you already have an external patch and you just want to
+add it to the build system, run quilt push -a and then:
+
+ quilt import -P <patch> /path/to/patch
+ quilt push -a
+
+(add -p 0 to quilt import if needed). <patch> as above is the filename to
+use in debian/patches. The last quilt push -a will apply the patch to
+make sure it works properly.
+
+To remove an existing patch from the list of patches that will be applied,
+run:
+
+ quilt delete <patch>
+
+You may need to run quilt pop -a to unapply patches first before running
+this command.
Added: wireless-regdb/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-wpa/wireless-regdb/trunk/debian/changelog?rev=1371&op=file
==============================================================================
--- wireless-regdb/trunk/debian/changelog (added)
+++ wireless-regdb/trunk/debian/changelog Sun May 10 17:15:49 2009
@@ -1,0 +1,5 @@
+wireless-regdb (2009.04.17-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Kel Modderman <kel at otaku42.de> Sun, 10 May 2009 23:08:48 +1000
Added: wireless-regdb/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-wpa/wireless-regdb/trunk/debian/compat?rev=1371&op=file
==============================================================================
--- wireless-regdb/trunk/debian/compat (added)
+++ wireless-regdb/trunk/debian/compat Sun May 10 17:15:49 2009
@@ -1,0 +1,1 @@
+7
Added: wireless-regdb/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-wpa/wireless-regdb/trunk/debian/control?rev=1371&op=file
==============================================================================
--- wireless-regdb/trunk/debian/control (added)
+++ wireless-regdb/trunk/debian/control Sun May 10 17:15:49 2009
@@ -1,0 +1,19 @@
+Source: wireless-regdb
+Section: admin
+Priority: optional
+Maintainer: Kel Modderman <kel at otaku42.de>
+Build-Depends: debhelper (>= 7.0.50), quilt(>= 0.46-7), python
+Standards-Version: 3.8.1
+Homepage: http://wireless.kernel.org/en/developers/Regulatory
+
+Package: wireless-regdb
+Architecture: all
+Depends: ${misc:Depends}, 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.
Added: wireless-regdb/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-wpa/wireless-regdb/trunk/debian/copyright?rev=1371&op=file
==============================================================================
--- wireless-regdb/trunk/debian/copyright (added)
+++ wireless-regdb/trunk/debian/copyright Sun May 10 17:15:49 2009
@@ -1,0 +1,30 @@
+Upstream-Name: wireless-regdb
+Upstream-Maintainer: John W. Linville <linville at redhat.com>
+Upstream-Source: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-regdb.git
+
+Files: *
+Copyright: Copyright (c) 2008, Luis R. Rodriguez <mcgrof at gmail.com>
+Copyright: Copyright (c) 2008, Johannes Berg <johannes at sipsolutions.net>
+Copyright: Copyright (c) 2008, Michael Green <Michael.Green at Atheros.com>
+License: ISC
+
+Files: web/Regulatory.py
+Copyright: Copyright (c) 2008, Johannes Berg <johannes at sipsolutions.net>
+License: ISC
+
+Files: debian/*
+Copyright: Copyright (c) 2009, Kel Modderman <kel at otaku42.de>
+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.
Added: wireless-regdb/trunk/debian/patches/do_not_sign_regulatory_bin.patch
URL: http://svn.debian.org/wsvn/pkg-wpa/wireless-regdb/trunk/debian/patches/do_not_sign_regulatory_bin.patch?rev=1371&op=file
==============================================================================
--- wireless-regdb/trunk/debian/patches/do_not_sign_regulatory_bin.patch (added)
+++ wireless-regdb/trunk/debian/patches/do_not_sign_regulatory_bin.patch Sun May 10 17:15:49 2009
@@ -1,0 +1,128 @@
+Always build regulatory.bin.
+
+Do not sign regulatory database with anyones private key. Do not install
+linvilles public key. Set paths for file installation locations.
+
+--- a/Makefile
++++ b/Makefile
+@@ -1,112 +1,24 @@
+ # Install prefix
+-PREFIX ?= /usr
+-CRDA_PATH ?= $(PREFIX)/lib/crda
+-CRDA_KEY_PATH ?= $(CRDA_PATH)/pubkeys
+-
+-MANDIR ?= $(PREFIX)/share/man/
+-
+-SHA1SUM ?= /usr/bin/sha1sum
+-LSB_RELEASE ?= /usr/bin/lsb_release
+-WHOAMI ?= /usr/bin/whoami
+-
+-# Distro name: Ubuntu, Debian, Fedora, if not present you get
+-# "custom-distro", if your distribution does not have the LSB stuff,
+-# then set this variable when calling make if you don't want "custom-distro"
+-LSB_ID ?= $(shell if [ -f $(LSB_RELEASE) ]; then \
+- $(LSB_RELEASE) -i -s; \
+- else \
+- echo custom-distro; \
+- fi)
+-
+-DISTRO_PRIVKEY ?= ~/.wireless-regdb-$(LSB_ID).key.priv.pem
+-DISTRO_PUBKEY ?= ~/.wireless-regdb-$(LSB_ID).key.priv.pem
+-
+-REGDB_AUTHOR ?= $(shell if [ -f $(DISTRO_PRIVKEY) ]; then \
+- echo $(LSB_ID) ; \
+- elif [ -f $(WHOAMI) ]; then \
+- $(WHOAMI); \
+- else \
+- echo custom-user; \
+- fi)
+-
+-REGDB_PRIVKEY ?= ~/.wireless-regdb-$(REGDB_AUTHOR).key.priv.pem
+-REGDB_PUBKEY ?= $(REGDB_AUTHOR).key.pub.pem
+-
+-REGDB_UPSTREAM_PUBKEY ?= linville.key.pub.pem
+-
+-REGDB_CHANGED = $(shell $(SHA1SUM) -c --status sha1sum.txt; \
+- if [ $$? -eq 0 ]; then \
+- echo ; \
+- else \
+- echo maintainer-clean $(REGDB_PUBKEY); \
+- fi)
++CRDA_PATH ?= /lib/crda
+
+-.PHONY: all clean mrproper install maintainer-clean install-distro-key
++MANDIR ?= /usr/share/man/
+
+-all: $(REGDB_CHANGED) regulatory.bin
++.PHONY: all clean install
++
++all: regulatory.bin
+
+ clean:
+- @rm -f *.pyc *.gz
++ @rm -f *.pyc *.gz regulatory.bin
+
+-maintainer-clean: clean
++regulatory.bin: db.txt
+ @rm -f regulatory.bin
+-
+-mrproper: clean maintainer-clean
+- @echo Removed public key, regulatory.bin and compresed man pages
+- @rm -f $(REGDB_PUBKEY) .custom
+-
+-regulatory.bin: db.txt $(REGDB_PRIVKEY) $(REGDB_PUBKEY)
+- @echo Generating $@ digitally signed by $(REGDB_AUTHOR)...
+- ./db2bin.py regulatory.bin db.txt $(REGDB_PRIVKEY)
+-
+-$(REGDB_PUBKEY): $(REGDB_PRIVKEY)
+- @echo "Generating public key for $(REGDB_AUTHOR)..."
+- openssl rsa -in $(REGDB_PRIVKEY) -out $(REGDB_PUBKEY) -pubout -outform PEM
+- @echo $(REGDB_PUBKEY) > .custom
+-
+-
+-$(REGDB_PRIVKEY):
+- @echo "Generating private key for $(REGDB_AUTHOR)..."
+- openssl genrsa -out $(REGDB_PRIVKEY) 2048
+-
+-ifneq ($(shell test -e $(DISTRO_PRIVKEY) && echo yes),yes)
+-$(DISTRO_PRIVKEY):
+- @echo "Generating private key for $(LSB_ID) packager..."
+- openssl genrsa -out $(DISTRO_PRIVKEY) 2048
+-endif
+-
+-install-distro-key: maintainer-clean $(DISTRO_PRIVKEY)
++ ./db2bin.py regulatory.bin db.txt
+
+ %.gz: %
+ gzip < $< > $@
+
+-# Users should just do:
+-# sudo make install
+-#
+-# Developers should do:
+-# make maintainer-clean
+-# make
+-# sudo make install
+-#
+-# Distributions packagers should do only once:
+-# make install-distro-key
+-# This will create a private key for you and install it into
+-# ~/.wireless-regdb-$(LSB_ID).key.priv.pem
+-# To make new releaes just do:
+-# make maintainer-clean
+-# make
+-# sudo make install
+ install: regulatory.bin.5.gz
+ install -m 755 -d $(DESTDIR)/$(CRDA_PATH)
+- install -m 755 -d $(DESTDIR)/$(CRDA_KEY_PATH)
+- if [ -f .custom ]; then \
+- install -m 644 -t $(DESTDIR)/$(CRDA_KEY_PATH)/ $(shell cat .custom); \
+- fi
+- @# In linville we trust
+- install -m 644 -t $(DESTDIR)/$(CRDA_KEY_PATH)/ $(REGDB_UPSTREAM_PUBKEY)
+ install -m 644 -t $(DESTDIR)/$(CRDA_PATH)/ regulatory.bin
+ install -m 755 -d $(DESTDIR)/$(MANDIR)/man5/
+ install -m 644 -t $(DESTDIR)/$(MANDIR)/man5/ regulatory.bin.5.gz
+-
+-uninstall:
+- rm -rf $(DESTDIR)/$(CRDA_PATH)/
Added: wireless-regdb/trunk/debian/patches/fix_manual_page_section.patch
URL: http://svn.debian.org/wsvn/pkg-wpa/wireless-regdb/trunk/debian/patches/fix_manual_page_section.patch?rev=1371&op=file
==============================================================================
--- wireless-regdb/trunk/debian/patches/fix_manual_page_section.patch (added)
+++ wireless-regdb/trunk/debian/patches/fix_manual_page_section.patch Sun May 10 17:15:49 2009
@@ -1,0 +1,10 @@
+Fix section mismatch.
+
+--- a/regulatory.bin.5
++++ b/regulatory.bin.5
+@@ -1,4 +1,4 @@
+-.TH regulatory.bin 8 "23 January 2009" "regulatory.bin" "Linux"
++.TH regulatory.bin 5 "23 January 2009" "regulatory.bin" "Linux"
+ .SH NAME
+ regulatory.bin \- The Linux wireless regulatory database
+
Added: wireless-regdb/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-wpa/wireless-regdb/trunk/debian/patches/series?rev=1371&op=file
==============================================================================
--- wireless-regdb/trunk/debian/patches/series (added)
+++ wireless-regdb/trunk/debian/patches/series Sun May 10 17:15:49 2009
@@ -1,0 +1,2 @@
+do_not_sign_regulatory_bin.patch
+fix_manual_page_section.patch
Added: wireless-regdb/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-wpa/wireless-regdb/trunk/debian/rules?rev=1371&op=file
==============================================================================
--- wireless-regdb/trunk/debian/rules (added)
+++ wireless-regdb/trunk/debian/rules Sun May 10 17:15:49 2009
@@ -1,0 +1,3 @@
+#!/usr/bin/make -f
+%:
+ dh --with quilt $@
Propchange: wireless-regdb/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: wireless-regdb/trunk/debian/watch
URL: http://svn.debian.org/wsvn/pkg-wpa/wireless-regdb/trunk/debian/watch?rev=1371&op=file
==============================================================================
--- wireless-regdb/trunk/debian/watch (added)
+++ wireless-regdb/trunk/debian/watch Sun May 10 17:15:49 2009
@@ -1,0 +1,2 @@
+version=3
+http://wireless.kernel.org/download/wireless-regdb/wireless-regdb-(.*)\.tar\.bz2 debian uupdate
More information about the Pkg-wpa-devel
mailing list