net-dialup/minicom: Sync with Gentoo

It's from Gentoo commit 4bc0f7e69baeca4b6e4bd36e915be3e85e7dc89d.
This commit is contained in:
Flatcar Buildbot 2025-04-14 07:10:31 +00:00 committed by Krzesimir Nowak
parent 327ac5706a
commit 1d405dd24e
3 changed files with 0 additions and 76 deletions

View File

@ -1,2 +1 @@
DIST minicom-2.10.tar.gz 798751 BLAKE2B 1828b2670a71f8c94099cabc49b1e85ad35bd0491a78fe99a92d32176811d25b76afa74b417491f44bec40c1a7273e1bbc0ab9729dfa2626291b069b4447b919 SHA512 ced271a21b0ba97ad0b09093f341112d4c4f64f6b72631502acc136d2fb92eeb14965d4187fd8cfed0e0e2519b603b6e54d8dd780e666119ecfc5677203595e2 DIST minicom-2.10.tar.gz 798751 BLAKE2B 1828b2670a71f8c94099cabc49b1e85ad35bd0491a78fe99a92d32176811d25b76afa74b417491f44bec40c1a7273e1bbc0ab9729dfa2626291b069b4447b919 SHA512 ced271a21b0ba97ad0b09093f341112d4c4f64f6b72631502acc136d2fb92eeb14965d4187fd8cfed0e0e2519b603b6e54d8dd780e666119ecfc5677203595e2
DIST minicom-2.9.tar.gz 1044053 BLAKE2B 4c17f235d770ff9b4719c0ce9d3dfdb01603986d08cec245b1bfba5addbea597032bb06fc73c585886e035915dec990f37e9690b58d0a80a3e6faf8675485f96 SHA512 3bd41fa3b93b086c7b0fc851e9f46f241b13a037a4a325fc5e0ca6a4db7e9389443e8965891aa938a9c31ff848d50fd0cb88b98690a06737b5f3aca2520a60e2

View File

@ -1,14 +0,0 @@
--- a/configure.ac
+++ b/configure.ac
@@ -219,7 +219,10 @@
if test "x$UUCPLOCK" != x
then
- if test -d $UUCPLOCK
+ dnl If a lock directory was manually specified, do not test it actually,
+ dnl as that might not be true during a chroot build, and the
+ dnl packager is responsible for making sure it exists at runtime.
+ if true
then
AC_MSG_RESULT($UUCPLOCK)
AC_DEFINE_UNQUOTED(UUCPLOCK, "$UUCPLOCK", [Lock directory])

View File

@ -1,61 +0,0 @@
# 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 ~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
}