From 6abaca02d36f161c81e2d5ee467719a89f88b2c5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Jul 2021 11:59:22 +0100 Subject: gentoo resync (2) : 24.07.2021 --- net-misc/dahdi-tools/Manifest | 3 +- net-misc/dahdi-tools/dahdi-tools-3.1.0-r1.ebuild | 66 ------------------------ net-misc/dahdi-tools/dahdi-tools-3.1.0-r2.ebuild | 66 ++++++++++++++++++++++++ net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild | 60 --------------------- 4 files changed, 67 insertions(+), 128 deletions(-) delete mode 100644 net-misc/dahdi-tools/dahdi-tools-3.1.0-r1.ebuild create mode 100644 net-misc/dahdi-tools/dahdi-tools-3.1.0-r2.ebuild delete mode 100644 net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild (limited to 'net-misc/dahdi-tools') diff --git a/net-misc/dahdi-tools/Manifest b/net-misc/dahdi-tools/Manifest index 5780a3d81fca..c332d6323523 100644 --- a/net-misc/dahdi-tools/Manifest +++ b/net-misc/dahdi-tools/Manifest @@ -7,6 +7,5 @@ AUX dahdi-tools-3.1.0-fno-common.patch 1030 BLAKE2B ca9f8ce7116656f66107194c7cce AUX dahdi-tools-3.1.0-parallel-make-no-config.patch 681 BLAKE2B c72cc644d88514c836784511abd9d4c06009218a311dc937b32fe3bcd048ae17439a882ed6a5f159e619eea478d664552e59b7a2ff6b4331c9b44e7ed93033c8 SHA512 d368a0fb5b03618d4adb49c01a6ccb518a67b7e48a209b927878b71b68e4a4a1093574e394970f9d6426bd75b5ca737326f27fc8322654ce39f9b2b272813992 AUX dahdi.init2 582 BLAKE2B 2e273c929772428586f6800601cc0249a33f61c6aad474c19dd45d9d78a187a9fdd34d1ca26e0eed605fc9630c04b0b0ffd29214a5116749db94bf7609bb078a SHA512 684e8dea54a4f082345100f4d05ca286a085b99c46f0b3fa7300ca5d9a666657afb5405c1f14ac3ba4aba02ce39872e74b9c1cfe6321fd631fa6c39ae38e5ebb DIST dahdi-tools-3.1.0.tar.gz 607449 BLAKE2B aa8ef197cbdecf5c892386aa1c25c940ed3f7c24884f588dcca975d34ee7b4c41722d2529fa305d7568d03302e10e6eb4d5df36a899315e05bf243163500b22d SHA512 e0e5bf24e4834ca39ef7dc1af1bb7ef26bd258a8b2cb2406a7e1ffed25b4b1d44a5fce41d97c5ad7fc6ebb66f965759d2b49ffa6d89845786f43eadb89ff4694 -EBUILD dahdi-tools-3.1.0-r1.ebuild 2105 BLAKE2B 841b07107b0bd090a5c13df8d71aaa832e77d28832115203363841c00d27174c2736098316c2b967769e6c27d8ddd12a61ecd3dc56233de085b88f4bcdc229f5 SHA512 12fe5c95dda32abbe5d244a1d754df232289da30b1e150a1b02d01878f0618e1ac9c941718010784f1357c1e669641cdf73513aa3ed4b4f3495ccac7c8172580 -EBUILD dahdi-tools-3.1.0.ebuild 1692 BLAKE2B 7ed3148872c5975ad46517a4e687509610ebe57755be7e6ffbf5b1d8617f6a4ae12b7610d30eac5192199190e160d7ea6ee791e62f66deada89c40a39c15005e SHA512 e20f7a9fb034725b1b96a23630a5bfc37d2b90bf702343577328a1c1a078094ed93085e64f5be8a627570168916ab56efdbbe697f4fded5a5f774195b7f4d5f0 +EBUILD dahdi-tools-3.1.0-r2.ebuild 2107 BLAKE2B b948eceb9ffbb90b991a33319e9c607e9e4ab810dee34ce160d7f3e7708df9ec9ae70c9e97b4410a9fd4df29d5ebcefb1f89b26842fa9dcb5af4af0dc322a854 SHA512 a2afb9b44b897ff1905401a51789223d01b86d8a11f7e91fbfbe5395b8f6d11fcb2c10c39be4caba9a64b5eea3c8294b4adc2a0aded5bf794601220b9f3caacd MISC metadata.xml 473 BLAKE2B a1dc5e28f6ed28a92131b23462f4f5948643347786c3526c3496fb93f9f3d4d7b15afbcab367e9be32f8c99248e72abba5c9ce130ed1014a522be5aae3f1d241 SHA512 be7ceb43b06eedba076244b078ded1288e3509cfcc7df4513d2c4d9bb8b5feb356e2890e51ed7ff825a8b568e61273499e0d12f080c96f2014ba0a48af77289b diff --git a/net-misc/dahdi-tools/dahdi-tools-3.1.0-r1.ebuild b/net-misc/dahdi-tools/dahdi-tools-3.1.0-r1.ebuild deleted file mode 100644 index 557e1849f862..000000000000 --- a/net-misc/dahdi-tools/dahdi-tools-3.1.0-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2021 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 ~arm ~arm64 ~ppc ~ppc64 x86" -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" - "${FILESDIR}/dahdi-tools-3.1.0-execinfo.patch" - "${FILESDIR}/dahdi-tools-3.1.0-cplusplusexternc.patch" -) - -DEPEND="dev-libs/newt - net-misc/dahdi - sys-kernel/linux-headers - virtual/libusb:0 - ppp? ( net-dialup/ppp )" -RDEPEND="${DEPEND} - dev-lang/perl:= - dev-perl/CGI" -BDEPEND="dev-lang/perl - sys-apps/file" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf $(use_with ppp) --with-perllib="$(perl_get_vendorlib)" - sed -re 's/ -Werror($|[[:space:]])//' -i xpp/oct612x/Makefile.in || die "sed to eliminate -Werror failed." - sed -re '/[[:space:]]*-Werror[[:space:]]*\\$/ d' -i xpp/xtalk/Makefile || die "sed to eliminate -Werror failed." -} - -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") - - rm "${ED}"/usr/$(get_libdir)/libtonezone.a || die "Unable to remove static libs from install." - # Delete *if* the libtool file exists, bug #778380 - find "${ED}" -name '*.la' -delete || die -} diff --git a/net-misc/dahdi-tools/dahdi-tools-3.1.0-r2.ebuild b/net-misc/dahdi-tools/dahdi-tools-3.1.0-r2.ebuild new file mode 100644 index 000000000000..33e37114b885 --- /dev/null +++ b/net-misc/dahdi-tools/dahdi-tools-3.1.0-r2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2021 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 ~arm ~arm64 ~ppc ~ppc64 x86" +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" + "${FILESDIR}/dahdi-tools-3.1.0-execinfo.patch" + "${FILESDIR}/dahdi-tools-3.1.0-cplusplusexternc.patch" +) + +DEPEND="dev-libs/newt + net-misc/dahdi + sys-kernel/linux-headers + virtual/libusb:0 + ppp? ( net-dialup/ppp:= )" +RDEPEND="${DEPEND} + dev-lang/perl:= + dev-perl/CGI" +BDEPEND="dev-lang/perl + sys-apps/file" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_with ppp) --with-perllib="$(perl_get_vendorlib)" + sed -re 's/ -Werror($|[[:space:]])//' -i xpp/oct612x/Makefile.in || die "sed to eliminate -Werror failed." + sed -re '/[[:space:]]*-Werror[[:space:]]*\\$/ d' -i xpp/xtalk/Makefile || die "sed to eliminate -Werror failed." +} + +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") + + rm "${ED}"/usr/$(get_libdir)/libtonezone.a || die "Unable to remove static libs from install." + # Delete *if* the libtool file exists, bug #778380 + find "${ED}" -name '*.la' -delete || die +} diff --git a/net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild b/net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild deleted file mode 100644 index 4aa6660067cc..000000000000 --- a/net-misc/dahdi-tools/dahdi-tools-3.1.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# 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 ~arm ~arm64 ~ppc ~ppc64 x86" -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" - "${FILESDIR}/dahdi-tools-3.1.0-execinfo.patch" - "${FILESDIR}/dahdi-tools-3.1.0-cplusplusexternc.patch" -) - -DEPEND="dev-libs/newt - net-misc/dahdi - sys-kernel/linux-headers - virtual/libusb:0 - ppp? ( net-dialup/ppp )" -RDEPEND="${DEPEND} - dev-lang/perl:= - dev-perl/CGI" -BDEPEND="dev-lang/perl - sys-apps/file" - -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") -} -- cgit v1.2.3