summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-07-22 13:34:27 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-07-22 13:34:27 +0000
commit256d85433a8756829bb3d4bcd9488129e8aa9e88 (patch)
tree4d8d475d57552ec5d3479dd7a154b73cf81bdab2
parentAdded some categories I'm about to add. :-) (diff)
downloadphilantrop-256d85433a8756829bb3d4bcd9488129e8aa9e88.tar.gz
philantrop-256d85433a8756829bb3d4bcd9488129e8aa9e88.tar.bz2
philantrop-256d85433a8756829bb3d4bcd9488129e8aa9e88.zip
Initial commmit. cf. bug 172913.
svn path=/trunk/; revision=8
-rw-r--r--net-wireless/rtl-wifi/Manifest7
-rw-r--r--net-wireless/rtl-wifi/files/digest-rtl-wifi-99990
-rw-r--r--net-wireless/rtl-wifi/rtl-wifi-9999.ebuild73
3 files changed, 80 insertions, 0 deletions
diff --git a/net-wireless/rtl-wifi/Manifest b/net-wireless/rtl-wifi/Manifest
new file mode 100644
index 0000000..58174d0
--- /dev/null
+++ b/net-wireless/rtl-wifi/Manifest
@@ -0,0 +1,7 @@
+EBUILD rtl-wifi-9999.ebuild 1983 RMD160 62412b3fff921e654b7ad0814dcb190a5c9c2d10 SHA1 2d284659b7984805519324590f569cc5e92d8b3a SHA256 193490184f6bb1dac1755de72c57d59caaaf2687029036302048f86e3332a952
+MD5 59a104dbcdb428a4de1af3a4990fbcda rtl-wifi-9999.ebuild 1983
+RMD160 62412b3fff921e654b7ad0814dcb190a5c9c2d10 rtl-wifi-9999.ebuild 1983
+SHA256 193490184f6bb1dac1755de72c57d59caaaf2687029036302048f86e3332a952 rtl-wifi-9999.ebuild 1983
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-rtl-wifi-9999 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-rtl-wifi-9999 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-rtl-wifi-9999 0
diff --git a/net-wireless/rtl-wifi/files/digest-rtl-wifi-9999 b/net-wireless/rtl-wifi/files/digest-rtl-wifi-9999
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/net-wireless/rtl-wifi/files/digest-rtl-wifi-9999
diff --git a/net-wireless/rtl-wifi/rtl-wifi-9999.ebuild b/net-wireless/rtl-wifi/rtl-wifi-9999.ebuild
new file mode 100644
index 0000000..c5e8837
--- /dev/null
+++ b/net-wireless/rtl-wifi/rtl-wifi-9999.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils subversion linux-info linux-mod
+
+DESCRIPTION="Experimental driver for RTL8187 and RTL818x wireless chipsets"
+HOMEPAGE="http://rtl-wifi.sourceforge.net/"
+SRC_URI=""
+
+ESVN_REPO_URI="https://rtl-wifi.svn.sourceforge.net/svnroot/rtl-wifi"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}
+
+MODULE_NAMES="ieee80211_crypt-rtl(net:${S}/ieee80211)
+ ieee80211_crypt_wep-rtl(net:${S}/ieee80211)
+ ieee80211_crypt_tkip-rtl(net:${S}/ieee80211)
+ ieee80211_crypt_ccmp-rtl(net:${S}/ieee80211)
+ ieee80211-rtl(net:${S}/ieee80211)
+ r8187(net:${S}/rtl8187-newstack)
+ r8180(net:${S}/rtl818x-newstack)"
+BUILD_TARGETS="all"
+
+pkg_setup() {
+ if ! kernel_is 2 6 ; then
+ eerror "This driver is for kernel >=2.6 only!"
+ die "No kernel >=2.6 detected!"
+ fi
+
+ linux-info_pkg_setup
+ linux-mod_pkg_setup
+
+ # Needs NET_RADIO in kernel, for wireless_send_event
+ local CONFIG_CHECK="NET_RADIO CRYPTO CRYPTO_ARC4 CRC32 !IEEE80211"
+ local ERROR_IEEE80211="${P} requires the in-kernel version of the IEEE802.11 subsystem to be disabled (CONFIG_IEEE80211)"
+ check_extra_config
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc ChangeLog
+
+ # Further documentation
+ local d f
+ for d in ieee80211 rtl8180-sa2400-dev rtl8187-dev rtl818{7,x}-newstack ; do
+ docinto "${d}"
+ for f in AUTHORS CHANGES README{,.adhoc,.master} ; do
+ [[ -e "${d}/${f}" ]] && dodoc "${d}/${f}"
+ done
+ done
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ elog "You may want to add the following modules to"
+ elog "/etc/modules.autoload.d/kernel-2.6"
+ elog
+ elog "The module itself: r8180 or r8187"
+ elog "WEP and WPA encryption: ieee80211_crypt-rtl"
+ elog "WEP encryption: ieee80211_crypt_wep-rtl"
+ elog "WPA TKIP encryption: ieee80211_crypt_tkip-rtl"
+ elog "WPA CCMP encryption: ieee80211_crypt_ccmp-rtl"
+ elog "For the r8187 module: ieee80211-rtl"
+}