diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2011-10-26 09:20:17 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2011-10-26 09:20:17 +0000 |
commit | 01af5f79538a3391c99fffdf3a2a5ab2ade20260 (patch) | |
tree | c27a00c6309a2afb3a059552285729ef90531cda /net-misc/dahdi | |
parent | Patch by Erik Wallin to restore PRI symbols solves lack of working BRI PTMP s... (diff) | |
download | gentoo-2-01af5f79538a3391c99fffdf3a2a5ab2ade20260.tar.gz gentoo-2-01af5f79538a3391c99fffdf3a2a5ab2ade20260.tar.bz2 gentoo-2-01af5f79538a3391c99fffdf3a2a5ab2ade20260.zip |
Revised patch to build against stable hardened sources. Now uses Junghanns 1.13 drivers instead of 1.11. Respect KBUILD_OUTPUT as per Felix Tiede in bug #388085. Drop 2.5.0.1 from tree as it is unusable with the current stable hardened kernel.
(Portage version: 2.1.10.31/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/dahdi')
-rw-r--r-- | net-misc/dahdi/ChangeLog | 11 | ||||
-rw-r--r-- | net-misc/dahdi/dahdi-2.5.0.2.ebuild (renamed from net-misc/dahdi/dahdi-2.5.0.1.ebuild) | 16 |
2 files changed, 18 insertions, 9 deletions
diff --git a/net-misc/dahdi/ChangeLog b/net-misc/dahdi/ChangeLog index 1ae03b13d42a..c36d4573d878 100644 --- a/net-misc/dahdi/ChangeLog +++ b/net-misc/dahdi/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-misc/dahdi # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi/ChangeLog,v 1.29 2011/10/20 12:51:58 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi/ChangeLog,v 1.30 2011/10/26 09:20:17 chainsaw Exp $ + +*dahdi-2.5.0.2 (26 Oct 2011) + + 26 Oct 2011; Tony Vroon <chainsaw@gentoo.org> -dahdi-2.5.0.1.ebuild, + +dahdi-2.5.0.2.ebuild: + Revised patch to build against stable hardened sources. Now uses Junghanns + 1.13 drivers instead of 1.11. Respect KBUILD_OUTPUT as per Felix Tiede in bug + #388085. Drop 2.5.0.1 from tree as it is unusable with the current stable + hardened kernel. 20 Oct 2011; Tony Vroon <chainsaw@gentoo.org> dahdi-2.5.0.1.ebuild: CONFIG_CHECK was disabled during testing, I should have undone that. diff --git a/net-misc/dahdi/dahdi-2.5.0.1.ebuild b/net-misc/dahdi/dahdi-2.5.0.2.ebuild index 69e93f84ca29..f248ba6c1fab 100644 --- a/net-misc/dahdi/dahdi-2.5.0.1.ebuild +++ b/net-misc/dahdi/dahdi-2.5.0.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi/dahdi-2.5.0.1.ebuild,v 1.2 2011/10/20 12:51:58 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi/dahdi-2.5.0.2.ebuild,v 1.1 2011/10/26 09:20:17 chainsaw Exp $ EAPI=4 @@ -18,8 +18,8 @@ http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-oct6114-064 http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-oct6114-128-1.05.01.tar.gz http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-tc400m-MR6.12.tar.gz http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-hx8-2.06.tar.gz -mirror://gentoo/gentoo-dahdi-patchset-0.8.tar.bz2 -http://www.junghanns.net/downloads/jnet-dahdi-drivers-1.0.11.tar.gz" +mirror://gentoo/gentoo-dahdi-patchset-0.9.tar.bz2 +http://www.junghanns.net/downloads/jnet-dahdi-drivers-1.0.13.tar.gz" LICENSE="LGPL-2.1" SLOT="0" @@ -43,9 +43,9 @@ src_unpack() { done # But without the .bin's it'll still fall over and die, so copy those too. cp *.bin "${MY_P}"/drivers/dahdi/firmware/ - cp -p "${WORKDIR}"/jnet-dahdi-drivers-1.0.11/cwain/*.[ch] "${MY_P}"/drivers/dahdi/ - cp -p "${WORKDIR}"/jnet-dahdi-drivers-1.0.11/qozap/*.[ch] "${MY_P}"/drivers/dahdi/ - cp -p "${WORKDIR}"/jnet-dahdi-drivers-1.0.11/ztgsm/*.[ch] "${MY_P}"/drivers/dahdi/ + cp -p "${WORKDIR}"/jnet-dahdi-drivers-1.0.13/cwain/*.[ch] "${MY_P}"/drivers/dahdi/ + cp -p "${WORKDIR}"/jnet-dahdi-drivers-1.0.13/qozap/*.[ch] "${MY_P}"/drivers/dahdi/ + cp -p "${WORKDIR}"/jnet-dahdi-drivers-1.0.13/ztgsm/*.[ch] "${MY_P}"/drivers/dahdi/ } src_prepare() { @@ -58,11 +58,11 @@ src_prepare() { src_compile() { unset ARCH - emake CC=$(tc-getCC) LD=$(tc-getLD) KSRC="${KERNEL_DIR}" DESTDIR="${D}" DAHDI_MODULES_EXTRA="cwain.o qozap.o ztgsm.o" all + emake CC=$(tc-getCC) LD=$(tc-getLD) KSRC="${KBUILD_OUTPUT}" DESTDIR="${D}" DAHDI_MODULES_EXTRA="cwain.o qozap.o ztgsm.o" all } src_install() { einfo "Installing kernel module" - emake KSRC="${KERNEL_DIR}" DESTDIR="${D}" DAHDI_MODULES_EXTRA="cwain.o qozap.o ztgsm.o" install + emake KSRC="${KBUILD_OUTPUT}" DESTDIR="${D}" DAHDI_MODULES_EXTRA="cwain.o qozap.o ztgsm.o" install rm -rf "$D"/lib/modules/*/modules.* } |