public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/dahdi-tools/files/, net-misc/dahdi-tools/
@ 2018-06-14 12:02 Tony Vroon
  0 siblings, 0 replies; 4+ messages in thread
From: Tony Vroon @ 2018-06-14 12:02 UTC (permalink / raw
  To: gentoo-commits

commit:     a077c2296ba1188e38394c4585e0d514b5b7eef5
Author:     Tony Vroon <chainsaw <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 14 12:02:37 2018 +0000
Commit:     Tony Vroon <chainsaw <AT> gentoo <DOT> org>
CommitDate: Thu Jun 14 12:02:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a077c229

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

 net-misc/dahdi-tools/Manifest                      |  1 +
 net-misc/dahdi-tools/dahdi-tools-2.11.1.ebuild     | 53 ++++++++++++++++++++++
 .../files/dahdi-nondigium-blacklist.patch          | 12 +++++
 3 files changed, 66 insertions(+)

diff --git a/net-misc/dahdi-tools/Manifest b/net-misc/dahdi-tools/Manifest
index 7102a9a1ab1..96b8179bade 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 00000000000..503d311eb7f
--- /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 00000000000..3df8f166a56
--- /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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/dahdi-tools/files/, net-misc/dahdi-tools/
@ 2020-01-10  5:43 Joonas Niilola
  0 siblings, 0 replies; 4+ messages in thread
From: Joonas Niilola @ 2020-01-10  5:43 UTC (permalink / raw
  To: gentoo-commits

commit:     a3f4e70b0e37bb1cb8a96f18cbcaf1f354417802
Author:     Jaco Kroon <jaco <AT> uls <DOT> co <DOT> za>
AuthorDate: Fri Dec  6 17:34:10 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jan 10 05:15:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3f4e70b

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 <AT> uls.co.za>
Closes: https://github.com/gentoo/gentoo/pull/13897
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/dahdi-tools/Manifest                      |  1 +
 net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild      | 53 ++++++++++++++++++++++
 ...dahdi-tools-3.1.0-parallel-make-no-config.patch | 19 ++++++++
 3 files changed, 73 insertions(+)

diff --git a/net-misc/dahdi-tools/Manifest b/net-misc/dahdi-tools/Manifest
index 96b8179bade..7e02e29eb14 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 00000000000..2a8c5a46768
--- /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 00000000000..9575966435e
--- /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	= \


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/dahdi-tools/files/, net-misc/dahdi-tools/
@ 2020-03-18  8:30 Joonas Niilola
  0 siblings, 0 replies; 4+ messages in thread
From: Joonas Niilola @ 2020-03-18  8:30 UTC (permalink / raw
  To: gentoo-commits

commit:     ed252d14bce717deea5531e4306eeb591384024b
Author:     Jaco Kroon <jaco <AT> uls <DOT> co <DOT> za>
AuthorDate: Mon Mar 16 09:52:07 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Mar 18 08:30:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed252d14

net-misc/dahdi-tools: add gcc -fno-common patch.

Patch submitted upstream: https://issues.asterisk.org/jira/browse/DAHTOOL-85

Closes: https://bugs.gentoo.org/706832
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Jaco Kroon <jaco <AT> uls.co.za>
Closes: https://github.com/gentoo/gentoo/pull/14976
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild      |  1 +
 .../files/dahdi-tools-3.1.0-fno-common.patch       | 39 ++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild b/net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild
index 2a8c5a46768..eb1951f384c 100644
--- a/net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild
+++ b/net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild
@@ -16,6 +16,7 @@ IUSE="ppp"
 PATCHES=(
 	"${FILESDIR}/dahdi-nondigium-blacklist.patch"
 	"${FILESDIR}/dahdi-tools-3.1.0-parallel-make-no-config.patch"
+	"${FILESDIR}/dahdi-tools-3.1.0-fno-common.patch"
 )
 
 DEPEND="dev-libs/newt

diff --git a/net-misc/dahdi-tools/files/dahdi-tools-3.1.0-fno-common.patch b/net-misc/dahdi-tools/files/dahdi-tools-3.1.0-fno-common.patch
new file mode 100644
index 00000000000..3ca5bd2aa09
--- /dev/null
+++ b/net-misc/dahdi-tools/files/dahdi-tools-3.1.0-fno-common.patch
@@ -0,0 +1,39 @@
+diff --git a/xpp/mpptalk.c b/xpp/mpptalk.c
+index fdb34f1..8fb3687 100644
+--- a/xpp/mpptalk.c
++++ b/xpp/mpptalk.c
+@@ -237,7 +237,7 @@ union XTALK_PDATA(MPP) {
+ 		MEMBER(MPP, TWS_PORT_GET_REPLY);
+ 		MEMBER(MPP, TWS_PWR_GET);
+ 		MEMBER(MPP, TWS_PWR_GET_REPLY);
+-} PACKED members;
++} PACKED;
+ 
+ /*
+  * Statuses
+diff --git a/xpp/xtalk/xtalk_raw.c b/xpp/xtalk/xtalk_raw.c
+index 49e47d5..251a502 100644
+--- a/xpp/xtalk/xtalk_raw.c
++++ b/xpp/xtalk/xtalk_raw.c
+@@ -48,7 +48,7 @@ CMD_DEF(XTALK, ACK,
+ 
+ union XTALK_PDATA(XTALK) {
+ 	MEMBER(XTALK, ACK);
+-} PACKED members;
++} PACKED;
+ 
+ const struct xtalk_protocol	xtalk_raw_proto = {
+ 	.name	= "XTALK-RAW",
+diff --git a/xpp/xtalk/xtalk_sync.c b/xpp/xtalk/xtalk_sync.c
+index 18a5cad..ffa79d2 100644
+--- a/xpp/xtalk/xtalk_sync.c
++++ b/xpp/xtalk/xtalk_sync.c
+@@ -60,7 +60,7 @@ union XTALK_PDATA(XTALK) {
+ 	MEMBER(XTALK, ACK);
+ 	MEMBER(XTALK, PROTO_GET);
+ 	MEMBER(XTALK, PROTO_GET_REPLY);
+-} PACKED members;
++} PACKED;
+ 
+ const struct xtalk_protocol	xtalk_sync_proto = {
+ 	.name	= "XTALK-SYNC",


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/dahdi-tools/files/, net-misc/dahdi-tools/
@ 2022-07-15  1:47 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2022-07-15  1:47 UTC (permalink / raw
  To: gentoo-commits

commit:     4ba7f8cc3f3802f83f192d7d35291fd89e23d7d8
Author:     Jaco Kroon <jaco <AT> uls <DOT> co <DOT> za>
AuthorDate: Tue Jul  5 15:05:30 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 15 01:45:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ba7f8cc

net-misc/dahdi-tools: rev-bump to fix two bugs

The latter was fixed, then I didn't focus properly when updating for T1
support.

Closes: https://bugs.gentoo.org/855467
Closes: https://bugs.gentoo.org/855464
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jaco Kroon <jaco <AT> uls.co.za>
Closes: https://github.com/gentoo/gentoo/pull/26232
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...dahdi-tools-3.1.0-r3.ebuild => dahdi-tools-3.1.0-r4.ebuild} |  6 +++++-
 ...hdi-autoconf.init-3.1.0-r3 => dahdi-autoconf.init-3.1.0-r4} | 10 +++++-----
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/net-misc/dahdi-tools/dahdi-tools-3.1.0-r3.ebuild b/net-misc/dahdi-tools/dahdi-tools-3.1.0-r4.ebuild
similarity index 95%
rename from net-misc/dahdi-tools/dahdi-tools-3.1.0-r3.ebuild
rename to net-misc/dahdi-tools/dahdi-tools-3.1.0-r4.ebuild
index 4cdea940512c..4ccf762c64d7 100644
--- a/net-misc/dahdi-tools/dahdi-tools-3.1.0-r3.ebuild
+++ b/net-misc/dahdi-tools/dahdi-tools-3.1.0-r4.ebuild
@@ -54,7 +54,7 @@ src_install() {
 
 	# install init scripts
 	newinitd "${FILESDIR}"/dahdi.init2 dahdi
-	newinitd "${FILESDIR}"/dahdi-autoconf.init-3.1.0-r3 dahdi-autoconf
+	newinitd "${FILESDIR}"/dahdi-autoconf.init-3.1.0-r4 dahdi-autoconf
 	newconfd "${FILESDIR}"/dahdi-autoconf.conf2 dahdi-autoconf
 
 	bashcomp_alias dahdi $(sed -nre 's/^complete -F .* //p' "${ED}${bashcompdir}/dahdi" ||
@@ -68,3 +68,7 @@ src_install() {
 pkg_postinst() {
 	udev_reload
 }
+
+pkg_postrm() {
+	udev_reload
+}

diff --git a/net-misc/dahdi-tools/files/dahdi-autoconf.init-3.1.0-r3 b/net-misc/dahdi-tools/files/dahdi-autoconf.init-3.1.0-r4
similarity index 97%
rename from net-misc/dahdi-tools/files/dahdi-autoconf.init-3.1.0-r3
rename to net-misc/dahdi-tools/files/dahdi-autoconf.init-3.1.0-r4
index 3841aca8d18a..73ab07b8904f 100644
--- a/net-misc/dahdi-tools/files/dahdi-autoconf.init-3.1.0-r3
+++ b/net-misc/dahdi-tools/files/dahdi-autoconf.init-3.1.0-r4
@@ -150,20 +150,20 @@ dahdi_conf_span() {
 
 	case "${type}" in
 		digital-TE)
-			cfunc+="bri_te"
+			cfunc="${cfunc}bri_te"
 		;;
 		digital-NT)
-			cfunc+="bri_nt"
+			cfunc="${cfunc}bri_nt"
 		;;
 		digital-[TE]1)
-			cfunc+="$(echo "${type##*-}" | tr 'TE' 'te')"
+			cfunc="${cfunc}$(echo "${type##*-}" | tr 'TE' 'te')"
 			# Use CPE by default.  Unfortunately there is no easy
 			# way to detect CPE vs NET as far as I know and specifying
 			# in a config that you want NET mode seems the sanest way.
 			if yesno "${vname}"; then
-				cfunc+="_net"
+				cfunc="${cfunc}_net"
 			else
-				cfunc+="_cpe"
+				cfunc="${cfunc}_cpe"
 			fi
 		;;
 		*)


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-15  1:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-10  5:43 [gentoo-commits] repo/gentoo:master commit in: net-misc/dahdi-tools/files/, net-misc/dahdi-tools/ Joonas Niilola
  -- strict thread matches above, loose matches on Subject: below --
2022-07-15  1:47 Sam James
2020-03-18  8:30 Joonas Niilola
2018-06-14 12:02 Tony Vroon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox