Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/dahdi-tools: ChangeLog dahdi-tools-2.2.0-r1.ebuild dahdi-tools-2.2.0.ebuild
Date: Tue, 22 Dec 2009 12:31:17
Message-Id: E1NN3tS-0000yJ-OO@stork.gentoo.org
1 chainsaw 09/12/22 12:31:14
2
3 Modified: ChangeLog
4 Added: dahdi-tools-2.2.0-r1.ebuild
5 Removed: dahdi-tools-2.2.0.ebuild
6 Log:
7 Install in perl vendor directory, not site as per bug #295105. Explicitly block zaptel as per bug #295107 (both by Diego E. "Flameeyes" Pettenò). Work around Gentoo-specific broken linux headers, closes bug #290918 by Chí-Thanh Christopher Nguyễn. Do not fiddle with the hardware in the Makefile, closes bug #296359 by Jaco Kroon.
8 (Portage version: 2.1.7.15/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.3 net-misc/dahdi-tools/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dahdi-tools/ChangeLog?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dahdi-tools/ChangeLog?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dahdi-tools/ChangeLog?r1=1.2&r2=1.3
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/dahdi-tools/ChangeLog,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- ChangeLog 28 Oct 2009 11:25:13 -0000 1.2
24 +++ ChangeLog 22 Dec 2009 12:31:14 -0000 1.3
25 @@ -1,6 +1,18 @@
26 # ChangeLog for net-misc/dahdi-tools
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi-tools/ChangeLog,v 1.2 2009/10/28 11:25:13 chainsaw Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi-tools/ChangeLog,v 1.3 2009/12/22 12:31:14 chainsaw Exp $
30 +
31 +*dahdi-tools-2.2.0-r1 (22 Dec 2009)
32 +
33 + 22 Dec 2009; <chainsaw@g.o> -dahdi-tools-2.2.0.ebuild,
34 + +dahdi-tools-2.2.0-r1.ebuild,
35 + +files/dahdi-tools-2.2.0-no-hardware-fiddling.patch,
36 + +files/dahdi-tools-2.2.0-vendorlib.patch:
37 + Install in perl vendor directory, not site as per bug #295105. Explicitly
38 + block zaptel as per bug #295107 (both by Diego E. "Flameeyes" Pettenò).
39 + Work around Gentoo-specific broken linux headers, closes bug #290918 by
40 + Chí-Thanh Christopher Nguyễn. Do not fiddle with the hardware in the
41 + Makefile, closes bug #296359 by Jaco Kroon.
42
43 *dahdi-tools-2.2.0 (28 Oct 2009)
44
45
46
47
48 1.1 net-misc/dahdi-tools/dahdi-tools-2.2.0-r1.ebuild
49
50 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dahdi-tools/dahdi-tools-2.2.0-r1.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/dahdi-tools/dahdi-tools-2.2.0-r1.ebuild?rev=1.1&content-type=text/plain
52
53 Index: dahdi-tools-2.2.0-r1.ebuild
54 ===================================================================
55 # Copyright 1999-2009 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi-tools/dahdi-tools-2.2.0-r1.ebuild,v 1.1 2009/12/22 12:31:14 chainsaw Exp $
58
59 EAPI=1
60 inherit eutils
61
62 DESCRIPTION="Userspace tools to configure the kernel modules from net-misc/dahdi"
63 HOMEPAGE="http://www.asterisk.org"
64 SRC_URI="http://downloads.digium.com/pub/telephony/dahdi-tools/releases/${P}.tar.gz"
65
66 LICENSE="GPL-2 LGPL-2.1"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86"
69 IUSE=""
70
71 DEPEND="net-misc/dahdi
72 !net-misc/zaptel
73 virtual/libusb:0"
74 RDEPEND="${DEPEND}"
75
76 src_unpack() {
77 unpack ${A}
78 cd "${S}"
79 # Work around broken 07_all_pull-libc-headers-linux.patch
80 # that seemingly nobody wants to fix.
81 if has_version ">sys-kernel/linux-headers-2.6.28-r1"; then
82 epatch "${FILESDIR}/${P}-ifreq.patch"
83 fi
84 epatch "${FILESDIR}/${P}-modprobe-suffix.patch"
85 epatch "${FILESDIR}/${P}-vendorlib.patch"
86 epatch "${FILESDIR}/${P}-no-hardware-fiddling.patch"
87 }
88
89 src_install() {
90 emake DESTDIR="${D}" install || die "Failed to install binaries"
91 emake DESTDIR="${D}" config || die "Failed to install configuration files"
92
93 # install init script
94 newinitd "${FILESDIR}"/dahdi.init2 dahdi
95 }