From 371178808a85e421080552980eccf3103749c36b Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Fri, 26 Aug 2011 12:32:16 +0200 Subject: Bump martian --- net-dialup/martian/ChangeLog | 3 ++ net-dialup/martian/Manifest | 6 +-- net-dialup/martian/martian-20080625.ebuild | 66 ------------------------------ net-dialup/martian/martian-20100123.ebuild | 59 ++++++++++++++++++++++++++ 4 files changed, 65 insertions(+), 69 deletions(-) delete mode 100644 net-dialup/martian/martian-20080625.ebuild create mode 100644 net-dialup/martian/martian-20100123.ebuild (limited to 'net-dialup') diff --git a/net-dialup/martian/ChangeLog b/net-dialup/martian/ChangeLog index 38d32d3e..8cf0e2f0 100644 --- a/net-dialup/martian/ChangeLog +++ b/net-dialup/martian/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header $ + 27 Aug 2011; Martin Väth + Version bump, remove old ebuild. + 26 Aug 2011; Martin Väth Force sublevel to fix broken version number test for >=linux-3.0 Fix breakage of grsecurity diff --git a/net-dialup/martian/Manifest b/net-dialup/martian/Manifest index 0c5189ea..992d99a3 100644 --- a/net-dialup/martian/Manifest +++ b/net-dialup/martian/Manifest @@ -1,5 +1,5 @@ AUX grsecurity.patch 239 RMD160 161fdb67c7d50e8670802617e8a608b8661f3fa1 SHA1 1af0afabd9dcb0dbe6e577fcc2de2e3ecb7244a8 SHA256 bdee550ba3bb0782532fa0a8cf079f62c735dd1ee4f5c29f7995152dc3aa2a54 -DIST martian-full-20080625.tar.gz 274510 RMD160 8110832e140d21e58ee5a6149f8143f8bf063821 SHA1 bc3bae2fe5a7519e37645be787ec45b313044150 SHA256 66761d2735bc59252e26535f08f9c7f4fa9bc5475d799fa06fc1781ab115cd91 -EBUILD martian-20080625.ebuild 1687 RMD160 10c9d78759876f6d11a4e4e4af75639fa097e0cc SHA1 1aea54cceeab1a5227274c07b32b96866dfabdae SHA256 f7d97c2f2262151be483780bc44f9ddafeaaf92467f5ef19815fe1d918f0b921 -MISC ChangeLog 523 RMD160 7a4aafeb9cd2facb67f207083396cd70463e34bf SHA1 5fa090132559e6bf70589d352205f7a4513d950d SHA256 69c0ba53b26ac5a24aeb465d5c2c56a5a2e5ce6c5534e6e20050cc39c054262b +DIST martian-full-20100123.tar.gz 275365 RMD160 3365491214a27ae2b7131d6db30765dbaf38e7fe SHA1 dc15f4f67d5e71930c5f5ea9541f125c59ef1660 SHA256 bf3ad369dc90e3ef7952e6bb7873b3121ce79a855060a1b4b4e3a1d8e7d08ac3 +EBUILD martian-20100123.ebuild 1426 RMD160 03d1183ecc8b888f15eb9b2153c947e6c7d61a26 SHA1 6e2ea105a4df4c02b31c3896cfe69dc670b99b17 SHA256 80079f1b4b7b985f71c987f792be2f2b00b7f5fe65bb8c9608a54ab996541d08 +MISC ChangeLog 623 RMD160 99a5ab1958607163ae0401d0cf4f8df681c2928a SHA1 484996361f47f3d0a277a600fe15c8c73a282b7f SHA256 ac40dd224180e1be903242addb004f617895d3510421af217b829297d940e183 MISC metadata.xml 264 RMD160 4c10b5dfc6857fcb2e9cdc91ff64bb5d4a5c2204 SHA1 69886f7e401bdf99a78d428ff4361991607e86c6 SHA256 dd28333300fc1ec2dbd96450bddbdd9e1061c1eff809e687442c53c91c05d86d diff --git a/net-dialup/martian/martian-20080625.ebuild b/net-dialup/martian/martian-20080625.ebuild deleted file mode 100644 index 9621cfe7..00000000 --- a/net-dialup/martian/martian-20080625.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header $ - -EAPI="4" -inherit linux-mod eutils - -ARCHRUMP="${PN}-full-${PV}" -DESCRIPTION="Winmodems with Lucent Apollo (ISA) and Mars (PCI) chipsets" -HOMEPAGE="http://linmodems.technion.ac.il/" -SRC_URI="http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/${ARCHRUMP}.tar.gz" - -LICENSE="GPL-2 AgereSystems-WinModem" -KEYWORDS="-* ~x86" -IUSE="" - -RESTRICT="mirror strip" - -DEPEND="" -RDEPEND="" - -S="${WORKDIR}/${ARCHRUMP}" - -MODULE_NAMES="martian_dev(ltmodem::kmodule)" -CONFIG_CHECK="SERIAL_8250" -SERIAL_8250_ERROR="This driver requires you to compile your kernel with serial core (CONFIG_SERIAL_8250) support." - -pkg_setup() { - linux-mod_pkg_setup - - if kernel_is 2 4 - then eerror "This driver works only with 2.6 kernels!" - die "unsupported kernel detected" - fi - - BUILD_TARGETS="all" - BUILD_PARAMS="KERNEL_DIR='${KV_DIR}' SUBLEVEL='21'" -} - -src_prepare() { - epatch "${FILESDIR}/grsecurity.patch" -} - -src_install() { - # install kernel module - linux-mod_src_install - dosbin modem/martian_modem -} - -pkg_postinst() { - linux-mod_pkg_postinst - - [ "$ROOT" = "/" ] && /sbin/update-modules - - ewarn - ewarn "To make the modem available modprobe martian_dev and run \"martian_modem\"." - ewarn "This will make the modem available as /dev/ttySM0." - ewarn "When using wvdial add \"Carrier Check = no\" line." - - if linux_chkconfig_present SMP - then ewarn - ewarn "Please note that Linux support for SMP (symmetric multi processor)" - ewarn "is reported to be incompatible with this driver!" - ewarn "In case it doesn't work, you should try first to disable CONFIG_SMP in your kernel." - fi -} diff --git a/net-dialup/martian/martian-20100123.ebuild b/net-dialup/martian/martian-20100123.ebuild new file mode 100644 index 00000000..00ae3cd3 --- /dev/null +++ b/net-dialup/martian/martian-20100123.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header $ + +EAPI="4" +inherit linux-mod eutils + +ARCHRUMP="${PN}-full-${PV}" +DESCRIPTION="Winmodems with Lucent Apollo (ISA) and Mars (PCI) chipsets" +HOMEPAGE="http://linmodems.technion.ac.il/" +SRC_URI="http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/${ARCHRUMP}.tar.gz" + +LICENSE="GPL-2 AgereSystems-WinModem" +KEYWORDS="-* ~x86" +IUSE="" + +RESTRICT="mirror strip" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/${ARCHRUMP}" + +MODULE_NAMES="martian_dev(ltmodem::kmodule)" +CONFIG_CHECK="SERIAL_8250" +SERIAL_8250_ERROR="This driver requires you to compile your kernel with serial core (CONFIG_SERIAL_8250) support." + +pkg_setup() { + linux-mod_pkg_setup + + if kernel_is lt 2 6 21 + then eerror "This driver works only with 2.6.21 or newer kernels!" + die "unsupported kernel detected" + fi + + BUILD_TARGETS="all" + BUILD_PARAMS="KERNEL_DIR='${KV_DIR}' SUBLEVEL='21'" +} + +src_prepare() { + epatch "${FILESDIR}/grsecurity.patch" +} + +src_install() { + # install kernel module + linux-mod_src_install + dosbin modem/martian_modem +} + +pkg_postinst() { + linux-mod_pkg_postinst + + [ "$ROOT" = "/" ] && /sbin/update-modules + + ewarn + ewarn "To make the modem available modprobe martian_dev and run \"martian_modem\"." + ewarn "This will make the modem available as /dev/ttySM0." + ewarn "When using wvdial add \"Carrier Check = no\" line." +} -- cgit v1.2.3-65-gdbad