Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, net-misc/termpkg/files/, net-misc/termpkg/
Date: Sat, 12 Sep 2020 20:44:34
Message-Id: 1599943401.1e5c72511753dbf58e6555b34824f461ec96a3f0.sam@gentoo
1 commit: 1e5c72511753dbf58e6555b34824f461ec96a3f0
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 12 20:43:21 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 12 20:43:21 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e5c7251
7
8 net-misc/termpkg: remove last-rited package
9
10 Bug: https://bugs.gentoo.org/707794
11 Bug: https://bugs.gentoo.org/712886
12 Bug: https://bugs.gentoo.org/725178
13 Closes: https://bugs.gentoo.org/730640
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 net-misc/termpkg/Manifest | 2 -
17 net-misc/termpkg/files/termnetd.confd | 14 ----
18 net-misc/termpkg/files/termnetd.initd | 51 ------------
19 net-misc/termpkg/files/termpkg-3.3-ttydforfax.diff | 28 -------
20 net-misc/termpkg/files/termpkg-3.3.9.1-gcc43.diff | 11 ---
21 net-misc/termpkg/files/ttyd.confd | 63 --------------
22 net-misc/termpkg/files/ttyd.initd | 95 ----------------------
23 net-misc/termpkg/metadata.xml | 17 ----
24 net-misc/termpkg/termpkg-3.3.9.1-r2.ebuild | 64 ---------------
25 profiles/package.mask | 6 --
26 10 files changed, 351 deletions(-)
27
28 diff --git a/net-misc/termpkg/Manifest b/net-misc/termpkg/Manifest
29 deleted file mode 100644
30 index 6be9fccc25f..00000000000
31 --- a/net-misc/termpkg/Manifest
32 +++ /dev/null
33 @@ -1,2 +0,0 @@
34 -DIST termpkg_3.3-9.1.diff.gz 6759 BLAKE2B 94e139b2dfc4844dd13df075f8d0ab8b7bff482618c55b56d5cc1d67706b10cf04b6b135566980d4742edc46dfc65dcdd1d254bef96a57f4b62c5250a520537c SHA512 dbcba1bc020ead0ef5e4f2fb2e7ee50937dbd6d614e53547bf2473dc3cbf0f4f3100a15bcd200b815a4fcbfd454a08a3185cdb305c4f3bde389070b5545293d4
35 -DIST termpkg_3.3.orig.tar.gz 65807 BLAKE2B c4382d6689b3bac1f22407e55dd18373b36be1de88f0678ac93bc0dc9c43f07bc2172e4be86ae250d5ed8e9c89991f1842457f97eb646ec8054353d525d9ad7a SHA512 4dc1152af27af5edda66622435f5c5d46e9bbba9dc3e9e0d6349792efef9488993d9ea02eb8780bc05a0a29756a0ba3cf45bf8d1799906b55d166c287432c22c
36
37 diff --git a/net-misc/termpkg/files/termnetd.confd b/net-misc/termpkg/files/termnetd.confd
38 deleted file mode 100644
39 index 4eb95a989d4..00000000000
40 --- a/net-misc/termpkg/files/termnetd.confd
41 +++ /dev/null
42 @@ -1,14 +0,0 @@
43 -# Config file for /etc/init.d/termnetd
44 -
45 -# Set the configuration file to one other than the default of /etc/termnetd.conf
46 -#
47 -#CONFIG_FILE="/etc/termnetd.conf"
48 -
49 -# Sets the IP port to listen to for the control port (default = none).
50 -#
51 -#CONTROL_PORT=""
52 -
53 -# see the termnetd(1) manual page for additional options you can configure here
54 -#
55 -#EXTRA_OPTS=""
56 -
57
58 diff --git a/net-misc/termpkg/files/termnetd.initd b/net-misc/termpkg/files/termnetd.initd
59 deleted file mode 100644
60 index dfc422be667..00000000000
61 --- a/net-misc/termpkg/files/termnetd.initd
62 +++ /dev/null
63 @@ -1,51 +0,0 @@
64 -#!/sbin/openrc-run
65 -# Copyright 1999-2016 Gentoo Foundation
66 -# Distributed under the terms of the GNU General Public License v2
67 -
68 -description="Terminal Server daemon (${RC_SVCNAME#*.})"
69 -command="/usr/sbin/termnetd"
70 -name="${RC_SVCNAME}"
71 -
72 -extra_started_commands="reload"
73 -description_reload="Reread configuration file and make the appropriate changes"
74 -start_stop_daemon_args="--quiet --exec ${command} --name ${name}"
75 -
76 -depend() {
77 - use logger
78 - need net
79 -}
80 -
81 -config_check() {
82 - command_args="${EXTRA_OPTS}"
83 - CONFIG_FILE_DEFAULT="/etc/termnetd.conf"
84 -
85 - [ -z "${CONFIG_FILE}" ] && CONFIG_FILE="${CONFIG_FILE_DEFAULT}"
86 - [ -n "${CONTROL_PORT}" ] && command_args="${command_args} -s ${CONTROL_PORT}"
87 - [ "${CONFIG_FILE}" != "${CONFIG_FILE_DEFAULT}" ] && command_args="${command_args} -c ${CONFIG_FILE}"
88 -
89 - if [ ! -f "${CONFIG_FILE}" ]; then
90 - eerror "Please create ${CONFIG_FILE}"
91 - eerror "Sample conf: ${CONFIG_FILE_DEFAULT}.dist"
92 - return 1
93 - fi
94 - return 0
95 -}
96 -
97 -start() {
98 - config_check || return ${?}
99 - ebegin "Starting ${description}"
100 - start-stop-daemon --start ${start_stop_daemon_args} -- ${command_args}
101 - eend ${?}
102 -}
103 -
104 -stop() {
105 - ebegin "Stopping ${description}"
106 - start-stop-daemon --stop ${start_stop_daemon_args}
107 - eend ${?}
108 -}
109 -
110 -reload() {
111 - ebegin "Reloading ${description}"
112 - start-stop-daemon --signal HUP ${start_stop_daemon_args}
113 - eend ${?}
114 -}
115
116 diff --git a/net-misc/termpkg/files/termpkg-3.3-ttydforfax.diff b/net-misc/termpkg/files/termpkg-3.3-ttydforfax.diff
117 deleted file mode 100644
118 index 0471fde1315..00000000000
119 --- a/net-misc/termpkg/files/termpkg-3.3-ttydforfax.diff
120 +++ /dev/null
121 @@ -1,28 +0,0 @@
122 ---- termpkg-3.3/termnet/ttyd.c.orig 2005-09-29 08:59:05.000000000 -1000
123 -+++ termpkg-3.3/termnet/ttyd.c 2005-09-29 08:51:33.000000000 -1000
124 -@@ -340,7 +340,10 @@
125 - char *cp;
126 - int x;
127 - for (cp = commbuf, x = 0; x < cnt; x++, cp++)
128 -+if (isprint(*cp))
129 - syslog(LOG_DEBUG, "ttyd: Have net char 0x%x, |%c|", *cp, *cp);
130 -+else
131 -+syslog(LOG_DEBUG, "ttyd: Have net char 0x%x", *cp);
132 - }
133 - write(fd, commbuf, cnt);
134 - }
135 -@@ -366,9 +369,13 @@
136 - char *cp;
137 - int x;
138 - for (cp = commbuf, x = 0; x < cnt; x++, cp++)
139 -+if (isprint(*cp))
140 - syslog(LOG_DEBUG, "ttyd: Have key char 0x%x, |%c|", *cp, *cp);
141 -+else
142 -+syslog(LOG_DEBUG, "ttyd: Have key char 0x%x", *cp);
143 - }
144 -- inputTerminal(commbuf, cnt);
145 -+// inputTerminal(commbuf, cnt);
146 -+write(fileno(tnlout), commbuf, cnt);
147 - }
148 - else
149 - break;
150
151 diff --git a/net-misc/termpkg/files/termpkg-3.3.9.1-gcc43.diff b/net-misc/termpkg/files/termpkg-3.3.9.1-gcc43.diff
152 deleted file mode 100644
153 index 8d17fc5dd8b..00000000000
154 --- a/net-misc/termpkg/files/termpkg-3.3.9.1-gcc43.diff
155 +++ /dev/null
156 @@ -1,11 +0,0 @@
157 -diff -Naur termpkg-3.3.orig/libtn/SocketIO.c termpkg-3.3/libtn/SocketIO.c
158 ---- termpkg-3.3.orig/libtn/SocketIO.c 2008-09-03 18:21:28.881220673 +0200
159 -+++ termpkg-3.3/libtn/SocketIO.c 2008-09-03 18:23:29.106343243 +0200
160 -@@ -25,6 +25,7 @@
161 - #endif
162 - #include <sys/socket.h>
163 - #include <netinet/in.h>
164 -+#include <arpa/inet.h>
165 - #include <fcntl.h>
166 - #include <string.h>
167 - #include <stdlib.h>
168
169 diff --git a/net-misc/termpkg/files/ttyd.confd b/net-misc/termpkg/files/ttyd.confd
170 deleted file mode 100644
171 index 5b0e2b8c000..00000000000
172 --- a/net-misc/termpkg/files/ttyd.confd
173 +++ /dev/null
174 @@ -1,63 +0,0 @@
175 -# Configfile for /etc/init.d/ttyd
176 -
177 -# HINT: if you only need one virtual TTY, then you can use this config.
178 -# Otherwise you should use it as a template for specific configurations.
179 -# Just copy /etc/conf.d/ttyd to /etc/conf.d/ttyd.<foo> and symlink
180 -# /etc/init.d/ttyd to /etc/init.d/ttyd.<foo>
181 -
182 -
183 -# Master pseudo tty device to open and wait for a connection on.
184 -# For reference, in Linux the master pseudo tty devices are the
185 -# devices /dev/pty[a-ep-z][0-9a-f] and the slave devices are
186 -# /dev/tty[a-ep-z][0-9a-f].
187 -#
188 -PTY="/dev/ptyp0"
189 -
190 -# The host and port parameters specify the host and IP port to
191 -# connect to when the slave pseudo device is opened.
192 -#
193 -HOST="host.example.com"
194 -PORT=3000
195 -
196 -# The optional mode and user options specify the filesystem
197 -# permissions of the slave pseudo device. We set them right
198 -# after the ttyd daemon has started. After stopping, we reset
199 -# them to the permissions of the master pseudo device.
200 -#
201 -#MODE=660
202 -#USER="root:uucp"
203 -
204 -# Sets the initial baud-rate of the device (optional).
205 -#
206 -#BAUDRATE=115200
207 -
208 -# Optional port settings. Specified by a string of one of
209 -# more of the following concatenated together with no
210 -# intervening spaces:
211 -#
212 -# 8: 8 bits/character
213 -# 7: 7 bits/character
214 -# 6: 6 bits/character
215 -# 5: 5 bits/character
216 -# N: No parity
217 -# E: Even parity
218 -# O: Odd parity
219 -# C0: No hardware flow control
220 -# C1: Hardware flow control
221 -# S0: No software flow control
222 -# S1: Software flow control
223 -#
224 -#PORT_SETTINGS="8NC0"
225 -
226 -# You can create symlinks to the slave pseudo device, so you
227 -# have an easy to remember name for your virtual device. You
228 -# can add as many links as you want, if you blank-seperate the
229 -# names. All links *must* be relative and beneath to /dev.
230 -#
231 -#SYMLINK="ttyd/modem ttyNET0"
232 -
233 -# Some odd programs just don't work with symlinks, so you
234 -# can also create hardlinks (even in addition to symlinks).
235 -# Same rules apply as for symlinks.
236 -#
237 -#HARDLINK="ttyS5"
238
239 diff --git a/net-misc/termpkg/files/ttyd.initd b/net-misc/termpkg/files/ttyd.initd
240 deleted file mode 100644
241 index 971789047a3..00000000000
242 --- a/net-misc/termpkg/files/ttyd.initd
243 +++ /dev/null
244 @@ -1,95 +0,0 @@
245 -#!/sbin/openrc-run
246 -# Copyright 1999-2016 Gentoo Foundation
247 -# Distributed under the terms of the GNU General Public License v2
248 -
249 -description="Remote Modem Utility (${RC_SVCNAME#*.})"
250 -command="/usr/sbin/ttyd"
251 -name="${RC_SVCNAME}"
252 -
253 -start_stop_daemon_args="--quiet --exec ${command} --name ${name}"
254 -
255 -depend() {
256 - use logger
257 - need net
258 -}
259 -
260 -config_check() {
261 - # sanitize PTY/TTY names
262 - DEV_PTY="/dev/${PTY/\/dev\/}"
263 - DEV_TTY="${DEV_PTY/\/pty//tty}"
264 -
265 - # create command args
266 - command_args="-d ${DEV_PTY}"
267 - [ -n "${BAUDRATE}" ] && command_args="${command_args} -b ${BAUDRATE}"
268 - [ -n "${PORT_SETTINGS}" ] && command_args="${command_args} -p ${PORT_SETTINGS}"
269 - command_args="${command_args} ${HOST} ${PORT}"
270 -}
271 -
272 -device_check() {
273 - if [ ! -e "${DEV_PTY}" ]; then
274 - eerror "PTY doesn't exist: ${DEV_PTY}"
275 - return 1
276 - fi
277 - if [ ! -e "${DEV_TTY}" ]; then
278 - eerror "TTY doesn't exist: ${DEV_TTY}"
279 - return 1
280 - fi
281 - return 0
282 -}
283 -
284 -linkrel() { # <from> <to>
285 - local LINK="${1%/*}/${2/\/dev\/}"
286 - echo "${LINK/\/dev\/}" | sed "s:[^/]\+/:../:g"
287 -}
288 -
289 -setup_links() {
290 - local LINK NODE
291 - for LINK in ${SYMLINK}; do
292 - NODE="/dev/${LINK/\/dev\/}"
293 - mkdir -p -- "${NODE%/*}" && ln -snf -- $(linkrel "${NODE}" "${DEV_TTY}") "${NODE}"
294 - done
295 - for LINK in ${HARDLINK}; do
296 - NODE="/dev/${LINK/\/dev\/}"
297 - mkdir -p -- "${NODE%/*}" && ln -nf -- "${DEV_TTY}" "${NODE}"
298 - done
299 -}
300 -
301 -unset_links() {
302 - local LINK LIST=""
303 - for LINK in ${SYMLINK} ${HARDLINK}; do
304 - LIST="${LIST} /dev/${LINK/\/dev\/}"
305 - done
306 - [ -n "${LIST}" ] && rm -f -- ${LIST}
307 -}
308 -
309 -setup_perms() {
310 - [ -n "${MODE}" ] && chmod "${MODE}" -- "${DEV_TTY}"
311 - [ -n "${USER}" ] && chown "${USER}" -- "${DEV_TTY}"
312 -}
313 -
314 -unset_perms() {
315 - [ -n "${USER}" ] && chown --reference "${DEV_PTY}" -- "${DEV_TTY}"
316 - [ -n "${MODE}" ] && chmod --reference "${DEV_PTY}" -- "${DEV_TTY}"
317 -}
318 -
319 -start() {
320 - config_check || return ${?}
321 - device_check || return ${?}
322 - ebegin "Starting ${description}"
323 - start-stop-daemon --start ${start_stop_daemon_args} -- ${command_args}
324 - if eend ${?}; then
325 - setup_perms
326 - setup_links
327 - return 0 # from here we never fail
328 - fi
329 -}
330 -
331 -stop() {
332 - config_check || return ${?}
333 - ebegin "Stopping ${description}"
334 - start-stop-daemon --stop ${start_stop_daemon_args}
335 - eend ${?}
336 - unset_links
337 - unset_perms
338 - return 0 # never fail
339 -}
340
341 diff --git a/net-misc/termpkg/metadata.xml b/net-misc/termpkg/metadata.xml
342 deleted file mode 100644
343 index e8581ff71c5..00000000000
344 --- a/net-misc/termpkg/metadata.xml
345 +++ /dev/null
346 @@ -1,17 +0,0 @@
347 -<?xml version="1.0" encoding="UTF-8"?>
348 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
349 -<pkgmetadata>
350 - <!-- maintainer-needed -->
351 - <longdescription lang="en">
352 - Termpkg is a terminal server daemon and simple telnet like client.
353 - Allows access to one or more serial ports through the telnet protocol.
354 - Can be configured to connect in a one to one relation of telnet ports
355 - to serial ports or in a round-robin fashion where one telnet port
356 - serves many serial ports.
357 - </longdescription>
358 - <use>
359 - <flag name="uucp">
360 - Adds support for uucp style device locking
361 - </flag>
362 - </use>
363 -</pkgmetadata>
364
365 diff --git a/net-misc/termpkg/termpkg-3.3.9.1-r2.ebuild b/net-misc/termpkg/termpkg-3.3.9.1-r2.ebuild
366 deleted file mode 100644
367 index 12eb8a94b92..00000000000
368 --- a/net-misc/termpkg/termpkg-3.3.9.1-r2.ebuild
369 +++ /dev/null
370 @@ -1,64 +0,0 @@
371 -# Copyright 1999-2020 Gentoo Authors
372 -# Distributed under the terms of the GNU General Public License v2
373 -
374 -EAPI=4
375 -
376 -inherit base toolchain-funcs versionator
377 -
378 -MY_PV=$(get_version_component_range 1-2)
379 -MY_PF=$(replace_version_separator 2 '-')
380 -
381 -DESCRIPTION="Termpkg, the Poor Man's Terminal Server"
382 -HOMEPAGE="http://www.linuxlots.com/~termpkg/"
383 -SRC_URI="mirror://debian/pool/main/t/termpkg/${PN}_${MY_PV}.orig.tar.gz
384 - mirror://debian/pool/main/t/termpkg/${PN}_${MY_PF}.diff.gz"
385 -
386 -LICENSE="GPL-2"
387 -SLOT="0"
388 -KEYWORDS="~amd64 ~x86"
389 -IUSE="+uucp"
390 -
391 -DEPEND="sys-devel/flex"
392 -RDEPEND=""
393 -
394 -S="${WORKDIR}/${PN}-${MY_PV}"
395 -
396 -DOCS=(
397 - "README"
398 - "CHANGES"
399 - "termpkg.lsm"
400 -)
401 -
402 -PATCHES=(
403 - # debian patches
404 - "${WORKDIR}/${PN}_${MY_PF}.diff"
405 -
406 - # gentoo patches
407 - "${FILESDIR}/${P}-gcc43.diff"
408 -
409 - # iaxmodem patches
410 - "${FILESDIR}/${PN}-${MY_PV}-ttydforfax.diff"
411 -)
412 -
413 -src_configure() {
414 - ./configure LINUX $(use uucp && echo UUCP_LOCKING)
415 -}
416 -
417 -src_compile() {
418 - emake -C linux CC=$(tc-getCC) LIBS="${LDFLAGS}"
419 -}
420 -
421 -src_install() {
422 - local X
423 - base_src_install_docs
424 - dobin linux/bin/termnet
425 - dosbin linux/bin/{termnetd,ttyd}
426 - newdoc debian/changelog ChangeLog.debian
427 - doman doc/*.1
428 - insinto /etc
429 - newins debian/termnetd.conf termnetd.conf.dist
430 - for X in termnetd ttyd; do
431 - newinitd "${FILESDIR}/${X}.initd" "${X}"
432 - newconfd "${FILESDIR}/${X}.confd" "${X}"
433 - done
434 -}
435
436 diff --git a/profiles/package.mask b/profiles/package.mask
437 index fe2f81b8284..c56b64a4edf 100644
438 --- a/profiles/package.mask
439 +++ b/profiles/package.mask
440 @@ -774,12 +774,6 @@ sys-cluster/kube-scheduler
441 <net-wireless/gr-iqbal-0.38.1
442 <net-wireless/gr-osmosdr-0.2.0
443
444 -# Jonas Stein <jstein@g.o> (2020-07-04)
445 -# Last rite, dead upstream, several open bugs.
446 -# Removal after 2020-09-01
447 -# Bug #730640
448 -net-misc/termpkg
449 -
450 # Stephan Hartmann <sultan@g.o> (2020-09-06)
451 # Dev channel releases are only for people who
452 # are developers or want more experimental features