1 |
chainsaw 11/07/06 11:19:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dahdi-2.4.1-r1.ebuild |
5 |
Log: |
6 |
Patch from Stefan Knoblich fixes compilation against 2.6.39 kernels; closes bug #372819 by Philipp Kugle. As requested by Diego "Flameeyes" Petteno, udev rules are now installed in /lib as they are not intended for user modification/customisation. CONFIG_MODULES is now also checked as the eclass does not do it for us. |
7 |
|
8 |
(Portage version: 2.1.10.4/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.19 net-misc/dahdi/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dahdi/ChangeLog?rev=1.19&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dahdi/ChangeLog?rev=1.19&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dahdi/ChangeLog?r1=1.18&r2=1.19 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/dahdi/ChangeLog,v |
20 |
retrieving revision 1.18 |
21 |
retrieving revision 1.19 |
22 |
diff -u -r1.18 -r1.19 |
23 |
--- ChangeLog 5 Jul 2011 09:03:45 -0000 1.18 |
24 |
+++ ChangeLog 6 Jul 2011 11:19:13 -0000 1.19 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for net-misc/dahdi |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi/ChangeLog,v 1.18 2011/07/05 09:03:45 flameeyes Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi/ChangeLog,v 1.19 2011/07/06 11:19:13 chainsaw Exp $ |
30 |
+ |
31 |
+*dahdi-2.4.1-r1 (06 Jul 2011) |
32 |
+ |
33 |
+ 06 Jul 2011; Tony Vroon <chainsaw@g.o> +dahdi-2.4.1-r1.ebuild: |
34 |
+ Patch from Stefan Knoblich fixes compilation against 2.6.39 kernels; closes |
35 |
+ bug #372819 by Philipp Kugle. As requested by Diego "Flameeyes" Petteno, udev |
36 |
+ rules are now installed in /lib as they are not intended for user |
37 |
+ modification/customisation. CONFIG_MODULES is now also checked as the eclass |
38 |
+ does not do it for us. |
39 |
|
40 |
05 Jul 2011; Diego E. Pettenò <flameeyes@g.o> dahdi-2.4.1.ebuild: |
41 |
Check whether CRC_CCITT is enabled in kernel configuration; if it is not, it |
42 |
|
43 |
|
44 |
|
45 |
1.1 net-misc/dahdi/dahdi-2.4.1-r1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dahdi/dahdi-2.4.1-r1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/dahdi/dahdi-2.4.1-r1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: dahdi-2.4.1-r1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2011 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi/dahdi-2.4.1-r1.ebuild,v 1.1 2011/07/06 11:19:13 chainsaw Exp $ |
55 |
|
56 |
EAPI=3 |
57 |
|
58 |
inherit base linux-mod eutils flag-o-matic |
59 |
|
60 |
MY_P="${P/dahdi/dahdi-linux}" |
61 |
S="${WORKDIR}/${MY_P}" |
62 |
|
63 |
DESCRIPTION="Kernel modules for Digium compatible hardware (formerly known as Zaptel)." |
64 |
HOMEPAGE="http://www.asterisk.org" |
65 |
SRC_URI="http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases/${MY_P}.tar.gz |
66 |
http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz |
67 |
http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-oct6114-064-1.05.01.tar.gz |
68 |
http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-oct6114-128-1.05.01.tar.gz |
69 |
http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-tc400m-MR6.12.tar.gz |
70 |
http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-hx8-2.06.tar.gz |
71 |
mirror://gentoo/gentoo-dahdi-patchset-0.6.tar.bz2" |
72 |
|
73 |
LICENSE="LGPL-2.1" |
74 |
SLOT="0" |
75 |
KEYWORDS="~amd64 ~x86" |
76 |
IUSE="flash" |
77 |
RESTRICT="test" |
78 |
|
79 |
DEPEND="" |
80 |
RDEPEND="" |
81 |
|
82 |
EPATCH_SUFFIX="diff" |
83 |
PATCHES=( "${WORKDIR}/dahdi-patchset" ) |
84 |
|
85 |
CONFIG_CHECK="CONFIG_MODULES CRC_CCITT" |
86 |
|
87 |
src_unpack() { |
88 |
unpack ${A} |
89 |
# Copy the firmware tarballs over, the makefile will try and download them otherwise |
90 |
for file in ${A} ; do |
91 |
cp "${DISTDIR}"/${file} "${MY_P}"/drivers/dahdi/firmware/ |
92 |
done |
93 |
# But without the .bin's it'll still fall over and die, so copy those too. |
94 |
cp *.bin "${MY_P}"/drivers/dahdi/firmware/ |
95 |
} |
96 |
|
97 |
src_prepare() { |
98 |
if use flash; then |
99 |
sed -i -e "s:/\* #define FXSFLASH \*/:#define FXSFLASH:" include/dahdi/dahdi_config.h |
100 |
sed -i -e "s:/\* #define SHORT_FLASH_TIME \*/:#define SHORT_FLASH_TIME:" include/dahdi/dahdi_config.h |
101 |
fi |
102 |
base_src_prepare |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
unset ARCH |
107 |
emake KSRC="${KERNEL_DIR}" DESTDIR="${D}" all || die "Compilation failed" |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
# setup directory structure so udev rules get installed |
112 |
mkdir -p "${D}"/etc/udev/rules.d |
113 |
|
114 |
einfo "Installing kernel module" |
115 |
emake KSRC="${KERNEL_DIR}" DESTDIR="${D}" install || die "Installation failed" |
116 |
rm -rf "$D"/lib/modules/*/modules.* |
117 |
} |