summaryrefslogtreecommitdiff
path: root/net-wireless/wireless-tools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-wireless/wireless-tools
reinit the tree, so we can have metadata
Diffstat (limited to 'net-wireless/wireless-tools')
-rw-r--r--net-wireless/wireless-tools/Manifest6
-rw-r--r--net-wireless/wireless-tools/files/wireless-tools-29-asneeded.patch13
-rw-r--r--net-wireless/wireless-tools/metadata.xml17
-rw-r--r--net-wireless/wireless-tools/wireless-tools-30_pre9.ebuild61
4 files changed, 97 insertions, 0 deletions
diff --git a/net-wireless/wireless-tools/Manifest b/net-wireless/wireless-tools/Manifest
new file mode 100644
index 000000000000..70a78c0d09fe
--- /dev/null
+++ b/net-wireless/wireless-tools/Manifest
@@ -0,0 +1,6 @@
+AUX wireless-tools-29-asneeded.patch 478 SHA256 41ab166672833cc030a292160b4e0d13b86fe12b6dbe79f7e8537ae76d402c56 SHA512 1b1d7e0f833fd0f6587f7d175d7d8597c637782bf37b4800e5d8e3c736a0755c0073b8f9876ea75b95be3735116f051ca40dc617818d5b7f8de61a54d66dc48d WHIRLPOOL ced9ee613b49d7fdc37b6370152ecfa83e07502dcf0cc9957bee76fceb1ad0ebf9f51a9e979ab1528dc0beea2768a5164de1ca02a0bea8b4ef18364fb861925c
+DIST wireless_tools.30.pre9.tar.gz 348477 SHA256 abd9c5c98abf1fdd11892ac2f8a56737544fe101e1be27c6241a564948f34c63 SHA512 0561923bca075af4754d21e1be303cbd1ce3558cb6481c9c12bc7d330a353acf8ad81a822488570e859480287999c3bb2a698c993556a92f0699743e0a527ff1 WHIRLPOOL e4c1d0d2484b6336ece81019e6cc035103da22c82bab0473401af5c9c75d5a55af7e0eef5fbcbc0700077e09a92f21555862a706bce56b37a235b687775bcf5a
+EBUILD wireless-tools-30_pre9.ebuild 1781 SHA256 4f4e5d482a905e285ea94667b5390cc19165e369f8c0f5d3f39be069e7bb4df7 SHA512 2125762a11c460c686ea9ed839c93fe1b4feb3dba9277ae51fd7e452f523e6dea09634d4ed40c11b63d200e97a9e96e4e938480687586c3e51a9824c8d67fd98 WHIRLPOOL 3eeff79887f486fb270c833d401edef8a00ba515ea42d23e39d469116085626de10fb0a91e7df38b8d164065388563a35e7f4b7913f6699b03e40a857381d213
+MISC ChangeLog 2641 SHA256 53b30cce5340df37d621e5d53343428bfb1dcff60edca8f3974713bc1a5c89f7 SHA512 b7653a489757d249eb80c97182e6937fc65f84ef3c3c5ed115540c51dcec329c922ffa596c87d5d37b1cb69090fbd5eeebc06bae2d6318af8c87c6901ae827ff WHIRLPOOL 1ad2f45c9f3467bfbc198f01df753d37bfbc11278ecc1056eb78d7fa51da17696fe3558c2afc5bc4d25614f0182c8610951f72e8eb424cd0289cfec4aab0fa35
+MISC ChangeLog-2015 24420 SHA256 702d6185251c082ab75f60da516b1a55fdb641473ec84b60754b551f49b6a35d SHA512 c4a172285fd228611ee602de49139f60a6827a7b452eb1cd6a92af4c8d7ad40aed7cfc0e1ca8023f50d121374ae539e70ce67c4ccc377c7d2afea97fbc4824f7 WHIRLPOOL d28e02ab03f01864bba98368ab7db418daab8d987b4e75e5bc4d1f1a40b3021a3ccf61535c91735614e6d7a92660ca198bd4a17f1b3632884f78f1a78cacd31b
+MISC metadata.xml 598 SHA256 63e7f4af260979eac0efb8a50b02cf6ef2152d79ebfbe6ee18639711d3bf8fc0 SHA512 98a55c6dc07509ff2917df4bfbf0fc3203ce0b3674f47f44002e7955d6374be28b8ecf32e657a4fe3dcb1e0496060ba31c4933b08b129186784fa2eeac26eedc WHIRLPOOL caca9d4c7a8e76bd03af8ab00b30f6ad7194842899095114054a76738bba1b2d616f48299943f2e4142ffae2282916ca9f159ebcfd8b5f56513a7178c2b7d711
diff --git a/net-wireless/wireless-tools/files/wireless-tools-29-asneeded.patch b/net-wireless/wireless-tools/files/wireless-tools-29-asneeded.patch
new file mode 100644
index 000000000000..04f2d869b6d2
--- /dev/null
+++ b/net-wireless/wireless-tools/files/wireless-tools-29-asneeded.patch
@@ -0,0 +1,13 @@
+Index: wireless_tools.29/Makefile
+===================================================================
+--- wireless_tools.29.orig/Makefile
++++ wireless_tools.29/Makefile
+@@ -145,7 +145,7 @@ wireless.h:
+
+ # Compilation of the dynamic library
+ $(DYNAMIC): $(OBJS:.o=.so)
+- $(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) -lc $^
++ $(CC) $(LDFLAGS) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $^ $(LIBS) -lc
+
+ # Compilation of the static library
+ $(STATIC): $(OBJS:.o=.so)
diff --git a/net-wireless/wireless-tools/metadata.xml b/net-wireless/wireless-tools/metadata.xml
new file mode 100644
index 000000000000..994039f32211
--- /dev/null
+++ b/net-wireless/wireless-tools/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zerochaos@gentoo.org</email>
+ <name>Rick Farina</name>
+ </maintainer>
+ <longdescription lang="en">
+ This package provides all the command line tools for configuring
+ wireless networking devices with drivers that implement the Linux
+ Wireless Extensions (almost all recent IEEE 802.11a/b/g drivers).
+ </longdescription>
+ <use>
+ <flag name="multicall">Build the most commonly used tools as one
+ binary</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-wireless/wireless-tools/wireless-tools-30_pre9.ebuild b/net-wireless/wireless-tools/wireless-tools-30_pre9.ebuild
new file mode 100644
index 000000000000..bc64bc53b2f2
--- /dev/null
+++ b/net-wireless/wireless-tools/wireless-tools-30_pre9.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit toolchain-funcs multilib eutils
+
+# The following works with both pre-releases and releases
+MY_P=${PN/-/_}.${PV/_/.}
+S="${WORKDIR}/${MY_P/\.pre*/}"
+
+DESCRIPTION="A collection of tools to configure IEEE 802.11 wireless LAN cards"
+HOMEPAGE="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
+SRC_URI="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sh ~sparc x86"
+IUSE="linguas_cs linguas_fr multicall"
+
+DEPEND="sys-apps/sed"
+RDEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-29-asneeded.patch
+
+ sed -i \
+ -e "s:^\(CC\) = gcc:\1 = $(tc-getCC):" \
+ -e "s:^\(AR\) = ar:\1 = $(tc-getAR):" \
+ -e "s:^\(RANLIB\) = ranlib:\1 = $(tc-getRANLIB):" \
+ -e "s:^\(CFLAGS=-Os\):#\1:" \
+ -e "s:\(@\$(LDCONFIG).*\):#\1:" \
+ -e "s:^\(INSTALL_MAN= \$(PREFIX)\)/man:\1/usr/share/man:" \
+ -e "s:^\(INSTALL_LIB= \$(PREFIX)\)/lib:\1/$(get_libdir)/:" \
+ -e "s:^\(INSTALL_INC= \$(PREFIX)\)/include:\1/usr/include:" \
+ -e "s:^\(BUILD_STATIC = y\):#\1:" \
+ -e '/\$(CC)/s:-Wl,-s\>::' \
+ "${S}"/Makefile || die
+}
+
+src_compile() {
+ emake
+
+ use multicall && emake iwmulticall
+}
+
+src_install() {
+ emake PREFIX="${ED}" install
+
+ if use multicall; then
+ # 'make install-iwmulticall' will overwrite some of the tools
+ # with symlinks - this is intentional (brix)
+ emake PREFIX="${ED}" install-iwmulticall
+ fi
+
+ has cs ${LINGUAS} || rm -rf "${ED}"/usr/share/man/cs
+ has fr ${LINGUAS} || rm -rf "${ED}"/usr/share/man/fr.{ISO8859-1,UTF-8}
+
+ dodoc CHANGELOG.h HOTPLUG-UDEV.txt IFRENAME-VS-XXX.txt PCMCIA.txt README
+ has fr ${LINGUAS} && dodoc README.fr
+}