diff options
Diffstat (limited to 'net-dialup/misdn')
-rw-r--r-- | net-dialup/misdn/Manifest | 50 | ||||
-rw-r--r-- | net-dialup/misdn/files/change-pci_find_subsys-to-pci_get_subsys.patch | 12 | ||||
-rw-r--r-- | net-dialup/misdn/files/digest-misdn-20060321 | 1 | ||||
-rw-r--r-- | net-dialup/misdn/files/digest-misdn-20060722 | 1 | ||||
-rw-r--r-- | net-dialup/misdn/files/module-param.diff | 308 | ||||
-rw-r--r-- | net-dialup/misdn/files/mqueue.modulesd | 100 | ||||
-rw-r--r-- | net-dialup/misdn/files/nodevfs.patch | 43 | ||||
-rw-r--r-- | net-dialup/misdn/files/packed.diff | 185 | ||||
-rw-r--r-- | net-dialup/misdn/misdn-20060321.ebuild | 105 | ||||
-rw-r--r-- | net-dialup/misdn/misdn-20060722.ebuild | 111 |
10 files changed, 12 insertions, 904 deletions
diff --git a/net-dialup/misdn/Manifest b/net-dialup/misdn/Manifest index 7e7c91419830..325609e43581 100644 --- a/net-dialup/misdn/Manifest +++ b/net-dialup/misdn/Manifest @@ -2,45 +2,19 @@ AUX README.hfcmulti 2488 RMD160 6c4e62fdfd6ce872b0ec270271ce97954c6374f4 SHA1 94 MD5 4be2313e0dafa1a491fc57e2bf3edca8 files/README.hfcmulti 2488 RMD160 6c4e62fdfd6ce872b0ec270271ce97954c6374f4 files/README.hfcmulti 2488 SHA256 29793879cd9a752fb1f71e9f9aebc8988024b5ec8cdb53d0d551fc75ade0377f files/README.hfcmulti 2488 -AUX change-pci_find_subsys-to-pci_get_subsys.patch 919 RMD160 6ffab592dd7b8ab20108051bf10bebdfbc9d878b SHA1 f030286dd264b27638efda56a37d012fe34fa285 SHA256 cc307bf4fb73140c86fe3999c48756ebbf8aca3dbf230eb0263c4787b1f1197e -MD5 591b7a0690f210221ae79ac9f1ae5633 files/change-pci_find_subsys-to-pci_get_subsys.patch 919 -RMD160 6ffab592dd7b8ab20108051bf10bebdfbc9d878b files/change-pci_find_subsys-to-pci_get_subsys.patch 919 -SHA256 cc307bf4fb73140c86fe3999c48756ebbf8aca3dbf230eb0263c4787b1f1197e files/change-pci_find_subsys-to-pci_get_subsys.patch 919 -AUX module-param.diff 10189 RMD160 f6728b55df62bf01565ca64e79aaf51ed83edea9 SHA1 0800ca3ade8e348efdf1912e3105ad8dcb7a17c4 SHA256 105e066fcac2eaa5fdd1842928fd0e7a8899908959463b5a6a0db5b6a78233c7 -MD5 08f2bd140b69161d7f07e6a84536391f files/module-param.diff 10189 -RMD160 f6728b55df62bf01565ca64e79aaf51ed83edea9 files/module-param.diff 10189 -SHA256 105e066fcac2eaa5fdd1842928fd0e7a8899908959463b5a6a0db5b6a78233c7 files/module-param.diff 10189 -AUX mqueue.modulesd 2900 RMD160 9367f81188c53d71c02985c3adce3944eb6fb2a3 SHA1 1692cea322d58f7b04381f57a5688313d4e5bf2c SHA256 9d7108a0e7c9cdb4bb721f8dd7c60e9aca64cec28031be533ad446007bb5fcb8 -MD5 2e3de2a37e6ce9be6c8b7892a25de0a5 files/mqueue.modulesd 2900 -RMD160 9367f81188c53d71c02985c3adce3944eb6fb2a3 files/mqueue.modulesd 2900 -SHA256 9d7108a0e7c9cdb4bb721f8dd7c60e9aca64cec28031be533ad446007bb5fcb8 files/mqueue.modulesd 2900 -AUX nodevfs.patch 1124 RMD160 db853a7b2826f3fb8f8f129f101a7e604a83e3dd SHA1 f427d75339b023e73eab6f801456165e8bdbb89f SHA256 d403e92260ba4138198e6cc2093604b8152ffd143b83f2aeda5c1fe310036a50 -MD5 239002ba807041ebf33e6168b1550c9c files/nodevfs.patch 1124 -RMD160 db853a7b2826f3fb8f8f129f101a7e604a83e3dd files/nodevfs.patch 1124 -SHA256 d403e92260ba4138198e6cc2093604b8152ffd143b83f2aeda5c1fe310036a50 files/nodevfs.patch 1124 -AUX packed.diff 6119 RMD160 dab624bed851da2de70ba36c653c9b692d03df2a SHA1 cc7c9eb48381c2c7187c61e5637f0dbcbc384cfc SHA256 c4c5e3df8d4ab87e1b691769f904ff7cb4b9cea0a8b873a968402be6737de8e3 -MD5 f575d20408bfa0a1b7fecc36d701ea9d files/packed.diff 6119 -RMD160 dab624bed851da2de70ba36c653c9b692d03df2a files/packed.diff 6119 -SHA256 c4c5e3df8d4ab87e1b691769f904ff7cb4b9cea0a8b873a968402be6737de8e3 files/packed.diff 6119 -EBUILD misdn-20060321.ebuild 3521 RMD160 e7b013ee2ee4dbeb56cb0e0bad9e6fb0bccce53b SHA1 46000b2fd3a787a136e6bfe6f4dc4f855a06abd8 SHA256 1ac8d31e41642900ac33ee89d78f8e00650d00b00987b0f82311afd50092f6e3 -MD5 e6d42dded9a5eb5d203d481e0cbe72d2 misdn-20060321.ebuild 3521 -RMD160 e7b013ee2ee4dbeb56cb0e0bad9e6fb0bccce53b misdn-20060321.ebuild 3521 -SHA256 1ac8d31e41642900ac33ee89d78f8e00650d00b00987b0f82311afd50092f6e3 misdn-20060321.ebuild 3521 -EBUILD misdn-20060722.ebuild 4048 RMD160 f58bc18d0a9ec0c922fe978a349e25263c5d0c66 SHA1 7577b75c0e53e1127b79e08b4f17b279172d84a6 SHA256 7f5fd77784e47f4788d472f34bd5b3c12ac4ca0dd4aa771b0f484fa04c60f77b -MD5 3b8f1c6db528d3e737d3ab5614bbde0d misdn-20060722.ebuild 4048 -RMD160 f58bc18d0a9ec0c922fe978a349e25263c5d0c66 misdn-20060722.ebuild 4048 -SHA256 7f5fd77784e47f4788d472f34bd5b3c12ac4ca0dd4aa771b0f484fa04c60f77b misdn-20060722.ebuild 4048 -MISC ChangeLog 2204 RMD160 b4d86fae931e0e5fc8b363bd760af8f8f87aee29 SHA1 6cbb0af5871f91bdd7bf676ce340b01eea710dd1 SHA256 a30fafd928f1adb68183a5d589e5ba42273200805b4cae1e816263578807a41e -MD5 68827e91f87a74d78e8a7ba46f980cf0 ChangeLog 2204 -RMD160 b4d86fae931e0e5fc8b363bd760af8f8f87aee29 ChangeLog 2204 -SHA256 a30fafd928f1adb68183a5d589e5ba42273200805b4cae1e816263578807a41e ChangeLog 2204 +DIST mISDN-CVS-2006-08-11.tar.bz2 363953 RMD160 66cf74c79e3e85c1170d6e4f47cebb8307ae1f92 SHA1 47d2e2d417e84f552afb9d1643cbaa26160b46f1 SHA256 14837a9cbf212a3503c0e6997e22a033c84cfa38b960016fdcf5b9aa3873551b +EBUILD misdn-20060811.ebuild 3879 RMD160 be58b97db59e954f8a392c83f24c0e998aec1382 SHA1 e2e974e99f51e9dde8e846e86241ba95d88dc990 SHA256 6f0e8d718d25e28dd56a106ba6f653fd0d837ba05a0055c219e60f1b8afa000d +MD5 5e0e259e0d725b96816077c1668ff7ca misdn-20060811.ebuild 3879 +RMD160 be58b97db59e954f8a392c83f24c0e998aec1382 misdn-20060811.ebuild 3879 +SHA256 6f0e8d718d25e28dd56a106ba6f653fd0d837ba05a0055c219e60f1b8afa000d misdn-20060811.ebuild 3879 +MISC ChangeLog 2582 RMD160 8ae3a68124fb780cb326dfd4f9703641ef687368 SHA1 e5521dc27852f1bac03cab4f8eb1492230c89a6d SHA256 72829e977a832453f5e0494a83202a72d0e1ec10710811c16c237526e6eb2c6e +MD5 ad242c64206ce7dc91f316b3f8c319d8 ChangeLog 2582 +RMD160 8ae3a68124fb780cb326dfd4f9703641ef687368 ChangeLog 2582 +SHA256 72829e977a832453f5e0494a83202a72d0e1ec10710811c16c237526e6eb2c6e ChangeLog 2582 MISC metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e SHA1 d8332605fd22c32f15438bbdf24aa622c3d2738a SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e metadata.xml 163 SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3 metadata.xml 163 -MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-misdn-20060321 1 -RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-misdn-20060321 1 -SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-misdn-20060321 1 -MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-misdn-20060722 1 -RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-misdn-20060722 1 -SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-misdn-20060722 1 +MD5 962be9aa3d1d2bc8e05113261be1b12b files/digest-misdn-20060811 265 +RMD160 3a2cc397a2c3fbbf6fd21b8d7e227460d0d41e17 files/digest-misdn-20060811 265 +SHA256 18137326a4ad047248ddc540e60b146a2479a3e466d50136917c00ecdb0fea55 files/digest-misdn-20060811 265 diff --git a/net-dialup/misdn/files/change-pci_find_subsys-to-pci_get_subsys.patch b/net-dialup/misdn/files/change-pci_find_subsys-to-pci_get_subsys.patch deleted file mode 100644 index 60631b5fded8..000000000000 --- a/net-dialup/misdn/files/change-pci_find_subsys-to-pci_get_subsys.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -upr mISDN-CVS-2005-04-09.orig/drivers/isdn/hardware/mISDN/hfc_multi.c mISDN-CVS-2005-04-09/drivers/isdn/hardware/mISDN/hfc_multi.c ---- mISDN-CVS-2005-04-09.orig/drivers/isdn/hardware/mISDN/hfc_multi.c 2005-04-24 12:54:38.000000000 +0200 -+++ mISDN-CVS-2005-04-09/drivers/isdn/hardware/mISDN/hfc_multi.c 2005-04-24 12:54:55.000000000 +0200 -@@ -2799,7 +2799,7 @@ setup_pci(hfc_multi_t *hc) - if (debug & DEBUG_HFCMULTI_INIT) - printk(KERN_DEBUG "setup_pci(): investigating card entry %d (looking for type %d)\n", i, hc->type); - inuse: -- tmp_dev = pci_find_subsys(id_list[i].vendor_id, id_list[i].device_id, id_list[i].vendor_sub, id_list[i].device_sub, tmp_dev); -+ tmp_dev = pci_get_subsys(id_list[i].vendor_id, id_list[i].device_id, id_list[i].vendor_sub, id_list[i].device_sub, tmp_dev); - if (tmp_dev) { - /* skip if already in use */ - list_for_each_entry_safe(hc_tmp, next, &HFCM_obj.ilist, list) { diff --git a/net-dialup/misdn/files/digest-misdn-20060321 b/net-dialup/misdn/files/digest-misdn-20060321 deleted file mode 100644 index 8b137891791f..000000000000 --- a/net-dialup/misdn/files/digest-misdn-20060321 +++ /dev/null @@ -1 +0,0 @@ - diff --git a/net-dialup/misdn/files/digest-misdn-20060722 b/net-dialup/misdn/files/digest-misdn-20060722 deleted file mode 100644 index 8b137891791f..000000000000 --- a/net-dialup/misdn/files/digest-misdn-20060722 +++ /dev/null @@ -1 +0,0 @@ - diff --git a/net-dialup/misdn/files/module-param.diff b/net-dialup/misdn/files/module-param.diff deleted file mode 100644 index d5f0e3c2e6e3..000000000000 --- a/net-dialup/misdn/files/module-param.diff +++ /dev/null @@ -1,308 +0,0 @@ -diff -urp mISDN.orig/avm_fritz.c mISDN/avm_fritz.c ---- mISDN.orig/avm_fritz.c 2006-03-21 20:04:45.000000000 +0100 -+++ mISDN/avm_fritz.c 2006-03-21 20:13:50.000000000 +0100 -@@ -932,7 +932,6 @@ static int init_card(fritzpnppci *fc) - } - - #define MAX_CARDS 4 --#define MODULE_PARM_T "1-4i" - static int fritz_cnt; - static u_int protocol[MAX_CARDS]; - static int layermask[MAX_CARDS]; -@@ -945,9 +944,9 @@ MODULE_AUTHOR("Karsten Keil"); - #ifdef MODULE_LICENSE - MODULE_LICENSE("GPL"); - #endif --MODULE_PARM(debug, "1i"); --MODULE_PARM(protocol, MODULE_PARM_T); --MODULE_PARM(layermask, MODULE_PARM_T); -+module_param(debug, uint, S_IRUGO | S_IWUSR); -+module_param_array(protocol, uint, NULL, S_IRUGO | S_IWUSR); -+module_param_array(layermask, uint, NULL, S_IRUGO | S_IWUSR); - #endif - - int -diff -urp mISDN.orig/capi.c mISDN/capi.c ---- mISDN.orig/capi.c 2006-03-21 20:04:45.000000000 +0100 -+++ mISDN/capi.c 2006-03-21 20:04:55.000000000 +0100 -@@ -19,7 +19,7 @@ MODULE_AUTHOR("Karsten Keil"); - #ifdef MODULE_LICENSE - MODULE_LICENSE("GPL"); - #endif --MODULE_PARM(debug, "1i"); -+module_param(debug, uint, S_IRUGO | S_IWUSR); - #endif - - static char deb_buf[256]; -diff -urp mISDN.orig/dsp_core.c mISDN/dsp_core.c ---- mISDN.orig/dsp_core.c 2006-03-21 20:04:45.000000000 +0100 -+++ mISDN/dsp_core.c 2006-03-21 20:04:55.000000000 +0100 -@@ -192,9 +192,9 @@ int dsp_poll, dsp_tics; - - #ifdef MODULE - MODULE_AUTHOR("Andreas Eversberg"); --MODULE_PARM(debug, "1i"); --MODULE_PARM(options, "1i"); --MODULE_PARM(poll, "1i"); -+module_param(debug, uint, S_IRUGO | S_IWUSR); -+module_param(options, uint, S_IRUGO | S_IWUSR); -+module_param(poll, uint, S_IRUGO | S_IWUSR); - #ifdef MODULE_LICENSE - MODULE_LICENSE("GPL"); - #endif -diff -urp mISDN.orig/faxl3.c mISDN/faxl3.c ---- mISDN.orig/faxl3.c 2006-03-21 20:04:45.000000000 +0100 -+++ mISDN/faxl3.c 2006-03-21 20:04:55.000000000 +0100 -@@ -1920,8 +1920,8 @@ static char MName[] = "FAXL3"; - - #ifdef MODULE - MODULE_AUTHOR("Karsten Keil"); --MODULE_PARM(debug, "1i"); --MODULE_PARM(ttt, "1i"); -+module_param(debug, uint, S_IRUGO | S_IWUSR); -+module_param(ttt, uint, S_IRUGO | S_IWUSR); - #ifdef MODULE_LICENSE - MODULE_LICENSE("GPL"); - #endif -diff -urp mISDN.orig/hfc_multi.c mISDN/hfc_multi.c ---- mISDN.orig/hfc_multi.c 2006-03-21 20:04:45.000000000 +0100 -+++ mISDN/hfc_multi.c 2006-03-21 20:17:10.000000000 +0100 -@@ -207,8 +207,6 @@ static const PCI_ENTRY id_list[] = - /* NOTE: MAX_PORTS must be 8*MAX_CARDS */ - #define MAX_CARDS 16 - #define MAX_PORTS 128 --#define MODULE_CARDS_T "1-16i" --#define MODULE_PORTS_T "1-128i" /* 16 cards can have 128 ports */ - static u_int type[MAX_CARDS]; - static BYTE allocated[MAX_CARDS]; // remember if card is found - static int pcm[MAX_PORTS]; -@@ -222,12 +220,12 @@ MODULE_AUTHOR("Andreas Eversberg"); - #ifdef MODULE_LICENSE - MODULE_LICENSE("GPL"); - #endif --MODULE_PARM(debug, "1i"); --MODULE_PARM(poll, "1i"); --MODULE_PARM(type, MODULE_CARDS_T); --MODULE_PARM(pcm, MODULE_CARDS_T); --MODULE_PARM(protocol, MODULE_PORTS_T); --MODULE_PARM(layermask, MODULE_PORTS_T); -+module_param(debug, uint, S_IRUGO | S_IWUSR); -+module_param(poll, uint, S_IRUGO | S_IWUSR); -+module_param_array(type, uint, NULL, S_IRUGO | S_IWUSR); -+module_param_array(pcm, uint, NULL, S_IRUGO | S_IWUSR); -+module_param_array(protocol, uint, NULL, S_IRUGO | S_IWUSR); -+module_param_array(layermask, uint, NULL, S_IRUGO | S_IWUSR); - #endif - - static void -diff -urp mISDN.orig/hfcs_mini.c mISDN/hfcs_mini.c ---- mISDN.orig/hfcs_mini.c 2006-03-21 20:04:45.000000000 +0100 -+++ mISDN/hfcs_mini.c 2006-03-21 20:17:54.000000000 +0100 -@@ -69,17 +69,15 @@ static int card_cnt; - static u_int protocol[MAX_CARDS]; - static int layermask[MAX_CARDS]; - --#ifdef MODULE --MODULE_LICENSE("GPL"); --#define MODULE_PARM_T "1-8i" --MODULE_PARM(debug, "1i"); --MODULE_PARM(protocol, MODULE_PARM_T); --MODULE_PARM(layermask, MODULE_PARM_T); --#endif -- - static mISDNobject_t hw_mISDNObj; - static int debug = 0; - -+#ifdef MODULE -+MODULE_LICENSE("GPL"); -+module_param(debug, uint, S_IRUGO | S_IWUSR); -+module_param_array(protocol, uint, NULL, S_IRUGO | S_IWUSR); -+module_param_array(layermask, uint, NULL, S_IRUGO | S_IWUSR); -+#endif - - #if HFCBRIDGE == BRIDGE_HFCPCI - -diff -urp mISDN.orig/hfcs_usb.c mISDN/hfcs_usb.c ---- mISDN.orig/hfcs_usb.c 2006-03-21 20:04:45.000000000 +0100 -+++ mISDN/hfcs_usb.c 2006-03-21 20:18:28.000000000 +0100 -@@ -42,7 +42,6 @@ - const char *hfcsusb_rev = "$Revision: 1.1 $"; - - #define MAX_CARDS 8 --#define MODULE_PARM_T "1-8i" - static int hfcsusb_cnt; - static u_int protocol[MAX_CARDS] = {2,2,2,2,2,2,2,2}; - static int layermask[MAX_CARDS]; -@@ -54,9 +53,9 @@ static int debug = 0x1FFFF; // 0; - #ifdef MODULE_LICENSE - MODULE_LICENSE("GPL"); - #endif --MODULE_PARM(debug, "1i"); --MODULE_PARM(protocol, MODULE_PARM_T); --MODULE_PARM(layermask, MODULE_PARM_T); -+module_param(debug, uint, S_IRUGO | S_IWUSR); -+module_param_array(protocol, uint, NULL, S_IRUGO | S_IWUSR); -+module_param_array(layermask, uint, NULL, S_IRUGO | S_IWUSR); - #endif - - -diff -urp mISDN.orig/i4l_mISDN.c mISDN/i4l_mISDN.c ---- mISDN.orig/i4l_mISDN.c 2006-03-21 20:04:45.000000000 +0100 -+++ mISDN/i4l_mISDN.c 2006-03-21 20:04:55.000000000 +0100 -@@ -157,7 +157,7 @@ MODULE_AUTHOR("Karsten Keil"); - #ifdef MODULE_LICENSE - MODULE_LICENSE("GPL"); - #endif --MODULE_PARM(debug, "1i"); -+module_param(debug, uint, S_IRUGO | S_IWUSR); - #endif - - static void -diff -urp mISDN.orig/l1oip.c mISDN/l1oip.c ---- mISDN.orig/l1oip.c 2006-03-21 20:04:45.000000000 +0100 -+++ mISDN/l1oip.c 2006-03-21 20:19:26.000000000 +0100 -@@ -238,7 +238,6 @@ static char l1oipName[] = "Layer1oIP"; - /****************/ - - #define MAX_CARDS 16 --#define MODULE_CARDS_T "1-16i" - static u_int type[MAX_CARDS]; - static u_int codec[MAX_CARDS]; - static u_int protocol[MAX_CARDS]; -@@ -250,11 +249,11 @@ MODULE_AUTHOR("Andreas Eversberg"); - #ifdef MODULE_LICENSE - MODULE_LICENSE("GPL"); - #endif --MODULE_PARM(type, MODULE_CARDS_T); --MODULE_PARM(codec, MODULE_CARDS_T); --MODULE_PARM(protocol, MODULE_CARDS_T); --MODULE_PARM(layermask, MODULE_CARDS_T); --MODULE_PARM(debug, "1i"); -+module_param_array(type, uint, NULL, S_IRUGO | S_IWUSR); -+module_param_array(codec, uint, NULL, S_IRUGO | S_IWUSR); -+module_param_array(protocol, uint, NULL, S_IRUGO | S_IWUSR); -+module_param_array(layermask, uint, NULL, S_IRUGO | S_IWUSR); -+module_param(debug, uint, S_IRUGO | S_IWUSR); - #endif - - -diff -urp mISDN.orig/l3_udss1.c mISDN/l3_udss1.c ---- mISDN.orig/l3_udss1.c 2006-03-21 20:04:45.000000000 +0100 -+++ mISDN/l3_udss1.c 2006-03-21 20:04:55.000000000 +0100 -@@ -2922,7 +2922,7 @@ MODULE_AUTHOR("Karsten Keil"); - #ifdef MODULE_LICENSE - MODULE_LICENSE("GPL"); - #endif --MODULE_PARM(debug, "1i"); -+module_param(debug, uint, S_IRUGO | S_IWUSR); - #endif - - static int -diff -urp mISDN.orig/layer1.c mISDN/layer1.c ---- mISDN.orig/layer1.c 2006-03-21 20:04:45.000000000 +0100 -+++ mISDN/layer1.c 2006-03-21 20:04:55.000000000 +0100 -@@ -737,7 +737,7 @@ static char MName[] = "ISDNL1"; - - #ifdef MODULE - MODULE_AUTHOR("Karsten Keil"); --MODULE_PARM(debug, "1i"); -+module_param(debug, uint, S_IRUGO | S_IWUSR); - #ifdef MODULE_LICENSE - MODULE_LICENSE("GPL"); - #endif -diff -urp mISDN.orig/layer2.c mISDN/layer2.c ---- mISDN.orig/layer2.c 2006-03-21 20:04:45.000000000 +0100 -+++ mISDN/layer2.c 2006-03-21 20:04:55.000000000 +0100 -@@ -2408,7 +2408,7 @@ MODULE_AUTHOR("Karsten Keil"); - #ifdef MODULE_LICENSE - MODULE_LICENSE("GPL"); - #endif --MODULE_PARM(debug, "1i"); -+module_param(debug, uint, S_IRUGO | S_IWUSR); - #endif - - static int -diff -urp mISDN.orig/loop.c mISDN/loop.c ---- mISDN.orig/loop.c 2006-03-21 20:04:45.000000000 +0100 -+++ mISDN/loop.c 2006-03-21 20:04:55.000000000 +0100 -@@ -57,8 +57,8 @@ MODULE_AUTHOR("Andreas Eversberg"); - #ifdef MODULE_LICENSE - MODULE_LICENSE("GPL"); - #endif --MODULE_PARM(interfaces, "1i"); --MODULE_PARM(debug, "1i"); -+module_param(interfaces, uint, S_IRUGO | S_IWUSR); -+module_param(debug, uint, S_IRUGO | S_IWUSR); - #endif - - -diff -urp mISDN.orig/w6692.c mISDN/w6692.c ---- mISDN.orig/w6692.c 2006-03-21 20:04:45.000000000 +0100 -+++ mISDN/w6692.c 2006-03-21 20:20:28.000000000 +0100 -@@ -992,7 +992,6 @@ static int init_card(w6692pci *card) - } - - #define MAX_CARDS 4 --#define MODULE_PARM_T "1-4i" - static int w6692_cnt; - static u_int protocol[MAX_CARDS]; - static int layermask[MAX_CARDS]; -@@ -1007,11 +1006,11 @@ MODULE_AUTHOR("Karsten Keil"); - #ifdef MODULE_LICENSE - MODULE_LICENSE("GPL"); - #endif --MODULE_PARM(debug, "1i"); --MODULE_PARM(led, MODULE_PARM_T); --MODULE_PARM(pots, MODULE_PARM_T); --MODULE_PARM(protocol, MODULE_PARM_T); --MODULE_PARM(layermask, MODULE_PARM_T); -+module_param(debug, uint, S_IRUGO | S_IWUSR); -+module_param_array(led, uint, NULL, S_IRUGO | S_IWUSR); -+module_param_array(pots, uint, NULL, S_IRUGO | S_IWUSR); -+module_param_array(protocol, uint, NULL, S_IRUGO | S_IWUSR); -+module_param_array(layermask, uint, NULL, S_IRUGO | S_IWUSR); - #endif - - /******************************/ -diff -urp mISDN.orig/x25_dte.c mISDN/x25_dte.c ---- mISDN.orig/x25_dte.c 2006-03-21 20:04:45.000000000 +0100 -+++ mISDN/x25_dte.c 2006-03-21 20:04:55.000000000 +0100 -@@ -1256,7 +1256,7 @@ static char MName[] = "X25_DTE"; - - #ifdef MODULE - MODULE_AUTHOR("Karsten Keil"); --MODULE_PARM(debug, "1i"); -+module_param(debug, uint, S_IRUGO | S_IWUSR); - #ifdef MODULE_LICENSE - MODULE_LICENSE("GPL"); - #endif -diff -urp mISDN.orig/xhfc_su.c mISDN/xhfc_su.c ---- mISDN.orig/xhfc_su.c 2006-03-21 20:04:45.000000000 +0100 -+++ mISDN/xhfc_su.c 2006-03-21 20:21:06.000000000 +0100 -@@ -72,20 +72,18 @@ static int card_cnt; - static u_int protocol[MAX_CARDS * MAX_PORT]; - static int layermask[MAX_CARDS * MAX_PORT]; - -+static mISDNobject_t hw_mISDNObj; -+static int debug = 0; -+ - #ifdef MODULE - #ifdef MODULE_LICENSE - MODULE_LICENSE("GPL"); - #endif --#define MODULE_PARM_T "1-8i" --MODULE_PARM(debug, "1i"); --MODULE_PARM(protocol, MODULE_PARM_T); --MODULE_PARM(layermask, MODULE_PARM_T); -+module_param(debug, uint, S_IRUGO | S_IWUSR); -+module_param_array(protocol, uint, NULL, S_IRUGO | S_IWUSR); -+module_param_array(layermask, uint, NULL, S_IRUGO | S_IWUSR); - #endif - --static mISDNobject_t hw_mISDNObj; --static int debug = 0; -- -- - /* static function prototypes */ - static void release_card(xhfc_pi * pi); - static void setup_fifo(xhfc_t * xhfc, __u8 fifo, __u8 conhdlc, __u8 subcfg, diff --git a/net-dialup/misdn/files/mqueue.modulesd b/net-dialup/misdn/files/mqueue.modulesd deleted file mode 100644 index fd9d032a874f..000000000000 --- a/net-dialup/misdn/files/mqueue.modulesd +++ /dev/null @@ -1,100 +0,0 @@ -# Options for the mISDN card drivers -# -# There's currently no documentation available. You should check -# the comments in the source code for available parameters and -# the possible values. -# -# Important notice: FAX is not (yet) possible with mISDN, even -# with the Sedlbauer Speedfax+, but voice and PPP works. -# -options avmfritz protocol=0x2 layermask=0x0 -options hfcpci protocol=0x2 layermask=0x0 -options hfcmulti protocol=0x2 layermask=0x0 -options hfcsusb protocol=0x2 layermask=0x0 -options hfcsmini protocol=0x2 layermask=0x0 -options xhfc protocol=0x2 layermask=0x0 -options sedlfax protocol=0x2 layermask=0x0 -options w6692pci protocol=0x2 layermask=0x0 - -# mISDN framework -install mISDN \ -/sbin/modprobe mISDN_core debug=0 && \ -/sbin/modprobe mISDN_l1 debug=0 && \ -/sbin/modprobe mISDN_l2 debug=0 && \ -/sbin/modprobe l3udss1 debug=0 && \ -/sbin/modprobe mISDN_dsp debug=0xf options=0x0 && \ -/sbin/modprobe mISDN_capi debug=0 -remove mISDN \ -/sbin/modprobe -r mISDN_capi && \ -/sbin/modprobe -r mISDN_dsp && \ -/sbin/modprobe -r l3udss1 && \ -/sbin/modprobe -r mISDN_l2 && \ -/sbin/modprobe -r mISDN_l1 && \ -/sbin/modprobe -r mISDN_core - -# AVM Fritz!PCI and ISA PnP -install avmfritz \ -/sbin/modprobe mISDN && \ -/sbin/modprobe --ignore-install avmfritz -remove avmfritz \ -/sbin/modprobe -r --ignore-remove avmfritz && \ -/sbin/modprobe -r mISDN - -# Colognechip HFC PCI -install hfcpci \ -/sbin/modprobe mISDN && \ -/sbin/modprobe --ignore-install hfcpci -remove hfcpci \ -/sbin/modprobe -r --ignore-remove hfcpci && \ -/sbin/modprobe -r mISDN - -# Colognechip HFC-4S / HFC-8S / HFC-E1 -install hfcmulti \ -/sbin/modprobe mISDN && \ -/sbin/modprobe --ignore-install hfcmulti -remove hfcmulti \ -/sbin/modprobe -r --ignore-remove hfcmulti && \ -/sbin/modprobe -r mISDN - -# Colognechip HFC-S USB -install hfcsusb \ -/sbin/modprobe mISDN && \ -/sbin/modprobe --ignore-install hfcsusb -remove hfcsusb \ -/sbin/modprobe -r --ignore-remove hfcsusb && \ -/sbin/modprobe -r mISDN - -# Colognechip HFC-S Mini -install hfcsmini \ -/sbin/modprobe mISDN && \ -/sbin/modprobe --ignore-install hfcsmini -remove hfcsmini \ -/sbin/modprobe -r --ignore-remove hfcsmini && \ -/sbin/modprobe -r mISDN - -# Colognechip XHFC -install xhfc \ -/sbin/modprobe mISDN && \ -/sbin/modprobe --ignore-install xhfc -remove xhfc \ -/sbin/modprobe -r --ignore-remove xhfc && \ -/sbin/modprobe -r mISDN - -# Sedlbauer Speedfax+ -# Important: For the sedlbauer speed fax+ to work properly -# you have to download the firmware 'ISAR.BIN' onto the card. -install sedlfax \ -/sbin/modprobe mISDN && \ -/sbin/modprobe --ignore-install sedlfax -remove sedlfax \ -/sbin/modprobe -r --ignore-remove sedlfax && \ -/sbin/modprobe -r mISDN -#/sbin/modprobe -r faxl3\ - -# Winbond W6692 PCI -install w6692pci \ -/sbin/modprobe mISDN && \ -/sbin/modprobe --ignore-install w6692pci -remove w6692pci \ -/sbin/modprobe -r --ignore-remove w6692pci && \ -/sbin/modprobe -r mISDN diff --git a/net-dialup/misdn/files/nodevfs.patch b/net-dialup/misdn/files/nodevfs.patch deleted file mode 100644 index f1621a0433a5..000000000000 --- a/net-dialup/misdn/files/nodevfs.patch +++ /dev/null @@ -1,43 +0,0 @@ -Index: mISDN/udevice.c -=================================================================== -RCS file: /i4ldev/mISDN/drivers/isdn/hardware/mISDN/udevice.c,v -retrieving revision 1.20 -diff -u -r1.20 udevice.c ---- mISDN/udevice.c 12 May 2006 13:27:23 -0000 1.20 -+++ mISDN/udevice.c 18 Jul 2006 11:00:55 -0000 -@@ -10,7 +10,13 @@ - #include <linux/vmalloc.h> - #include <linux/config.h> - #include <linux/timer.h> -+#include <linux/version.h> -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) -+#define HAVE_DEVFS 1 - #include <linux/devfs_fs_kernel.h> -+#else -+#define HAVE_DEVFS 0 -+#endif - #include "core.h" - - #define MAX_HEADER_LEN 4 -@@ -1983,8 +1989,11 @@ - if (err) { - printk(KERN_ERR "Can't register %s error(%d)\n", MName, err); - unregister_chrdev(mISDN_MAJOR, "mISDN"); -- } else -+ } else { -+#if HAVE_DEVFS - devfs_mk_cdev(MKDEV(mISDN_MAJOR, 0), S_IFCHR | S_IRUSR | S_IWUSR, "mISDN"); -+#endif -+ } - - return(err); - } -@@ -2006,6 +2015,8 @@ - if ((err = unregister_chrdev(mISDN_MAJOR, "mISDN"))) { - printk(KERN_WARNING "mISDN: devices busy on remove\n"); - } -+#if HAVE_DEVFS - devfs_remove("mISDN"); -+#endif - return(err); - } diff --git a/net-dialup/misdn/files/packed.diff b/net-dialup/misdn/files/packed.diff deleted file mode 100644 index 79b33fff94c2..000000000000 --- a/net-dialup/misdn/files/packed.diff +++ /dev/null @@ -1,185 +0,0 @@ -diff -upr mISDN.orig/drivers/isdn/hardware/mISDN/avm_fritz.c mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c ---- mISDN.orig/drivers/isdn/hardware/mISDN/avm_fritz.c 2006-03-21 20:38:47.000000000 +0100 -+++ mISDN/drivers/isdn/hardware/mISDN/avm_fritz.c 2006-03-21 20:44:53.000000000 +0100 -@@ -103,17 +103,17 @@ enum { - - struct hdlc_stat_reg { - #ifdef __BIG_ENDIAN -- u_char fill __attribute__((packed)); -- u_char mode __attribute__((packed)); -- u_char xml __attribute__((packed)); -- u_char cmd __attribute__((packed)); -+ u_char fill; -+ u_char mode; -+ u_char xml; -+ u_char cmd; - #else -- u_char cmd __attribute__((packed)); -- u_char xml __attribute__((packed)); -- u_char mode __attribute__((packed)); -- u_char fill __attribute__((packed)); -+ u_char cmd; -+ u_char xml; -+ u_char mode; -+ u_char fill; - #endif --}; -+} __attribute__((packed)); - - typedef struct hdlc_hw { - union { -diff -upr mISDN.orig/drivers/isdn/hardware/mISDN/ncci.c mISDN/drivers/isdn/hardware/mISDN/ncci.c ---- mISDN.orig/drivers/isdn/hardware/mISDN/ncci.c 2006-03-21 20:38:47.000000000 +0100 -+++ mISDN/drivers/isdn/hardware/mISDN/ncci.c 2006-03-21 20:45:40.000000000 +0100 -@@ -380,14 +380,14 @@ ncci_manufacturer_req(struct FsmInst *fi - _cmsg *cmsg = arg; - int err, op; - struct _manu_conf_para { -- u8 len __attribute__((packed)); -- u16 Info __attribute__((packed)); -- u16 vol __attribute__((packed)); -+ u8 len; -+ u16 Info; -+ u16 vol; - } mcp = {2, CAPI_NOERROR,0}; - struct _manu_req_para { -- u8 len __attribute__((packed)); -- u16 vol __attribute__((packed)); -- } *mrp; -+ u8 len; -+ u16 vol; -+ } __attribute__((packed)) *mrp; - - if (!ncci->appl) - return; -diff -upr mISDN.orig/drivers/isdn/hardware/mISDN/x25_l3.h mISDN/drivers/isdn/hardware/mISDN/x25_l3.h ---- mISDN.orig/drivers/isdn/hardware/mISDN/x25_l3.h 2006-03-21 20:38:47.000000000 +0100 -+++ mISDN/drivers/isdn/hardware/mISDN/x25_l3.h 2006-03-21 20:46:14.000000000 +0100 -@@ -32,12 +32,12 @@ struct _x25_B3_cfg { - #define DEFAULT_X25_B3_CFG {0, 0, 1, 1, 0, 0, 8, 2} - - struct _x25_ncpi { -- __u8 len __attribute__((packed)); -- __u8 Flags __attribute__((packed)); -- __u8 Group __attribute__((packed)); -- __u8 Channel __attribute__((packed)); -- __u8 Contens[4] __attribute__((packed)); /* Note this can be less/more bytes in use */ --}; -+ __u8 len; -+ __u8 Flags; -+ __u8 Group; -+ __u8 Channel; -+ __u8 Contens[4]; /* Note this can be less/more bytes in use */ -+} __attribute__((packed)); - - struct _x25_ConfQueue { - __u32 PktId; -diff -upr mISDN.orig/include/linux/mISDNif.h mISDN/include/linux/mISDNif.h ---- mISDN.orig/include/linux/mISDNif.h 2006-03-21 20:38:47.000000000 +0100 -+++ mISDN/include/linux/mISDNif.h 2006-03-21 20:41:30.000000000 +0100 -@@ -579,11 +579,11 @@ - #define STATUS_INFO_L2 2 - - typedef struct _mISDN_head { -- u_int addr __attribute__((packed)); -- u_int prim __attribute__((packed)); -- int dinfo __attribute__((packed)); -- int len __attribute__((packed)); --} mISDN_head_t; -+ u_int addr; -+ u_int prim; -+ int dinfo; -+ int len; -+} __attribute__((packed)) mISDN_head_t; - - #define mISDN_HEADER_LEN sizeof(mISDN_head_t) - -@@ -693,47 +693,47 @@ typedef struct _ie_info_ext { - } __attribute__((packed)) ie_info_ext_t; - - typedef struct _Q931_info { -- u_char type __attribute__((packed)); -- u_char crlen __attribute__((packed)); -- u16 cr __attribute__((packed)); -- ie_info_t bearer_capability __attribute__((packed)); -- ie_info_t cause __attribute__((packed)); -- ie_info_t call_id __attribute__((packed)); -- ie_info_t call_state __attribute__((packed)); -- ie_info_t channel_id __attribute__((packed)); -- ie_info_t facility __attribute__((packed)); -- ie_info_t progress __attribute__((packed)); -- ie_info_t net_fac __attribute__((packed)); -- ie_info_t notify __attribute__((packed)); -- ie_info_t display __attribute__((packed)); -- ie_info_t date __attribute__((packed)); -- ie_info_t keypad __attribute__((packed)); -- ie_info_t signal __attribute__((packed)); -- ie_info_t info_rate __attribute__((packed)); -- ie_info_t end2end_transit __attribute__((packed)); -- ie_info_t transit_delay_sel __attribute__((packed)); -- ie_info_t pktl_bin_para __attribute__((packed)); -- ie_info_t pktl_window __attribute__((packed)); -- ie_info_t pkt_size __attribute__((packed)); -- ie_info_t closed_userg __attribute__((packed)); -- ie_info_t connected_nr __attribute__((packed)); -- ie_info_t connected_sub __attribute__((packed)); -- ie_info_t calling_nr __attribute__((packed)); -- ie_info_t calling_sub __attribute__((packed)); -- ie_info_t called_nr __attribute__((packed)); -- ie_info_t called_sub __attribute__((packed)); -- ie_info_t redirect_nr __attribute__((packed)); -- ie_info_t transit_net_sel __attribute__((packed)); -- ie_info_t restart_ind __attribute__((packed)); -- ie_info_t llc __attribute__((packed)); -- ie_info_t hlc __attribute__((packed)); -- ie_info_t useruser __attribute__((packed)); -- ie_info_t more_data __attribute__((packed)); -- ie_info_t sending_complete __attribute__((packed)); -- ie_info_t congestion_level __attribute__((packed)); -- ie_info_t fill1 __attribute__((packed)); -- ie_info_ext_t ext[8] __attribute__((packed)); --} Q931_info_t; -+ u_char type; -+ u_char crlen; -+ u16 cr; -+ ie_info_t bearer_capability; -+ ie_info_t cause; -+ ie_info_t call_id; -+ ie_info_t call_state; -+ ie_info_t channel_id; -+ ie_info_t facility; -+ ie_info_t progress; -+ ie_info_t net_fac; -+ ie_info_t notify; -+ ie_info_t display; -+ ie_info_t date; -+ ie_info_t keypad; -+ ie_info_t signal; -+ ie_info_t info_rate; -+ ie_info_t end2end_transit; -+ ie_info_t transit_delay_sel; -+ ie_info_t pktl_bin_para; -+ ie_info_t pktl_window; -+ ie_info_t pkt_size; -+ ie_info_t closed_userg; -+ ie_info_t connected_nr; -+ ie_info_t connected_sub; -+ ie_info_t calling_nr; -+ ie_info_t calling_sub; -+ ie_info_t called_nr; -+ ie_info_t called_sub; -+ ie_info_t redirect_nr; -+ ie_info_t transit_net_sel; -+ ie_info_t restart_ind; -+ ie_info_t llc; -+ ie_info_t hlc; -+ ie_info_t useruser; -+ ie_info_t more_data; -+ ie_info_t sending_complete; -+ ie_info_t congestion_level; -+ ie_info_t fill1; -+ ie_info_ext_t ext[8]; -+} __attribute__((packed)) Q931_info_t; - - #define L3_EXTRA_SIZE sizeof(Q931_info_t) - diff --git a/net-dialup/misdn/misdn-20060321.ebuild b/net-dialup/misdn/misdn-20060321.ebuild deleted file mode 100644 index 2c52b36c6419..000000000000 --- a/net-dialup/misdn/misdn-20060321.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdn/misdn-20060321.ebuild,v 1.1 2006/03/21 20:47:39 genstef Exp $ - -inherit eutils linux-mod cvs - -MY_P="mISDN" -DESCRIPTION="mISDN is the new ISDN stack of the linux kernel 2.6." -HOMEPAGE="http://www.isdn4linux.de/mISDN" -SRC_URI="" -ECVS_SERVER="cvs.isdn4linux.de:/i4ldev" -ECVS_MODULE="${MY_P}" -ECVS_PASS="readonly" -ECVS_CO_OPTS="-D ${PV}" -ECVS_UP_OPTS="-dP ${ECVS_CO_OPTS}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64 ~ppc" -IUSE="" -RDEPEND=">=net-dialup/capi4k-utils-20050322-r1" -S="${WORKDIR}/${MY_P}/drivers/isdn/hardware/mISDN" - -MISDN_MODULES=("avmfritz" "hfcpci" "hfcmulti" "hfcsusb" "hfcsmini" "xhfc" "sedlfax" "w6692pci") -MISDN_KCONFIG=("AVM_FRITZ" "HFCPCI" "HFCMULTI" "HFCUSB" "HFCMINI" "XHFC" "SPEEDFAX" "W6692" ) - -pkg_setup() { - CONFIG_CHECK="ISDN_CAPI ISDN_CAPI_CAPI20 ISDN_CAPI_CAPIFS_BOOL" - linux-mod_pkg_setup - MODULE_NAMES="mISDN_capi(net:) mISDN_dtmf(net:) mISDN_l1(net:) - mISDN_x25dte(net:) l3udss1(net:) mISDN_core(net:) mISDN_isac(net:) - mISDN_l2(net:) mISDN_dsp(net:)" - BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S} MINCLUDES=${WORKDIR}/${MY_P}/include CONFIG_MISDN_DRV=m CONFIG_MISDN_DSP=y" - BUILD_TARGETS="modules" - #I4LmISDN(net:) does not compile :( CONFIG_I4L_CAPI_LAYER=m - # the i4l->capi simulation seems to be only for kernel 2.4 - - if [ -n "${MISDN_CARDS}" ]; then - #Check existence of user selected cards - for USERCARD in ${MISDN_CARDS} ; do - for ((CARD=0; CARD < ${#MISDN_MODULES[*]}; CARD++)); do - if [ "${USERCARD}" = "${MISDN_MODULES[CARD]}" ]; then - MODULE_NAMES="${MODULE_NAMES} ${MISDN_MODULES[CARD]}(net:)" - #[ "sedlfax" = "${MISDN_MODULES[CARD]}" ] && MODULE_NAMES="${MODULE_NAMES} faxl3(net:)" - BUILD_PARAMS="${BUILD_PARAMS} CONFIG_MISDN_${MISDN_KCONFIG[CARD]}=y" - continue 2 - fi - done - die "Module ${USERCARD} not present in ${P}" - done - else - einfo - einfo "You can control the modules which are built with the variable" - einfo "MISDN_CARDS which should contain a blank separated list" - einfo "of a selection from the following cards:" - einfo " ${MISDN_MODULES[*]}" - einfo - ewarn "I give you the chance of hitting Ctrl-C and make the necessary" - ewarn "adjustments in /etc/make.conf." - - # enable everything - for ((CARD=0; CARD < ${#MISDN_MODULES[*]}; CARD++)); do - MODULE_NAMES="${MODULE_NAMES} ${MISDN_MODULES[CARD]}(net:)" - #[ "sedlfax" = "${MISDN_MODULES[CARD]}" ] && MODULE_NAMES="${MODULE_NAMES} faxl3(net:)" - BUILD_PARAMS="${BUILD_PARAMS} CONFIG_MISDN_${MISDN_KCONFIG[CARD]}=y" - done - fi -} - -src_unpack() { - cvs_src_unpack - cd ${WORKDIR}/mISDN - epatch ${FILESDIR}/packed.diff - cd ${S} - mv Makefile.v2.6 Makefile - epatch ${FILESDIR}/module-param.diff -} - -src_install() { - linux-mod_src_install - - insinto /usr/include/linux - doins "${WORKDIR}/${MY_P}/include/linux/"*.h - - insinto /etc/modules.d - newins "${FILESDIR}/mqueue.modulesd" "${PN}" - - dodir /etc/udev/rules.d - echo 'KERNEL="obj-*", NAME="mISDN", GROUP="dialout"' \ - > "${D}/etc/udev/rules.d/53-${PN}.rules" - - dodoc Kconfig.v2.6 - dodoc "${WORKDIR}/${MY_P}/"*misdn-init - dodoc "${FILESDIR}/README.hfcmulti" -} - -pkg_postinst() { - linux-mod_pkg_postinst - - ewarn - ewarn "This driver is still under heavy development" - ewarn "Please report ebuild related bugs / wishes to http://bugs.gentoo.org" - ewarn "Please report driver bugs to the mISDN mailing-list:" - ewarn " https://www.isdn4linux.de/mailman/listinfo/isdn4linux" -} diff --git a/net-dialup/misdn/misdn-20060722.ebuild b/net-dialup/misdn/misdn-20060722.ebuild deleted file mode 100644 index 83a824246c92..000000000000 --- a/net-dialup/misdn/misdn-20060722.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdn/misdn-20060722.ebuild,v 1.1 2006/07/24 08:00:09 genstef Exp $ - -inherit eutils linux-mod cvs - -MY_P="mISDN" -DESCRIPTION="mISDN is the new ISDN stack of the linux kernel 2.6." -HOMEPAGE="http://www.isdn4linux.de/mISDN" -SRC_URI="" -ECVS_SERVER="cvs.isdn4linux.de:/i4ldev" -ECVS_MODULE="${MY_P}" -ECVS_PASS="readonly" -ECVS_CO_OPTS="-D ${PV}" -ECVS_UP_OPTS="-dP ${ECVS_CO_OPTS}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64 ~ppc" -RDEPEND=">=net-dialup/capi4k-utils-20050322-r1" -S="${WORKDIR}/${MY_P}/drivers/isdn/hardware/mISDN" -PATCHES="${FILESDIR}/nodevfs.patch" - -MISDN_MODULES=("avmfritz" "hfcpci" "hfcmulti" "hfcsusb" "hfcsmini" "xhfc" "sedlfax" "w6692pci" "netjetpci") -MISDN_KCONFIG=("AVM_FRITZ" "HFCPCI" "HFCMULTI" "HFCUSB" "HFCMINI" "XHFC" "SPEEDFAX" "W6692" "NETJET") -for i in ${MISDN_MODULES[@]}; do IUSE="${IUSE} misdn_cards_${i}"; done - -pkg_setup() { - CONFIG_CHECK="ISDN_CAPI ISDN_CAPI_CAPI20 ISDN_CAPI_CAPIFS_BOOL" - linux-mod_pkg_setup - MODULE_NAMES="mISDN_capi(net:) mISDN_dtmf(net:) mISDN_l1(net:) - mISDN_x25dte(net:) l3udss1(net:) mISDN_core(net:) mISDN_isac(net:) - mISDN_l2(net:) mISDN_dsp(net:)" - BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S} MINCLUDES=${WORKDIR}/${MY_P}/include CONFIG_MISDN_DRV=m CONFIG_MISDN_DSP=y" - BUILD_TARGETS="modules" - #I4LmISDN(net:) does not compile :( CONFIG_I4L_CAPI_LAYER=m - # the i4l->capi simulation seems to be only for kernel 2.4 - - if [ -n "${MISDN_CARDS}" ]; then - #Check existence of user selected cards - for USERCARD in ${MISDN_CARDS} ; do - for ((CARD=0; CARD < ${#MISDN_MODULES[*]}; CARD++)); do - if [ "${USERCARD}" = "${MISDN_MODULES[CARD]}" ]; then - MODULE_NAMES="${MODULE_NAMES} ${MISDN_MODULES[CARD]}(net:)" - #[ "sedlfax" = "${MISDN_MODULES[CARD]}" ] && MODULE_NAMES="${MODULE_NAMES} faxl3(net:)" - BUILD_PARAMS="${BUILD_PARAMS} CONFIG_MISDN_${MISDN_KCONFIG[CARD]}=y" - continue 2 - fi - done - die "Module ${USERCARD} not present in ${P}" - done - else - einfo - einfo "You can control the modules which are built with the variable" - einfo "MISDN_CARDS which should contain a blank separated list" - einfo "of a selection from the following cards:" - einfo " ${MISDN_MODULES[*]}" - einfo - ewarn "I give you the chance of hitting Ctrl-C and make the necessary" - ewarn "adjustments in /etc/make.conf." - - # enable everything - for ((CARD=0; CARD < ${#MISDN_MODULES[*]}; CARD++)); do - MODULE_NAMES="${MODULE_NAMES} ${MISDN_MODULES[CARD]}(net:)" - #[ "sedlfax" = "${MISDN_MODULES[CARD]}" ] && MODULE_NAMES="${MODULE_NAMES} faxl3(net:)" - BUILD_PARAMS="${BUILD_PARAMS} CONFIG_MISDN_${MISDN_KCONFIG[CARD]}=y" - done - fi -} - -src_install() { - linux-mod_src_install - - insinto /usr/include/linux - doins "${WORKDIR}/${MY_P}/include/linux/"*.h - - dodir /etc/udev/rules.d - echo 'KERNEL=="obj-*", NAME="mISDN", GROUP="dialout"' \ - > "${D}/etc/udev/rules.d/53-${PN}.rules" - - sed -i -e "s:/etc/init.d:/usr/sbin:" "${WORKDIR}/${MY_P}/"{misdn-init,mISDN.modprobe.d} - insinto /etc/modules.d - newins "${WORKDIR}/${MY_P}/"mISDN.modprobe.d ${PN} - - sed -i -e "s:USER=.*:USER=root:" \ - -e "s:GROUP=.*:GROUP=dialout:" "${WORKDIR}/${MY_P}/"misdn-init - dosbin "${WORKDIR}/${MY_P}/"misdn-init - - dodoc Kconfig.v2.6 - dodoc "${FILESDIR}/README.hfcmulti" "${WORKDIR}/${MY_P}/"README.misdn-init -} - -pkg_preinst() { - if [ -e ${ROOT}/etc/misdn-init.conf ]; then - cp ${ROOT}/etc/misdn-init.conf ${IMAGE}/etc - else - sed -i -e "s:/etc/misdn-init.conf:${IMAGE}\0:" ${IMAGE}/usr/sbin/misdn-init - ${IMAGE}/usr/sbin/misdn-init config - sed -i -e "s:${IMAGE}/etc/misdn-init.conf:/etc/misdn-init.conf:" ${IMAGE}/usr/sbin/misdn-init - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - - ewarn - ewarn "This driver is still under heavy development" - ewarn "Please report ebuild related bugs / wishes to http://bugs.gentoo.org" - ewarn "Please report driver bugs to the mISDN mailing-list:" - ewarn " https://www.isdn4linux.de/mailman/listinfo/isdn4linux" -} |