summaryrefslogtreecommitdiff
path: root/net-dialup/minicom
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-19 12:34:34 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-19 12:34:34 +0000
commit1d300fd75dc60cab2ca6e0bb0016b09a4fb7c67a (patch)
tree5dff362f093f67da764ce10a380ad9d14646b46e /net-dialup/minicom
parent78634f348a30a55cc55606ee1ecde032241ceaeb (diff)
gentoo auto-resync : 19:03:2023 - 12:34:33
Diffstat (limited to 'net-dialup/minicom')
-rw-r--r--net-dialup/minicom/Manifest1
-rw-r--r--net-dialup/minicom/minicom-2.8-r2.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/net-dialup/minicom/Manifest b/net-dialup/minicom/Manifest
index 8cfa5a23cc21..4cf1bbcf2557 100644
--- a/net-dialup/minicom/Manifest
+++ b/net-dialup/minicom/Manifest
@@ -4,4 +4,5 @@ AUX minicom-2.8-lockdir.patch 431 BLAKE2B 536586d955557d8250b76f7cec1571d7c0f4f3
AUX minirc.dfl 66 BLAKE2B fa087c52ace0bcc5915e58074b96f8d6b0304690dccdb5d2710a2d3c334825f05d89e75d9a613ac1c40a44bd1605cae8765d24a259212767e62fe3a6f8779b57 SHA512 dc6f65392ec4ee9e0f499596b6220cb23e443530a3802edc8805412a7999ffb48cb2f9f5c9f7a7ebfbbe166fdbf128847f00141c4f67c0176bb245081814955c
DIST minicom-2.8.tar.gz 948015 BLAKE2B 007a2975a996e2dd2390b1cf20e1a70c4bb1b57d224211d30e8d83a9d02a45c147df34bf409961a20ad3746cb6b5551c1e0702a05bb0a0a3f7f042d251b553be SHA512 5ced0ff79cec11464154561130ddc6a38865170d4e4d80185ada540ba173fe89e35703b6d7fd0cf86caef6e020fcad1d7b1fdb4d4f55e3ddb906aea6a4b81b36
EBUILD minicom-2.8-r1.ebuild 1241 BLAKE2B c5928733fe05e822f81d3303f924717f5b35528843fc5fe06153c5e668da42afb30eed50ffb1665d815fc724157cdcdab114e307f4d83cbe9844c47b53345f75 SHA512 9f93f14003bd579fa5e0af442b33d574d3cf1240c6de0792b17412fd158c6f93badbb2ac6f4e7b7302bc61c78f44f7c58fc0ab3607dcb2801d524967258622ae
+EBUILD minicom-2.8-r2.ebuild 1145 BLAKE2B 1247b1b78d9f6ea01b0aa942524b66f2a540f248a71a42c2db5da15ab4c826b183786735d87e813e814a6fbf22b722af154645176180df65ca29cfffa52c63d6 SHA512 9bad923be7f17ee607938d37921b0fc3d1de4667380235cc50784c8fd3cf91b5aeed4186c4ffcf7982b6fae6c872f76899548458f16deb22f223019de3d2e806
MISC metadata.xml 529 BLAKE2B 3b898729ec228a2557e80c69f47f73c4fa16e2cab7934c6c7792a8a4704fe7a428843dcc8e5c61416e0a3346e5f4dc3c932a6a72f15744ee530cc22c17145d2c SHA512 6a4a40a24146a5b33402ff508a47b0b159511930e564f3b4aad1b09016a48db7d1e127babe09d4ebee08321334ef669f3d48b9dc191f411fdf6766ae96131309
diff --git a/net-dialup/minicom/minicom-2.8-r2.ebuild b/net-dialup/minicom/minicom-2.8-r2.ebuild
new file mode 100644
index 000000000000..6a31287bdcb2
--- /dev/null
+++ b/net-dialup/minicom/minicom-2.8-r2.ebuild
@@ -0,0 +1,60 @@
+# 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
+)
+
+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
+}