Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/minicom/files/, net-dialup/minicom/
Date: Sun, 19 Mar 2023 03:22:56
Message-Id: 1679194279.151902e0caf3f5a1d83a21fcd9aa98d4dff414a8.sam@gentoo
1 commit: 151902e0caf3f5a1d83a21fcd9aa98d4dff414a8
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 19 02:51:19 2023 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 19 02:51:19 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=151902e0
7
8 net-dialup/minicom: drop 2.7.1, 2.8
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-dialup/minicom/Manifest | 1 -
13 .../files/minicom-2.3-gentoo-runscript.patch | 55 --------------------
14 .../minicom/files/minicom-2.7.1-gcc-10.patch | 31 -----------
15 net-dialup/minicom/files/minicom-2.7.1-musl.patch | 24 ---------
16 net-dialup/minicom/minicom-2.7.1.ebuild | 56 --------------------
17 net-dialup/minicom/minicom-2.8.ebuild | 60 ----------------------
18 6 files changed, 227 deletions(-)
19
20 diff --git a/net-dialup/minicom/Manifest b/net-dialup/minicom/Manifest
21 index 920a2cf93f01..56424c22667d 100644
22 --- a/net-dialup/minicom/Manifest
23 +++ b/net-dialup/minicom/Manifest
24 @@ -1,2 +1 @@
25 -DIST minicom-2.7.1.tar.gz 863544 BLAKE2B 473dbf9695e16fdf23581b831d1b76f32a5b9f47cf82c6430386646a4ad04a58d61bea08ba032d0c4f779fd19d90d12270df317b719bad6cba63d921c197c87c SHA512 eb9679ac3a3d3585ea06c54407567898e50b981378656e7f8a241071c91054ff0928cc9023d2c79d1936588cdffa9426f4962b556e8daa1783add0c5ac59b5af
26 DIST minicom-2.8.tar.gz 948015 BLAKE2B 007a2975a996e2dd2390b1cf20e1a70c4bb1b57d224211d30e8d83a9d02a45c147df34bf409961a20ad3746cb6b5551c1e0702a05bb0a0a3f7f042d251b553be SHA512 5ced0ff79cec11464154561130ddc6a38865170d4e4d80185ada540ba173fe89e35703b6d7fd0cf86caef6e020fcad1d7b1fdb4d4f55e3ddb906aea6a4b81b36
27
28 diff --git a/net-dialup/minicom/files/minicom-2.3-gentoo-runscript.patch b/net-dialup/minicom/files/minicom-2.3-gentoo-runscript.patch
29 deleted file mode 100644
30 index ff72db966b85..000000000000
31 --- a/net-dialup/minicom/files/minicom-2.3-gentoo-runscript.patch
32 +++ /dev/null
33 @@ -1,55 +0,0 @@
34 -diff -ru minicom-2.3.orig/extras/scriptdemo minicom-2.3/extras/scriptdemo
35 ---- minicom-2.3.orig/extras/scriptdemo 2003-03-30 21:55:39.000000000 +0300
36 -+++ minicom-2.3/extras/scriptdemo 2008-04-20 05:27:19.000000000 +0300
37 -@@ -1,5 +1,5 @@
38 - # A little demonstration of the possibilities of "runscript".
39 --# This script can be executed by typing: "runscript scriptdemo".
40 -+# This script can be executed by typing: "/usr/bin/runscript scriptdemo".
41 - #
42 - # Adjust the stty's below to your system: BSD-like or SysV-like.
43 - # Linux ofcourse accepts both :-)
44 -diff -ru minicom-2.3.orig/man/minicom.1 minicom-2.3/man/minicom.1
45 ---- minicom-2.3.orig/man/minicom.1 2008-02-24 12:22:43.000000000 +0200
46 -+++ minicom-2.3/man/minicom.1 2008-04-20 05:27:19.000000000 +0300
47 -@@ -418,7 +418,7 @@
48 - .TP 0.5i
49 - .B D - Script program
50 - Which program to use as the script interpreter. Defaults to the
51 --program "runscript", but if you want to use something else (eg,
52 -+program "/usr/bin/runscript", but if you want to use something else (eg,
53 - /bin/sh or "expect") it is possible. Stdin and stdout are connected
54 - to the modem, stderr to the screen.
55 - .RS 0.5i
56 -diff -ru minicom-2.3.orig/man/runscript.1 minicom-2.3/man/runscript.1
57 ---- minicom-2.3.orig/man/runscript.1 2007-11-13 23:35:06.000000000 +0200
58 -+++ minicom-2.3/man/runscript.1 2008-04-20 05:27:19.000000000 +0300
59 -@@ -5,7 +5,7 @@
60 - .\" for conditions under which this file may be redistributed.
61 - .TH RUNSCRIPT 1 "$Date: 2008/04/20 02:39:28 $" "User's Manual"
62 - .SH NAME
63 --runscript \- script interpreter for minicom
64 -+/usr/bin/runscript \- script interpreter for minicom
65 - .SH SYNOPSIS
66 - .B runscript
67 - .RI "scriptname [logfile [homedir]]"
68 -diff -ru minicom-2.3.orig/src/rwconf.c minicom-2.3/src/rwconf.c
69 ---- minicom-2.3.orig/src/rwconf.c 2007-10-10 23:18:20.000000000 +0300
70 -+++ minicom-2.3/src/rwconf.c 2008-04-20 05:27:19.000000000 +0300
71 -@@ -118,7 +118,7 @@
72 - { N_("No"), 0, "kermreal" },
73 - { "3", 0, "colusage" },
74 - /* The script program */
75 -- { "runscript", 0, "scriptprog" },
76 -+ { "/usr/bin/runscript", 0, "scriptprog" },
77 - /* Modem parameters */
78 - { "~^M~AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0^M", 0, "minit" },
79 - { "^M~ATZ^M~", 0, "mreset" },
80 -@@ -246,7 +246,7 @@
81 - int matched;
82 -
83 - if (conftype == CONFIG_GLOBAL)
84 -- strcpy(P_SCRIPTPROG, "runscript");
85 -+ strcpy(P_SCRIPTPROG, "/usr/bin/runscript");
86 -
87 - line = malloc(line_size);
88 - if (!line) {
89
90 diff --git a/net-dialup/minicom/files/minicom-2.7.1-gcc-10.patch b/net-dialup/minicom/files/minicom-2.7.1-gcc-10.patch
91 deleted file mode 100644
92 index 43e057ce1fe8..000000000000
93 --- a/net-dialup/minicom/files/minicom-2.7.1-gcc-10.patch
94 +++ /dev/null
95 @@ -1,31 +0,0 @@
96 -https://bugs.gentoo.org/705836
97 ---- a/src/minicom.h
98 -+++ b/src/minicom.h
99 -@@ -109,13 +109,13 @@ EXTERN char *dial_tty; /* tty to use. */
100 -
101 - EXTERN char *dial_name; /* System we're conneced to */
102 - EXTERN char *dial_number; /* Number we've dialed. */
103 --EXTERN char *dial_user; /* Our username there */
104 --EXTERN char *dial_pass; /* Our password */
105 -+extern char *dial_user; /* Our username there */
106 -+extern char *dial_pass; /* Our password */
107 -
108 - #ifdef USE_SOCKET
109 --EXTERN int portfd_is_socket; /* File descriptor is a unix socket */
110 --EXTERN int portfd_is_connected; /* 1 if the socket is connected */
111 --EXTERN struct sockaddr_un portfd_sock_addr; /* the unix socket address */
112 -+extern int portfd_is_socket; /* File descriptor is a unix socket */
113 -+extern int portfd_is_connected; /* 1 if the socket is connected */
114 -+extern struct sockaddr_un portfd_sock_addr; /* the unix socket address */
115 - #define portfd_connected ((portfd_is_socket && !portfd_is_connected) \
116 - ? -1 : portfd)
117 - #else
118 -@@ -141,7 +141,7 @@ EXTERN int sbcolor; /* Status Bar Background Color */
119 - EXTERN int st_attr; /* Status Bar attributes. */
120 -
121 - /* jl 04.09.97 conversion tables */
122 --EXTERN unsigned char vt_outmap[256], vt_inmap[256];
123 -+extern unsigned char vt_outmap[256], vt_inmap[256];
124 -
125 - /* MARK updated 02/17/95 - history buffer */
126 - EXTERN int num_hist_lines; /* History buffer size */
127
128 diff --git a/net-dialup/minicom/files/minicom-2.7.1-musl.patch b/net-dialup/minicom/files/minicom-2.7.1-musl.patch
129 deleted file mode 100644
130 index da4ce13d0b8f..000000000000
131 --- a/net-dialup/minicom/files/minicom-2.7.1-musl.patch
132 +++ /dev/null
133 @@ -1,24 +0,0 @@
134 ---- a/src/dial.c
135 -+++ b/src/dial.c
136 -@@ -39,11 +39,9 @@
137 - #include "intl.h"
138 -
139 - #ifdef VC_MUSIC
140 --# if defined(__GLIBC__)
141 - # include <sys/ioctl.h>
142 - # include <sys/kd.h>
143 - # include <sys/time.h>
144 --# endif
145 - #endif
146 -
147 - enum { CURRENT_VERSION = 6 };
148 ---- a/src/getsdir.h
149 -+++ b/src/getsdir.h
150 -@@ -22,6 +22,7 @@
151 - * and licensing conditions. See the source, Luke.
152 - */
153 -
154 -+#include <sys/param.h>
155 - #include <dirent.h>
156 -
157 - typedef struct dirEntry { /* structure of data item */
158
159 diff --git a/net-dialup/minicom/minicom-2.7.1.ebuild b/net-dialup/minicom/minicom-2.7.1.ebuild
160 deleted file mode 100644
161 index 4ae4c38c5c6f..000000000000
162 --- a/net-dialup/minicom/minicom-2.7.1.ebuild
163 +++ /dev/null
164 @@ -1,56 +0,0 @@
165 -# Copyright 1999-2021 Gentoo Authors
166 -# Distributed under the terms of the GNU General Public License v2
167 -
168 -EAPI=6
169 -inherit autotools
170 -
171 -DESCRIPTION="Serial Communication Program"
172 -HOMEPAGE="https://salsa.debian.org/minicom-team/minicom"
173 -SRC_URI="https://alioth-archive.debian.org/releases/minicom/Source/${PV}/${P}.tar.gz"
174 -
175 -LICENSE="GPL-2"
176 -SLOT="0"
177 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
178 -IUSE="nls"
179 -
180 -COMMON_DEPEND="sys-libs/ncurses:="
181 -DEPEND="${COMMON_DEPEND}
182 - nls? ( sys-devel/gettext )"
183 -RDEPEND="${COMMON_DEPEND}
184 - net-dialup/lrzsz"
185 -
186 -DOCS="AUTHORS ChangeLog NEWS README doc/minicom.FAQ"
187 -S="${WORKDIR}/${PN}-2.7" # 2.7.1 specific
188 -
189 -PATCHES=(
190 - "${FILESDIR}"/${PN}-2.3-gentoo-runscript.patch
191 - "${FILESDIR}"/${PN}-2.7-lockdir.patch
192 - "${FILESDIR}"/${PN}-2.7.1-gcc-10.patch
193 - "${FILESDIR}"/${PN}-2.7.1-musl.patch
194 -)
195 -
196 -src_prepare() {
197 - default
198 - mv "${S}"/configure.{in,ac}
199 - eautoreconf
200 -}
201 -
202 -src_configure() {
203 - # Lockdir must exist if not manually specified.
204 - # /var/lock is created by openrc.
205 - LOCKDIR=/var/lock
206 - econf \
207 - --sysconfdir="${EPREFIX}"/etc/${PN} \
208 - --enable-lock-dir="${LOCKDIR}" \
209 - $(use_enable nls)
210 -}
211 -
212 -src_install() {
213 - default
214 - insinto /etc/minicom
215 - doins "${FILESDIR}"/minirc.dfl
216 -}
217 -
218 -pkg_preinst() {
219 - [[ -s ${EROOT}/etc/minicom/minirc.dfl ]] && rm -f "${ED}"/etc/minicom/minirc.dfl
220 -}
221
222 diff --git a/net-dialup/minicom/minicom-2.8.ebuild b/net-dialup/minicom/minicom-2.8.ebuild
223 deleted file mode 100644
224 index d68e0a208e56..000000000000
225 --- a/net-dialup/minicom/minicom-2.8.ebuild
226 +++ /dev/null
227 @@ -1,60 +0,0 @@
228 -# Copyright 1999-2021 Gentoo Authors
229 -# Distributed under the terms of the GNU General Public License v2
230 -
231 -EAPI=7
232 -
233 -inherit autotools
234 -
235 -DESCRIPTION="Serial Communication Program"
236 -HOMEPAGE="https://salsa.debian.org/minicom-team/minicom"
237 -SRC_URI="https://salsa.debian.org/${PN}-team/${PN}/-/archive/${PV}/${P}.tar.gz"
238 -
239 -LICENSE="GPL-2"
240 -SLOT="0"
241 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
242 -IUSE="nls"
243 -
244 -DEPEND="sys-libs/ncurses:="
245 -
246 -RDEPEND="
247 - ${DEPEND}
248 - net-dialup/lrzsz
249 -"
250 -
251 -BDEPEND="
252 - virtual/pkgconfig
253 - nls? ( sys-devel/gettext )
254 -"
255 -
256 -PATCHES=(
257 - "${FILESDIR}"/${PN}-2.8-gentoo-runscript.patch
258 - "${FILESDIR}"/${PN}-2.8-lockdir.patch
259 -)
260 -
261 -src_prepare() {
262 - default
263 - eautoreconf
264 -}
265 -
266 -src_configure() {
267 - # Lockdir must exist if not manually specified.
268 - # '/var/lock' is created by OpenRC.
269 - local myeconfargs=(
270 - --disable-rpath
271 - --enable-lock-dir="/var/lock"
272 - $(use_enable nls)
273 - )
274 -
275 - econf "${myeconfargs[@]}"
276 -}
277 -
278 -src_install() {
279 - default
280 -
281 - insinto /etc/minicom
282 - doins "${FILESDIR}"/minirc.dfl
283 -}
284 -
285 -pkg_preinst() {
286 - [[ -s "${EROOT}"/etc/minicom/minirc.dfl ]] && rm -f "${ED}"/etc/minicom/minirc.dfl
287 -}