[Frugalware-darcs] vmiklos: big cleanup

VMiklos vmiklos at frugalware.org
Fri Oct 7 23:48:47 CEST 2005


Fri Oct  7 23:15:25 CEST 2005  VMiklos <vmiklos at frugalware.org>
  * big cleanup
  these were moved to -current:
  devel/gcc-gfortlan
  gnome/gnome-audio
  network/squid
  network/wlan-ng
diff -rN -u old-vmiklos/source/devel/gcc-gfortlan/FrugalBuild new-vmiklos/source/devel/gcc-gfortlan/FrugalBuild
--- old-vmiklos/source/devel/gcc-gfortlan/FrugalBuild	2005-10-07 23:48:46.000000000 +0200
+++ new-vmiklos/source/devel/gcc-gfortlan/FrugalBuild	1970-01-01 01:00:00.000000000 +0100
@@ -1,44 +0,0 @@
-# Last Modified: Tue, 24 May 2005 03:21:59 +0200
-# Compiling Time: ~3 hours on factory.frugalware.org
-# Maintainer: VMiklos <mamajom at axelero.hu>
-
-pkgname=gcc-gfortlan
-pkgver=4.0.0
-pkgrel=1
-pkgdesc="The GNU Fortran Compiler"
-url="http://gcc.gnu.org"
-depends=('gcc=4.0.0')
-groups=('devel')
-up2date=`lynx -dump $url|grep Current|sed 's/.*C \(.*\) (.*/\1/'`
-source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-$pkgver.tar.bz2)
-md5sums=('55ee7df1b29f719138ec063c57b89db6')
-
-build()
-{
-	Fcd gcc-$pkgver
-	mkdir ../$pkgname-build
-	cd ../$pkgname-build
-	../gcc-$pkgver/configure --prefix=/usr --enable-shared \
-		--enable-languages=f95 --enable-threads=posix \
-		--enable-__cxa_atexit
-	
-	make bootstrap || return 1
-	
-	Fmakeinstall
-	# conflicts with gcc
-	Frm /usr/info/{cpp,cppinternals,gcc,gccinstall,gccint}.info
-	Frm /usr/lib/gcc/$CHOST/$pkgver/include/{emmintrin,float,iso646,limits,mmintrin,pmmintrin,unwind,varargs,xmmintrin,dbm/ncompat,libdevmapper,linux/a.out,mm3dnow,mm_malloc,nspr/md/_darwin,nspr/md/_rhapsody,nspr/md/_solaris,nss/secport,openssl/bn}.h
-	Frm /usr/lib/gcc/$CHOST/$pkgver/include/root/usr/X11R6/include/X11/{Xos,Xos_r,Xosdefs}.h
-	Frm /usr/include/mf-runtime.h
-	Frm /usr/lib/gcc/$CHOST/$pkgver/include/{README,s*} /usr/share/locale
-	Frm /usr/lib/{libgcc_s.so*,libiberty.a}
-	Frm /usr/lib/gcc/$CHOST/$pkgver/{*.o,*.a,specs}
-	Frm /usr/bin/{cpp,gcc,gccbug,gcov,$CARCH*}
-	Frm /usr/lib/gcc/$CHOST/$pkgver/install-tools
-	Frm /usr/man/{man1/gcc.1,man1/gcov.1,man1/cpp.1,man7}
-	Frm /usr/libexec/gcc/$CHOST/$pkgver/install-tools
-	Frm /usr/libexec/gcc/$CHOST/$pkgver/c*
-	Frm /usr/lib/{libmudflap.*,libmudflapth.*}
-}
-
-# vim: ft=sh
diff -rN -u old-vmiklos/source/gnome/gnome-audio/FrugalBuild new-vmiklos/source/gnome/gnome-audio/FrugalBuild
--- old-vmiklos/source/gnome/gnome-audio/FrugalBuild	2005-10-07 23:48:46.000000000 +0200
+++ new-vmiklos/source/gnome/gnome-audio/FrugalBuild	1970-01-01 01:00:00.000000000 +0100
@@ -1,22 +0,0 @@
-# Last modified: Tue, 29 Mar 2005 10:57:36 +0200
-# Compiling time: ~1 minute
-# Maintainer: Marcus Habermehl [BMH1980] <bmh1980de at yahoo.de>
-
-pkgname=gnome-audio
-pkgver=2.0.0
-pkgrel=1
-pkgdesc="GNOME audio files"
-url="http://www.gnome.org/"
-depends=()
-groups=('extra/gnome')
-[ -e ../../../../source/gnome/up2date.gnome ] && . ../../../../source/gnome/up2date.gnome
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/$preup2date/$pkgname-$pkgver.tar.bz2)
-md5sums=('cd14b84af59fb2ec673527d32f4e379f')
-
-build() {
-	cd $startdir/src/$pkgname-$pkgver
-
-	make prefix=$startdir/pkg/usr install
-}
-
-# vim: ft=sh
diff -rN -u old-vmiklos/source/network/squid/FrugalBuild new-vmiklos/source/network/squid/FrugalBuild
--- old-vmiklos/source/network/squid/FrugalBuild	2005-10-07 23:48:46.000000000 +0200
+++ new-vmiklos/source/network/squid/FrugalBuild	1970-01-01 01:00:00.000000000 +0100
@@ -1,54 +0,0 @@
-# Last Modified: Sun, 08 May 2005 14:01:03 +0200
-# Compiling Time: TODO
-# Maintainer: VMiklos <mamajom at axelero.hu>
-
-pkgname=squid
-pkgver=2.5.STABLE9
-pkgrel=1
-pkgdesc="Squid Web Proxy Cache"
-url="http://www.squid-cache.org/"
-depends=('openssl' 'dcron' 'perl')
-groups=('network-extra')
-backup=(etc/squid/{mime,msntauth,squid}.conf)
-install=$pkgname.install
-up2date=`lynx -dump $url/Versions/v2/2.5/|grep -1 Current|sed -n 's/.*-\(.*\)/\1/;$ p'`
-source=(http://www.squid-cache.org/Versions/v2/2.5/$pkgname-$pkgver.tar.bz2 \
-	$pkgname-$pkgver-dirs.diff $pkgname-$pkgver-maxfd.diff \
-	$pkgname-$pkgver-samba.diff $pkgname-$pkgver-username.diff rc.squid \
-	squid)
-md5sums=('5a34a303dcab8851c7ab20e24af69b61' 'd5c21353105879704d3bdc2766795f79' \
-	 'd0f904b37901a9070cf3946ca47b0a05' '48fb7edd93bc1c10ec296872dc081b03' \
-	 '538d4b438a75c5ff704d89746d25c7a4' 'd0c4b45563d2a11b53d82af7b4580174' \
-	 'aa4672e7528160f75e8cec45a86706eb')
-		  
-build()
-{
-	Fpatchall
-	Fmake --datadir=/usr/share/squid --sysconfdir=/etc/squid \
-		--libexecdir=/usr/lib/squid --localstatedir=/var \
-		--enable-auth="basic,digest,ntlm" \
-		--enable-removal-policies="lru,heap" \
-		--enable-digest-auth-helpers="password" \
-		--enable-storeio="aufs,ufs,diskd,coss,null" \
-		--enable-basic-auth-helpers="getpwnam,YP,NCSA,SMB,MSNT,multi-domain-NTLM,winbind" \
-		--enable-external-acl-helpers="ip_user,unix_group,wbinfo_group,winbind_group" \
-		--enable-ntlm-auth-helpers="SMB,fakeauth,no_check,winbind" \
-		--enable-delay-pools --enable-arp-acl --enable-ssl \
-		--enable-linux-netfilter --enable-ident-lookups \
-		--enable-useragent-log --enable-cache-digests \
-		--enable-referer-log --enable-async-io --enable-truncate \
-		--enable-arp-acl --enable-htcp --enable-carp \
-		--enable-poll || return 1
-	make DESTDIR=$Fdestdir install
-	
-	Frm /var
-	Fmv /usr/bin/Run* /usr/lib/squid/
-	Fmkdir /var/cache/squid
-	Fmkdir /var/log/squid/run
-	Frcd
-	Fexe /etc/cron.weekly/squid
-}
-
-# optimalization ok
-
-# vim: ft=sh
diff -rN -u old-vmiklos/source/network/squid/messages/squid.en new-vmiklos/source/network/squid/messages/squid.en
--- old-vmiklos/source/network/squid/messages/squid.en	2005-10-07 23:48:46.000000000 +0200
+++ new-vmiklos/source/network/squid/messages/squid.en	1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-stopsquid="Stopping squid"
-startsquid="Starting squid"
-createcache="Creating squid's swap directories"
diff -rN -u old-vmiklos/source/network/squid/messages/squid.hu new-vmiklos/source/network/squid/messages/squid.hu
--- old-vmiklos/source/network/squid/messages/squid.hu	2005-10-07 23:48:46.000000000 +0200
+++ new-vmiklos/source/network/squid/messages/squid.hu	1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-stopsquid="Az squid leállítása"
-startsquid="Az squid indítása"
-createcache="Az squid swap könyvtárainak létrehozása"
diff -rN -u old-vmiklos/source/network/squid/rc.squid new-vmiklos/source/network/squid/rc.squid
--- old-vmiklos/source/network/squid/rc.squid	2005-10-07 23:48:46.000000000 +0200
+++ new-vmiklos/source/network/squid/rc.squid	1970-01-01 01:00:00.000000000 +0100
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-# (c) 2005 Vajna Miklos <mamajom at axelero.hu>
-# rc.squid for Frugalware
-# distributed under GPL License
-
-. /etc/rc.d/rc.functions
-
-# chkconfig: 2345 85 15
-# description: Start/stop the squid web proxy cache
-
-if [ "$1" = "stop" ]; then
-	stop "$stopsquid"
-	squid -k shutdown &> /dev/null
-	ok $?
-elif [ "$1" = "restart" ]; then
-	"$0" stop
-	sleep 1
-	"$0" start
-else # start
-	if [ ! -f /var/cache/squid/swap.state ]; then
-		start "$createcache"
-		squid -z
-		ok $?
-	fi
-	start "$startsquid"
-	squid -D -sYC
-	ok $?
-fi
diff -rN -u old-vmiklos/source/network/squid/squid new-vmiklos/source/network/squid/squid
--- old-vmiklos/source/network/squid/squid	2005-10-07 23:48:46.000000000 +0200
+++ new-vmiklos/source/network/squid/squid	1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-squid -k rotate
diff -rN -u old-vmiklos/source/network/squid/squid-2.5.STABLE9-dirs.diff new-vmiklos/source/network/squid/squid-2.5.STABLE9-dirs.diff
--- old-vmiklos/source/network/squid/squid-2.5.STABLE9-dirs.diff	2005-10-07 23:48:47.000000000 +0200
+++ new-vmiklos/source/network/squid/squid-2.5.STABLE9-dirs.diff	1970-01-01 01:00:00.000000000 +0100
@@ -1,19 +0,0 @@
-diff -ru squid-2.5.STABLE9/src/Makefile.in squid-2.5.STABLE9.arch/src/Makefile.in
---- squid-2.5.STABLE9/src/Makefile.in	2004-09-25 17:37:59.000000000 -0400
-+++ squid-2.5.STABLE9.arch/src/Makefile.in	2005-04-15 06:08:13.000000000 -0400
-@@ -376,12 +376,12 @@
- DEFAULT_CONFIG_FILE = $(sysconfdir)/squid.conf
- DEFAULT_MIME_TABLE = $(sysconfdir)/mime.conf
- DEFAULT_DNSSERVER = $(libexecdir)/`echo dnsserver | sed '$(transform);s/$$/$(EXEEXT)/'`
--DEFAULT_LOG_PREFIX = $(localstatedir)/logs
-+DEFAULT_LOG_PREFIX = $(localstatedir)/log/squid
- DEFAULT_CACHE_LOG = $(DEFAULT_LOG_PREFIX)/cache.log
- DEFAULT_ACCESS_LOG = $(DEFAULT_LOG_PREFIX)/access.log
- DEFAULT_STORE_LOG = $(DEFAULT_LOG_PREFIX)/store.log
--DEFAULT_PID_FILE = $(DEFAULT_LOG_PREFIX)/squid.pid
--DEFAULT_SWAP_DIR = $(localstatedir)/cache
-+DEFAULT_PID_FILE = $(DEFAULT_LOG_PREFIX)/run/squid.pid
-+DEFAULT_SWAP_DIR = $(localstatedir)/cache/squid
- DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
- DEFAULT_UNLINKD = $(libexecdir)/`echo unlinkd | sed '$(transform);s/$$/$(EXEEXT)/'`
- DEFAULT_DISKD = $(libexecdir)/`echo diskd | sed '$(transform);s/$$/$(EXEEXT)/'`
diff -rN -u old-vmiklos/source/network/squid/squid-2.5.STABLE9-maxfd.diff new-vmiklos/source/network/squid/squid-2.5.STABLE9-maxfd.diff
--- old-vmiklos/source/network/squid/squid-2.5.STABLE9-maxfd.diff	2005-10-07 23:48:47.000000000 +0200
+++ new-vmiklos/source/network/squid/squid-2.5.STABLE9-maxfd.diff	1970-01-01 01:00:00.000000000 +0100
@@ -1,82 +0,0 @@
-diff -ru squid-2.5.STABLE9/configure squid-2.5.STABLE9.arch/configure
---- squid-2.5.STABLE9/configure	2005-02-23 18:54:54.000000000 -0500
-+++ squid-2.5.STABLE9.arch/configure	2005-04-15 06:08:13.000000000 -0400
-@@ -8107,77 +8107,7 @@
- if test "$cross_compiling" = yes; then
-   SQUID_MAXFD=256
- else
--  cat > conftest.$ac_ext <<EOF
--#line 8112 "configure"
--#include "confdefs.h"
--
--#include <stdio.h>
--#include <unistd.h>
--#include <sys/time.h>	/* needed on FreeBSD */
--#include <sys/param.h>
--#include <sys/resource.h>
--main() {
--	FILE *fp;
--	int i,j;
--#if defined(__CYGWIN32__) || defined (__CYGWIN__)
--    /* getrlimit and sysconf returns bogous values on cygwin32.
--     * Number of fds is virtually unlimited in cygwin (sys/param.h)
--     * __CYGWIN32__ is deprecated.
--     */
--    i = NOFILE;
--#else
--#if HAVE_SETRLIMIT
--    struct rlimit rl;
--#if defined(RLIMIT_NOFILE)
--    if (getrlimit(RLIMIT_NOFILE, &rl) < 0) {
--        perror("getrlimit: RLIMIT_NOFILE");
--    } else {
--        rl.rlim_cur = rl.rlim_max;      /* set it to the max */
--        if (setrlimit(RLIMIT_NOFILE, &rl) < 0) {
--            perror("setrlimit: RLIMIT_NOFILE");
--        }
--    }
--#elif defined(RLIMIT_OFILE)
--    if (getrlimit(RLIMIT_OFILE, &rl) < 0) {
--        perror("getrlimit: RLIMIT_OFILE");
--    } else {
--        rl.rlim_cur = rl.rlim_max;      /* set it to the max */
--        if (setrlimit(RLIMIT_OFILE, &rl) < 0) {
--            perror("setrlimit: RLIMIT_OFILE");
--        }
--    }
--#endif /* RLIMIT_NOFILE */
--#endif /* HAVE_SETRLIMIT */
--	/* by starting at 2^14, we will never get higher
--	than 2^15 for SQUID_MAXFD */
--        i = j = 1<<14;
--        while (j) {
--                j >>= 1;
--                if (dup2(0, i) < 0) { 
--                        i -= j;
--                } else {
--                        close(i);
--                        i += j;
--                }
--        }
--        i++;
--#endif /* IF !DEF CYGWIN */
--	fp = fopen("conftestval", "w");
--	fprintf (fp, "%d\n", i & ~0x3F);
--	exit(0);
--}
--
--EOF
--if { (eval echo configure:8172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
--then
--  SQUID_MAXFD=`cat conftestval`
--else
--  echo "configure: failed program was:" >&5
--  cat conftest.$ac_ext >&5
--  rm -fr conftest*
--  SQUID_MAXFD=256
--fi
--rm -fr conftest*
-+	SQUID_MAXFD=4096
- fi
- 
- echo "$ac_t""$SQUID_MAXFD" 1>&6
diff -rN -u old-vmiklos/source/network/squid/squid-2.5.STABLE9-samba.diff new-vmiklos/source/network/squid/squid-2.5.STABLE9-samba.diff
--- old-vmiklos/source/network/squid/squid-2.5.STABLE9-samba.diff	2005-10-07 23:48:47.000000000 +0200
+++ new-vmiklos/source/network/squid/squid-2.5.STABLE9-samba.diff	1970-01-01 01:00:00.000000000 +0100
@@ -1,12 +0,0 @@
-diff -ru squid-2.5.STABLE9/helpers/basic_auth/SMB/Makefile.in squid-2.5.STABLE9.arch/helpers/basic_auth/SMB/Makefile.in
---- squid-2.5.STABLE9/helpers/basic_auth/SMB/Makefile.in	2004-07-10 08:11:41.000000000 -0400
-+++ squid-2.5.STABLE9.arch/helpers/basic_auth/SMB/Makefile.in	2005-04-15 06:08:13.000000000 -0400
-@@ -128,7 +128,7 @@
- makesnmplib = @makesnmplib@
- 
- SMB_AUTH_HELPER = smb_auth.sh
--SAMBAPREFIX = /usr/local/samba
-+SAMBAPREFIX = /usr
- SMB_AUTH_HELPER_PATH = $(libexecdir)/$(SMB_AUTH_HELPER)
- 
- libexec_SCRIPTS = $(SMB_AUTH_HELPER)
diff -rN -u old-vmiklos/source/network/squid/squid-2.5.STABLE9-username.diff new-vmiklos/source/network/squid/squid-2.5.STABLE9-username.diff
--- old-vmiklos/source/network/squid/squid-2.5.STABLE9-username.diff	2005-10-07 23:48:47.000000000 +0200
+++ new-vmiklos/source/network/squid/squid-2.5.STABLE9-username.diff	1970-01-01 01:00:00.000000000 +0100
@@ -1,21 +0,0 @@
-diff -ru squid-2.5.STABLE9/src/cf.data.pre squid-2.5.STABLE9.arch/src/cf.data.pre
---- squid-2.5.STABLE9/src/cf.data.pre	2005-02-22 19:06:34.000000000 -0500
-+++ squid-2.5.STABLE9.arch/src/cf.data.pre	2005-04-15 06:08:13.000000000 -0400
-@@ -2425,7 +2425,7 @@
- 
- NAME: cache_effective_user
- TYPE: string
--DEFAULT: nobody
-+DEFAULT: proxy
- LOC: Config.effectiveUser
- DOC_START
- 	If you start Squid as root, it will change its effective/real
-@@ -2440,7 +2440,7 @@
- 
- NAME: cache_effective_group
- TYPE: string
--DEFAULT: none
-+DEFAULT: proxy
- LOC: Config.effectiveGroup
- DOC_START
- 	If you want Squid to run with a specific GID regardless of
diff -rN -u old-vmiklos/source/network/squid/squid.install new-vmiklos/source/network/squid/squid.install
--- old-vmiklos/source/network/squid/squid.install	2005-10-07 23:48:47.000000000 +0200
+++ new-vmiklos/source/network/squid/squid.install	1970-01-01 01:00:00.000000000 +0100
@@ -1,24 +0,0 @@
-post_install()
-{
-	grep -q proxy /etc/group || groupadd -g 105 proxy
-	id proxy &>/dev/null || useradd -u 105 -g proxy -d /var/empty proxy
-	chown proxy.proxy var/{cache,log}/squid
-}
-
-post_upgrade()
-{
-	post_install $1
-}
-
-pre_remove()
-{
-	userdel proxy
-	groupdel proxy
-}
-
-op=$1
-shift
-
-$op $*
-
-# vim: ft=sh
diff -rN -u old-vmiklos/source/network/wlan-ng/FrugalBuild new-vmiklos/source/network/wlan-ng/FrugalBuild
--- old-vmiklos/source/network/wlan-ng/FrugalBuild	2005-10-07 23:48:47.000000000 +0200
+++ new-vmiklos/source/network/wlan-ng/FrugalBuild	1970-01-01 01:00:00.000000000 +0100
@@ -1,37 +0,0 @@
-# Last Modified: Thu, 16 Jun 2005 13:21:42 +0200
-# Compiling Time: ~1 minute
-# Maintainer: VMiklos <mamajom at axelero.hu>
-
-pkgname=wlan-ng
-pkgver=0.2.1pre26
-realver=`echo $pkgver|sed 's/\([a-z]\+\)/-\1/'`
-pkgrel=1
-pkgdesc="Wireless Lan modules"
-url="http://www.linux-wlan.org/"
-depends=('bash')
-groups=('network-extra')
-archs=('i686')
-makedepends=('kernel-source' 'pcmcia-cs')
-backup=(etc/wlan/wlan.conf)
-up2date="lynx -dump ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/|grep tar.bz2$|sed -n 's/.*g-\(.*\)\.t.*/\1/;s/-//;$ p'"
-source=(ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/linux-$pkgname-$realver.tar.bz2 rc.wlan $pkgname-$pkgver-nomodule.symvers.diff)
-md5sums=('fff64e543e094b2007d614697f505344' '5fd30947d103be40d0ec0ea59f901f7e' \
-	 'b87dec0cac1f776c23788b20ea40ba61')
-
-build()
-{
-	Fcd linux-$pkgname-$realver
-	Fpatchall
-	Fsed "TARGET_ROOT_ON_HOST=" "TARGET_ROOT_ON_HOST=$Fdestdir" config.in
-	Fsed "PRISM2_PLX=n" "PRISM2_PLX=y" config.in
-	Fsed "PRISM2_PCI=n" "PRISM2_PCI=y" config.in
-	Fsed "PRISM2_USB=n" "PRISM2_USB=y" config.in
-	make auto_config
-	make all || return 1
-	make install
-	Fmv /usr/local/man /usr/man
-	Frm /init.d
-	Frcd wlan
-}
-
-# vim: ft=sh
diff -rN -u old-vmiklos/source/network/wlan-ng/messages/wlan.en new-vmiklos/source/network/wlan-ng/messages/wlan.en
--- old-vmiklos/source/network/wlan-ng/messages/wlan.en	2005-10-07 23:48:47.000000000 +0200
+++ new-vmiklos/source/network/wlan-ng/messages/wlan.en	1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-stopwlan="Shutting Down WLAN Devices"
-startwlan="Starting WLAN Devices"
-p80211fail=": Failed to load p80211.ko."
diff -rN -u old-vmiklos/source/network/wlan-ng/messages/wlan.hu new-vmiklos/source/network/wlan-ng/messages/wlan.hu
--- old-vmiklos/source/network/wlan-ng/messages/wlan.hu	2005-10-07 23:48:47.000000000 +0200
+++ new-vmiklos/source/network/wlan-ng/messages/wlan.hu	1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-stopwlan="A WLAN eszközök leállítása"
-startwlan="A WLAN eszközök indítása"
-p80211fail=": a p80211.ko betöltése nem sikerült."
diff -rN -u old-vmiklos/source/network/wlan-ng/rc.wlan new-vmiklos/source/network/wlan-ng/rc.wlan
--- old-vmiklos/source/network/wlan-ng/rc.wlan	2005-10-07 23:48:47.000000000 +0200
+++ new-vmiklos/source/network/wlan-ng/rc.wlan	1970-01-01 01:00:00.000000000 +0100
@@ -1,55 +0,0 @@
-#!/bin/sh
-
-# (c) 2005 Vajna Miklos <mamajom at axelero.hu>
-# rc.wlan for Frugalware
-# distributed under GPL License
-
-. /etc/rc.d/rc.functions
-
-# chkconfig: 2345 15 91
-# description: Activates/Configures/Disables the devices
-
-[ -f /etc/wlan/shared ] || exit 0
-. /etc/wlan/shared
-
-if [ "$1" = "stop" ]; then
-	stop "$stopwlan"
-	# Do a reset on each device to make sure none of them are still
-	#  trying to generate interrupts.
-	for DEVICE in $WLAN_DEVICES; do
-		wlan_disable $DEVICE
-		ifconfig $DEVICE down
-		$MODPROBE -r $DEVICE
-	done
-	
-	# remove p80211, which will implictly kill wland.
-	$MODPROBE -r p80211
-	ok $?
-elif [ "$1" = "restart" ]; then
-	"$0" stop
-	sleep 1
-	"$0" start
-else # start
-	# This will implicitly fire off wland via hotplug.
-	start "$startwlan"
-	if ! $MODPROBE p80211; then
-		echo -n "$p80211fail"
-		ok 1
-	fi
-
-	# NOTE: We don't explicitly insmod the card driver here.  The
-	#  best thing to do is to specify an alias in /etc/modules.conf.
-
-	for DEVICE in $WLAN_DEVICES; do
-	    $MODPROBE $DEVICE
-	    # if we don't have hotplug.. do things the old-fashioned way.
-	    if [ $HAS_HOTPLUG = 'n' ] ; then
-		wlan_bring_it_up $DEVICE
-	    fi
-	done
-
-	# And hotplug will take care of the rest, namely device 
-	# initialization and whatnot.
-
-	ok $?
-fi
diff -rN -u old-vmiklos/source/network/wlan-ng/wlan-ng-0.2.1pre26-nomodule.symvers.diff new-vmiklos/source/network/wlan-ng/wlan-ng-0.2.1pre26-nomodule.symvers.diff
--- old-vmiklos/source/network/wlan-ng/wlan-ng-0.2.1pre26-nomodule.symvers.diff	2005-10-07 23:48:47.000000000 +0200
+++ new-vmiklos/source/network/wlan-ng/wlan-ng-0.2.1pre26-nomodule.symvers.diff	1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-diff -Naur linux-wlan-ng-0.2.1-pre26.orig/src/p80211/Makefile linux-wlan-ng-0.2.1-pre26/src/p80211/Makefile
---- linux-wlan-ng-0.2.1-pre26.orig/src/p80211/Makefile	2005-01-25 02:41:44.000000000 +0100
-+++ linux-wlan-ng-0.2.1-pre26/src/p80211/Makefile	2005-03-18 23:52:51.000000000 +0100
-@@ -79,9 +79,9 @@
- 			cp -rf $(LINUX_SRC)/.tmp_versions $(PWD)/../ ; \
- 		fi ; \
- 	fi
--	if test ! -e $(PWD)/Module.symvers ; then \
--		cp $(LINUX_SRC)/Module.symvers $(PWD)/../ ; \
--	fi
-+#	if test ! -e $(PWD)/Module.symvers ; then \
-+#		cp $(LINUX_SRC)/Module.symvers $(PWD)/../ ; \
-+#	fi
- 	$(MAKE) -C $(LINUX_SRC) M=$(PWD) WLAN_SRC=$(WLAN_SRC) MODVERDIR=$(WLAN_SRC)/.tmp_versions modules
- else
- 	$(MAKE) -C $(LINUX_SRC) SUBDIRS=$(PWD) WLAN_SRC=$(WLAN_SRC) dep modules
diff -rN -u old-vmiklos/source/network/wlan-ng/wlan-ng.install new-vmiklos/source/network/wlan-ng/wlan-ng.install
--- old-vmiklos/source/network/wlan-ng/wlan-ng.install	2005-10-07 23:48:47.000000000 +0200
+++ new-vmiklos/source/network/wlan-ng/wlan-ng.install	1970-01-01 01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
-post_upgrade()
-{
-	depmod -a
-}
-
-op=$1
-shift
-$op $*
-
-# vim: ft=sh



More information about the Frugalware-darcs mailing list