summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-04-25 14:06:33 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-04-25 14:06:33 +0000
commit4adddab303be7515e77f0de63a78cc56359d9096 (patch)
tree21779a53f54877fa06905b221c288537e389fbaa /net-wireless
parentFix building with gcc4. Patch from Genady Okrain (mafteah) 's overlay, with (diff)
downloadgentoo-2-4adddab303be7515e77f0de63a78cc56359d9096.tar.gz
gentoo-2-4adddab303be7515e77f0de63a78cc56359d9096.tar.bz2
gentoo-2-4adddab303be7515e77f0de63a78cc56359d9096.zip
Pruned old ebuilds.
(Portage version: 2.0.51.20-r4)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/linux-wlan-ng/ChangeLog11
-rw-r--r--net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.0-r15
-rw-r--r--net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.0-r26
-rw-r--r--net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre116
-rw-r--r--net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre166
-rw-r--r--net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre176
-rw-r--r--net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre17-r17
-rw-r--r--net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre197
-rw-r--r--net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre227
-rw-r--r--net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre86
-rw-r--r--net-wireless/linux-wlan-ng/files/linux-wlan-ng-0.2.1_pre19-prism2dl.diff12
-rw-r--r--net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.0-r1.ebuild222
-rw-r--r--net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.0-r2.ebuild229
-rw-r--r--net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre11.ebuild229
-rw-r--r--net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre16.ebuild233
-rw-r--r--net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17-r1.ebuild164
-rw-r--r--net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17.ebuild230
-rw-r--r--net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre19.ebuild163
-rw-r--r--net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre22.ebuild143
-rw-r--r--net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre8.ebuild229
20 files changed, 10 insertions, 1911 deletions
diff --git a/net-wireless/linux-wlan-ng/ChangeLog b/net-wireless/linux-wlan-ng/ChangeLog
index fd897532a4e5..44e8bac23fa3 100644
--- a/net-wireless/linux-wlan-ng/ChangeLog
+++ b/net-wireless/linux-wlan-ng/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-wireless/linux-wlan-ng
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng/ChangeLog,v 1.45 2005/01/23 20:49:04 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng/ChangeLog,v 1.46 2005/04/25 14:06:33 brix Exp $
+
+ 25 Apr 2005; <brix@gentoo.org>
+ -files/linux-wlan-ng-0.2.1_pre19-prism2dl.diff,
+ -linux-wlan-ng-0.2.0-r1.ebuild, -linux-wlan-ng-0.2.0-r2.ebuild,
+ -linux-wlan-ng-0.2.1_pre8.ebuild, -linux-wlan-ng-0.2.1_pre11.ebuild,
+ -linux-wlan-ng-0.2.1_pre16.ebuild, -linux-wlan-ng-0.2.1_pre17.ebuild,
+ -linux-wlan-ng-0.2.1_pre17-r1.ebuild, -linux-wlan-ng-0.2.1_pre19.ebuild,
+ -linux-wlan-ng-0.2.1_pre22.ebuild:
+ Pruned old ebuilds.
23 Jan 2005; Simon Stelling <blubb@gentoo.org>
linux-wlan-ng-0.2.1_pre20.ebuild:
diff --git a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.0-r1 b/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.0-r1
deleted file mode 100644
index 8f89039f7951..000000000000
--- a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.0-r1
+++ /dev/null
@@ -1,5 +0,0 @@
-MD5 42b6d21a29cb5f75f8b1e8a3ad69b19a linux-wlan-ng-0.2.0.tar.gz 329432
-MD5 7e9f01a697d2e3e5164340d79474ea30 pcmcia-cs-3.2.1.tar.gz 1250413
-MD5 24e8c68d0eac2a9b3446acdd259c22a0 pcmcia-cs-3.2.1-3.2.2.diff.gz 246919
-MD5 9ed9491a743b7400b382b199377c7279 pcmcia-cs-3.2.1-3.2.3.diff.gz 247541
-MD5 c94ce648d1e420be0cf02246236dc387 pcmcia-cs-3.2.1-3.2.4.diff.gz 305171
diff --git a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.0-r2 b/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.0-r2
deleted file mode 100644
index 862dde935b38..000000000000
--- a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.0-r2
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 42b6d21a29cb5f75f8b1e8a3ad69b19a linux-wlan-ng-0.2.0.tar.gz 329432
-MD5 686631f6942aa47fc0503203c26bfe16 linux-wlan-ng-gentoo-init.gz 859
-MD5 7e9f01a697d2e3e5164340d79474ea30 pcmcia-cs-3.2.1.tar.gz 1250413
-MD5 24e8c68d0eac2a9b3446acdd259c22a0 pcmcia-cs-3.2.1-3.2.2.diff.gz 246919
-MD5 9ed9491a743b7400b382b199377c7279 pcmcia-cs-3.2.1-3.2.3.diff.gz 247541
-MD5 c94ce648d1e420be0cf02246236dc387 pcmcia-cs-3.2.1-3.2.4.diff.gz 305171
diff --git a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre11 b/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre11
deleted file mode 100644
index fb786dec8aeb..000000000000
--- a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre11
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 edfb2b603888814c7ac09adee15ce9e8 linux-wlan-ng-0.2.1-pre11.tar.gz 333864
-MD5 686631f6942aa47fc0503203c26bfe16 linux-wlan-ng-gentoo-init.gz 859
-MD5 7e9f01a697d2e3e5164340d79474ea30 pcmcia-cs-3.2.1.tar.gz 1250413
-MD5 24e8c68d0eac2a9b3446acdd259c22a0 pcmcia-cs-3.2.1-3.2.2.diff.gz 246919
-MD5 9ed9491a743b7400b382b199377c7279 pcmcia-cs-3.2.1-3.2.3.diff.gz 247541
-MD5 c94ce648d1e420be0cf02246236dc387 pcmcia-cs-3.2.1-3.2.4.diff.gz 305171
diff --git a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre16 b/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre16
deleted file mode 100644
index 4efaed8b8087..000000000000
--- a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre16
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 0672ccd871def6842814c2d9d8c0689a linux-wlan-ng-0.2.1-pre16.tar.gz 335208
-MD5 686631f6942aa47fc0503203c26bfe16 linux-wlan-ng-gentoo-init.gz 859
-MD5 7e9f01a697d2e3e5164340d79474ea30 pcmcia-cs-3.2.1.tar.gz 1250413
-MD5 24e8c68d0eac2a9b3446acdd259c22a0 pcmcia-cs-3.2.1-3.2.2.diff.gz 246919
-MD5 9ed9491a743b7400b382b199377c7279 pcmcia-cs-3.2.1-3.2.3.diff.gz 247541
-MD5 c94ce648d1e420be0cf02246236dc387 pcmcia-cs-3.2.1-3.2.4.diff.gz 305171
diff --git a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre17 b/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre17
deleted file mode 100644
index 77aab9b1088f..000000000000
--- a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre17
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 d759cd71db0789d1bf4f412b8db8788d linux-wlan-ng-0.2.1-pre17.tar.gz 354207
-MD5 686631f6942aa47fc0503203c26bfe16 linux-wlan-ng-gentoo-init.gz 859
-MD5 44dbc0a8978fe618eee242b0bd25392c pcmcia-cs-3.2.5.tar.gz 1266494
-MD5 33325ed642b5277a9695d10bd19b3d7a pcmcia-cs-3.2.5-module-init-tools.diff.gz 460
-MD5 2b2cba3fdd498b001ea3c27d8b2da31b pcmcia-cs-3.2.5-3.2.6.diff.gz 23034
-MD5 f2feda5eb46c1a2b99ae9db274879afc pcmcia-cs-3.2.5-3.2.7.diff.gz 28244
diff --git a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre17-r1 b/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre17-r1
deleted file mode 100644
index 6ae657211c79..000000000000
--- a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre17-r1
+++ /dev/null
@@ -1,7 +0,0 @@
-MD5 44dbc0a8978fe618eee242b0bd25392c pcmcia-cs-3.2.5.tar.gz 1266494
-MD5 33325ed642b5277a9695d10bd19b3d7a pcmcia-cs-3.2.5-module-init-tools.diff.gz 460
-MD5 ee4f8227cc28f9a29a609f6e9561ef54 pcmcia-cs-3.2.5-SMP-fix.diff.gz 320
-MD5 2b2cba3fdd498b001ea3c27d8b2da31b pcmcia-cs-3.2.5-3.2.6.diff.gz 23034
-MD5 f2feda5eb46c1a2b99ae9db274879afc pcmcia-cs-3.2.5-3.2.7.diff.gz 28244
-MD5 d759cd71db0789d1bf4f412b8db8788d linux-wlan-ng-0.2.1-pre17.tar.gz 354207
-MD5 686631f6942aa47fc0503203c26bfe16 linux-wlan-ng-gentoo-init.gz 859
diff --git a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre19 b/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre19
deleted file mode 100644
index 9cc440d3a34d..000000000000
--- a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre19
+++ /dev/null
@@ -1,7 +0,0 @@
-MD5 44dbc0a8978fe618eee242b0bd25392c pcmcia-cs-3.2.5.tar.gz 1266494
-MD5 33325ed642b5277a9695d10bd19b3d7a pcmcia-cs-3.2.5-module-init-tools.diff.gz 460
-MD5 ee4f8227cc28f9a29a609f6e9561ef54 pcmcia-cs-3.2.5-SMP-fix.diff.gz 320
-MD5 2b2cba3fdd498b001ea3c27d8b2da31b pcmcia-cs-3.2.5-3.2.6.diff.gz 23034
-MD5 f2feda5eb46c1a2b99ae9db274879afc pcmcia-cs-3.2.5-3.2.7.diff.gz 28244
-MD5 55740b3e4715c7eecc9442bb8c1595b1 linux-wlan-ng-0.2.1-pre19.tar.gz 356525
-MD5 686631f6942aa47fc0503203c26bfe16 linux-wlan-ng-gentoo-init.gz 859
diff --git a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre22 b/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre22
deleted file mode 100644
index 729ef6ea66b9..000000000000
--- a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre22
+++ /dev/null
@@ -1,7 +0,0 @@
-MD5 15aec99aecf0a9a1fa06fc297c110aca pcmcia-cs-3.2.5.tar.gz 434400
-MD5 33325ed642b5277a9695d10bd19b3d7a pcmcia-cs-3.2.5-module-init-tools.diff.gz 460
-MD5 ee4f8227cc28f9a29a609f6e9561ef54 pcmcia-cs-3.2.5-SMP-fix.diff.gz 320
-MD5 2b2cba3fdd498b001ea3c27d8b2da31b pcmcia-cs-3.2.5-3.2.6.diff.gz 23034
-MD5 f2feda5eb46c1a2b99ae9db274879afc pcmcia-cs-3.2.5-3.2.7.diff.gz 28244
-MD5 f9178fcb9650096df6b9299000984968 linux-wlan-ng-0.2.1pre22.tar.bz2 447099
-MD5 686631f6942aa47fc0503203c26bfe16 linux-wlan-ng-gentoo-init.gz 859
diff --git a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre8 b/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre8
deleted file mode 100644
index f8d1aad7146c..000000000000
--- a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre8
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 efe5b59d8186f0d7679fbabbf11de644 linux-wlan-ng-0.2.1-pre8.tar.gz 330718
-MD5 686631f6942aa47fc0503203c26bfe16 linux-wlan-ng-gentoo-init.gz 859
-MD5 7e9f01a697d2e3e5164340d79474ea30 pcmcia-cs-3.2.1.tar.gz 1250413
-MD5 24e8c68d0eac2a9b3446acdd259c22a0 pcmcia-cs-3.2.1-3.2.2.diff.gz 246919
-MD5 9ed9491a743b7400b382b199377c7279 pcmcia-cs-3.2.1-3.2.3.diff.gz 247541
-MD5 c94ce648d1e420be0cf02246236dc387 pcmcia-cs-3.2.1-3.2.4.diff.gz 305171
diff --git a/net-wireless/linux-wlan-ng/files/linux-wlan-ng-0.2.1_pre19-prism2dl.diff b/net-wireless/linux-wlan-ng/files/linux-wlan-ng-0.2.1_pre19-prism2dl.diff
deleted file mode 100644
index 48651b0107cd..000000000000
--- a/net-wireless/linux-wlan-ng/files/linux-wlan-ng-0.2.1_pre19-prism2dl.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -aur linux-wlan-ng-0.2.1-pre19-orig/src/prism2/download/Makefile linux-wlan-ng-0.2.1-pre19/src/prism2/download/Makefile
---- linux-wlan-ng-0.2.1-pre19-orig/src/prism2/download/Makefile 2002-09-11 14:08:32.000000000 -0400
-+++ linux-wlan-ng-0.2.1-pre19/src/prism2/download/Makefile 2004-02-25 16:24:20.344449424 -0500
-@@ -46,7 +46,7 @@
-
- include ../../../config.mk
-
--CPPFLAGS= -I../../include -I../include -I$(LINUX_SRC)/include -D__LINUX_WLAN__
-+CPPFLAGS= -I../../include -I../include -D__LINUX_WLAN__
-
- SRCS = prism2dl.c
-
diff --git a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.0-r1.ebuild b/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.0-r1.ebuild
deleted file mode 100644
index 879f0cca8274..000000000000
--- a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.0-r1.ebuild
+++ /dev/null
@@ -1,222 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.0-r1.ebuild,v 1.10 2005/01/23 20:49:04 blubb Exp $
-
-
-inherit eutils
-
-IUSE="apm build nocardbus pcmcia pnp trusted usb"
-
-PCMCIA_CS="pcmcia-cs-3.2.1"
-PATCH_3_2_2="pcmcia-cs-3.2.1-3.2.2.diff.gz"
-PATCH_3_2_3="pcmcia-cs-3.2.1-3.2.3.diff.gz"
-PATCH_3_2_4="pcmcia-cs-3.2.1-3.2.4.diff.gz"
-PCMCIA_DIR="${WORKDIR}/${PCMCIA_CS}"
-
-DESCRIPTION="The linux-wlan Project"
-SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${P}.tar.gz
- pcmcia? ( mirror://sourceforge/pcmcia-cs/${PCMCIA_CS}.tar.gz )
- pcmcia? ( mirror://gentoo/${PATCH_3_2_2} )
- pcmcia? ( mirror://gentoo/${PATCH_3_2_3} )
- pcmcia? ( mirror://gentoo/${PATCH_3_2_4} )"
-
-HOMEPAGE="http://linux-wlan.org"
-DEPEND="virtual/os-headers
- dev-libs/openssl
- sys-apps/baselayout
- pcmcia? ( sys-apps/pcmcia-cs )"
-SLOT="0"
-LICENSE="MPL-1.1"
-KEYWORDS="~x86"
-
-# check arch for configure
-if [ ${ARCH} = "x86" ] ; then
- MY_ARCH="i386"
-else
- MY_ARCH="ppc"
-fi
-
-# Note: To use this ebuild, you should have the usr/src/linux symlink to
-# the kernel directory that linux-wlan-ng should use for configuration.
-#
-# linux-wlan-ng requires a configured pcmcia-cs source tree.
-# unpack/configure it in WORKDIR. No need to compile it though.
-
-src_unpack() {
-
- unpack ${P}.tar.gz
- if use pcmcia; then
- check_KV
- unpack ${PCMCIA_CS}.tar.gz
- cd ${PCMCIA_DIR}
- if [ -z "`has_version =sys-apps/pcmcia-cs-3.2.4*`" ]; then
- epatch ${DISTDIR}/${PATCH_3_2_4}
- elif [ -z "`has_version =sys-apps/pcmcia-cs-3.2.3*`" ]; then
- epatch ${DISTDIR}/${PATCH_3_2_3}
- elif [ -z "`has_version =sys-apps/pcmcia-cs-3.2.2*`" ]; then
- epatch ${DISTDIR}/${PATCH_3_2_2}
- fi
- fi
-
-
- # Lots of sedding to do to get the man pages and a few other
- # things to end up in the right place.
-
- cd ${S}
- mv man/Makefile man/Makefile.orig
- sed -e "s:mkdir:#mkdir:" \
- -e "s:cp nwepgen.man:#cp nwepgen.man:" \
- -e "s:\t\$(TARGET_:\t#\$(TARGET_:" \
- man/Makefile.orig > man/Makefile
-
- mv etc/wlan/Makefile etc/wlan/Makefile.orig
- sed -e "s:/etc/wlan:/etc/conf.d:g" \
- etc/wlan/Makefile.orig > etc/wlan/Makefile
-
- mv etc/wlan/wlancfg-DEFAULT etc/wlan/wlancfg-DEFAULT.orig
- sed -e "s:/sbin/nwepgen:/sbin/keygen:" \
- etc/wlan/wlancfg-DEFAULT.orig > etc/wlan/wlancfg-DEFAULT
-
- mv etc/wlan/shared etc/wlan/shared.orig
- sed -e "s:/etc/wlan/wlan.conf:/etc/conf.d/wlan.conf:g" \
- -e "s:/etc/wlan/wlancfg:/etc/conf.d/wlancfg:g" \
- etc/wlan/shared.orig > etc/wlan/shared
-
-}
-
-src_compile() {
-
- #
- # configure pcmcia-cs - we need this for wlan to compile
- # use same USE flags that the pcmcia-cs ebuild does.
- # no need to actually compile pcmcia-cs...
- # * This is actually only used if pcmcia_cs is NOT compiled into
- # the kernel tree.
- #
-
- if use pcmcia; then
- cd ${WORKDIR}/${PCMCIA_CS}
- local myconf
- if use trusted ; then
- myconf="--trust"
- else
- myconf="--notrust"
- fi
-
- if use apm ; then
- myconf="$myconf --apm"
- else
- myconf="$myconf --noapm"
- fi
-
- if use pnp ; then
- myconf="$myconf --pnp"
- else
- myconf="$myconf --nopnp"
- fi
-
- if use nocardbus ; then
- myconf="$myconf --nocardbus"
- else
- myconf="$myconf --cardbus"
- fi
-
- #use $CFLAGS for user tools, but standard kernel optimizations for
- #the kernel modules (for compatibility)
- ./Configure -n \
- --target=${D} \
- --srctree \
- --kernel=/usr/src/linux \
- --arch="${MY_ARCH}" \
- --uflags="${CFLAGS}" \
- --kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \
- $myconf || die "failed configuring pcmcia-cs"
- fi
- # now lets build wlan-ng
- cd ${S}
-
- sed -e 's:TARGET_ROOT_ON_HOST=:TARGET_ROOT_ON_HOST=${D}:' \
- -e 's:PRISM2_PCI=n:PRISM2_PCI=y:' \
- config.in > default.config
- mv default.config config.in
-
- if use pcmcia; then
- export PCMCIA_CS=${PCMCIA_CS}
- sed -e 's:PCMCIA_SRC=:PCMCIA_SRC=${WORKDIR}/${PCMCIA_CS}:' \
- -e 's:PRISM2_PLX=n:PRISM2_PLX=y:' \
- config.in > default.config
- else
- sed -e 's:PRISM2_PCMCIA=y:PRISM2_PCMCIA=n:' \
- config.in > default.config
- fi
- mv default.config config.in
-
- if use usb; then
- sed -e 's:PRISM2_USB=n:PRISM2_USB=y:' \
- config.in > default.config
- mv default.config config.in
- fi
-
- mv default.config config.in
- cp config.in default.config
-
- emake default_config || die "failed configuring WLAN"
- emake all || die "failed compiling"
-
- # compile add-on keygen program. It seems to actually provide usable keys.
- cd ${S}/add-ons/keygen
-
- emake || die "Failed to compile add-on keygen program"
-}
-
-src_install () {
-
- make install || die "failed installing"
-
- dodir etc/wlan
- mv ${D}/etc/conf.d/shared ${D}/etc/wlan/
-
- if ! use build; then
-
- dodir /usr/share/man/man1
- newman ${S}/man/nwepgen.man nwepgen.1
- newman ${S}/man/wlancfg.man wlancfg.1
- newman ${S}/man/wlanctl-ng.man wlanctl-ng.1
- newman ${S}/man/wland.man wland.1
-
- dodoc CHANGES COPYING LICENSE FAQ README THANKS TODO \
- doc/config* doc/capturefrm.txt
- fi
-
- exeinto /sbin
- doexe add-ons/keygen/keygen
-
-}
-
-pkg_postinst() {
- depmod -a
-
- einfo "Configuration of the WLAN package has changed since 0.1.16-pre4."
- einfo ""
- einfo "/etc/init.d/wlan is used to control startup and shutdown of non-PCMCIA devices."
- einfo "/etc/init.d/pcmcia from pcmcia-cs is used to control startup and shutdown of"
- einfo "PCMCIA devices."
- einfo ""
- einfo "The wlan-ng.opts file in /etc/pcmcia/ is now depricated."
- einfo ""
- einfo "Modify /etc/conf.d/wlan.conf to set global parameters."
- einfo "Modify /etc/conf.d/wlancfg-* to set individual card parameters."
- einfo "There are detailed instructions in these config files."
- einfo ""
- einfo "Two keygen programs are included: nwepgen and keygen. keygen seems"
- einfo "provide more usable keys at the moment."
- einfo ""
- einfo "Be sure to add iface_wlan0 parameters to /etc/conf.d/net."
- einfo ""
- ewarn "Wireless cards which you want to use drivers other than wlan-ng for"
- ewarn "need to have the appropriate line removed from /etc/pcmcia/wlan-ng.conf"
- ewarn "Do 'cardctl info' to see the manufacturer ID and remove the corresponding"
- ewarn "line from that file."
-}
-
-
diff --git a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.0-r2.ebuild b/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.0-r2.ebuild
deleted file mode 100644
index 9d53eec8daa0..000000000000
--- a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.0-r2.ebuild
+++ /dev/null
@@ -1,229 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.0-r2.ebuild,v 1.9 2005/01/23 20:49:04 blubb Exp $
-
-
-inherit eutils
-
-IUSE="apm build nocardbus pcmcia pnp trusted usb"
-
-PCMCIA_CS="pcmcia-cs-3.2.1"
-PATCH_3_2_2="pcmcia-cs-3.2.1-3.2.2.diff.gz"
-PATCH_3_2_3="pcmcia-cs-3.2.1-3.2.3.diff.gz"
-PATCH_3_2_4="pcmcia-cs-3.2.1-3.2.4.diff.gz"
-PCMCIA_DIR="${WORKDIR}/${PCMCIA_CS}"
-
-DESCRIPTION="The linux-wlan Project"
-SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${P}.tar.gz
- mirror://gentoo/${PN}-gentoo-init.gz
- pcmcia? ( mirror://sourceforge/pcmcia-cs/${PCMCIA_CS}.tar.gz )
- pcmcia? ( mirror://gentoo/${PATCH_3_2_2} )
- pcmcia? ( mirror://gentoo/${PATCH_3_2_3} )
- pcmcia? ( mirror://gentoo/${PATCH_3_2_4} )"
-
-HOMEPAGE="http://linux-wlan.org"
-DEPEND="virtual/os-headers
- dev-libs/openssl
- sys-apps/baselayout
- pcmcia? ( sys-apps/pcmcia-cs )"
-SLOT="0"
-LICENSE="MPL-1.1"
-KEYWORDS="x86"
-
-# check arch for configure
-if [ ${ARCH} = "x86" ] ; then
- MY_ARCH="i386"
-else
- MY_ARCH="ppc"
-fi
-
-# Note: To use this ebuild, you should have the usr/src/linux symlink to
-# the kernel directory that linux-wlan-ng should use for configuration.
-#
-# linux-wlan-ng requires a configured pcmcia-cs source tree.
-# unpack/configure it in WORKDIR. No need to compile it though.
-
-src_unpack() {
-
- unpack ${P}.tar.gz
- unpack ${PN}-gentoo-init.gz
-
- # install a gentoo style init script
-
- cp ${PN}-gentoo-init ${S}/etc/rc.wlan
-
- if use pcmcia; then
- check_KV
- unpack ${PCMCIA_CS}.tar.gz
- cd ${PCMCIA_DIR}
- if [ -z "`has_version =sys-apps/pcmcia-cs-3.2.4*`" ]; then
- epatch ${DISTDIR}/${PATCH_3_2_4}
- elif [ -z "`has_version =sys-apps/pcmcia-cs-3.2.3*`" ]; then
- epatch ${DISTDIR}/${PATCH_3_2_3}
- elif [ -z "`has_version =sys-apps/pcmcia-cs-3.2.2*`" ]; then
- epatch ${DISTDIR}/${PATCH_3_2_2}
- fi
- fi
-
-
- # Lots of sedding to do to get the man pages and a few other
- # things to end up in the right place.
-
- cd ${S}
- mv man/Makefile man/Makefile.orig
- sed -e "s:mkdir:#mkdir:" \
- -e "s:cp nwepgen.man:#cp nwepgen.man:" \
- -e "s:\t\$(TARGET_:\t#\$(TARGET_:" \
- man/Makefile.orig > man/Makefile
-
- mv etc/wlan/Makefile etc/wlan/Makefile.orig
- sed -e "s:/etc/wlan:/etc/conf.d:g" \
- etc/wlan/Makefile.orig > etc/wlan/Makefile
-
- mv etc/wlan/wlancfg-DEFAULT etc/wlan/wlancfg-DEFAULT.orig
- sed -e "s:/sbin/nwepgen:/sbin/keygen:" \
- etc/wlan/wlancfg-DEFAULT.orig > etc/wlan/wlancfg-DEFAULT
-
- mv etc/wlan/shared etc/wlan/shared.orig
- sed -e "s:/etc/wlan/wlan.conf:/etc/conf.d/wlan.conf:g" \
- -e "s:/etc/wlan/wlancfg:/etc/conf.d/wlancfg:g" \
- etc/wlan/shared.orig > etc/wlan/shared
-
-}
-
-src_compile() {
-
- #
- # configure pcmcia-cs - we need this for wlan to compile
- # use same USE flags that the pcmcia-cs ebuild does.
- # no need to actually compile pcmcia-cs...
- # * This is actually only used if pcmcia_cs is NOT compiled into
- # the kernel tree.
- #
-
- if use pcmcia; then
- cd ${WORKDIR}/${PCMCIA_CS}
- local myconf
- if use trusted ; then
- myconf="--trust"
- else
- myconf="--notrust"
- fi
-
- if use apm ; then
- myconf="$myconf --apm"
- else
- myconf="$myconf --noapm"
- fi
-
- if use pnp ; then
- myconf="$myconf --pnp"
- else
- myconf="$myconf --nopnp"
- fi
-
- if use nocardbus ; then
- myconf="$myconf --nocardbus"
- else
- myconf="$myconf --cardbus"
- fi
-
- #use $CFLAGS for user tools, but standard kernel optimizations for
- #the kernel modules (for compatibility)
- ./Configure -n \
- --target=${D} \
- --srctree \
- --kernel=/usr/src/linux \
- --arch="${MY_ARCH}" \
- --uflags="${CFLAGS}" \
- --kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \
- $myconf || die "failed configuring pcmcia-cs"
- fi
- # now lets build wlan-ng
- cd ${S}
-
- sed -e 's:TARGET_ROOT_ON_HOST=:TARGET_ROOT_ON_HOST=${D}:' \
- -e 's:PRISM2_PCI=n:PRISM2_PCI=y:' \
- config.in > default.config
- mv default.config config.in
-
- if use pcmcia; then
- export PCMCIA_CS=${PCMCIA_CS}
- sed -e 's:PCMCIA_SRC=:PCMCIA_SRC=${WORKDIR}/${PCMCIA_CS}:' \
- -e 's:PRISM2_PLX=n:PRISM2_PLX=y:' \
- config.in > default.config
- else
- sed -e 's:PRISM2_PCMCIA=y:PRISM2_PCMCIA=n:' \
- config.in > default.config
- fi
- mv default.config config.in
-
- if use usb; then
- sed -e 's:PRISM2_USB=n:PRISM2_USB=y:' \
- config.in > default.config
- mv default.config config.in
- fi
-
- mv default.config config.in
- cp config.in default.config
-
- emake default_config || die "failed configuring WLAN"
- emake all || die "failed compiling"
-
- # compile add-on keygen program. It seems to actually provide usable keys.
- cd ${S}/add-ons/keygen
-
- emake || die "Failed to compile add-on keygen program"
-}
-
-src_install () {
-
- make install || die "failed installing"
-
- dodir etc/wlan
- mv ${D}/etc/conf.d/shared ${D}/etc/wlan/
-
- if ! use build; then
-
- dodir /usr/share/man/man1
- newman ${S}/man/nwepgen.man nwepgen.1
- newman ${S}/man/wlancfg.man wlancfg.1
- newman ${S}/man/wlanctl-ng.man wlanctl-ng.1
- newman ${S}/man/wland.man wland.1
-
- dodoc CHANGES COPYING LICENSE FAQ README THANKS TODO \
- doc/config* doc/capturefrm.txt
- fi
-
- exeinto /sbin
- doexe add-ons/keygen/keygen
-
-}
-
-pkg_postinst() {
- depmod -a
-
- einfo "Configuration of the WLAN package has changed since 0.1.16-pre4."
- einfo ""
- einfo "/etc/init.d/wlan is used to control startup and shutdown of non-PCMCIA devices."
- einfo "/etc/init.d/pcmcia from pcmcia-cs is used to control startup and shutdown of"
- einfo "PCMCIA devices."
- einfo ""
- einfo "The wlan-ng.opts file in /etc/pcmcia/ is now depricated."
- einfo ""
- einfo "Modify /etc/conf.d/wlan.conf to set global parameters."
- einfo "Modify /etc/conf.d/wlancfg-* to set individual card parameters."
- einfo "There are detailed instructions in these config files."
- einfo ""
- einfo "Two keygen programs are included: nwepgen and keygen. keygen seems"
- einfo "provide more usable keys at the moment."
- einfo ""
- einfo "Be sure to add iface_wlan0 parameters to /etc/conf.d/net."
- einfo ""
- ewarn "Wireless cards which you want to use drivers other than wlan-ng for"
- ewarn "need to have the appropriate line removed from /etc/pcmcia/wlan-ng.conf"
- ewarn "Do 'cardctl info' to see the manufacturer ID and remove the corresponding"
- ewarn "line from that file."
-}
-
-
diff --git a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre11.ebuild b/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre11.ebuild
deleted file mode 100644
index e29b99fa380d..000000000000
--- a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre11.ebuild
+++ /dev/null
@@ -1,229 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre11.ebuild,v 1.8 2005/01/23 20:49:04 blubb Exp $
-
-
-inherit eutils
-
-IUSE="apm build nocardbus pcmcia pnp trusted usb"
-
-PCMCIA_CS="pcmcia-cs-3.2.1"
-PATCH_3_2_2="pcmcia-cs-3.2.1-3.2.2.diff.gz"
-PATCH_3_2_3="pcmcia-cs-3.2.1-3.2.3.diff.gz"
-PATCH_3_2_4="pcmcia-cs-3.2.1-3.2.4.diff.gz"
-PCMCIA_DIR="${WORKDIR}/${PCMCIA_CS}"
-MY_P=${PN}-${PV/_/-}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="The linux-wlan Project"
-SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.gz
- mirror://gentoo/${PN}-gentoo-init.gz
- pcmcia? ( mirror://sourceforge/pcmcia-cs/${PCMCIA_CS}.tar.gz )
- pcmcia? ( mirror://gentoo/${PATCH_3_2_2} )
- pcmcia? ( mirror://gentoo/${PATCH_3_2_3} )
- pcmcia? ( mirror://gentoo/${PATCH_3_2_4} )"
-
-HOMEPAGE="http://linux-wlan.org"
-DEPEND="virtual/os-headers
- dev-libs/openssl
- sys-apps/baselayout
- pcmcia? ( sys-apps/pcmcia-cs )"
-SLOT="0"
-LICENSE="MPL-1.1"
-KEYWORDS="~x86"
-
-# check arch for configure
-if [ ${ARCH} = "x86" ] ; then
- MY_ARCH="i386"
-else
- MY_ARCH="ppc"
-fi
-
-# Note: To use this ebuild, you should have the usr/src/linux symlink to
-# the kernel directory that linux-wlan-ng should use for configuration.
-#
-# linux-wlan-ng requires a configured pcmcia-cs source tree.
-# unpack/configure it in WORKDIR. No need to compile it though.
-
-src_unpack() {
-
- unpack ${MY_P}.tar.gz
- unpack ${PN}-gentoo-init.gz
- cp ${WORKDIR}/${PN}-gentoo-init ${S}/etc/rc.wlan
-
- if use pcmcia; then
- unpack ${PCMCIA_CS}.tar.gz
- cd ${PCMCIA_DIR}
- if [ -z "`has_version =sys-apps/pcmcia-cs-3.2.4*`" ]; then
- epatch ${DISTDIR}/${PATCH_3_2_4}
- elif [ -z "`has_version =sys-apps/pcmcia-cs-3.2.3*`" ]; then
- epatch ${DISTDIR}/${PATCH_3_2_3}
- elif [ -z "`has_version =sys-apps/pcmcia-cs-3.2.2*`" ]; then
- epatch ${DISTDIR}/${PATCH_3_2_2}
- fi
- fi
-
-
- # Lots of sedding to do to get the man pages and a few other
- # things to end up in the right place.
-
- cd ${S}
- mv man/Makefile man/Makefile.orig
- sed -e "s:mkdir:#mkdir:" \
- -e "s:cp nwepgen.man:#cp nwepgen.man:" \
- -e "s:\t\$(TARGET_:\t#\$(TARGET_:" \
- man/Makefile.orig > man/Makefile
-
- mv etc/wlan/Makefile etc/wlan/Makefile.orig
- sed -e "s:/etc/wlan:/etc/conf.d:g" \
- etc/wlan/Makefile.orig > etc/wlan/Makefile
-
- mv etc/wlan/wlancfg-DEFAULT etc/wlan/wlancfg-DEFAULT.orig
- sed -e "s:/sbin/nwepgen:/sbin/keygen:" \
- etc/wlan/wlancfg-DEFAULT.orig > etc/wlan/wlancfg-DEFAULT
-
- mv etc/wlan/shared etc/wlan/shared.orig
- sed -e "s:/etc/wlan/wlan.conf:/etc/conf.d/wlan.conf:g" \
- -e "s:/etc/wlan/wlancfg:/etc/conf.d/wlancfg:g" \
- etc/wlan/shared.orig > etc/wlan/shared
-
-}
-
-src_compile() {
-
- #
- # configure pcmcia-cs - we need this for wlan to compile
- # use same USE flags that the pcmcia-cs ebuild does.
- # no need to actually compile pcmcia-cs...
- # * This is actually only used if pcmcia_cs is NOT compiled into
- # the kernel tree.
- #
-
- if use pcmcia; then
- cd ${WORKDIR}/${PCMCIA_CS}
- local myconf
- if use trusted ; then
- myconf="--trust"
- else
- myconf="--notrust"
- fi
-
- if use apm ; then
- myconf="$myconf --apm"
- else
- myconf="$myconf --noapm"
- fi
-
- if use pnp ; then
- myconf="$myconf --pnp"
- else
- myconf="$myconf --nopnp"
- fi
-
- if use nocardbus ; then
- myconf="$myconf --nocardbus"
- else
- myconf="$myconf --cardbus"
- fi
-
- #use $CFLAGS for user tools, but standard kernel optimizations for
- #the kernel modules (for compatibility)
- ./Configure -n \
- --target=${D} \
- --srctree \
- --kernel=/usr/src/linux \
- --arch="${MY_ARCH}" \
- --uflags="${CFLAGS}" \
- --kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \
- $myconf || die "failed configuring pcmcia-cs"
- fi
- # now lets build wlan-ng
- cd ${S}
-
- sed -e 's:TARGET_ROOT_ON_HOST=:TARGET_ROOT_ON_HOST=${D}:' \
- -e 's:PRISM2_PCI=n:PRISM2_PCI=y:' \
- config.in > default.config
- mv default.config config.in
-
- if use pcmcia; then
- export PCMCIA_CS=${PCMCIA_CS}
- sed -e 's:PCMCIA_SRC=:PCMCIA_SRC=${WORKDIR}/${PCMCIA_CS}:' \
- -e 's:PRISM2_PLX=n:PRISM2_PLX=y:' \
- config.in > default.config
- else
- sed -e 's:PRISM2_PCMCIA=y:PRISM2_PCMCIA=n:' \
- config.in > default.config
- fi
- mv default.config config.in
-
- if use usb; then
- sed -e 's:PRISM2_USB=n:PRISM2_USB=y:' \
- config.in > default.config
- mv default.config config.in
- fi
-
- mv default.config config.in
- cp config.in default.config
-
- emake default_config || die "failed configuring WLAN"
- emake all || die "failed compiling"
-
- # compile add-on keygen program. It seems to actually provide usable keys.
- cd ${S}/add-ons/keygen
- emake || die "Failed to compile add-on keygen program"
- cd ${S}/add-ons/lwepgen
- emake || die "Failed to compile add-on lwepgen program"
-}
-
-src_install () {
-
- make install || die "failed installing"
-
- dodir etc/wlan
- mv ${D}/etc/conf.d/shared ${D}/etc/wlan/
-
- if ! use build; then
-
- dodir /usr/share/man/man1
- newman ${S}/man/nwepgen.man nwepgen.1
- newman ${S}/man/wlancfg.man wlancfg.1
- newman ${S}/man/wlanctl-ng.man wlanctl-ng.1
- newman ${S}/man/wland.man wland.1
-
- dodoc CHANGES COPYING LICENSE FAQ README THANKS TODO \
- doc/config* doc/capturefrm.txt
- fi
-
- exeinto /sbin
- doexe add-ons/keygen/keygen
- doexe add-ons/lwepgen/lwepgen
-
-}
-
-pkg_postinst() {
- depmod -a
-
- einfo "Configuration of the WLAN package has changed since 0.1.16-pre4."
- einfo ""
- einfo "/etc/init.d/wlan is used to control startup and shutdown of non-PCMCIA devices."
- einfo "/etc/init.d/pcmcia from pcmcia-cs is used to control startup and shutdown of"
- einfo "PCMCIA devices."
- einfo ""
- einfo "The wlan-ng.opts file in /etc/pcmcia/ is now depricated."
- einfo ""
- einfo "Modify /etc/conf.d/wlan.conf to set global parameters."
- einfo "Modify /etc/conf.d/wlancfg-* to set individual card parameters."
- einfo "There are detailed instructions in these config files."
- einfo ""
- einfo "Three keygen programs are included: nwepgen, keygen, and lwepgen."
- einfo "keygen seems provide more usable keys at the moment."
- einfo ""
- einfo "Be sure to add iface_wlan0 parameters to /etc/conf.d/net."
- einfo ""
- ewarn "Wireless cards which you want to use drivers other than wlan-ng for"
- ewarn "need to have the appropriate line removed from /etc/pcmcia/wlan-ng.conf"
- ewarn "Do 'cardctl info' to see the manufacturer ID and remove the corresponding"
- ewarn "line from that file."
-}
-
-
diff --git a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre16.ebuild b/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre16.ebuild
deleted file mode 100644
index 8cce7b7cbe8b..000000000000
--- a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre16.ebuild
+++ /dev/null
@@ -1,233 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre16.ebuild,v 1.5 2005/01/23 20:49:04 blubb Exp $
-
-inherit eutils
-
-IUSE="apm build nocardbus pcmcia pnp trusted usb"
-
-PCMCIA_CS="pcmcia-cs-3.2.1"
-PATCH_3_2_2="pcmcia-cs-3.2.1-3.2.2.diff.gz"
-PATCH_3_2_3="pcmcia-cs-3.2.1-3.2.3.diff.gz"
-PATCH_3_2_4="pcmcia-cs-3.2.1-3.2.4.diff.gz"
-PCMCIA_DIR="${WORKDIR}/${PCMCIA_CS}"
-MY_P=${PN}-${PV/_/-}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="The linux-wlan Project"
-SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.gz
- mirror://gentoo/${PN}-gentoo-init.gz
- pcmcia? ( mirror://sourceforge/pcmcia-cs/${PCMCIA_CS}.tar.gz )
- pcmcia? ( mirror://gentoo/${PATCH_3_2_2} )
- pcmcia? ( mirror://gentoo/${PATCH_3_2_3} )
- pcmcia? ( mirror://gentoo/${PATCH_3_2_4} )"
-
-HOMEPAGE="http://linux-wlan.org"
-DEPEND="virtual/os-headers
- dev-libs/openssl
- sys-apps/baselayout
- pcmcia? ( sys-apps/pcmcia-cs )"
-SLOT="0"
-LICENSE="MPL-1.1"
-KEYWORDS="~x86 ~ppc"
-
-# check arch for configure
-if [ ${ARCH} = "x86" ] ; then
- MY_ARCH="i386"
-else
- MY_ARCH="ppc"
-fi
-
-# Note: To use this ebuild, you should have the usr/src/linux symlink to
-# the kernel directory that linux-wlan-ng should use for configuration.
-#
-# linux-wlan-ng requires a configured pcmcia-cs source tree.
-# unpack/configure it in WORKDIR. No need to compile it though.
-
-src_unpack() {
-
- unpack ${MY_P}.tar.gz
- unpack ${PN}-gentoo-init.gz
- cp ${WORKDIR}/${PN}-gentoo-init ${S}/etc/rc.wlan
-
- if use pcmcia; then
- unpack ${PCMCIA_CS}.tar.gz
- cd ${PCMCIA_DIR}
- if [ -z "`has_version =sys-apps/pcmcia-cs-3.2.4*`" ]; then
- epatch ${DISTDIR}/${PATCH_3_2_4}
- elif [ -z "`has_version =sys-apps/pcmcia-cs-3.2.3*`" ]; then
- epatch ${DISTDIR}/${PATCH_3_2_3}
- elif [ -z "`has_version =sys-apps/pcmcia-cs-3.2.2*`" ]; then
- epatch ${DISTDIR}/${PATCH_3_2_2}
- fi
- fi
-
-
- # Lots of sedding to do to get the man pages and a few other
- # things to end up in the right place.
-
- cd ${S}
- mv man/Makefile man/Makefile.orig
- sed -e "s:mkdir:#mkdir:" \
- -e "s:cp nwepgen.man:#cp nwepgen.man:" \
- -e "s:\t\$(TARGET_:\t#\$(TARGET_:" \
- man/Makefile.orig > man/Makefile
-
- mv etc/wlan/Makefile etc/wlan/Makefile.orig
- sed -e "s:/etc/wlan:/etc/conf.d:g" \
- etc/wlan/Makefile.orig > etc/wlan/Makefile
-
- mv etc/wlan/wlancfg-DEFAULT etc/wlan/wlancfg-DEFAULT.orig
- sed -e "s:/sbin/nwepgen:/sbin/keygen:" \
- etc/wlan/wlancfg-DEFAULT.orig > etc/wlan/wlancfg-DEFAULT
-
- mv etc/wlan/shared etc/wlan/shared.orig
- sed -e "s:/etc/wlan/wlan.conf:/etc/conf.d/wlan.conf:g" \
- -e "s:/etc/wlan/wlancfg:/etc/conf.d/wlancfg:g" \
- etc/wlan/shared.orig > etc/wlan/shared
-
-}
-
-src_compile() {
-
- #
- # configure pcmcia-cs - we need this for wlan to compile
- # use same USE flags that the pcmcia-cs ebuild does.
- # no need to actually compile pcmcia-cs...
- # * This is actually only used if pcmcia_cs is NOT compiled into
- # the kernel tree.
- #
-
- if use pcmcia; then
- cd ${WORKDIR}/${PCMCIA_CS}
- local myconf
- if use trusted ; then
- myconf="--trust"
- else
- myconf="--notrust"
- fi
-
- if use apm ; then
- myconf="$myconf --apm"
- else
- myconf="$myconf --noapm"
- fi
-
- if use pnp ; then
- myconf="$myconf --pnp"
- else
- myconf="$myconf --nopnp"
- fi
-
- if use nocardbus ; then
- myconf="$myconf --nocardbus"
- else
- myconf="$myconf --cardbus"
- fi
-
- #use $CFLAGS for user tools, but standard kernel optimizations for
- #the kernel modules (for compatibility)
- ./Configure -n \
- --target=${D} \
- --srctree \
- --kernel=/usr/src/linux \
- --arch="${MY_ARCH}" \
- --uflags="${CFLAGS}" \
- --kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \
- $myconf || die "failed configuring pcmcia-cs"
- fi
- # now lets build wlan-ng
- cd ${S}
-
- sed -e 's:TARGET_ROOT_ON_HOST=:TARGET_ROOT_ON_HOST=${D}:' \
- -e 's:PRISM2_PCI=n:PRISM2_PCI=y:' \
- config.in > default.config
- mv default.config config.in
-
- if use pcmcia; then
- export PCMCIA_CS=${PCMCIA_CS}
- sed -e 's:PCMCIA_SRC=:PCMCIA_SRC=${WORKDIR}/${PCMCIA_CS}:' \
- -e 's:PRISM2_PLX=n:PRISM2_PLX=y:' \
- config.in > default.config
- else
- sed -e 's:PRISM2_PCMCIA=y:PRISM2_PCMCIA=n:' \
- config.in > default.config
- fi
- mv default.config config.in
-
- if use usb; then
- sed -e 's:PRISM2_USB=n:PRISM2_USB=y:' \
- config.in > default.config
- mv default.config config.in
- fi
-
- mv default.config config.in
- cp config.in default.config
-
- emake default_config || die "failed configuring WLAN"
- emake all || die "failed compiling"
-
- # compile add-on keygen program. It seems to actually provide usable keys.
- cd ${S}/add-ons/keygen
- emake || die "Failed to compile add-on keygen program"
- cd ${S}/add-ons/lwepgen
- emake || die "Failed to compile add-on lwepgen program"
-}
-
-src_install () {
-
- make install || die "failed installing"
-
- dodir etc/wlan
- mv ${D}/etc/conf.d/shared ${D}/etc/wlan/
-
- if ! use build; then
-
- dodir /usr/share/man/man1
- newman ${S}/man/nwepgen.man nwepgen.1
- newman ${S}/man/wlancfg.man wlancfg.1
- newman ${S}/man/wlanctl-ng.man wlanctl-ng.1
- newman ${S}/man/wland.man wland.1
-
- dodoc CHANGES COPYING LICENSE FAQ README THANKS TODO \
- doc/config* doc/capturefrm.txt
- fi
-
- exeinto /sbin
- doexe add-ons/keygen/keygen
- doexe add-ons/lwepgen/lwepgen
-
-}
-
-pkg_postinst() {
- depmod -a
-
- einfo "Configuration of the WLAN package has changed since 0.1.16-pre4."
- einfo ""
- einfo "/etc/init.d/wlan is used to control startup and shutdown of non-PCMCIA devices."
- einfo "/etc/init.d/pcmcia from pcmcia-cs is used to control startup and shutdown of"
- einfo "PCMCIA devices."
- einfo ""
- einfo "The wlan-ng.opts file in /etc/pcmcia/ is now depricated."
- einfo ""
- einfo "Modify /etc/conf.d/wlan.conf to set global parameters."
- einfo "Modify /etc/conf.d/wlancfg-* to set individual card parameters."
- einfo "There are detailed instructions in these config files."
- einfo ""
- einfo "Three keygen programs are included: nwepgen, keygen, and lwepgen."
- einfo "keygen seems provide more usable keys at the moment."
- einfo ""
- einfo "Be sure to add iface_wlan0 parameters to /etc/conf.d/net."
- einfo ""
- ewarn "Wireless cards which you want to use drivers other than wlan-ng for"
- ewarn "need to have the appropriate line removed from /etc/pcmcia/wlan-ng.conf"
- ewarn "Do 'cardctl info' to see the manufacturer ID and remove the corresponding"
- ewarn "line from that file."
- ewarn ""
- ewarn "This ebuild will work with a 2.6.1(0) kernel, if you add the symlinks:"
- ewarn "ln -sf /usr/src/linux-2.6.1 /usr/src/linux"
- ewarn "ln -sf /usr/src/linux-2.6.1/arch/i386 /usr/src/linux-2.6.1/arch/x86"
- ewarn "and disable any userpriv or sandbox settings in make.conf."
- ewarn "Work is underway to upgrade portage for kernel 2.6 drivers."
-}
-
diff --git a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17-r1.ebuild b/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17-r1.ebuild
deleted file mode 100644
index 20ea16d9a08a..000000000000
--- a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17-r1.ebuild
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17-r1.ebuild,v 1.7 2005/01/23 20:49:04 blubb Exp $
-
-inherit pcmcia kernel-mod
-
-IUSE="${IUSE} usb build"
-
-MY_P=${PN}-${PV/_/-}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="The linux-wlan Project"
-SRC_URI="${SRC_URI}
- ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.gz
- mirror://gentoo/${PN}-gentoo-init.gz"
-
-HOMEPAGE="http://linux-wlan.org"
-DEPEND="virtual/os-headers
- dev-libs/openssl
- >=sys-apps/sed-4.0*"
-
-SLOT="0"
-LICENSE="MPL-1.1"
-KEYWORDS="~x86 ~ppc"
-
-src_unpack() {
- check_KV
-
- unpack ${MY_P}.tar.gz
- unpack ${PN}-gentoo-init.gz
-
- # Use pcmcia.eclass to setup pcmcia-cs sources as needed
- pcmcia_src_unpack
-
- cp ${WORKDIR}/${PN}-gentoo-init ${S}/etc/rc.wlan
-
- # Lots of sedding to do to get the man pages and a few other
- # things to end up in the right place.
-
- cd ${S}
- sed -i -e "s:mkdir:#mkdir:" \
- -e "s:cp nwepgen.man:#cp nwepgen.man:" \
- -e "s:\t\$(TARGET_:\t#\$(TARGET_:" \
- man/Makefile
-
- sed -i -e "s:/etc/wlan:/etc/conf.d:g" \
- etc/wlan/Makefile
-
- sed -i -e "s:/sbin/nwepgen:/sbin/keygen:" \
- etc/wlan/wlancfg-DEFAULT
-
- sed -i -e "s:/etc/wlan/wlan.conf:/etc/conf.d/wlan.conf:g" \
- -e "s:/etc/wlan/wlancfg:/etc/conf.d/wlancfg:g" \
- etc/wlan/shared
-
-}
-
-src_compile() {
- # Configure the pcmcia-cs tree if it exists
- pcmcia_configure
-
- # now lets build wlan-ng
- cd ${S}
-
- sed -i -e 's:TARGET_ROOT_ON_HOST=:TARGET_ROOT_ON_HOST=${D}:' \
- -e 's:PRISM2_PCI=n:PRISM2_PCI=y:' \
- config.in
-
- if use pcmcia; then
- if [ -n "${PCMCIA_SOURCE_DIR}" ];
- then
- export PCMCIA_SOURCE_DIR=${PCMCIA_SOURCE_DIR}
- sed -i -e 's:PCMCIA_SRC=:PCMCIA_SRC=${PCMCIA_SOURCE_DIR}:' \
- config.in
- fi
- sed -i -e 's:PRISM2_PLX=n:PRISM2_PLX=y:' \
- config.in
- else
- sed -i -e 's:PRISM2_PCMCIA=y:PRISM2_PCMCIA=n:' \
- config.in
- fi
-
- if use usb; then
- sed -i -e 's:PRISM2_USB=n:PRISM2_USB=y:' \
- config.in
- fi
-
- cp config.in default.config
-
- # 2.6 needs ARCH unset since it uses it
- unset ARCH
- emake default_config || die "failed configuring WLAN"
- emake all || die "failed compiling"
-
- # compile add-on keygen program. It seems to actually provide usable keys.
- cd ${S}/add-ons/keygen
- emake || die "Failed to compile add-on keygen program"
- cd ${S}/add-ons/lwepgen
- emake || die "Failed to compile add-on lwepgen program"
- if kernel-mod_is_2_4_kernel
- then
- cd ${S}/src/prism2/download
- emake || die "Failed to compile prism2dl program"
- fi
-}
-
-src_install () {
-
- make install || die "failed installing"
-
- dodir etc/wlan
- mv ${D}/etc/conf.d/shared ${D}/etc/wlan/
-
- if ! use build; then
-
- dodir /usr/share/man/man1
- newman ${S}/man/nwepgen.man nwepgen.1
- newman ${S}/man/wlancfg.man wlancfg.1
- newman ${S}/man/wlanctl-ng.man wlanctl-ng.1
- newman ${S}/man/wland.man wland.1
-
- dodoc CHANGES COPYING LICENSE FAQ README THANKS TODO \
- doc/config* doc/capturefrm.txt
- fi
-
- exeinto /sbin
- doexe add-ons/keygen/keygen
- doexe add-ons/lwepgen/lwepgen
- if kernel-mod_is_2_4_kernel
- then
- doexe src/prism2/download/prism2dl
- fi
-}
-
-pkg_postinst() {
- depmod -a
-
- einfo "/etc/init.d/wlan is used to control startup and shutdown of non-PCMCIA devices."
- einfo "/etc/init.d/pcmcia from pcmcia-cs is used to control startup and shutdown of"
- einfo "PCMCIA devices."
- einfo ""
- einfo "Modify /etc/conf.d/wlan.conf to set global parameters."
- einfo "Modify /etc/conf.d/wlancfg-* to set individual card parameters."
- einfo "There are detailed instructions in these config files."
- einfo ""
- einfo "Three keygen programs are included: nwepgen, keygen, and lwepgen."
- einfo "keygen seems provide more usable keys at the moment."
- einfo ""
- einfo "Be sure to add iface_wlan0 parameters to /etc/conf.d/net."
- einfo ""
- ewarn "Wireless cards which you want to use drivers other than wlan-ng for"
- ewarn "need to have the appropriate line removed from /etc/pcmcia/wlan-ng.conf"
- ewarn "Do 'cardctl info' to see the manufacturer ID and remove the corresponding"
- ewarn "line from that file."
-
- ewarn "Previous versions of linux-wlan-ng recommended creating symlinks in"
- ewarn "/usr/src/linux for 2.6 kernel merges. This is NOT needed and will"
- ewarn "merely clutter things. This has been fixed in the ebuild where it"
- ewarn "should be handled."
- ewarn "Users emerging this with a 2.6 kernel still need to disable"
- ewarn "sandbox and userpriv from FEATURES."
-}
-
-
diff --git a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17.ebuild b/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17.ebuild
deleted file mode 100644
index 0333ae941658..000000000000
--- a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17.ebuild
+++ /dev/null
@@ -1,230 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre17.ebuild,v 1.5 2005/01/23 20:49:04 blubb Exp $
-
-inherit eutils
-
-IUSE="pcmcia usb build"
-
-PCMCIA_CS="pcmcia-cs-3.2.5"
-PATCH_3_2_6="pcmcia-cs-3.2.5-3.2.6.diff"
-PATCH_3_2_7="pcmcia-cs-3.2.5-3.2.7.diff"
-PCMCIA_DIR="${WORKDIR}/${PCMCIA_CS}"
-MY_P=${PN}-${PV/_/-}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="The linux-wlan Project"
-SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.gz
- mirror://gentoo/${PN}-gentoo-init.gz
- pcmcia? ( mirror://sourceforge/pcmcia-cs/${PCMCIA_CS}.tar.gz \
- http://dev.gentoo.org/~latexer/files/patches/${PCMCIA_CS}-module-init-tools.diff.gz
- http://dev.gentoo.org/~latexer/files/patches/${PATCH_3_2_6}.gz \
- http://dev.gentoo.org/~latexer/files/patches/${PATCH_3_2_7}.gz )"
-
-HOMEPAGE="http://linux-wlan.org"
-DEPEND="virtual/os-headers
- dev-libs/openssl
- >=sys-apps/sed-4.0*
- pcmcia? ( >=sys-apps/pcmcia-cs-3.2.5 )"
-SLOT="0"
-LICENSE="MPL-1.1"
-KEYWORDS="~x86"
-
-KERNEL_MOD_SOURCES="${MY_P}.tar.gz ${PN}-gentoo-init.gz"
-
-src_unpack() {
- unpack ${MY_P}.tar.gz
- unpack ${PN}-gentoo-init.gz
-
- cp ${WORKDIR}/${PN}-gentoo-init ${S}/etc/rc.wlan
-
- cd ${S}
-
- if use pcmcia; then
- if egrep '^CONFIG_PCMCIA=[ym]' /usr/src/linux/.config >&/dev/null
- then
- # Sadly, we still need to download these sources in SRC_URI
- # til portage can handle more dynamic SRC_URIs
- einfo "Kernel PCMCIA detected. Skipping external pcmcia-cs sources."
- else
- cd ${WORKDIR}
- unpack ${PCMCIA_CS}.tar.gz
- cd ${PCMCIA_DIR}
- epatch ${DISTDIR}/${PCMCIA_CS}-module-init-tools.diff.gz
- PCMCIA_CS_EBUILD=(/var/db/pkg/sys-apps/pcmcia-cs-*/pcmcia-cs-*.ebuild) ## use bash globbing
- if [ ! -f "${PCMCIA_CS_EBUILD}" ]; then
- die "ERROR: pcmcia-cs ebuild (${PCMCIA_CS_EBUILD}) not found - are you sure pcmcia-cs is installed?"
- fi
- PCMCIA_CS_VER="${PCMCIA_CS_EBUILD##*/}" ## -> pcmcia-cs-VER.ebuild
- PCMCIA_CS_VER="${PCMCIA_CS_VER/pcmcia-cs-/}" ## strip 'pcmcia-cs-'
- PCMCIA_CS_VER="${PCMCIA_CS_VER/.ebuild/}" ## strip '.ebuild'
- if [ "${PCMCIA_CS_VER/-*/}" = "3.2.7" ]; then
- einfo "Using pcmcia-cs-3.2.7"
- epatch ${DISTDIR}/${PATCH_3_2_7}.gz
- elif [ "${PCMCIA_CS_VER/-*/}" = "3.2.6" ]; then
- einfo "Using pcmcia-cs-3.2.6"
- epatch ${DISTDIR}/${PATCH_3_2_6}.gz
- else
- einfo "Using pcmcia-cs-3.2.5"
- fi
- fi
- fi
-
-
- # Lots of sedding to do to get the man pages and a few other
- # things to end up in the right place.
-
- cd ${S}
- sed -i -e "s:mkdir:#mkdir:" \
- -e "s:cp nwepgen.man:#cp nwepgen.man:" \
- -e "s:\t\$(TARGET_:\t#\$(TARGET_:" \
- man/Makefile
-
- sed -i -e "s:/etc/wlan:/etc/conf.d:g" \
- etc/wlan/Makefile
-
- sed -i -e "s:/sbin/nwepgen:/sbin/keygen:" \
- etc/wlan/wlancfg-DEFAULT
-
- sed -i -e "s:/etc/wlan/wlan.conf:/etc/conf.d/wlan.conf:g" \
- -e "s:/etc/wlan/wlancfg:/etc/conf.d/wlancfg:g" \
- etc/wlan/shared
-
-}
-
-src_compile() {
- local kernelpcmcia
- #
- # configure pcmcia-cs - we need this for wlan to compile
- # use same USE flags that the pcmcia-cs ebuild does.
- # no need to actually compile pcmcia-cs...
- # * This is actually only used if pcmcia_cs is NOT compiled into
- # the kernel tree.
- #
-
- if egrep '^CONFIG_PCMCIA=[ym]' /usr/src/linux/.config >&/dev/null; then
- kernelpcmcia="yes"
- else
- kernelpcmcia="no"
- fi
-
- if use pcmcia; then
- if [ "${kernelpcmcia}" = "no" ]; then
- local myarch myconf
-
- # pcmcia-cs expects "i386" not "x86"
- case "${ARCH}" in
- x86) myarch="i386" ;;
- *) myarch="${ARCH}" ;;
- esac
-
- cd ${PCMCIA_DIR}
-
- #use $CFLAGS for user tools, but standard kernel optimizations for
- #the kernel modules (for compatibility)
- ./Configure -n \
- --target=${D} \
- --srctree \
- --kernel=/usr/src/linux \
- --arch="${myarch}" \
- --uflags="${CFLAGS}" \
- --kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \
- $myconf || die "failed configuring pcmcia-cs"
- fi
- fi
-
- # now lets build wlan-ng
- cd ${S}
-
- sed -i -e 's:TARGET_ROOT_ON_HOST=:TARGET_ROOT_ON_HOST=${D}:' \
- -e 's:PRISM2_PCI=n:PRISM2_PCI=y:' \
- config.in
-
- if use pcmcia; then
- if [ "${kernelpcmcia}" = "no" ];
- then
- export PCMCIA_CS=${PCMCIA_CS}
- sed -i -e 's:PCMCIA_SRC=:PCMCIA_SRC=${WORKDIR}/${PCMCIA_CS}:' \
- config.in
- fi
- sed -i -e 's:PRISM2_PLX=n:PRISM2_PLX=y:' \
- config.in
- else
- sed -i -e 's:PRISM2_PCMCIA=y:PRISM2_PCMCIA=n:' \
- config.in
- fi
-
- if use usb; then
- sed -i -e 's:PRISM2_USB=n:PRISM2_USB=y:' \
- config.in
- fi
-
- cp config.in default.config
-
- emake default_config || die "failed configuring WLAN"
- # 2.6 needs ARCH unset since it uses it
- unset ARCH
- emake all || die "failed compiling"
-
- # compile add-on keygen program. It seems to actually provide usable keys.
- cd ${S}/add-ons/keygen
- emake || die "Failed to compile add-on keygen program"
- cd ${S}/add-ons/lwepgen
- emake || die "Failed to compile add-on lwepgen program"
-}
-
-src_install () {
-
- make install || die "failed installing"
-
- dodir etc/wlan
- mv ${D}/etc/conf.d/shared ${D}/etc/wlan/
-
- if ! use build; then
-
- dodir /usr/share/man/man1
- newman ${S}/man/nwepgen.man nwepgen.1
- newman ${S}/man/wlancfg.man wlancfg.1
- newman ${S}/man/wlanctl-ng.man wlanctl-ng.1
- newman ${S}/man/wland.man wland.1
-
- dodoc CHANGES COPYING LICENSE FAQ README THANKS TODO \
- doc/config* doc/capturefrm.txt
- fi
-
- exeinto /sbin
- doexe add-ons/keygen/keygen
- doexe add-ons/lwepgen/lwepgen
-
-}
-
-pkg_postinst() {
- depmod -a
-
- einfo "/etc/init.d/wlan is used to control startup and shutdown of non-PCMCIA devices."
- einfo "/etc/init.d/pcmcia from pcmcia-cs is used to control startup and shutdown of"
- einfo "PCMCIA devices."
- einfo ""
- einfo "Modify /etc/conf.d/wlan.conf to set global parameters."
- einfo "Modify /etc/conf.d/wlancfg-* to set individual card parameters."
- einfo "There are detailed instructions in these config files."
- einfo ""
- einfo "Three keygen programs are included: nwepgen, keygen, and lwepgen."
- einfo "keygen seems provide more usable keys at the moment."
- einfo ""
- einfo "Be sure to add iface_wlan0 parameters to /etc/conf.d/net."
- einfo ""
- ewarn "Wireless cards which you want to use drivers other than wlan-ng for"
- ewarn "need to have the appropriate line removed from /etc/pcmcia/wlan-ng.conf"
- ewarn "Do 'cardctl info' to see the manufacturer ID and remove the corresponding"
- ewarn "line from that file."
-
- ewarn "Previous versions of linux-wlan-ng recommended creating symlinks in"
- ewarn "/usr/src/linux for 2.6 kernel merges. This is NOT needed and will"
- ewarn "merely clutter things. This has been fixed in the ebuild where it"
- ewarn "should be handled."
- ewarn "Users emerging this with a 2.6 kernel still need to disable"
- ewarn "sandbox and userpriv from FEATURES."
-}
-
-
diff --git a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre19.ebuild b/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre19.ebuild
deleted file mode 100644
index 9a9224fa433c..000000000000
--- a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre19.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre19.ebuild,v 1.6 2005/01/23 20:49:04 blubb Exp $
-
-inherit pcmcia eutils
-
-IUSE="${IUSE} usb build"
-
-MY_P=${PN}-${PV/_/-}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="The linux-wlan Project"
-SRC_URI="${SRC_URI}
- ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.gz
- mirror://gentoo/${PN}-gentoo-init.gz"
-
-HOMEPAGE="http://linux-wlan.org"
-DEPEND="virtual/os-headers
- dev-libs/openssl
- >=sys-apps/sed-4.0*"
-
-SLOT="0"
-LICENSE="MPL-1.1"
-KEYWORDS="~x86"
-
-src_unpack() {
- check_KV
-
- unpack ${MY_P}.tar.gz
- unpack ${PN}-gentoo-init.gz
-
- # Use pcmcia.eclass to setup pcmcia-cs sources as needed
- pcmcia_src_unpack
-
- cp ${WORKDIR}/${PN}-gentoo-init ${S}/etc/rc.wlan
-
- # Small fix to make sure prism2dl compiles against /usr/include/linux
- # and not /usr/src/linux/include/linux. Userland shouldn't use
- # /usr/src/linux (especially this seems to break under 2.6 headers)
-
- cd ${S}
- EPATCH_SINGLE_MSG="Fixing prism2dl includes to use /usr/include/linux" \
- epatch ${FILESDIR}/${P}-prism2dl.diff
-
- # Lots of sedding to do to get the man pages and a few other
- # things to end up in the right place.
-
- sed -i -e "s:mkdir:#mkdir:" \
- -e "s:cp nwepgen.man:#cp nwepgen.man:" \
- -e "s:\t\$(TARGET_:\t#\$(TARGET_:" \
- man/Makefile
-
- sed -i -e "s:/etc/wlan:/etc/conf.d:g" \
- etc/wlan/Makefile
-
- sed -i -e "s:/sbin/nwepgen:/sbin/keygen:" \
- etc/wlan/wlancfg-DEFAULT
-
- sed -i -e "s:/etc/wlan/wlan.conf:/etc/conf.d/wlan.conf:g" \
- -e "s:/etc/wlan/wlancfg:/etc/conf.d/wlancfg:g" \
- etc/wlan/shared
-
-}
-
-src_compile() {
- # Configure the pcmcia-cs tree if it exists
- pcmcia_configure
-
- # now lets build wlan-ng
- cd ${S}
-
- sed -i -e 's:TARGET_ROOT_ON_HOST=:TARGET_ROOT_ON_HOST=${D}:' \
- -e 's:PRISM2_PCI=n:PRISM2_PCI=y:' \
- config.in
-
- if use pcmcia; then
- if [ -n "${PCMCIA_SOURCE_DIR}" ];
- then
- export PCMCIA_SOURCE_DIR=${PCMCIA_SOURCE_DIR}
- sed -i -e 's:PCMCIA_SRC=:PCMCIA_SRC=${PCMCIA_SOURCE_DIR}:' \
- config.in
- fi
- sed -i -e 's:PRISM2_PLX=n:PRISM2_PLX=y:' \
- config.in
- else
- sed -i -e 's:PRISM2_PCMCIA=y:PRISM2_PCMCIA=n:' \
- config.in
- fi
-
- if use usb; then
- sed -i -e 's:PRISM2_USB=n:PRISM2_USB=y:' \
- config.in
- fi
-
- cp config.in default.config
-
- # 2.6 needs ARCH unset since it uses it
- unset ARCH
- emake default_config || die "failed configuring WLAN"
- emake all || die "failed compiling"
-
- # compile add-on keygen program. It seems to actually provide usable keys.
- cd ${S}/add-ons/keygen
- emake || die "Failed to compile add-on keygen program"
- cd ${S}/add-ons/lwepgen
- emake || die "Failed to compile add-on lwepgen program"
-}
-
-src_install () {
-
- make install || die "failed installing"
-
- dodir etc/wlan
- mv ${D}/etc/conf.d/shared ${D}/etc/wlan/
-
- if ! use build; then
-
- dodir /usr/share/man/man1
- newman ${S}/man/nwepgen.man nwepgen.1
- newman ${S}/man/wlancfg.man wlancfg.1
- newman ${S}/man/wlanctl-ng.man wlanctl-ng.1
- newman ${S}/man/wland.man wland.1
-
- dodoc CHANGES COPYING LICENSE FAQ README THANKS TODO \
- doc/config* doc/capturefrm.txt
- fi
-
- exeinto /sbin
- doexe add-ons/keygen/keygen
- doexe add-ons/lwepgen/lwepgen
-
-}
-
-pkg_postinst() {
- depmod -a
-
- einfo "/etc/init.d/wlan is used to control startup and shutdown of non-PCMCIA devices."
- einfo "/etc/init.d/pcmcia from pcmcia-cs is used to control startup and shutdown of"
- einfo "PCMCIA devices."
- einfo ""
- einfo "Modify /etc/conf.d/wlan.conf to set global parameters."
- einfo "Modify /etc/conf.d/wlancfg-* to set individual card parameters."
- einfo "There are detailed instructions in these config files."
- einfo ""
- einfo "Three keygen programs are included: nwepgen, keygen, and lwepgen."
- einfo "keygen seems provide more usable keys at the moment."
- einfo ""
- einfo "Be sure to add iface_wlan0 parameters to /etc/conf.d/net."
- einfo ""
- ewarn "Wireless cards which you want to use drivers other than wlan-ng for"
- ewarn "need to have the appropriate line removed from /etc/pcmcia/wlan-ng.conf"
- ewarn "Do 'cardctl info' to see the manufacturer ID and remove the corresponding"
- ewarn "line from that file."
-
- ewarn "Previous versions of linux-wlan-ng recommended creating symlinks in"
- ewarn "/usr/src/linux for 2.6 kernel merges. This is NOT needed and will"
- ewarn "merely clutter things. This has been fixed in the ebuild where it"
- ewarn "should be handled."
- ewarn "Users emerging this with a 2.6 kernel still need to disable"
- ewarn "sandbox and userpriv from FEATURES."
-}
-
-
diff --git a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre22.ebuild b/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre22.ebuild
deleted file mode 100644
index 0089c1132409..000000000000
--- a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre22.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre22.ebuild,v 1.2 2005/01/23 20:49:04 blubb Exp $
-
-inherit pcmcia kernel-mod
-
-IUSE="${IUSE} usb build"
-
-MY_P=${PN}-${PV/_/}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="The linux-wlan Project"
-SRC_URI="${SRC_URI}
- ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.bz2
- mirror://gentoo/${PN}-gentoo-init.gz"
-
-HOMEPAGE="http://linux-wlan.org"
-DEPEND="virtual/os-headers
- dev-libs/openssl
- >=sys-apps/sed-4.0*"
-
-SLOT="0"
-LICENSE="MPL-1.1"
-KEYWORDS="~x86 ~ppc"
-
-src_unpack() {
- check_KV
- kernel_mod-getversion
-
- unpack ${MY_P}.tar.bz2
- unpack ${PN}-gentoo-init.gz
-
- # Use pcmcia.eclass to setup pcmcia-cs sources as needed
- pcmcia_src_unpack
-
- cp ${WORKDIR}/${PN}-gentoo-init ${S}/etc/rc.wlan
-
- # Lots of sedding to do to get the man pages and a few other
- # things to end up in the right place.
-
- sed -i -e "s:/usr/local/man/:/usr/share/man/:" \
- man/Makefile
-
- sed -i -e "s:/etc/wlan:/etc/conf.d:g" \
- etc/wlan/Makefile
-
- sed -i -e "s:/sbin/nwepgen:/sbin/keygen:" \
- etc/wlan/wlancfg-DEFAULT
-
- sed -i -e "s:/etc/wlan/wlan.conf:/etc/conf.d/wlan.conf:g" \
- -e "s:/etc/wlan/wlancfg:/etc/conf.d/wlancfg:g" \
- etc/wlan/shared
-
- if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
- then
- sed -i 's:SUBDIRS=:M=:g' ${S}/Makefile
- fi
-}
-
-src_compile() {
- # Configure the pcmcia-cs tree if it exists
- pcmcia_configure
-
- # now lets build wlan-ng
- cd ${S}
-
- sed -i -e 's:TARGET_ROOT_ON_HOST=:TARGET_ROOT_ON_HOST=${D}:' \
- -e 's:PRISM2_PCI=n:PRISM2_PCI=y:' \
- config.in
-
- if use pcmcia; then
- if [ -n "${PCMCIA_SOURCE_DIR}" ];
- then
- export PCMCIA_SOURCE_DIR=${PCMCIA_SOURCE_DIR}
- sed -i -e 's:PCMCIA_SRC=:PCMCIA_SRC=${PCMCIA_SOURCE_DIR}:' \
- config.in
- fi
- sed -i -e 's:PRISM2_PLX=n:PRISM2_PLX=y:' \
- config.in
- else
- sed -i -e 's:PRISM2_PCMCIA=y:PRISM2_PCMCIA=n:' \
- config.in
- fi
-
- if use usb; then
- sed -i -e 's:PRISM2_USB=n:PRISM2_USB=y:' \
- config.in
- fi
-
- cp config.in default.config
-
- # 2.6 needs ARCH unset since it uses it
- unset ARCH
- emake default_config || die "failed configuring WLAN"
- emake all || die "failed compiling"
-
- # compile add-on keygen program. It seems to actually provide usable keys.
- cd ${S}/add-ons/keygen
- emake || die "Failed to compile add-on keygen program"
- cd ${S}/add-ons/lwepgen
- emake || die "Failed to compile add-on lwepgen program"
-}
-
-src_install () {
-
- make install || die "failed installing"
-
- dodir etc/wlan
- mv ${D}/etc/conf.d/shared ${D}/etc/wlan/
-
- if use build; then
- ( cd ${D}/usr/share && rm -r man )
- fi
-
- exeinto /sbin
- doexe add-ons/keygen/keygen
- doexe add-ons/lwepgen/lwepgen
-
-}
-
-pkg_postinst() {
- depmod -a
-
- einfo "/etc/init.d/wlan is used to control startup and shutdown of non-PCMCIA devices."
- einfo "/etc/init.d/pcmcia from pcmcia-cs is used to control startup and shutdown of"
- einfo "PCMCIA devices."
- einfo ""
- einfo "Modify /etc/conf.d/wlan.conf to set global parameters."
- einfo "Modify /etc/conf.d/wlancfg-* to set individual card parameters."
- einfo "There are detailed instructions in these config files."
- einfo ""
- einfo "Three keygen programs are included: nwepgen, keygen, and lwepgen."
- einfo "keygen seems provide more usable keys at the moment."
- einfo ""
- einfo "Be sure to add iface_wlan0 parameters to /etc/conf.d/net."
- einfo ""
- ewarn "Wireless cards which you want to use drivers other than wlan-ng for"
- ewarn "need to have the appropriate line removed from /etc/pcmcia/wlan-ng.conf"
- ewarn "Do 'cardctl info' to see the manufacturer ID and remove the corresponding"
- ewarn "line from that file."
-}
-
-
diff --git a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre8.ebuild b/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre8.ebuild
deleted file mode 100644
index f68173a3e672..000000000000
--- a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre8.ebuild
+++ /dev/null
@@ -1,229 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre8.ebuild,v 1.8 2005/01/23 20:49:04 blubb Exp $
-
-
-inherit eutils
-
-IUSE="apm build nocardbus pcmcia pnp trusted usb"
-
-PCMCIA_CS="pcmcia-cs-3.2.1"
-PATCH_3_2_2="pcmcia-cs-3.2.1-3.2.2.diff.gz"
-PATCH_3_2_3="pcmcia-cs-3.2.1-3.2.3.diff.gz"
-PATCH_3_2_4="pcmcia-cs-3.2.1-3.2.4.diff.gz"
-PCMCIA_DIR="${WORKDIR}/${PCMCIA_CS}"
-MY_P=${PN}-${PV/_/-}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="The linux-wlan Project"
-SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.gz
- mirror://gentoo/${PN}-gentoo-init.gz
- pcmcia? ( mirror://sourceforge/pcmcia-cs/${PCMCIA_CS}.tar.gz )
- pcmcia? ( mirror://gentoo/${PATCH_3_2_2} )
- pcmcia? ( mirror://gentoo/${PATCH_3_2_3} )
- pcmcia? ( mirror://gentoo/${PATCH_3_2_4} )"
-
-HOMEPAGE="http://linux-wlan.org"
-DEPEND="virtual/os-headers
- dev-libs/openssl
- sys-apps/baselayout
- pcmcia? ( sys-apps/pcmcia-cs )"
-SLOT="0"
-LICENSE="MPL-1.1"
-KEYWORDS="~x86"
-
-# check arch for configure
-if [ ${ARCH} = "x86" ] ; then
- MY_ARCH="i386"
-else
- MY_ARCH="ppc"
-fi
-
-# Note: To use this ebuild, you should have the usr/src/linux symlink to
-# the kernel directory that linux-wlan-ng should use for configuration.
-#
-# linux-wlan-ng requires a configured pcmcia-cs source tree.
-# unpack/configure it in WORKDIR. No need to compile it though.
-
-src_unpack() {
-
- unpack ${MY_P}.tar.gz
- unpack ${PN}-gentoo-init.gz
- cp ${WORKDIR}/${PN}-gentoo-init ${S}/etc/rc.wlan
-
- if use pcmcia; then
- unpack ${PCMCIA_CS}.tar.gz
- cd ${PCMCIA_DIR}
- if [ -z "`has_version =sys-apps/pcmcia-cs-3.2.4*`" ]; then
- epatch ${DISTDIR}/${PATCH_3_2_4}
- elif [ -z "`has_version =sys-apps/pcmcia-cs-3.2.3*`" ]; then
- epatch ${DISTDIR}/${PATCH_3_2_3}
- elif [ -z "`has_version =sys-apps/pcmcia-cs-3.2.2*`" ]; then
- epatch ${DISTDIR}/${PATCH_3_2_2}
- fi
- fi
-
-
- # Lots of sedding to do to get the man pages and a few other
- # things to end up in the right place.
-
- cd ${S}
- mv man/Makefile man/Makefile.orig
- sed -e "s:mkdir:#mkdir:" \
- -e "s:cp nwepgen.man:#cp nwepgen.man:" \
- -e "s:\t\$(TARGET_:\t#\$(TARGET_:" \
- man/Makefile.orig > man/Makefile
-
- mv etc/wlan/Makefile etc/wlan/Makefile.orig
- sed -e "s:/etc/wlan:/etc/conf.d:g" \
- etc/wlan/Makefile.orig > etc/wlan/Makefile
-
- mv etc/wlan/wlancfg-DEFAULT etc/wlan/wlancfg-DEFAULT.orig
- sed -e "s:/sbin/nwepgen:/sbin/keygen:" \
- etc/wlan/wlancfg-DEFAULT.orig > etc/wlan/wlancfg-DEFAULT
-
- mv etc/wlan/shared etc/wlan/shared.orig
- sed -e "s:/etc/wlan/wlan.conf:/etc/conf.d/wlan.conf:g" \
- -e "s:/etc/wlan/wlancfg:/etc/conf.d/wlancfg:g" \
- etc/wlan/shared.orig > etc/wlan/shared
-
-}
-
-src_compile() {
-
- #
- # configure pcmcia-cs - we need this for wlan to compile
- # use same USE flags that the pcmcia-cs ebuild does.
- # no need to actually compile pcmcia-cs...
- # * This is actually only used if pcmcia_cs is NOT compiled into
- # the kernel tree.
- #
-
- if use pcmcia; then
- cd ${WORKDIR}/${PCMCIA_CS}
- local myconf
- if use trusted ; then
- myconf="--trust"
- else
- myconf="--notrust"
- fi
-
- if use apm ; then
- myconf="$myconf --apm"
- else
- myconf="$myconf --noapm"
- fi
-
- if use pnp ; then
- myconf="$myconf --pnp"
- else
- myconf="$myconf --nopnp"
- fi
-
- if use nocardbus ; then
- myconf="$myconf --nocardbus"
- else
- myconf="$myconf --cardbus"
- fi
-
- #use $CFLAGS for user tools, but standard kernel optimizations for
- #the kernel modules (for compatibility)
- ./Configure -n \
- --target=${D} \
- --srctree \
- --kernel=/usr/src/linux \
- --arch="${MY_ARCH}" \
- --uflags="${CFLAGS}" \
- --kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \
- $myconf || die "failed configuring pcmcia-cs"
- fi
- # now lets build wlan-ng
- cd ${S}
-
- sed -e 's:TARGET_ROOT_ON_HOST=:TARGET_ROOT_ON_HOST=${D}:' \
- -e 's:PRISM2_PCI=n:PRISM2_PCI=y:' \
- config.in > default.config
- mv default.config config.in
-
- if use pcmcia; then
- export PCMCIA_CS=${PCMCIA_CS}
- sed -e 's:PCMCIA_SRC=:PCMCIA_SRC=${WORKDIR}/${PCMCIA_CS}:' \
- -e 's:PRISM2_PLX=n:PRISM2_PLX=y:' \
- config.in > default.config
- else
- sed -e 's:PRISM2_PCMCIA=y:PRISM2_PCMCIA=n:' \
- config.in > default.config
- fi
- mv default.config config.in
-
- if use usb; then
- sed -e 's:PRISM2_USB=n:PRISM2_USB=y:' \
- config.in > default.config
- mv default.config config.in
- fi
-
- mv default.config config.in
- cp config.in default.config
-
- emake default_config || die "failed configuring WLAN"
- emake all || die "failed compiling"
-
- # compile add-on keygen program. It seems to actually provide usable keys.
- cd ${S}/add-ons/keygen
- emake || die "Failed to compile add-on keygen program"
- cd ${S}/add-ons/lwepgen
- emake || die "Failed to compile add-on lwepgen program"
-}
-
-src_install () {
-
- make install || die "failed installing"
-
- dodir etc/wlan
- mv ${D}/etc/conf.d/shared ${D}/etc/wlan/
-
- if ! use build; then
-
- dodir /usr/share/man/man1
- newman ${S}/man/nwepgen.man nwepgen.1
- newman ${S}/man/wlancfg.man wlancfg.1
- newman ${S}/man/wlanctl-ng.man wlanctl-ng.1
- newman ${S}/man/wland.man wland.1
-
- dodoc CHANGES COPYING LICENSE FAQ README THANKS TODO \
- doc/config* doc/capturefrm.txt
- fi
-
- exeinto /sbin
- doexe add-ons/keygen/keygen
- doexe add-ons/lwepgen/lwepgen
-
-}
-
-pkg_postinst() {
- depmod -a
-
- einfo "Configuration of the WLAN package has changed since 0.1.16-pre4."
- einfo ""
- einfo "/etc/init.d/wlan is used to control startup and shutdown of non-PCMCIA devices."
- einfo "/etc/init.d/pcmcia from pcmcia-cs is used to control startup and shutdown of"
- einfo "PCMCIA devices."
- einfo ""
- einfo "The wlan-ng.opts file in /etc/pcmcia/ is now depricated."
- einfo ""
- einfo "Modify /etc/conf.d/wlan.conf to set global parameters."
- einfo "Modify /etc/conf.d/wlancfg-* to set individual card parameters."
- einfo "There are detailed instructions in these config files."
- einfo ""
- einfo "Three keygen programs are included: nwepgen, keygen, and lwepgen."
- einfo "keygen seems provide more usable keys at the moment."
- einfo ""
- einfo "Be sure to add iface_wlan0 parameters to /etc/conf.d/net."
- einfo ""
- ewarn "Wireless cards which you want to use drivers other than wlan-ng for"
- ewarn "need to have the appropriate line removed from /etc/pcmcia/wlan-ng.conf"
- ewarn "Do 'cardctl info' to see the manufacturer ID and remove the corresponding"
- ewarn "line from that file."
-}
-
-