diff options
author | 2013-02-28 18:12:15 +0100 | |
---|---|---|
committer | 2013-02-28 18:12:15 +0100 | |
commit | b6c671e04786cd28f93e487e1595d43b41666ff6 (patch) | |
tree | 2bbc02d25294cb1f834129c0023d91e59292b3c1 | |
parent | +isdn4k-utils-3.25.ebuild, version dated 30.06.2012 (diff) | |
download | dfreise-b6c671e04786cd28f93e487e1595d43b41666ff6.tar.gz dfreise-b6c671e04786cd28f93e487e1595d43b41666ff6.tar.bz2 dfreise-b6c671e04786cd28f93e487e1595d43b41666ff6.zip |
*fcpci-0.1-r9 (28 Feb 2013)
28 Feb 2013; Dennis Freise <dennis.freise@final-frontier.org>
Revision bump, new patch for kernel >= 3.8, removing references to __devinit and __devexit
-rw-r--r-- | net-dialup/fcpci/ChangeLog | 4 | ||||
-rw-r--r-- | net-dialup/fcpci/Manifest | 30 | ||||
-rw-r--r-- | net-dialup/fcpci/fcpci-0.1-r9.ebuild | 88 | ||||
-rw-r--r-- | net-dialup/fcpci/files/fcpci-kernel-3.8.0.patch | 65 |
4 files changed, 173 insertions, 14 deletions
diff --git a/net-dialup/fcpci/ChangeLog b/net-dialup/fcpci/ChangeLog index c5b503b..843de57 100644 --- a/net-dialup/fcpci/ChangeLog +++ b/net-dialup/fcpci/ChangeLog @@ -2,6 +2,10 @@ # Copyright 2002-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*fcpci-0.1-r9 (28 Feb 2013) + 28 Feb 2013; Dennis Freise <dennis.freise@final-frontier.org> + Revision bump, new patch for kernel >= 3.8, removing references to __devinit and __devexit + *fcpci-0.1-r8 (21 May 2012) 21 May 2012; Dennis Freise <dennis.freise@final-frontier.org> Revision bump, added patch for kernel >= 3.4 (thx to Arnd Feldmueller) diff --git a/net-dialup/fcpci/Manifest b/net-dialup/fcpci/Manifest index 269dbd1..5b52c5e 100644 --- a/net-dialup/fcpci/Manifest +++ b/net-dialup/fcpci/Manifest @@ -1,14 +1,16 @@ -AUX fcpci-kernel-2.6.34.patch 4358 RMD160 63ba14a64be689ac4f15cfe010106a9a3c4e7c41 SHA1 8b53b1a43cb5615995502239a40687d61443a27c SHA256 82f72dda3f5a6956e5e35990e0b431ff11c8f9a4f046f991d19aca95d79dfd6e -AUX fcpci-kernel-2.6.39-amd64.patch 1663 RMD160 3c893fea87fafdca47dc2f9626cceefd0a94a057 SHA1 11c3b0f852b27e4ff0177c402de2d184cfdb16e4 SHA256 5170d808807897319d85ed035c170d672df81ee505e795ee0b31d2fc4a9359e1 -AUX fcpci-kernel-2.6.39.patch 850 RMD160 d6f8573a5aa8b15fce6ee8096e20d23ca3032397 SHA1 cb67c68483a0c71e1b5800c7c76bbe415522dda2 SHA256 9f56ee45159365216fd58b1d76ce878fd4db2eee456c04354c56330db7a257d6 -AUX fcpci-kernel-3.2.0.patch 336 RMD160 02ef9f76955937818bc389751ded148b461d3fbf SHA1 ba5592f70d584969299cab2e230f9b94c4604ca9 SHA256 b1c11e9909d5119bda153403adc3c1e54bec3567216bab2feaff7e1088c58d43 -AUX fcpci-kernel-3.4.0.patch 342 RMD160 b91005aefdc44b1a4a88ce8a3389b325a8a0458b SHA1 27e148bb0072fa26f100c8fbbcab7aeeefde6dda SHA256 221bdc9cbc275a79d872bae42fa8fdf3c87422300602d766f080e0ab1e741383 -AUX kernel-2.6.34.patch 4515 RMD160 679ad014f799d9bf9f13c1aa1fd6451faebc5bc8 SHA1 d5c94106b43f9f4371274efe47aaeb6e4347fce7 SHA256 94e83fad32998596f97d7f5df3e9c674419616a3bcfb3cb7309c220204ac0de7 -AUX kernel-2.6.39.patch 810 RMD160 811e597fa65a65a4aa59eb176f5e95b401b9124c SHA1 edb7f9e66331997a52023f6fb6c5ab9a3e762f45 SHA256 5ceb47f364064b11d8ed12f73cf6cbaf22b53cd5f9109d7b1beb7943620bc2af -DIST fcpci-0.1-0.src.rpm 1419782 RMD160 d6313192d01e0f6a64f890b3015e0541c9dbfbd3 SHA1 08e88c9b395b783dc8dce91b61f286f1c05a261e SHA256 f39c7cb83b21fa9ba1de71f357c72552aa1c5327d7ad4ac55274e71e9da3f8e4 -EBUILD fcpci-0.1-r5.ebuild 1535 RMD160 06a08d96f69d5afa4d0480d355d4b7a93ad21f8a SHA1 c9dea569088a9f6d9c96e45c4d34d6a2f88f44fd SHA256 f5458a60ae2dd955f1a6ed6527b89f18ff981c6364bff50f0c18a7d555412c97 -EBUILD fcpci-0.1-r6.ebuild 1659 RMD160 c60e0ec4b0dc81198351aca20c4acc92c814f150 SHA1 445eb90548a18a846a93d0c3226e7d105a95ea38 SHA256 f3ef07ba92ed05943a55da310a1ac251344b60bdccebc081fbca2025b2332340 -EBUILD fcpci-0.1-r7.ebuild 1744 RMD160 b09a65efa65a2d79111ef10b315d2a2a02e56513 SHA1 c0b192818b84ff68e8e0c63f8bd1e5f59612640c SHA256 76ccc097ed4482463d04cf74aae779b942431a8d9c09d04e156d85596cba460b -EBUILD fcpci-0.1-r8.ebuild 1827 RMD160 0999329ac9f708ecbff902e724cccf38d9b47287 SHA1 61365c81b6214dff00c0e74fe98d4ceef3e14659 SHA256 61074b317a3f421fefbf1f1ff25ec0d510a7cf1b78ff6e9caa0bff2b55cd7b59 -MISC ChangeLog 3263 RMD160 0f2160ff9b5706300dd9612969b0a41e58d9cd6d SHA1 2a293d5ecfee4c5c7a36b1f88cef92546c0b5a7a SHA256 a2a90f7036bc539863312b4477577db44bf5d3f54e9e8ea16b975034c62aaab4 -MISC metadata.xml 263 RMD160 ea2e7ecb186a7fd9b309bd3aff02c9e139981ce8 SHA1 62ca0c83d00d102d78427e59920cf79b62d37dc1 SHA256 ad6c0344e90e2a2c1f631b6d6e0242799bec90eee1eaccdc04674f52be49ea75 +AUX fcpci-kernel-2.6.34.patch 4358 SHA256 82f72dda3f5a6956e5e35990e0b431ff11c8f9a4f046f991d19aca95d79dfd6e SHA512 e813bf38284d2adeac999d80c104046eb21bdc90098a18d3cfd7cfc51d85924fe815765dc00c8b115d830400b7eb619563196fecc08975d973bf6a2783277788 WHIRLPOOL a36782cbae7ffae859466b995f0fa2b4b8b81a80c4b43489d7e00d872cad76430e957e1914f877e21b210c4f0fdc02f2d31d3e2389dbf4eebd78e8dcd6bd4813 +AUX fcpci-kernel-2.6.39-amd64.patch 1663 SHA256 5170d808807897319d85ed035c170d672df81ee505e795ee0b31d2fc4a9359e1 SHA512 27d8e98ff9173af50a195f08fa3ea194b370a9f5f5e83ee0478f70deaac5005e641918215109e27a5329be41e7784998df97372090e96976d39991d9b4458903 WHIRLPOOL 218eb5052c7ae671bff858f6e230b46b2ba62c740a44ec7cd430e8ab243c9bee0217967ad1a7728e8fc97b4f62addb1a71e7c2e5dafa35690bb250c2f4b15d4c +AUX fcpci-kernel-2.6.39.patch 850 SHA256 9f56ee45159365216fd58b1d76ce878fd4db2eee456c04354c56330db7a257d6 SHA512 253923b2e81ef6eb81ed30e72a9467dd370719a7f86c5c53f2ec75883ca6892e079fb4edd155199ab840c4c2cc048ba97b84be30a72e229bf9c497b8c044d301 WHIRLPOOL 197bce7cc78406ca49e32f7193bd092173ed24d16a7f54f815673a4134cd563d6aebb79589f8bcfd949a74a0c4dfb1965ed77dec46d8e01b29e91c6e0c958ba3 +AUX fcpci-kernel-3.2.0.patch 336 SHA256 b1c11e9909d5119bda153403adc3c1e54bec3567216bab2feaff7e1088c58d43 SHA512 ca8635ad6a9985e50d20b1011b366af736d1b71f0976eeb23a1cab9d55d4049fbea19a5473a64ff2d26227ecf80c66083774e5af832f4d8ccc7ec200b7e8b97b WHIRLPOOL bc409761ecc503dd64a7206a2419c07b8b27dfcc987ee1b3d6a8b1b6da5551c20bd0a66a1d57cf21977b49d1e5a2db3dea0ed63e165dc1911aba06c91ab0aa5e +AUX fcpci-kernel-3.4.0.patch 342 SHA256 221bdc9cbc275a79d872bae42fa8fdf3c87422300602d766f080e0ab1e741383 SHA512 b9f438b58c17aaa89987bd6e30204bf247a569681b0408866640b24868f002401e92d5ac2cf1d19d0b8e28556eaa24a5fdb11ea513fed17a1e282c5ab4957e8f WHIRLPOOL 80e4cfad1d94ad771daf9414ca9fa834d1ad0068e9b4d4f12d7a5de37d9594cba362130bd5f5c6bc99d873fa290ddb70f76e8f0e55778fa3450d80b86a6b9839 +AUX fcpci-kernel-3.8.0.patch 1838 SHA256 6890af0ca1dfbb05427738576a8fc48daba161eba7c68b2ab0821dd18cdd29dd SHA512 20b73bba63be236344a39a966d9ec394966f897a30ae25be869ed47185ff0ca4aaf3f760b11ed0e23413bd06649b58888833b25488aef2ccec697a94df8a976a WHIRLPOOL 7432d1cdec46cfa94a75993e3218868240c4f74bf1ed2129741cb698b923fab60b4dc421968415f05ea6d76fa5437bfeef048d7f860f3360276011b796cc4e61 +AUX kernel-2.6.34.patch 4515 SHA256 94e83fad32998596f97d7f5df3e9c674419616a3bcfb3cb7309c220204ac0de7 SHA512 a30783a507529bd592a5380e28945ac3a2c4fb8e44395168bc1ebddcadfac7576bb1f9fa27b185bd6427bd833c3523fea3a40ff6c3c7f1528a53bf190dcb0694 WHIRLPOOL 8b4589e2d446a69fa6b1c4b485886821cb25e9fe6542227fded7ac3e0a0c119ab061c3bca203a09f0d16ca4fef8e9a4a510700f203b2a2ef3b64c290d06dd13d +AUX kernel-2.6.39.patch 810 SHA256 5ceb47f364064b11d8ed12f73cf6cbaf22b53cd5f9109d7b1beb7943620bc2af SHA512 3b8fb0b0839a27f850bafb8c6f6490b83e9a2fe739075b19790d304e9d9eba8fbbf562cd8ebc325a01edb84f0034158cd066d4c73474fd832019e07c38d75d8f WHIRLPOOL a4aa12975df3d71eba4e85ea1453a1f4ad8ddaafbed3dd45d3074b184727e7b57ea35b940a68d0ffe0f92ef8e3d1ee5f2804021b4cd186e310cb30606b3a0664 +DIST fcpci-0.1-0.src.rpm 1419782 SHA256 f39c7cb83b21fa9ba1de71f357c72552aa1c5327d7ad4ac55274e71e9da3f8e4 SHA512 fa6277e138d44fbf7865cbb035f11a6a1244827c3b1197a6d33a05c8de41366d3f1765a9d6a6c2b5281b8f11e74eabaec827825425b572e8bbf4982cb009e85a WHIRLPOOL f15ce2f094b5abb254b935b323576367c6069004db7cabb0d3615dd32ac31bdfa5140e3e80a67cb07bad6356eb53a389c0dca6823a3b82128ec867ecdba529f8 +EBUILD fcpci-0.1-r5.ebuild 1535 SHA256 f5458a60ae2dd955f1a6ed6527b89f18ff981c6364bff50f0c18a7d555412c97 SHA512 2ad4a2bdb60331f0e56707b3a66ba720fdc8ae9e326078fa90ce7ba1f01b52727c258fdd9976bad464eaa9209847df1a15170ac6f641bb54ce4e914c3126131b WHIRLPOOL 96f9186e7bb880a4c1be10e735528a065e57c1447181c9f444dc368e5c38663d435f8dbeb05f13adc598049401a12f0f9e8df6e21631e6a070db3b68d3f05cae +EBUILD fcpci-0.1-r6.ebuild 1659 SHA256 f3ef07ba92ed05943a55da310a1ac251344b60bdccebc081fbca2025b2332340 SHA512 ccee474c0854371a68cf9c140dd4289b85546e482191648ff088d4073ee6d3c4a684fa700f7831f00f832bdf7ec50fc1aaef0bfb3a5db06dc6961ad291272d59 WHIRLPOOL 5a4499d0b804855a0a35567bba8bcae205091dcf38925b4b318b23a0b370310eedf722800b664f7d3d396c83bb8bd15591ccef793f88dcbb211aade921a9508d +EBUILD fcpci-0.1-r7.ebuild 1744 SHA256 76ccc097ed4482463d04cf74aae779b942431a8d9c09d04e156d85596cba460b SHA512 6ec33126593d51562338046916c58f43e6c3210269c4870b65e1c2f607990d1bc5bb0a0a19434a84a796bc1b543690f9aba9298272f11fa392554013b5ea9b80 WHIRLPOOL 91c9d5329441ad1800eb63ef6e653bc1d45f3bb3964b7156e5c585e5d5401faa18334328b1666d2faf0bdc46d9350e053b7be06ee0679d2f7f6db2cc589bb049 +EBUILD fcpci-0.1-r8.ebuild 1827 SHA256 61074b317a3f421fefbf1f1ff25ec0d510a7cf1b78ff6e9caa0bff2b55cd7b59 SHA512 e362c9ac6db40f223593f02684fe682878174c96add06713d47d34f8a449e9480805f49549f0ba71cd96fb793a27b8046fff1d83f200d5bd488512493b8dbbc9 WHIRLPOOL c67b0baef6d82e9bb52a406f004b1c5a382df43f3056eaf299c4707ea2999a18bfef3a5915119514b9e65558e7881fd1e3c32b74833a1f2872fd7fd5032c4924 +EBUILD fcpci-0.1-r9.ebuild 1917 SHA256 65177814f35a379a93515866bf63792806110d0c1f3e72cb65ce752116d6a302 SHA512 600a0cbab2ec0cf4e589778b2cb3c902d7045d9d3c829fe4c033b97b8e7f9c3608b02bd07694d76edea9af54b97c8bab6e2d2b5e2e0851d8c9bb6f013736de49 WHIRLPOOL 93f013aeb25bb505a98afe4468d83dfaeb4412f589c6995c3984f9d119aef05790775a948f309b6ff82c296cbee18953cc53f8e32dca34a3ec17f5e75f2fa89b +MISC ChangeLog 3449 SHA256 29fea4f68591ab2828bd9f191a05a4ad87344ffaeb7d7905ee991a321d0d3cfb SHA512 d7689579704e522a11998691f8b07202d2f12828eadac100c48ebff847828b35009fdc27d98468bd46d2236a08d84256be1d9f9bceeea08efc07bcd26a4325a5 WHIRLPOOL 4bd4c162bee9d07d6328ddb38a970ef6dbd430741276508037251a8aac8058466eb76d0112e1cfe01fbe3823d8bed781cff56079b066df6b2c9c7e5d0c675bd5 +MISC metadata.xml 263 SHA256 ad6c0344e90e2a2c1f631b6d6e0242799bec90eee1eaccdc04674f52be49ea75 SHA512 c7faba7f22a21cd1c85a0f45fb2257e036022ccc828faa699e5c1c8efc364b83e639c0466da9d6b1183fc19b953f2df6d68246880f091c9d59ed80d1449a674c WHIRLPOOL f7c52da6567716bfbc3b59aedb57906171011baa47ec613f9183930c2801c2528101e52b9223247d8d7f1910e389f199db969f661f6deb356dd2762aa0238fca diff --git a/net-dialup/fcpci/fcpci-0.1-r9.ebuild b/net-dialup/fcpci/fcpci-0.1-r9.ebuild new file mode 100644 index 0000000..37e9155 --- /dev/null +++ b/net-dialup/fcpci/fcpci-0.1-r9.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils rpm linux-mod + +DESCRIPTION="AVM kernel 2.6/3.0 modules for Fritz!Card PCI" +HOMEPAGE="http://opensuse.foehr-it.de/" +SRC_URI="http://opensuse.foehr-it.de/rpms/11_2/src/${P}-0.src.rpm" + +LICENSE="AVM-FC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="!net-dialup/fritzcapi" +RDEPEND="${DEPEND} net-dialup/capi4k-utils" + +RESTRICT="primaryuri" + +S="${WORKDIR}/fritz" + +pkg_setup() { + linux-mod_pkg_setup + + if ! kernel_is ge 2 6 ; then + die "This package works only with 2.6/3.0 kernel!" + fi + + BUILD_TARGETS="all" + BUILD_PARAMS="KDIR=${KV_DIR} LIBDIR=${S}/src" + MODULE_NAMES="${PN}(net:${S}/src)" +} + +src_unpack() { + local BIT="" PAT="012345" + if use amd64; then + BIT="64bit-" PAT="1234" + fi + + if kernel_is ge 2 6 31 ; then + PAT="${PAT}67" + fi + + rpm_unpack "${A}" || die "failed to unpack ${A} file" + DISTDIR="${WORKDIR}" unpack ${PN}-suse[0-9][0-9]-${BIT}[0-9].[0-9]*-[0-9]*.tar.gz + + cd "${S}" + epatch $(sed -n "s|^Patch[${PAT}]:\s*\(.*\)|../\1|p" ../${PN}.spec) + + if kernel_is ge 2 6 34 ; then + epatch "${FILESDIR}"/fcpci-kernel-2.6.34.patch + fi + + if kernel_is ge 2 6 39 ; then + if use amd64; then + epatch "${FILESDIR}"/fcpci-kernel-2.6.39-amd64.patch + else + epatch "${FILESDIR}"/fcpci-kernel-2.6.39.patch + fi + + if kernel_is ge 3 2 0 ; then + epatch "${FILESDIR}"/fcpci-kernel-3.2.0.patch + fi + + if kernel_is ge 3 4 0 ; then + epatch "${FILESDIR}"/fcpci-kernel-3.4.0.patch + fi + + if kernel_is ge 3 8 0 ; then + epatch "${FILESDIR}"/fcpci-kernel-3.8.0.patch + fi + fi + + convert_to_m src/Makefile + + for i in lib/*-lib.o; do + einfo "Localize symbols in ${i##*/} ..." + objcopy -L memcmp -L memcpy -L memmove -L memset -L strcat \ + -L strcmp -L strcpy -L strlen -L strncmp -L strncpy "${i}" + done +} + +src_install() { + linux-mod_src_install + dodoc CAPI*.txt + dohtml *.html +} diff --git a/net-dialup/fcpci/files/fcpci-kernel-3.8.0.patch b/net-dialup/fcpci/files/fcpci-kernel-3.8.0.patch new file mode 100644 index 0000000..9fec4ec --- /dev/null +++ b/net-dialup/fcpci/files/fcpci-kernel-3.8.0.patch @@ -0,0 +1,65 @@ +--- src/main.c.old 2013-02-28 18:00:31.303958236 +0100 ++++ src/main.c 2013-02-28 18:01:22.563203394 +0100 +@@ -154,7 +154,7 @@ + \*---------------------------------------------------------------------------*/ + #if defined (__fcclassic__) + +-static int __devinit isa_start ( ++static int isa_start ( + unsigned short io_arg, + unsigned short irq_arg + ) { +@@ -191,7 +191,7 @@ + \*---------------------------------------------------------------------------*/ + #if defined (__fcpnp__) + +-static int __devinit fritz_probe ( ++static int fritz_probe ( + struct pnp_dev * dev, + const struct pnp_device_id * id + ) { +@@ -229,7 +229,7 @@ + \*---------------------------------------------------------------------------*/ + #if defined (__fcpnp__) + +-static void __devexit fritz_remove (struct pnp_dev * dev) { ++static void fritz_remove (struct pnp_dev * dev) { + card_t * card; + + card = (card_t *) pnp_get_drvdata (dev); +@@ -253,7 +253,7 @@ + \*---------------------------------------------------------------------------*/ + #if defined (__fcpci__) + +-static int __devinit fritz_probe ( ++static int fritz_probe ( + struct pci_dev * dev, + const struct pci_device_id * id + ) { +@@ -294,7 +294,7 @@ + \*---------------------------------------------------------------------------*/ + #if defined (__fcpci__) + +-static void __devexit fritz_remove (struct pci_dev * dev) { ++static void fritz_remove (struct pci_dev * dev) { + card_t * card; + + card = (card_t *) pci_get_drvdata (dev); +@@ -322,7 +322,7 @@ + .name = TARGET, + .id_table = fcpci_id_table, + .probe = fritz_probe, +- .remove = __devexit_p(fritz_remove), ++ .remove = fritz_remove, + } ; + + #elif defined (__fcpnp__) +@@ -332,7 +332,7 @@ + .name = TARGET, + .id_table = fcpnp_id_table, + .probe = fritz_probe, +- .remove = __devexit_p(fritz_remove), ++ .remove = fritz_remove, + } ; + + #endif |