summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-09-26 21:17:12 +0000
committerAlin Năstac <mrness@gentoo.org>2006-09-26 21:17:12 +0000
commit41e726fb486ad8f5d65a93944a5a9f09ee3b08b5 (patch)
tree243be7e76cc9fada874c69706f59d744b8c7bf11 /net-dialup/bewan-adsl
parent(#149226) Run keepdir on empty directories when needed, so they don't disappe... (diff)
downloadhistorical-41e726fb486ad8f5d65a93944a5a9f09ee3b08b5.tar.gz
historical-41e726fb486ad8f5d65a93944a5a9f09ee3b08b5.tar.bz2
historical-41e726fb486ad8f5d65a93944a5a9f09ee3b08b5.zip
Adapt kernel modules to the changes occured in 2.6.16 (#149143). Avoid pre-stripped binaries QA warning.
Package-Manager: portage-2.1.1
Diffstat (limited to 'net-dialup/bewan-adsl')
-rw-r--r--net-dialup/bewan-adsl/ChangeLog8
-rw-r--r--net-dialup/bewan-adsl/Manifest30
-rw-r--r--net-dialup/bewan-adsl/bewan-adsl-0.9.3-r1.ebuild5
-rw-r--r--net-dialup/bewan-adsl/files/bewan-adsl-0.9.3-kernel-2.6.16.patch196
-rw-r--r--net-dialup/bewan-adsl/files/bewan-adsl-0.9.3-no-strip.patch20
5 files changed, 246 insertions, 13 deletions
diff --git a/net-dialup/bewan-adsl/ChangeLog b/net-dialup/bewan-adsl/ChangeLog
index a10d01b59127..e7acf61510d4 100644
--- a/net-dialup/bewan-adsl/ChangeLog
+++ b/net-dialup/bewan-adsl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dialup/bewan-adsl
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/ChangeLog,v 1.10 2006/08/15 18:02:28 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/ChangeLog,v 1.11 2006/09/26 21:17:12 mrness Exp $
+
+ 26 Sep 2006; Alin Nastac <mrness@gentoo.org>
+ +files/bewan-adsl-0.9.3-kernel-2.6.16.patch,
+ +files/bewan-adsl-0.9.3-no-strip.patch, bewan-adsl-0.9.3-r1.ebuild:
+ Adapt kernel modules to the changes occured in 2.6.16 (#149143). Avoid
+ pre-stripped binaries QA warning.
15 Aug 2006; Alin Nastac <mrness@gentoo.org> bewan-adsl-0.9.3-r1.ebuild:
Remove abused doc USE flag. Add 3 local USE flags which enables workarounds
diff --git a/net-dialup/bewan-adsl/Manifest b/net-dialup/bewan-adsl/Manifest
index b2dc8fd1d39d..7336950c3a0c 100644
--- a/net-dialup/bewan-adsl/Manifest
+++ b/net-dialup/bewan-adsl/Manifest
@@ -1,19 +1,27 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX bewan-adsl-0.9.3-kernel-2.6.16.patch 6724 RMD160 b12dbd75b9d63ed5d832556ef50a768f9368ad06 SHA1 79fa1b79d15035bd197c9ec3781cf69090a80b51 SHA256 51c4bbd9d97507e3601d94d0dd14e23f261b11b9f9a67c3c62ba9db0a55dc65b
+MD5 19e0cf58e90462b780609be1b3c4e97a files/bewan-adsl-0.9.3-kernel-2.6.16.patch 6724
+RMD160 b12dbd75b9d63ed5d832556ef50a768f9368ad06 files/bewan-adsl-0.9.3-kernel-2.6.16.patch 6724
+SHA256 51c4bbd9d97507e3601d94d0dd14e23f261b11b9f9a67c3c62ba9db0a55dc65b files/bewan-adsl-0.9.3-kernel-2.6.16.patch 6724
+AUX bewan-adsl-0.9.3-no-strip.patch 868 RMD160 48e38949f3eab501f29dc71cb264cc5c2ebc010d SHA1 4887471a6b8e2be5e321a1d9efda7935a58a1cec SHA256 bb172cb26af3b98bc7c6f1535d3af1dad5d93f3833bc457843a9e0c99f1644a0
+MD5 0ed7d2c36f8eb0bdfafe2bd5c6264c29 files/bewan-adsl-0.9.3-no-strip.patch 868
+RMD160 48e38949f3eab501f29dc71cb264cc5c2ebc010d files/bewan-adsl-0.9.3-no-strip.patch 868
+SHA256 bb172cb26af3b98bc7c6f1535d3af1dad5d93f3833bc457843a9e0c99f1644a0 files/bewan-adsl-0.9.3-no-strip.patch 868
AUX bewan-adsl-0.9.3-smp.patch 415 RMD160 aa5ccde8b94c0b434afbd9705fc663b0000a5658 SHA1 47a3745f4ea06cb265258cb24cef627a56cbf8a9 SHA256 518a1d765b6c52cb8dcf70cba910388da2f99e3c28d5d048d7d81a7dd0b9e2e3
MD5 9634edac04690ec8717dc703c52dde0a files/bewan-adsl-0.9.3-smp.patch 415
RMD160 aa5ccde8b94c0b434afbd9705fc663b0000a5658 files/bewan-adsl-0.9.3-smp.patch 415
SHA256 518a1d765b6c52cb8dcf70cba910388da2f99e3c28d5d048d7d81a7dd0b9e2e3 files/bewan-adsl-0.9.3-smp.patch 415
DIST A1012-A1006-A904-A888-A983-0.9.3.tgz 1176291 RMD160 50cd3201b05e931e541bd9a2dc4711c1ac044ec8 SHA1 977172f517e850f19029e3c6a0da07a7ca1e8269 SHA256 48a789f7ef026248a4a666ff5da952ef458d1a1ae7a7bc162a6d01e0ac38a954
-EBUILD bewan-adsl-0.9.3-r1.ebuild 2782 RMD160 ea204214722fadc247f05846de584cdf5319b207 SHA1 e2c55acafe4d3edbd0f489e665047db3cdd4766c SHA256 ca71dbc8998e86bc2fab87d7dfb40715430347f6cd051081b476bccb176608c8
-MD5 5dbbefd64059281f2b585819fd35ce9b bewan-adsl-0.9.3-r1.ebuild 2782
-RMD160 ea204214722fadc247f05846de584cdf5319b207 bewan-adsl-0.9.3-r1.ebuild 2782
-SHA256 ca71dbc8998e86bc2fab87d7dfb40715430347f6cd051081b476bccb176608c8 bewan-adsl-0.9.3-r1.ebuild 2782
-MISC ChangeLog 2055 RMD160 ebe5c5eb2d27d2e3bcb2bc30dc510d1319cfa156 SHA1 1e813caed92acbb74e198c39dd8043c10cae6666 SHA256 26ab327dac9e836fe24ab4fbdd24e1ec07e6f30b3dd9af014f2c236628fb8461
-MD5 e548f916601b4d07ddda9ad2602f80df ChangeLog 2055
-RMD160 ebe5c5eb2d27d2e3bcb2bc30dc510d1319cfa156 ChangeLog 2055
-SHA256 26ab327dac9e836fe24ab4fbdd24e1ec07e6f30b3dd9af014f2c236628fb8461 ChangeLog 2055
+EBUILD bewan-adsl-0.9.3-r1.ebuild 2872 RMD160 4c884d206d1e9c467359f30620aae06c9a07e842 SHA1 34642f8546ea59e71c3509c1c0c7584136a6e0bf SHA256 d17136a2b35c06b0cf44070d0641bd1207d856be794f7ed3ebc42ef019334a61
+MD5 f559ceb4ce1f90c73e060d24eb350616 bewan-adsl-0.9.3-r1.ebuild 2872
+RMD160 4c884d206d1e9c467359f30620aae06c9a07e842 bewan-adsl-0.9.3-r1.ebuild 2872
+SHA256 d17136a2b35c06b0cf44070d0641bd1207d856be794f7ed3ebc42ef019334a61 bewan-adsl-0.9.3-r1.ebuild 2872
+MISC ChangeLog 2329 RMD160 3533c651a7c7f98f1b18612bc99bf938969ced81 SHA1 646051a93f2e6c4bf5956fecd6288b1267a333a5 SHA256 3e3b832cf09e8c79e9cdb7830634c48bd6b32d183db70084c6b7f539d1acf099
+MD5 56c998d440ecd3e072b70507753dd994 ChangeLog 2329
+RMD160 3533c651a7c7f98f1b18612bc99bf938969ced81 ChangeLog 2329
+SHA256 3e3b832cf09e8c79e9cdb7830634c48bd6b32d183db70084c6b7f539d1acf099 ChangeLog 2329
MISC metadata.xml 244 RMD160 d019a30c66a0973b91a78b298ead869bc95e116e SHA1 8c372c5959e7fdbd256a2d3f33a2cc6b410d9fc5 SHA256 8442a611ecdc33f97baafbc1bab688260b422f67f2bdef929279263ecb2e61b6
MD5 a8f204f0f809d594d055af2f544329c7 metadata.xml 244
RMD160 d019a30c66a0973b91a78b298ead869bc95e116e metadata.xml 244
@@ -24,7 +32,7 @@ SHA256 4a7fb1dc4bbe1b7d9e132ea075423130865afe729f9f0370646a534af81ed500 files/di
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFE4gxA3sf9c6kjmR8RAgFJAKC9HckL08ltnH8lAZ801eyYEYR14wCdHtxE
-5Q+0/cZGxPyqrkN606pAfQY=
-=AiUp
+iD8DBQFFGZjl3sf9c6kjmR8RArTJAKCgwv5vErQpznQje5ESehh2ujTsGACcCAVQ
+wtElCQxDOg4dBbnqeTCFIq4=
+=Ehjk
-----END PGP SIGNATURE-----
diff --git a/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r1.ebuild b/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r1.ebuild
index f900be3c1621..8aab60645c9f 100644
--- a/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r1.ebuild
+++ b/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r1.ebuild,v 1.3 2006/08/15 18:02:28 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r1.ebuild,v 1.4 2006/09/26 21:17:12 mrness Exp $
inherit eutils linux-mod
@@ -39,6 +39,9 @@ src_unpack() {
# Upstream consider actual version to be thread safe
epatch "${FILESDIR}/${P}-smp.patch"
+ epatch "${FILESDIR}/${P}-kernel-2.6.16.patch"
+ epatch "${FILESDIR}/${P}-no-strip.patch"
+
# Declare desired COPTIONS in the Makefile for the PCI module
use kt400 && sed -i 's/^\(COPTIONS *= *\)/\1 -DKT400/g' "${PCI_S}/Makefile"
use pcitimer && sed -i 's/^\(COPTIONS *= *\)/\1 -DUSE_HW_TIMER/g' "${PCI_S}/Makefile"
diff --git a/net-dialup/bewan-adsl/files/bewan-adsl-0.9.3-kernel-2.6.16.patch b/net-dialup/bewan-adsl/files/bewan-adsl-0.9.3-kernel-2.6.16.patch
new file mode 100644
index 000000000000..4506e2b6ddec
--- /dev/null
+++ b/net-dialup/bewan-adsl/files/bewan-adsl-0.9.3-kernel-2.6.16.patch
@@ -0,0 +1,196 @@
+diff -Nru unicorn.orig/unicorn_atm/unicorn_atmdrv.c unicorn/unicorn_atm/unicorn_atmdrv.c
+--- unicorn.orig/unicorn_atm/unicorn_atmdrv.c 2006-01-03 17:36:40.000000000 +0200
++++ unicorn/unicorn_atm/unicorn_atmdrv.c 2006-09-26 23:50:39.878067750 +0300
+@@ -101,7 +101,7 @@
+ struct unicorn_atmdrv *unicorn_atmdrv = NULL;
+
+ // driver parameters
+-unsigned char *mac_address=NULL;
++char mac_address[ETH_ALEN*2 + 1] = { 0x0 };
+ #if DEBUG
+ #ifdef ATM_DRIVER
+ unsigned long DebugLevel=0; // ATM_D,DATA_D
+@@ -1293,10 +1293,10 @@
+ return 0;
+ }
+
+-MODULE_PARM(mac_address, "s");
++module_param_string(mac_address, mac_address, sizeof(mac_address), 0);
+ #if DEBUG
+ #ifdef ATM_DRIVER
+-MODULE_PARM(DebugLevel, "i");
++module_param(DebugLevel, ulong, 0);
+ #endif
+ #endif
+
+diff -Nru unicorn.orig/unicorn_eth/unicorn_ethdrv.c unicorn/unicorn_eth/unicorn_ethdrv.c
+--- unicorn.orig/unicorn_eth/unicorn_ethdrv.c 2006-01-02 18:56:36.000000000 +0200
++++ unicorn/unicorn_eth/unicorn_ethdrv.c 2006-09-26 23:50:39.878067750 +0300
+@@ -140,12 +140,12 @@
+ struct unicorn_ethdrv *unicorn_ethdrv = NULL;
+
+ // driver parameters
+-static char *if_name = NULL;
+-static unsigned char *mac_address=NULL;
++static char if_name[IFNAMSIZ] = { 0x0 };
++static char mac_address[ETH_ALEN*2 + 1] = { 0x0 };
+ static int VPI= ATM_VPI_UNSPEC;
+ static int VCI= ATM_VCI_UNSPEC;
+-static char *PROTOCOL = NULL;
+-static char *ENCAPS = NULL;
++static char PROTOCOL[8] = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 };
++static char ENCAPS[11] = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 };
+ #if DEBUG
+ #ifdef ETH_DRIVER
+ unsigned long DebugLevel=0; // ATM_D,DATA_D
+@@ -1355,15 +1355,15 @@
+ WARN("\n");
+ }
+
+-MODULE_PARM(if_name,"s");
+-MODULE_PARM(mac_address, "s");
+-MODULE_PARM(VPI, "i");
+-MODULE_PARM(VCI, "i");
+-MODULE_PARM(PROTOCOL, "s");
+-MODULE_PARM(ENCAPS, "s");
++module_param_string(if_name, if_name, sizeof(if_name), 0);
++module_param_string(mac_address, mac_address, sizeof(mac_address), 0);
++module_param(VPI, int, 0);
++module_param(VCI, int, 0);
++module_param_string(PROTOCOL, PROTOCOL, sizeof(PROTOCOL), 0);
++module_param_string(ENCAPS, ENCAPS, sizeof(ENCAPS), 0);
+ #if DEBUG
+ #ifdef ETH_DRIVER
+-MODULE_PARM(DebugLevel, "i");
++module_param(DebugLevel, ulong, 0);
+ #endif
+ #endif
+
+diff -Nru unicorn.orig/unicorn_pci/unicorn_pcidrv.c unicorn/unicorn_pci/unicorn_pcidrv.c
+--- unicorn.orig/unicorn_pci/unicorn_pcidrv.c 2006-01-02 18:58:23.000000000 +0200
++++ unicorn/unicorn_pci/unicorn_pcidrv.c 2006-09-27 00:02:36.920752750 +0300
+@@ -2157,38 +2157,25 @@
+ }
+
+ /* module parameters for MSW */
+-MODULE_PARM(ActivationMode, "i");
+-//MODULE_PARM(ActivationTaskTimeout, "i");
+-MODULE_PARM(ActTimeout, "i");
+-MODULE_PARM(AutoActivation, "i");
+-//MODULE_PARM(BreakOnEntry, "i");
+-MODULE_PARM(DownstreamRate, "i");
+-MODULE_PARM(eocTrace, "i");
+-//MODULE_PARM(ExchangeDelay, "i");
+-MODULE_PARM(FmPollingRate, "i");
+-//MODULE_PARM(g_RefGain, "i");
+-MODULE_PARM(g_TeqMode, "i");
+-MODULE_PARM(InitTimeout, "i");
+-MODULE_PARM(Interoperability, "i");
+-MODULE_PARM(LCD_Trig, "i");
+-MODULE_PARM(LOS_LOF_Trig, "i");
+-MODULE_PARM(LoopbackMode, "i");
+-MODULE_PARM(MswDebugLevel, "i");
+-MODULE_PARM(RetryTime, "i");
+-MODULE_PARM(setINITIALDAC, "i");
+-//MODULE_PARM(TrainingDelay, "i");
+-//MODULE_PARM(TruncateMode, "i");
+-MODULE_PARM(useAFE, "i");
+-//MODULE_PARM(useRFC019v, "i");
+-//MODULE_PARM(useRFC029v, "i");
+-//MODULE_PARM(useRFC033v, "i");
+-//MODULE_PARM(useRFC040v, "i");
+-MODULE_PARM(useRFC041v, "i");
+-//MODULE_PARM(useRFCFixedRate, "i");
+-//MODULE_PARM(useVCXO, "i");
+-//MODULE_PARM(_no_TS652, "i");
++module_param(ActivationMode, ulong, 0);
++module_param(ActTimeout, ulong, 0);
++module_param(AutoActivation, ulong, 0);
++module_param(DownstreamRate, ulong, 0);
++module_param(eocTrace, ulong, 0);
++module_param(FmPollingRate, ulong, 0);
++module_param(g_TeqMode, ushort, 0);
++module_param(InitTimeout, ulong, 0);
++module_param(Interoperability, ulong, 0);
++module_param(LCD_Trig, ulong, 0);
++module_param(LOS_LOF_Trig, ulong, 0);
++module_param(LoopbackMode, ulong, 0);
++module_param(MswDebugLevel, ulong, 0);
++module_param(RetryTime, ulong, 0);
++module_param(setINITIALDAC, ulong, 0);
++module_param(useAFE, ulong, 0);
++module_param(useRFC041v, ulong, 0);
+ #if DEBUG
+-MODULE_PARM(DebugLevel, "i");
++module_param(DebugLevel, ulong, 0);
+ #endif
+
+ static int __init
+diff -Nru unicorn.orig/unicorn_usb/unicorn_usbdrv.c unicorn/unicorn_usb/unicorn_usbdrv.c
+--- unicorn.orig/unicorn_usb/unicorn_usbdrv.c 2005-05-26 13:25:25.000000000 +0300
++++ unicorn/unicorn_usb/unicorn_usbdrv.c 2006-09-26 23:58:34.751745500 +0300
+@@ -2289,39 +2289,32 @@
+ };
+
+ /* module parameters for MSW */
+-MODULE_PARM(ActivationMode, "i");
+-//MODULE_PARM(ActivationTaskTimeout, "i");
+-MODULE_PARM(ActTimeout, "i");
+-MODULE_PARM(AutoActivation, "i");
+-//MODULE_PARM(BreakOnEntry, "i");
+-MODULE_PARM(DownstreamRate, "i");
+-MODULE_PARM(eocTrace, "i");
+-MODULE_PARM(ExchangeDelay, "i");
+-MODULE_PARM(FmPollingRate, "i");
+-MODULE_PARM(g_RefGain, "i");
+-MODULE_PARM(g_TeqMode, "i");
+-MODULE_PARM(InitTimeout, "i");
+-MODULE_PARM(Interoperability, "i");
+-MODULE_PARM(LCD_Trig, "i");
+-MODULE_PARM(LOS_LOF_Trig, "i");
+-MODULE_PARM(LoopbackMode, "i");
+-MODULE_PARM(MswDebugLevel, "i");
+-MODULE_PARM(RetryTime, "i");
+-//MODULE_PARM(setINITIALDAC, "i");
+-MODULE_PARM(TrainingDelay, "i");
+-//MODULE_PARM(TruncateMode, "i");
+-MODULE_PARM(useAFE, "i");
+-MODULE_PARM(useRFC019v, "i");
+-MODULE_PARM(useRFC029v, "i");
+-//MODULE_PARM(useRFC033v, "i");
+-MODULE_PARM(useRFC040v, "i");
+-MODULE_PARM(useRFC041v, "i");
+-//MODULE_PARM(useRFCFixedRate, "i");
+-MODULE_PARM(useVCXO, "i");
+-MODULE_PARM(_no_TS652, "i");
+-//MODULE_PARM(FrameNumber, "i");
++module_param(ActivationMode, ulong, 0);
++module_param(ActTimeout, ulong, 0);
++module_param(AutoActivation, ulong, 0);
++module_param(DownstreamRate, ulong, 0);
++module_param(eocTrace, ulong, 0);
++module_param(ExchangeDelay, ulong, 0);
++module_param(FmPollingRate, ulong, 0);
++module_param(g_RefGain, ulong, 0);
++module_param(g_TeqMode, ushort, 0);
++module_param(InitTimeout, ulong, 0);
++module_param(Interoperability, ulong, 0);
++module_param(LCD_Trig, ulong, 0);
++module_param(LOS_LOF_Trig, ulong, 0);
++module_param(LoopbackMode, ulong, 0);
++module_param(MswDebugLevel, ulong, 0);
++module_param(RetryTime, ulong, 0);
++module_param(TrainingDelay, ulong, 0);
++module_param(useAFE, ulong, 0);
++module_param(useRFC019v, ulong, 0);
++module_param(useRFC029v, ulong, 0);
++module_param(useRFC040v, ulong, 0);
++module_param(useRFC041v, ulong, 0);
++module_param(useVCXO, ulong, 0);
++module_param(_no_TS652, ulong, 0);
+ #if DEBUG
+-MODULE_PARM(DebugLevel, "i");
++module_param(DebugLevel, ulong, 0);
+ #endif
+
+ //----------------------------------------------------------------------
diff --git a/net-dialup/bewan-adsl/files/bewan-adsl-0.9.3-no-strip.patch b/net-dialup/bewan-adsl/files/bewan-adsl-0.9.3-no-strip.patch
new file mode 100644
index 000000000000..d8b29cbe1538
--- /dev/null
+++ b/net-dialup/bewan-adsl/files/bewan-adsl-0.9.3-no-strip.patch
@@ -0,0 +1,20 @@
+diff -Nru unicorn.orig/tools/Makefile unicorn/tools/Makefile
+--- unicorn.orig/tools/Makefile 2003-09-28 11:51:24.000000000 +0300
++++ unicorn/tools/Makefile 2006-09-27 00:12:31.381904250 +0300
+@@ -24,5 +24,5 @@
+ rm -f unicorn_status unicorn_status.cgi oam_ping *.o
+
+ install: all
+- $(INSTALL) -s -c unicorn_status $(DESTDIR)$(BINDIR)
+- $(INSTALL) -s -c oam_ping $(DESTDIR)$(BINDIR)
++ $(INSTALL) -c unicorn_status $(DESTDIR)$(BINDIR)
++ $(INSTALL) -c oam_ping $(DESTDIR)$(BINDIR)
+diff -Nru unicorn.orig/unicorntest/Makefile unicorn/unicorntest/Makefile
+--- unicorn.orig/unicorntest/Makefile 2003-09-28 11:48:34.000000000 +0300
++++ unicorn/unicorntest/Makefile 2006-09-27 00:12:52.979254000 +0300
+@@ -18,4 +18,4 @@
+ rm -f unicorntest *.o
+
+ install: all
+- $(INSTALL) -s -c unicorntest $(DESTDIR)$(BINDIR)
++ $(INSTALL) -c unicorntest $(DESTDIR)$(BINDIR)