1 |
commit: a3f4e70b0e37bb1cb8a96f18cbcaf1f354417802 |
2 |
Author: Jaco Kroon <jaco <AT> uls <DOT> co <DOT> za> |
3 |
AuthorDate: Fri Dec 6 17:34:10 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 10 05:15:26 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3f4e70b |
7 |
|
8 |
net-misc/dahdi-tools: version bump to 3.1.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/674584 |
11 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
12 |
Signed-off-by: Jaco Kroon <jaco <AT> uls.co.za> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/13897 |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
net-misc/dahdi-tools/Manifest | 1 + |
17 |
net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild | 53 ++++++++++++++++++++++ |
18 |
...dahdi-tools-3.1.0-parallel-make-no-config.patch | 19 ++++++++ |
19 |
3 files changed, 73 insertions(+) |
20 |
|
21 |
diff --git a/net-misc/dahdi-tools/Manifest b/net-misc/dahdi-tools/Manifest |
22 |
index 96b8179bade..7e02e29eb14 100644 |
23 |
--- a/net-misc/dahdi-tools/Manifest |
24 |
+++ b/net-misc/dahdi-tools/Manifest |
25 |
@@ -5,5 +5,6 @@ DIST dahdi-tools-2.11.1.tar.gz 1500037 BLAKE2B 84583633cf1e125e7e4203c9f3443765f |
26 |
DIST dahdi-tools-2.6.2.tar.gz 843572 BLAKE2B 5bdf3d8ad5a853b29bc93dbb33ab4015beee2f362aa8e2fcafabb4ae5cd4511479a392e8505d1da6448590538c5e3f9b213d3c6a8774446e314ee26077f56065 SHA512 3e0abb7cdfff072720bf48ccdb5cc43d183e0c3217b1eadfee7920f5b29cfe31f3b79d981516ae95232065c7686a87f169835802788cb1185c3c947feff275c3 |
27 |
DIST dahdi-tools-2.8.0.tar.gz 642755 BLAKE2B e235fdb17084df4fff6c4e18f0555cc5e6926d7adf7a443a018c6a267d6a4f2480d57c133be6ab682f64e7a798513ad5d35ac167574d666b44965208f4af4a85 SHA512 983e1dfe9bda130c3d0e60f44a79ebb75ae8ab9f27bd77d0355c58e901012465a37411fb1cdc97a131ac01ac892f37729f5853439aaba4ba5a4927c7a7997f81 |
28 |
DIST dahdi-tools-2.9.0.1.tar.gz 649990 BLAKE2B 46e8f77d57e1b0b5083994dc1eaba28009c69c9a8442e9c2f981c20d251f4126ea34713df0be12b2e57055637e0780b9a8166be9e4df574c462bf7dbd9c688a0 SHA512 2e16312d4f44aa50cbd7d843514aca06b8f1019b114a00ca5a76cf40ea9b8e937766e70c7628a76a991fa3ad8a12d36782c378a2ad783f9882f0225429794494 |
29 |
+DIST dahdi-tools-3.1.0.tar.gz 607449 BLAKE2B aa8ef197cbdecf5c892386aa1c25c940ed3f7c24884f588dcca975d34ee7b4c41722d2529fa305d7568d03302e10e6eb4d5df36a899315e05bf243163500b22d SHA512 e0e5bf24e4834ca39ef7dc1af1bb7ef26bd258a8b2cb2406a7e1ffed25b4b1d44a5fce41d97c5ad7fc6ebb66f965759d2b49ffa6d89845786f43eadb89ff4694 |
30 |
DIST gentoo-dahdi-tools-patchset-0.3.tar.bz2 2250 BLAKE2B 2ca4a699601fa1bcbbba4574596302164a022550d782acb8b6df85e1296dfb54eb44c6abe6b3ac3044684def4496a733a4bf542e99f0e11550537ba5fc75c9fe SHA512 15bba73140ede20f49f69419d9ef9a4f242d18ad2da6edee6e91c44fad7ddaf5aa7d6d9e5127c0af0f384d81b4bc8c3fae9e5504d13279abb7ac3db2d01b6a43 |
31 |
DIST gentoo-dahdi-tools-patchset-0.4.tar.bz2 2665 BLAKE2B 79698214b5f61112e678dd0ba24c4043a6506ced293576cbb8a26feede8cbb3b498caf6f450e96571bf3debcc9caf2712482d3c77b90e43c7bf8ea782ef99ef4 SHA512 e48797bd5e741ba94bfd2b19c088ae51812272dc67e7fac04a0c52df9a8371443112d0385e31fe0b812acfc4c912c8cc38e9c632131d5ede55afc43301e2c2be |
32 |
|
33 |
diff --git a/net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild b/net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000000..2a8c5a46768 |
36 |
--- /dev/null |
37 |
+++ b/net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild |
38 |
@@ -0,0 +1,53 @@ |
39 |
+# Copyright 1999-2020 Gentoo Authors |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI=7 |
43 |
+ |
44 |
+inherit autotools bash-completion-r1 perl-functions |
45 |
+ |
46 |
+DESCRIPTION="Userspace tools to configure the kernel modules from net-misc/dahdi" |
47 |
+HOMEPAGE="https://www.asterisk.org" |
48 |
+SRC_URI="https://downloads.asterisk.org/pub/telephony/${PN}/releases/${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="LGPL-2.1" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
53 |
+IUSE="ppp" |
54 |
+PATCHES=( |
55 |
+ "${FILESDIR}/dahdi-nondigium-blacklist.patch" |
56 |
+ "${FILESDIR}/dahdi-tools-3.1.0-parallel-make-no-config.patch" |
57 |
+) |
58 |
+ |
59 |
+DEPEND="dev-libs/newt |
60 |
+ net-misc/dahdi |
61 |
+ sys-kernel/linux-headers |
62 |
+ virtual/libusb:0 |
63 |
+ ppp? ( net-dialup/ppp )" |
64 |
+RDEPEND="${DEPEND}" |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ default |
68 |
+ eautoreconf |
69 |
+} |
70 |
+ |
71 |
+src_configure() { |
72 |
+ econf $(use_with ppp) --with-perllib="$(perl_get_vendorlib)" |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ local bashcompdir="$(get_bashcompdir)" |
77 |
+ local bashcmd bashcmdtarget |
78 |
+ |
79 |
+ emake DESTDIR="${ED}" bashcompdir="${bashcompdir}" udevrulesdir=/lib/udev/rules.d install |
80 |
+ emake DESTDIR="${ED}" install-config |
81 |
+ |
82 |
+ dosbin patgen pattest patlooptest hdlcstress hdlctest hdlcgen hdlcverify timertest |
83 |
+ |
84 |
+ # install init scripts |
85 |
+ newinitd "${FILESDIR}"/dahdi.init2 dahdi |
86 |
+ newinitd "${FILESDIR}"/dahdi-autoconf.init2 dahdi-autoconf |
87 |
+ newconfd "${FILESDIR}"/dahdi-autoconf.conf2 dahdi-autoconf |
88 |
+ |
89 |
+ bashcomp_alias dahdi $(sed -nre 's/^complete -F .* //p' "${ED}${bashcompdir}/dahdi" || |
90 |
+ die "Error parsing dahdi bash completion file for commands") |
91 |
+} |
92 |
|
93 |
diff --git a/net-misc/dahdi-tools/files/dahdi-tools-3.1.0-parallel-make-no-config.patch b/net-misc/dahdi-tools/files/dahdi-tools-3.1.0-parallel-make-no-config.patch |
94 |
new file mode 100644 |
95 |
index 00000000000..9575966435e |
96 |
--- /dev/null |
97 |
+++ b/net-misc/dahdi-tools/files/dahdi-tools-3.1.0-parallel-make-no-config.patch |
98 |
@@ -0,0 +1,19 @@ |
99 |
+--- dahdi-tools-3.1.0/Makefile.am.o 2020-01-09 12:23:37.943059915 +0200 |
100 |
++++ dahdi-tools-3.1.0/Makefile.am 2020-01-09 12:23:58.863036654 +0200 |
101 |
+@@ -1,7 +1,7 @@ |
102 |
+ ACLOCAL_AMFLAGS = -I m4 |
103 |
+ |
104 |
+ LEGACY_MAKE = \ |
105 |
+- $(MAKE) -f $(srcdir)/Makefile.legacy \ |
106 |
++ +$(MAKE) -f $(srcdir)/Makefile.legacy \ |
107 |
+ top_srcdir=$(top_srcdir) \ |
108 |
+ srcdir=$(srcdir) |
109 |
+ |
110 |
+@@ -131,7 +131,6 @@ |
111 |
+ install -m644 init.conf.sample $(DESTDIR)$(dahdiconfdir)/init.conf |
112 |
+ install -m644 blacklist.sample $(DESTDIR)$(sysconfdir)/modprobe.d/dahdi-blacklist.conf |
113 |
+ install -m644 modprobe.conf.sample $(DESTDIR)$(sysconfdir)/modprobe.d/dahdi.conf |
114 |
+- $(LEGACY_MAKE) config |
115 |
+ |
116 |
+ dahdiconfdir = @sysconfdir@/dahdi |
117 |
+ dahdiconf_DATA = \ |