From fc2f1018fc323ef2c6572734a9b130427cba76a6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Nov 2021 06:47:15 +0000 Subject: gentoo resync : 03.11.2021 --- net-libs/libtelnet/Manifest | 6 ++--- net-libs/libtelnet/libtelnet-0.23-r1.ebuild | 36 +++++++++++++++++++++++++++++ net-libs/libtelnet/libtelnet-0.23.ebuild | 24 ------------------- net-libs/libtelnet/libtelnet-9999.ebuild | 28 ++++++++++++++-------- net-libs/libtelnet/metadata.xml | 4 ++++ 5 files changed, 61 insertions(+), 37 deletions(-) create mode 100644 net-libs/libtelnet/libtelnet-0.23-r1.ebuild delete mode 100644 net-libs/libtelnet/libtelnet-0.23.ebuild (limited to 'net-libs/libtelnet') diff --git a/net-libs/libtelnet/Manifest b/net-libs/libtelnet/Manifest index 81914e006f74..e9c2557a2373 100644 --- a/net-libs/libtelnet/Manifest +++ b/net-libs/libtelnet/Manifest @@ -1,5 +1,5 @@ AUX libtelnet-9999-doc.patch 1317 BLAKE2B 07293a3658b80cccb147a75279ae7f6b9843101a0414233db33d8e4a2b6fd47283dd35a69942aff2f52775c359b5acf67f739434d5161ba13ed84eca62c95c45 SHA512 de7aef7504a3243fe01bcc11a78bc274f8662dc6fa472a1b6ab8fb84a1a518491d2343e4dd9817e6dbb0ba67fbd68406fd85ce4d1ae6e4e6469b3f71c3594d99 DIST libtelnet-0.23.tar.gz 241922 BLAKE2B 0436c3eb2085c0fc4262f30c86f634af33679a2381a54dbfe92e6f6196b825b100c9c35f78505191b7fea5360a16d9b960e35ff145cd177aaab50968b2fbe946 SHA512 da16a97d04bc6bb5959f431e0aaa03d08ac38e45ba870d7fe6161551ecfdbd5c37a2209cfb40a0f574e6ea0b5c2866c7461cc91d940d5bb5de09fe1584eeb780 -EBUILD libtelnet-0.23.ebuild 525 BLAKE2B b34c9786a5bbb01f4cdcf624affe9be4e869ca48bde96a94883f34edf15c5424799498a47da6f801c35b6273352197926d63467ca3274d5cbe3348f16f2b640f SHA512 73480b147a663b3a4ef29276ea3063dc74985f13f79f679cb40fb2ab71ed380cea4336a06bc021efa29fca4d5e6918f4c531b103de3d37c04ef43399ac6e4482 -EBUILD libtelnet-9999.ebuild 670 BLAKE2B b34ce45ad667eb5f3e545e498040148fda6160f06d6d98f983b32b389e358945fd2b145aea9a3cdb8d909ee82cdc389b8c440df33f86a5df24e75ba7f47b2eb8 SHA512 6b44868724045fd4df9157f86deeb84dfe06a1d08f5dcb3a0b524481129bb8ffba3d32f92913837486b4d6fe15df63ae2df09c51d46ba033cd62a4487840657a -MISC metadata.xml 353 BLAKE2B 30680fa4eb79173565e1190cd9e82d70a45c15ad051364cfd868d0bf8ab26f47d71787e345d12ea295acfd5a9395a7703c6097986580196cf4097e4865eda72c SHA512 e7c3f99ca00e1f8505d8d5f9f0ba15f17ed14bbe97b2534e3a2702263b294acec136bfa74319f6a4a62d4cf33e6f6aa68b067264cd3617e948484eb27bc74cd7 +EBUILD libtelnet-0.23-r1.ebuild 770 BLAKE2B 32f8e7e2b9130376b99788877971661fe11a029ff7b45ac3cd357a0b30d6e08badb5c679b950c826ae6384ab46193fe6491179f7f85052b7b249b199456bcb2b SHA512 5e0c4672195566f713f892ac04b0650b446c2c67ee21753c845c9f1021a8cf437ef4978a290c893d5c0e1564fe21f8b8e611de1a4504fa4031fb54353ca1a183 +EBUILD libtelnet-9999.ebuild 770 BLAKE2B 32f8e7e2b9130376b99788877971661fe11a029ff7b45ac3cd357a0b30d6e08badb5c679b950c826ae6384ab46193fe6491179f7f85052b7b249b199456bcb2b SHA512 5e0c4672195566f713f892ac04b0650b446c2c67ee21753c845c9f1021a8cf437ef4978a290c893d5c0e1564fe21f8b8e611de1a4504fa4031fb54353ca1a183 +MISC metadata.xml 467 BLAKE2B c5b25d5401e3d66331eb41fa429cd1dab9c53ee7a1307f4bd5783da5e6ea82f997243e41146bc1f3ae182213becff59e2dd4c8835768a8086d68c17da07105ec SHA512 37b8e0154e334a4661efaf28b11b8ef9f4ba05a6d874f7ad146f62db208294349659ce693d7ae9dcae0536f97f99444fd9d753eb56d3e233da39a2f9cd803f75 diff --git a/net-libs/libtelnet/libtelnet-0.23-r1.ebuild b/net-libs/libtelnet/libtelnet-0.23-r1.ebuild new file mode 100644 index 000000000000..bf00b8db2d1e --- /dev/null +++ b/net-libs/libtelnet/libtelnet-0.23-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/seanmiddleditch/libtelnet.git" + inherit git-r3 cmake +else + inherit autotools + SRC_URI="https://github.com/seanmiddleditch/libtelnet/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Simple RFC-compliant TELNET implementation as a C library" +HOMEPAGE="https://github.com/seanmiddleditch/libtelnet" + +LICENSE="public-domain" +SLOT="0" + +RDEPEND="sys-libs/zlib" +DEPEND="${RDEPEND}" +BDEPEND=" + app-doc/doxygen + virtual/pkgconfig +" + +src_prepare() { + default + if [[ ${PV} = *9999 ]]; then + eapply "${FILESDIR}"/${P}-doc.patch + cmake_src_prepare + else + eautoreconf + fi +} diff --git a/net-libs/libtelnet/libtelnet-0.23.ebuild b/net-libs/libtelnet/libtelnet-0.23.ebuild deleted file mode 100644 index 9577f3cce082..000000000000 --- a/net-libs/libtelnet/libtelnet-0.23.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="Simple RFC-compliant TELNET implementation as a C library" -HOMEPAGE="https://github.com/seanmiddleditch/libtelnet" -SRC_URI="https://github.com/seanmiddleditch/libtelnet/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -src_prepare() { - default - eautoreconf -} - -src_install() { - default - find "${D}" -type f -name '*.a' -delete || die -} diff --git a/net-libs/libtelnet/libtelnet-9999.ebuild b/net-libs/libtelnet/libtelnet-9999.ebuild index 9edf0466d6a4..bf00b8db2d1e 100644 --- a/net-libs/libtelnet/libtelnet-9999.ebuild +++ b/net-libs/libtelnet/libtelnet-9999.ebuild @@ -1,14 +1,13 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -inherit cmake +EAPI=8 if [[ ${PV} == *9999 ]]; then - inherit git-r3 EGIT_REPO_URI="https://github.com/seanmiddleditch/libtelnet.git" + inherit git-r3 cmake else + inherit autotools SRC_URI="https://github.com/seanmiddleditch/libtelnet/archive/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~x86" fi @@ -19,10 +18,19 @@ HOMEPAGE="https://github.com/seanmiddleditch/libtelnet" LICENSE="public-domain" SLOT="0" -# needed unconditionally for man pages -BDEPEND="app-doc/doxygen" +RDEPEND="sys-libs/zlib" +DEPEND="${RDEPEND}" +BDEPEND=" + app-doc/doxygen + virtual/pkgconfig +" -PATCHES=( - # https://bugs.gentoo.org/737886 - "${FILESDIR}/${P}-doc.patch" -) +src_prepare() { + default + if [[ ${PV} = *9999 ]]; then + eapply "${FILESDIR}"/${P}-doc.patch + cmake_src_prepare + else + eautoreconf + fi +} diff --git a/net-libs/libtelnet/metadata.xml b/net-libs/libtelnet/metadata.xml index c89666cddbfa..4ad42fec77ea 100644 --- a/net-libs/libtelnet/metadata.xml +++ b/net-libs/libtelnet/metadata.xml @@ -5,6 +5,10 @@ nativemad@gentoo.org Andreas Schuerch + + jsmolic@gentoo.org + Jakov Smolić + seanmiddleditch/libtelnet -- cgit v1.2.3