diff options
author | Jaco Kroon <jaco@uls.co.za> | 2019-12-06 19:34:10 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-01-10 07:15:26 +0200 |
commit | a3f4e70b0e37bb1cb8a96f18cbcaf1f354417802 (patch) | |
tree | b340bcf3b68a23fc891c943154f4bda89b307e40 /net-misc/dahdi-tools | |
parent | net-misc/dahdi: version bump to 3.1.0 (diff) | |
download | gentoo-a3f4e70b0e37bb1cb8a96f18cbcaf1f354417802.tar.gz gentoo-a3f4e70b0e37bb1cb8a96f18cbcaf1f354417802.tar.bz2 gentoo-a3f4e70b0e37bb1cb8a96f18cbcaf1f354417802.zip |
net-misc/dahdi-tools: version bump to 3.1.0
Closes: https://bugs.gentoo.org/674584
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
Closes: https://github.com/gentoo/gentoo/pull/13897
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc/dahdi-tools')
-rw-r--r-- | net-misc/dahdi-tools/Manifest | 1 | ||||
-rw-r--r-- | net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild | 53 | ||||
-rw-r--r-- | net-misc/dahdi-tools/files/dahdi-tools-3.1.0-parallel-make-no-config.patch | 19 |
3 files changed, 73 insertions, 0 deletions
diff --git a/net-misc/dahdi-tools/Manifest b/net-misc/dahdi-tools/Manifest index 96b8179bade5..7e02e29eb145 100644 --- a/net-misc/dahdi-tools/Manifest +++ b/net-misc/dahdi-tools/Manifest @@ -5,5 +5,6 @@ DIST dahdi-tools-2.11.1.tar.gz 1500037 BLAKE2B 84583633cf1e125e7e4203c9f3443765f DIST dahdi-tools-2.6.2.tar.gz 843572 BLAKE2B 5bdf3d8ad5a853b29bc93dbb33ab4015beee2f362aa8e2fcafabb4ae5cd4511479a392e8505d1da6448590538c5e3f9b213d3c6a8774446e314ee26077f56065 SHA512 3e0abb7cdfff072720bf48ccdb5cc43d183e0c3217b1eadfee7920f5b29cfe31f3b79d981516ae95232065c7686a87f169835802788cb1185c3c947feff275c3 DIST dahdi-tools-2.8.0.tar.gz 642755 BLAKE2B e235fdb17084df4fff6c4e18f0555cc5e6926d7adf7a443a018c6a267d6a4f2480d57c133be6ab682f64e7a798513ad5d35ac167574d666b44965208f4af4a85 SHA512 983e1dfe9bda130c3d0e60f44a79ebb75ae8ab9f27bd77d0355c58e901012465a37411fb1cdc97a131ac01ac892f37729f5853439aaba4ba5a4927c7a7997f81 DIST dahdi-tools-2.9.0.1.tar.gz 649990 BLAKE2B 46e8f77d57e1b0b5083994dc1eaba28009c69c9a8442e9c2f981c20d251f4126ea34713df0be12b2e57055637e0780b9a8166be9e4df574c462bf7dbd9c688a0 SHA512 2e16312d4f44aa50cbd7d843514aca06b8f1019b114a00ca5a76cf40ea9b8e937766e70c7628a76a991fa3ad8a12d36782c378a2ad783f9882f0225429794494 +DIST dahdi-tools-3.1.0.tar.gz 607449 BLAKE2B aa8ef197cbdecf5c892386aa1c25c940ed3f7c24884f588dcca975d34ee7b4c41722d2529fa305d7568d03302e10e6eb4d5df36a899315e05bf243163500b22d SHA512 e0e5bf24e4834ca39ef7dc1af1bb7ef26bd258a8b2cb2406a7e1ffed25b4b1d44a5fce41d97c5ad7fc6ebb66f965759d2b49ffa6d89845786f43eadb89ff4694 DIST gentoo-dahdi-tools-patchset-0.3.tar.bz2 2250 BLAKE2B 2ca4a699601fa1bcbbba4574596302164a022550d782acb8b6df85e1296dfb54eb44c6abe6b3ac3044684def4496a733a4bf542e99f0e11550537ba5fc75c9fe SHA512 15bba73140ede20f49f69419d9ef9a4f242d18ad2da6edee6e91c44fad7ddaf5aa7d6d9e5127c0af0f384d81b4bc8c3fae9e5504d13279abb7ac3db2d01b6a43 DIST gentoo-dahdi-tools-patchset-0.4.tar.bz2 2665 BLAKE2B 79698214b5f61112e678dd0ba24c4043a6506ced293576cbb8a26feede8cbb3b498caf6f450e96571bf3debcc9caf2712482d3c77b90e43c7bf8ea782ef99ef4 SHA512 e48797bd5e741ba94bfd2b19c088ae51812272dc67e7fac04a0c52df9a8371443112d0385e31fe0b812acfc4c912c8cc38e9c632131d5ede55afc43301e2c2be diff --git a/net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild b/net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild new file mode 100644 index 000000000000..2a8c5a467685 --- /dev/null +++ b/net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools bash-completion-r1 perl-functions + +DESCRIPTION="Userspace tools to configure the kernel modules from net-misc/dahdi" +HOMEPAGE="https://www.asterisk.org" +SRC_URI="https://downloads.asterisk.org/pub/telephony/${PN}/releases/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="ppp" +PATCHES=( + "${FILESDIR}/dahdi-nondigium-blacklist.patch" + "${FILESDIR}/dahdi-tools-3.1.0-parallel-make-no-config.patch" +) + +DEPEND="dev-libs/newt + net-misc/dahdi + sys-kernel/linux-headers + virtual/libusb:0 + ppp? ( net-dialup/ppp )" +RDEPEND="${DEPEND}" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_with ppp) --with-perllib="$(perl_get_vendorlib)" +} + +src_install() { + local bashcompdir="$(get_bashcompdir)" + local bashcmd bashcmdtarget + + emake DESTDIR="${ED}" bashcompdir="${bashcompdir}" udevrulesdir=/lib/udev/rules.d install + emake DESTDIR="${ED}" install-config + + dosbin patgen pattest patlooptest hdlcstress hdlctest hdlcgen hdlcverify timertest + + # install init scripts + newinitd "${FILESDIR}"/dahdi.init2 dahdi + newinitd "${FILESDIR}"/dahdi-autoconf.init2 dahdi-autoconf + newconfd "${FILESDIR}"/dahdi-autoconf.conf2 dahdi-autoconf + + bashcomp_alias dahdi $(sed -nre 's/^complete -F .* //p' "${ED}${bashcompdir}/dahdi" || + die "Error parsing dahdi bash completion file for commands") +} 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 new file mode 100644 index 000000000000..9575966435e7 --- /dev/null +++ b/net-misc/dahdi-tools/files/dahdi-tools-3.1.0-parallel-make-no-config.patch @@ -0,0 +1,19 @@ +--- dahdi-tools-3.1.0/Makefile.am.o 2020-01-09 12:23:37.943059915 +0200 ++++ dahdi-tools-3.1.0/Makefile.am 2020-01-09 12:23:58.863036654 +0200 +@@ -1,7 +1,7 @@ + ACLOCAL_AMFLAGS = -I m4 + + LEGACY_MAKE = \ +- $(MAKE) -f $(srcdir)/Makefile.legacy \ ++ +$(MAKE) -f $(srcdir)/Makefile.legacy \ + top_srcdir=$(top_srcdir) \ + srcdir=$(srcdir) + +@@ -131,7 +131,6 @@ + install -m644 init.conf.sample $(DESTDIR)$(dahdiconfdir)/init.conf + install -m644 blacklist.sample $(DESTDIR)$(sysconfdir)/modprobe.d/dahdi-blacklist.conf + install -m644 modprobe.conf.sample $(DESTDIR)$(sysconfdir)/modprobe.d/dahdi.conf +- $(LEGACY_MAKE) config + + dahdiconfdir = @sysconfdir@/dahdi + dahdiconf_DATA = \ |