summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2018-06-14 13:02:37 +0100
committerTony Vroon <chainsaw@gentoo.org>2018-06-14 13:02:48 +0100
commita077c2296ba1188e38394c4585e0d514b5b7eef5 (patch)
tree095b519cb1fb302b89be731deaab6017577154d2 /net-misc/dahdi-tools
parentdev-haskell/megaparsec: move maintainer to haskell@ (diff)
downloadgentoo-a077c2296ba1188e38394c4585e0d514b5b7eef5.tar.gz
gentoo-a077c2296ba1188e38394c4585e0d514b5b7eef5.tar.bz2
gentoo-a077c2296ba1188e38394c4585e0d514b5b7eef5.zip
net-misc/dahdi-tools: Version bump to 2.11.1
Ebuild updates by Jaco Kroon. Closes: https://bugs.gentoo.org/519242 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'net-misc/dahdi-tools')
-rw-r--r--net-misc/dahdi-tools/Manifest1
-rw-r--r--net-misc/dahdi-tools/dahdi-tools-2.11.1.ebuild53
-rw-r--r--net-misc/dahdi-tools/files/dahdi-nondigium-blacklist.patch12
3 files changed, 66 insertions, 0 deletions
diff --git a/net-misc/dahdi-tools/Manifest b/net-misc/dahdi-tools/Manifest
index 7102a9a1ab17..96b8179bade5 100644
--- a/net-misc/dahdi-tools/Manifest
+++ b/net-misc/dahdi-tools/Manifest
@@ -1,6 +1,7 @@
DIST dahdi-tools-2.10.0.tar.gz 655475 BLAKE2B da24593def6f1f08bc9a2cc98fcb06dafaf419410bac2f93b00d2085fb7ed2ad3b72ba7731ec368b54aad318057a2a1998bca5e56907729c9261c3c4bd0705fa SHA512 cf84d1117ac6b4dbd87db4a6ec072e945e64677fbd5dca169e06d954c599ce4ff9a80254aa3027bcc02f7770a5e0a3bcaca075aacfd28c62870d011801d0d225
DIST dahdi-tools-2.10.1.tar.gz 656275 BLAKE2B ee6d4679b22eefbd1bb0f6fb9375f5f0a42ba95418828c2e318469edf06bd9b6b59e826c821a10cda8a93861219fc8d15413280b05a2aa722e65e0c18e2abd70 SHA512 856116119336b1d51da1c263c95e361c379d61b672db69703f48fb260d570f9335169b8c53daf7d6b18725eb3112539fd9e229b257ff6e9d76a00e74a859da66
DIST dahdi-tools-2.10.2.tar.gz 656284 BLAKE2B 0636d88c1d65f09b569549cd2b03d4e2479de45faec8f55b49730ddb7b91a6e0f9a22d22fb37fddd70ce6451be78d42b6abf744d443356e8548312dd9af840cf SHA512 5030e5b5fee3ca7853da07a907a4a9e4e72b06d62cb315cf80c0978eac27d70d86024c32f0fc08e8f667f5d7c039968c862631cc310ce30008d52cd121c61004
+DIST dahdi-tools-2.11.1.tar.gz 1500037 BLAKE2B 84583633cf1e125e7e4203c9f3443765f15eec71ab669e0ec09921e8207fdd24320b6b0920f8af3b2c45bd1080abfe85569285757f1a8450f4e65ad8c9093549 SHA512 d13f799baeaecab4601a379fb703fc169906e873f71baa9d13d688b2a3f4490a1c59eea8bd50e1a08a0712b38e556f8a17d02a8ea5289a003ca91b570ae5b8a6
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
diff --git a/net-misc/dahdi-tools/dahdi-tools-2.11.1.ebuild b/net-misc/dahdi-tools/dahdi-tools-2.11.1.ebuild
new file mode 100644
index 000000000000..503d311eb7fa
--- /dev/null
+++ b/net-misc/dahdi-tools/dahdi-tools-2.11.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1
+
+DESCRIPTION="Userspace tools to configure the kernel modules from net-misc/dahdi"
+HOMEPAGE="http://www.asterisk.org"
+SRC_URI="http://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" )
+
+DEPEND="dev-libs/newt
+ ppp? ( net-dialup/ppp )
+ >=net-misc/dahdi-2.5.0
+ !net-misc/zaptel
+ >=sys-kernel/linux-headers-2.6.35
+ virtual/libusb:0"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf $(use_with ppp)
+}
+
+src_install() {
+ local bashcompdir="$(get_bashcompdir)"
+ local bashcmd bashcmdtarget
+
+ emake DESTDIR="${D}" bashcompdir="${bashcompdir}" udevrulesdir=/lib/udev/rules.d install
+ emake DESTDIR="${D}" 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
+
+ # Fix up bash completion ... to Gentoo standards...
+ for bashcmd in $(sed -nre 's/^complete -F .* //p' "${D}${bashcompdir}/dahdi"); do
+ if [ -z "${bashcmdtarget}" ]; then
+ mv "${D}${bashcompdir}/dahdi" "${D}${bashcompdir}/${bashcmd}"
+ bashcmdtarget="${bashcmd}"
+ else
+ dosym "${bashcmdtarget}" "${bashcompdir}/${bashcmd}"
+ fi
+ done
+}
diff --git a/net-misc/dahdi-tools/files/dahdi-nondigium-blacklist.patch b/net-misc/dahdi-tools/files/dahdi-nondigium-blacklist.patch
new file mode 100644
index 000000000000..3df8f166a56c
--- /dev/null
+++ b/net-misc/dahdi-tools/files/dahdi-nondigium-blacklist.patch
@@ -0,0 +1,12 @@
+diff -uNr dahdi-tools-2.8.0.ORIG/blacklist.sample dahdi-tools-2.8.0/blacklist.sample
+--- dahdi-tools-2.8.0/blacklist.sample.ORIG 2009-04-02 10:34:32.000000000 +0200
++++ dahdi-tools-2.8.0/blacklist.sample 2010-05-24 20:46:05.000000000 +0200
+@@ -14,6 +14,8 @@
+ blacklist wcb4xxp
+ blacklist wcaxx
+ blacklist wcte43x
++blacklist wcopenpci
++blacklist zaphfc
+
+ # Some mISDN drivers may try to attach to cards supported by DAHDI. If you
+ # have a card which is *not* supported by DAHDI but supported by one of the