Rename dump to regdbdump, update README v0.9.3
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 24 Nov 2008 17:55:23 +0000 (09:55 -0800)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 24 Nov 2008 17:55:23 +0000 (09:55 -0800)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Makefile
README
regdbdump.c [moved from dump.c with 100% similarity]

index 4f12301..8d1c6eb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,17 +37,17 @@ crda: keys-ssl.c keys-gcrypt.c reglib.o crda.o
        $(NQ) '  LD  ' $@
        $(Q)$(CC) $(CFLAGS) $(LDFLAGS) `pkg-config --libs libnl-1` -o $@ reglib.o crda.o
 
-dump: keys-ssl.c keys-gcrypt.c reglib.o dump.o
+regdbdump: keys-ssl.c keys-gcrypt.c reglib.o regdbdump.o
        $(NQ) '  LD  ' $@
-       $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o dump.o
+       $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o regdbdump.o
 
 intersect: keys-ssl.c keys-gcrypt.c reglib.o intersect.o
        $(NQ) '  LD  ' $@
        $(Q)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ reglib.o intersect.o
 
-verify: $(REG_BIN) dump
+verify: $(REG_BIN) regdbdump
        $(NQ) '  CHK  $(REG_BIN)'
-       $(Q)./dump $(REG_BIN) >/dev/null
+       $(Q)./regdbdump $(REG_BIN) >/dev/null
 
 install: crda
        $(NQ) '  INSTALL  crda'
@@ -57,4 +57,4 @@ install: crda
        $(Q)$(INSTALL) -m 644 -t $(DESTDIR)/etc/udev/rules.d/ udev/regulatory.rules
 
 clean:
-       $(Q)rm -f crda dump intersect *.o *~ *.pyc keys-*.c
+       $(Q)rm -f crda regdbdump intersect *.o *~ *.pyc keys-*.c
diff --git a/README b/README
index db67d6a..1efac49 100644 (file)
--- a/README
+++ b/README
@@ -2,7 +2,11 @@
 ========================================
 
 This is the Central Regulatory Domain Agent for Linux. It serves one
-purpose: tell Linux kernel what to enforce.
+purpose: tell Linux kernel what to enforce. In essence it is a udev
+helper for communication between the kernel and userspace. You only
+need to run this manually for debugging purposes. For manual changing
+of regulatory domains use iw (iw reg set) or wpa_supplicant (feature
+yet to be added).
 
  HOST REQUIREMENTS
 ===================
@@ -19,14 +23,17 @@ The package build requirements currently are:
  * libgcrypt or libssl (openssl) header files
  * nl library and header files (libnl1 and libnl-dev)
    available at git://git.kernel.org/pub/scm/libs/netlink/libnl.git
+ * RSA public key of John Linville, we include this as part of this package
+   so you do not need to install it. This RSA public key comes
+   from the wireless-regdb.git tree and we keep it up to date here.
  * regulatory database, clone this tree:
 
    git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-regdb.git
 
-  and then stuff regulatory.bin (no need to build) provided there in
-  REG_BIN location specified in this Makefile. This regulatory.bin file
-  is only required to build CRDA here to verify it was built using
-  the RSA private key the public key agrees to.
+   and then stuff regulatory.bin (no need to build) provided there in
+   REG_BIN location specified in this Makefile. This regulatory.bin file
+   is only required to verify the CRDA built here can read its database file
+   which has been signed with the RSA private key.
 
  CALLING CRDA -- UDEV
 ======================
similarity index 100%
rename from dump.c
rename to regdbdump.c