From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4BC03158089 for ; Sat, 23 Sep 2023 16:42:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7137D2BC014; Sat, 23 Sep 2023 16:42:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4F06C2BC014 for ; Sat, 23 Sep 2023 16:42:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4305533E6A3 for ; Sat, 23 Sep 2023 16:42:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B72DC1242 for ; Sat, 23 Sep 2023 16:42:05 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1695487235.88c3f571aa4589d44f2477678df8e198f92cb9de.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/minicom/, net-dialup/minicom/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dialup/minicom/Manifest net-dialup/minicom/files/minicom-2.9-update-gettext.patch net-dialup/minicom/minicom-2.9.ebuild X-VCS-Directories: net-dialup/minicom/files/ net-dialup/minicom/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 88c3f571aa4589d44f2477678df8e198f92cb9de X-VCS-Branch: master Date: Sat, 23 Sep 2023 16:42:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 567c32d4-2c0f-41c6-b1bb-89fc760510ca X-Archives-Hash: 7f3588ebc7d0c0527cbdaa1c7f5b3ebd commit: 88c3f571aa4589d44f2477678df8e198f92cb9de Author: Viorel Munteanu gentoo org> AuthorDate: Sat Sep 23 16:40:35 2023 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Sat Sep 23 16:40:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88c3f571 net-dialup/minicom: add 2.9 Signed-off-by: Viorel Munteanu gentoo.org> net-dialup/minicom/Manifest | 1 + .../minicom/files/minicom-2.9-update-gettext.patch | 13 +++++ net-dialup/minicom/minicom-2.9.ebuild | 61 ++++++++++++++++++++++ 3 files changed, 75 insertions(+) diff --git a/net-dialup/minicom/Manifest b/net-dialup/minicom/Manifest index d3663f81bd2c..c03ddf96068c 100644 --- a/net-dialup/minicom/Manifest +++ b/net-dialup/minicom/Manifest @@ -1,2 +1,3 @@ DIST minicom-2.8.tar.gz 948015 BLAKE2B 007a2975a996e2dd2390b1cf20e1a70c4bb1b57d224211d30e8d83a9d02a45c147df34bf409961a20ad3746cb6b5551c1e0702a05bb0a0a3f7f042d251b553be SHA512 5ced0ff79cec11464154561130ddc6a38865170d4e4d80185ada540ba173fe89e35703b6d7fd0cf86caef6e020fcad1d7b1fdb4d4f55e3ddb906aea6a4b81b36 +DIST minicom-2.9.tar.gz 1044053 BLAKE2B 4c17f235d770ff9b4719c0ce9d3dfdb01603986d08cec245b1bfba5addbea597032bb06fc73c585886e035915dec990f37e9690b58d0a80a3e6faf8675485f96 SHA512 3bd41fa3b93b086c7b0fc851e9f46f241b13a037a4a325fc5e0ca6a4db7e9389443e8965891aa938a9c31ff848d50fd0cb88b98690a06737b5f3aca2520a60e2 DIST minicom-m4-2.8.tar.bz2 26016 BLAKE2B 0cff0bc3ca134b417fdabb5e2994afebaf89224b95c0b3843ec57e815f43778c8eab1f8df6098d756616a0c494812d9fabc4292eaeaa9c09afb62821ce852438 SHA512 d09e141b1b83f215dc11dcd33d0cd62000c46384ea86084edfb07b04a4d30c0d9e2dce49e5e8e78f3f70fb646737f1e55a9c1158906312575ca2f02db6283994 diff --git a/net-dialup/minicom/files/minicom-2.9-update-gettext.patch b/net-dialup/minicom/files/minicom-2.9-update-gettext.patch new file mode 100644 index 000000000000..4218d75e0e8c --- /dev/null +++ b/net-dialup/minicom/files/minicom-2.9-update-gettext.patch @@ -0,0 +1,13 @@ +Use REQUIRE so eautopoint --force will upgrade gettext to 0.22 if available. + +--- a/configure.ac ++++ b/configure.ac +@@ -131,7 +131,7 @@ ALL_LINGUAS="cs da de es fr fi hu id ja ka ko nb pl pt_BR ro ru rw sr sv vi zh_C + + dnl Checks for programs. + AM_GNU_GETTEXT([external]) +-AM_GNU_GETTEXT_VERSION([0.21]) ++AM_GNU_GETTEXT_REQUIRE_VERSION([0.21]) + + dnl This is a hacky workaround as the m4 scripts for iconv seem to set + dnl LIBICONV to '-liconv' despite that this lib is not available if iconv diff --git a/net-dialup/minicom/minicom-2.9.ebuild b/net-dialup/minicom/minicom-2.9.ebuild new file mode 100644 index 000000000000..42ec2d7e76f1 --- /dev/null +++ b/net-dialup/minicom/minicom-2.9.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Serial Communication Program" +HOMEPAGE="https://salsa.debian.org/minicom-team/minicom" +SRC_URI="https://salsa.debian.org/${PN}-team/${PN}/-/archive/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="nls" + +DEPEND="sys-libs/ncurses:=" + +RDEPEND=" + ${DEPEND} + net-dialup/lrzsz +" + +BDEPEND=" + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.8-gentoo-runscript.patch + "${FILESDIR}"/${PN}-2.8-lockdir.patch + "${FILESDIR}"/${PN}-2.9-update-gettext.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # Lockdir must exist if not manually specified. + # '/var/lock' is created by OpenRC. + local myeconfargs=( + # See bug #788142 + --sysconfdir="${EPREFIX}"/etc/${PN} + + --disable-rpath + --enable-lock-dir="/var/lock" + $(use_enable nls) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + # Needs to match --sysconfdir above + insinto /etc/minicom + doins "${FILESDIR}"/minirc.dfl +}