[Lunar-commits] <moonbase> wireless_tools: fix perms on iwlib.h
Paul Bredbury
brebs at lunar-linux.org
Fri Aug 28 02:30:13 CEST 2009
commit ac34c98aa45f984043085ae9e95cc58a16d26753
Author: Paul Bredbury <brebs at lunar-linux.org>
Date: Fri Aug 28 07:30:13 2009 +0700
wireless_tools: fix perms on iwlib.h
/usr/include/iwlib.h was being installed with chmod 640.
Remove bogus docs at end of BUILD, rather than in POST_INSTALL, so that "lvu install wireless_tools" does not show phantom files.
---
wifi/wireless_tools/BUILD | 4 +++-
wifi/wireless_tools/DETAILS | 12 ++++++------
wifi/wireless_tools/POST_INSTALL | 2 --
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/wifi/wireless_tools/BUILD b/wifi/wireless_tools/BUILD
index 51810e4..554f04a 100644
--- a/wifi/wireless_tools/BUILD
+++ b/wifi/wireless_tools/BUILD
@@ -6,10 +6,12 @@
cp iwconfig iwgetid iwlist iwspy iwpriv /sbin/ &&
cp iwconfig.8 iwlist.8 iwspy.8 iwpriv.8 /usr/share/man/man8/ &&
cp libiw.so.${VERSION} /lib/ &&
- cp iwlib.h /usr/include/ &&
+ install -m644 iwlib.h /usr/include/ &&
ln -s /lib/libiw.so.${VERSION} /lib/libiw.so &&
ldconfig &&
+ # Prevent gather_docs from wrongly identifying C files as docs
+ rm -f sample_*.c &&
gather_docs HOTPLUG.txt PCMCIA.txt
) > $C_FIFO 2>&1
diff --git a/wifi/wireless_tools/DETAILS b/wifi/wireless_tools/DETAILS
index d514670..d8ee0ea 100644
--- a/wifi/wireless_tools/DETAILS
+++ b/wifi/wireless_tools/DETAILS
@@ -9,7 +9,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE.$VERSION
SOURCE2_VFY=sha1:06dff05c638b60ce2fb28509e60ab6efc16e4438
WEB_SITE=http://hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
ENTERED=20020219
- UPDATED=20081222
+ UPDATED=20090828
SHORT="Tools for wireless networking"
cat << EOF
@@ -18,11 +18,11 @@ allowing to manipulate the Wireless Extensions. They use a textual
interface and are rather crude, but aim to support the full Wireless
Extension.
- * iwconfig manipulate the basic wireless parameters
- * iwlist allow to initiate scanning and list frequencies, bit-rates,
+ * iwconfig manipulates the basic wireless parameters
+ * iwlist allows to initiate scanning and list frequencies, bit-rates,
encryption keys...
- * iwspy allow to get per node link quality
- * iwpriv allow to manipulate the Wireless Extensions specific to a
+ * iwspy allows to get per-node link quality
+ * iwpriv allows to manipulate the Wireless Extensions specific to a
driver (private)
- * ifrename allow to name interfaces based on various static criteria
+ * ifrename allows to name interfaces based on various static criteria
EOF
diff --git a/wifi/wireless_tools/POST_INSTALL b/wifi/wireless_tools/POST_INSTALL
deleted file mode 100644
index 412bb90..0000000
--- a/wifi/wireless_tools/POST_INSTALL
+++ /dev/null
@@ -1,2 +0,0 @@
-#The default gather_doc call picked up some source files that it shouldn't have
-rm -f $DOCUMENT_DIRECTORY/$MODULE/sample_*.c
More information about the Lunar-commits
mailing list