* [gentoo-commits] gentoo-x86 commit in net-misc/dahdi: dahdi-2.2.0.2.ebuild ChangeLog
@ 2009-10-22 18:19 Tony Vroon (chainsaw)
0 siblings, 0 replies; only message in thread
From: Tony Vroon (chainsaw) @ 2009-10-22 18:19 UTC (permalink / raw
To: gentoo-commits
chainsaw 09/10/22 18:19:35
Modified: ChangeLog
Added: dahdi-2.2.0.2.ebuild
Log:
Version bump, closes bug #286829 by Jeremy Johnson. Build all target instead of modules target so echo cancellation becomes available, as suggested by Jay Pfeifer in bug #268652. Ported to 2.6.32 kernels (release candidate 5 at the time of writing), filed upstream bug. Quick hack for GCC4.4 compilation.
(Portage version: 2.1.7.1/cvs/Linux x86_64)
Revision Changes Path
1.2 net-misc/dahdi/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dahdi/ChangeLog?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dahdi/ChangeLog?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dahdi/ChangeLog?r1=1.1&r2=1.2
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/dahdi/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog 10 Mar 2009 16:32:11 -0000 1.1
+++ ChangeLog 22 Oct 2009 18:19:35 -0000 1.2
@@ -1,6 +1,20 @@
# ChangeLog for net-misc/dahdi
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi/ChangeLog,v 1.1 2009/03/10 16:32:11 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi/ChangeLog,v 1.2 2009/10/22 18:19:35 chainsaw Exp $
+
+*dahdi-2.2.0.2 (22 Oct 2009)
+
+ 22 Oct 2009; <chainsaw@gentoo.org> +dahdi-2.2.0.2.ebuild,
+ +files/dahdi-2.2.0.2-driver_data-2.6.32.patch,
+ +files/dahdi-2.2.0.2-gcc44-hack.patch,
+ +files/dahdi-2.2.0.2-includes.patch,
+ +files/dahdi-2.2.0.2-net-device-ops.patch,
+ +files/dahdi-2.2.0.2-no-depmod.patch:
+ Version bump, closes bug #286829 by Jeremy Johnson. Build all target
+ instead of modules target so echo cancellation becomes available, as
+ suggested by Jay Pfeifer in bug #268652. Ported to 2.6.32 kernels (release
+ candidate 5 at the time of writing), filed upstream bug. Quick hack for
+ GCC4.4 compilation.
*dahdi-2.1.0.4 (10 Mar 2009)
1.1 net-misc/dahdi/dahdi-2.2.0.2.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dahdi/dahdi-2.2.0.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dahdi/dahdi-2.2.0.2.ebuild?rev=1.1&content-type=text/plain
Index: dahdi-2.2.0.2.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi/dahdi-2.2.0.2.ebuild,v 1.1 2009/10/22 18:19:35 chainsaw Exp $
inherit linux-mod eutils flag-o-matic
MY_P="${P/dahdi/dahdi-linux}"
MY_S="${WORKDIR}/${MY_P}"
DESCRIPTION="Kernel modules for Digium compatible hardware (formerly known as Zaptel)."
HOMEPAGE="http://www.asterisk.org"
SRC_URI="http://downloads.digium.com/pub/telephony/dahdi-linux/releases/${MY_P}.tar.gz
http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.17.0.tar.gz
http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-oct6114-064-1.05.01.tar.gz
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-vpmadt032-1.07.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
src_unpack() {
unpack ${A}
# Fix udev rules to work with both asterisk and callweaver
sed -i 's/GROUP="asterisk"/GROUP="dialout"/' "${MY_S}"/build_tools/genudevrules
# Copy the firmware tarballs over, the makefile will try and download them otherwise
for file in ${A} ; do
cp "${DISTDIR}"/${file} "${MY_P}"/drivers/dahdi/firmware/
done
# But without the .bin's it'll still fall over and die, so copy those too.
cp *.bin "${MY_P}"/drivers/dahdi/firmware/
epatch "${FILESDIR}"/${P}-no-depmod.patch
# https://issues.asterisk.org/view.php?id=15747
epatch "${FILESDIR}"/${P}-net-device-ops.patch
# If you want TASK_INTERRUPTIBLE you need <linux/sched.h>, hmmkay?
epatch "${FILESDIR}"/${P}-includes.patch
# https://issues.asterisk.org/view.php?id=16114
epatch "${FILESDIR}"/${P}-driver_data-2.6.32.patch
# GCC 4.4 compatibility, the quick 'n dirty way
# error: dereferencing pointer to incomplete type
epatch "${FILESDIR}"/${P}-gcc44-hack.patch
}
src_compile() {
cd "${MY_P}"
unset ARCH
emake KSRC="${KERNEL_DIR}" DESTDIR="${D}" all || die "Compilation failed"
}
src_install() {
cd "${MY_P}"
# setup directory structure so udev rules get installed
mkdir -p "${D}"/etc/udev/rules.d
einfo "Installing kernel module"
emake KSRC="${KERNEL_DIR}" DESTDIR="${D}" install || die "Installation failed"
rm -rf "$D"/lib/modules/*/modules.*
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-10-22 18:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-22 18:19 [gentoo-commits] gentoo-x86 commit in net-misc/dahdi: dahdi-2.2.0.2.ebuild ChangeLog Tony Vroon (chainsaw)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox