diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2010-04-13 12:04:21 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2010-04-13 12:04:21 +0000 |
commit | d5a17f74f4f7368a5451c7f1e19b0e59298ecd3d (patch) | |
tree | 8a98725a225a25f7117d5446d401b44c9be64836 /net-misc/dahdi | |
parent | stable x86, bug 310181 (diff) | |
download | gentoo-2-d5a17f74f4f7368a5451c7f1e19b0e59298ecd3d.tar.gz gentoo-2-d5a17f74f4f7368a5451c7f1e19b0e59298ecd3d.tar.bz2 gentoo-2-d5a17f74f4f7368a5451c7f1e19b0e59298ecd3d.zip |
Version bump, incorporating patches, bug reports, suggestions & other helpful input from Stefan Flemming, Michael Higgins, Oliver Jaksch, Jaco Kroon, Kerin "kerframil" Millar & Diego E. "Flameeyes" Pettenò. Closes bugs #296637, #302316, #302874, #305533, #308099 & #308467.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/dahdi')
-rw-r--r-- | net-misc/dahdi/ChangeLog | 12 | ||||
-rw-r--r-- | net-misc/dahdi/dahdi-2.2.1.1.ebuild | 55 |
2 files changed, 65 insertions, 2 deletions
diff --git a/net-misc/dahdi/ChangeLog b/net-misc/dahdi/ChangeLog index 661ae9db67d5..0d2343217d3b 100644 --- a/net-misc/dahdi/ChangeLog +++ b/net-misc/dahdi/ChangeLog @@ -1,6 +1,14 @@ # 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.2 2009/10/22 18:19:35 chainsaw Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi/ChangeLog,v 1.3 2010/04/13 12:04:21 chainsaw Exp $ + +*dahdi-2.2.1.1 (13 Apr 2010) + + 13 Apr 2010; <chainsaw@gentoo.org> +dahdi-2.2.1.1.ebuild: + Version bump, incorporating patches, bug reports, suggestions & other + helpful input from Stefan Flemming, Michael Higgins, Oliver Jaksch, Jaco + Kroon, Kerin "kerframil" Millar & Diego E. "Flameeyes" Pettenò. Closes + bugs #296637, #302316, #302874, #305533, #308099 & #308467. *dahdi-2.2.0.2 (22 Oct 2009) diff --git a/net-misc/dahdi/dahdi-2.2.1.1.ebuild b/net-misc/dahdi/dahdi-2.2.1.1.ebuild new file mode 100644 index 000000000000..0ac63087b0f6 --- /dev/null +++ b/net-misc/dahdi/dahdi-2.2.1.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi/dahdi-2.2.1.1.ebuild,v 1.1 2010/04/13 12:04:21 chainsaw Exp $ + +EAPI=3 + +inherit base linux-mod eutils flag-o-matic + +MY_P="${P/dahdi/dahdi-linux}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Kernel modules for Digium compatible hardware (formerly known as Zaptel)." +HOMEPAGE="http://www.asterisk.org" +SRC_URI="http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases/${MY_P}.tar.gz +http://downloads.asterisk.org/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.17.0.tar.gz +http://downloads.asterisk.org/pub/telephony/firmware/releases/dahdi-fw-oct6114-064-1.05.01.tar.gz +http://downloads.asterisk.org/pub/telephony/firmware/releases/dahdi-fw-oct6114-128-1.05.01.tar.gz +http://downloads.asterisk.org/pub/telephony/firmware/releases/dahdi-fw-tc400m-MR6.12.tar.gz +http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.20.0.tar.gz +mirror://gentoo/gentoo-dahdi-patchset-0.1.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="net-misc/asterisk" + +EPATCH_SUFFIX="diff" +PATCHES=( "${WORKDIR}/dahdi-patchset" ) + +src_unpack() { + unpack ${A} + # 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/ +} + +src_compile() { + unset ARCH + emake KSRC="${KERNEL_DIR}" DESTDIR="${D}" all || die "Compilation failed" +} + +src_install() { + # 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.* +} |