summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-09-12 20:43:21 +0000
committerSam James <sam@gentoo.org>2020-09-12 20:43:21 +0000
commit1e5c72511753dbf58e6555b34824f461ec96a3f0 (patch)
treef81c81042d8cf796b375a436525344950bbaa6e0
parentprofiles/package.mask: last-rite redundant dev-tex/biblatex-apa (diff)
downloadgentoo-1e5c72511753dbf58e6555b34824f461ec96a3f0.tar.gz
gentoo-1e5c72511753dbf58e6555b34824f461ec96a3f0.tar.bz2
gentoo-1e5c72511753dbf58e6555b34824f461ec96a3f0.zip
net-misc/termpkg: remove last-rited package
Bug: https://bugs.gentoo.org/707794 Bug: https://bugs.gentoo.org/712886 Bug: https://bugs.gentoo.org/725178 Closes: https://bugs.gentoo.org/730640 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--net-misc/termpkg/Manifest2
-rw-r--r--net-misc/termpkg/files/termnetd.confd14
-rw-r--r--net-misc/termpkg/files/termnetd.initd51
-rw-r--r--net-misc/termpkg/files/termpkg-3.3-ttydforfax.diff28
-rw-r--r--net-misc/termpkg/files/termpkg-3.3.9.1-gcc43.diff11
-rw-r--r--net-misc/termpkg/files/ttyd.confd63
-rw-r--r--net-misc/termpkg/files/ttyd.initd95
-rw-r--r--net-misc/termpkg/metadata.xml17
-rw-r--r--net-misc/termpkg/termpkg-3.3.9.1-r2.ebuild64
-rw-r--r--profiles/package.mask6
10 files changed, 0 insertions, 351 deletions
diff --git a/net-misc/termpkg/Manifest b/net-misc/termpkg/Manifest
deleted file mode 100644
index 6be9fccc25f..00000000000
--- a/net-misc/termpkg/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST termpkg_3.3-9.1.diff.gz 6759 BLAKE2B 94e139b2dfc4844dd13df075f8d0ab8b7bff482618c55b56d5cc1d67706b10cf04b6b135566980d4742edc46dfc65dcdd1d254bef96a57f4b62c5250a520537c SHA512 dbcba1bc020ead0ef5e4f2fb2e7ee50937dbd6d614e53547bf2473dc3cbf0f4f3100a15bcd200b815a4fcbfd454a08a3185cdb305c4f3bde389070b5545293d4
-DIST termpkg_3.3.orig.tar.gz 65807 BLAKE2B c4382d6689b3bac1f22407e55dd18373b36be1de88f0678ac93bc0dc9c43f07bc2172e4be86ae250d5ed8e9c89991f1842457f97eb646ec8054353d525d9ad7a SHA512 4dc1152af27af5edda66622435f5c5d46e9bbba9dc3e9e0d6349792efef9488993d9ea02eb8780bc05a0a29756a0ba3cf45bf8d1799906b55d166c287432c22c
diff --git a/net-misc/termpkg/files/termnetd.confd b/net-misc/termpkg/files/termnetd.confd
deleted file mode 100644
index 4eb95a989d4..00000000000
--- a/net-misc/termpkg/files/termnetd.confd
+++ /dev/null
@@ -1,14 +0,0 @@
-# Config file for /etc/init.d/termnetd
-
-# Set the configuration file to one other than the default of /etc/termnetd.conf
-#
-#CONFIG_FILE="/etc/termnetd.conf"
-
-# Sets the IP port to listen to for the control port (default = none).
-#
-#CONTROL_PORT=""
-
-# see the termnetd(1) manual page for additional options you can configure here
-#
-#EXTRA_OPTS=""
-
diff --git a/net-misc/termpkg/files/termnetd.initd b/net-misc/termpkg/files/termnetd.initd
deleted file mode 100644
index dfc422be667..00000000000
--- a/net-misc/termpkg/files/termnetd.initd
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Terminal Server daemon (${RC_SVCNAME#*.})"
-command="/usr/sbin/termnetd"
-name="${RC_SVCNAME}"
-
-extra_started_commands="reload"
-description_reload="Reread configuration file and make the appropriate changes"
-start_stop_daemon_args="--quiet --exec ${command} --name ${name}"
-
-depend() {
- use logger
- need net
-}
-
-config_check() {
- command_args="${EXTRA_OPTS}"
- CONFIG_FILE_DEFAULT="/etc/termnetd.conf"
-
- [ -z "${CONFIG_FILE}" ] && CONFIG_FILE="${CONFIG_FILE_DEFAULT}"
- [ -n "${CONTROL_PORT}" ] && command_args="${command_args} -s ${CONTROL_PORT}"
- [ "${CONFIG_FILE}" != "${CONFIG_FILE_DEFAULT}" ] && command_args="${command_args} -c ${CONFIG_FILE}"
-
- if [ ! -f "${CONFIG_FILE}" ]; then
- eerror "Please create ${CONFIG_FILE}"
- eerror "Sample conf: ${CONFIG_FILE_DEFAULT}.dist"
- return 1
- fi
- return 0
-}
-
-start() {
- config_check || return ${?}
- ebegin "Starting ${description}"
- start-stop-daemon --start ${start_stop_daemon_args} -- ${command_args}
- eend ${?}
-}
-
-stop() {
- ebegin "Stopping ${description}"
- start-stop-daemon --stop ${start_stop_daemon_args}
- eend ${?}
-}
-
-reload() {
- ebegin "Reloading ${description}"
- start-stop-daemon --signal HUP ${start_stop_daemon_args}
- eend ${?}
-}
diff --git a/net-misc/termpkg/files/termpkg-3.3-ttydforfax.diff b/net-misc/termpkg/files/termpkg-3.3-ttydforfax.diff
deleted file mode 100644
index 0471fde1315..00000000000
--- a/net-misc/termpkg/files/termpkg-3.3-ttydforfax.diff
+++ /dev/null
@@ -1,28 +0,0 @@
---- termpkg-3.3/termnet/ttyd.c.orig 2005-09-29 08:59:05.000000000 -1000
-+++ termpkg-3.3/termnet/ttyd.c 2005-09-29 08:51:33.000000000 -1000
-@@ -340,7 +340,10 @@
- char *cp;
- int x;
- for (cp = commbuf, x = 0; x < cnt; x++, cp++)
-+if (isprint(*cp))
- syslog(LOG_DEBUG, "ttyd: Have net char 0x%x, |%c|", *cp, *cp);
-+else
-+syslog(LOG_DEBUG, "ttyd: Have net char 0x%x", *cp);
- }
- write(fd, commbuf, cnt);
- }
-@@ -366,9 +369,13 @@
- char *cp;
- int x;
- for (cp = commbuf, x = 0; x < cnt; x++, cp++)
-+if (isprint(*cp))
- syslog(LOG_DEBUG, "ttyd: Have key char 0x%x, |%c|", *cp, *cp);
-+else
-+syslog(LOG_DEBUG, "ttyd: Have key char 0x%x", *cp);
- }
-- inputTerminal(commbuf, cnt);
-+// inputTerminal(commbuf, cnt);
-+write(fileno(tnlout), commbuf, cnt);
- }
- else
- break;
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
deleted file mode 100644
index 8d17fc5dd8b..00000000000
--- a/net-misc/termpkg/files/termpkg-3.3.9.1-gcc43.diff
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur termpkg-3.3.orig/libtn/SocketIO.c termpkg-3.3/libtn/SocketIO.c
---- termpkg-3.3.orig/libtn/SocketIO.c 2008-09-03 18:21:28.881220673 +0200
-+++ termpkg-3.3/libtn/SocketIO.c 2008-09-03 18:23:29.106343243 +0200
-@@ -25,6 +25,7 @@
- #endif
- #include <sys/socket.h>
- #include <netinet/in.h>
-+#include <arpa/inet.h>
- #include <fcntl.h>
- #include <string.h>
- #include <stdlib.h>
diff --git a/net-misc/termpkg/files/ttyd.confd b/net-misc/termpkg/files/ttyd.confd
deleted file mode 100644
index 5b0e2b8c000..00000000000
--- a/net-misc/termpkg/files/ttyd.confd
+++ /dev/null
@@ -1,63 +0,0 @@
-# Configfile for /etc/init.d/ttyd
-
-# HINT: if you only need one virtual TTY, then you can use this config.
-# Otherwise you should use it as a template for specific configurations.
-# Just copy /etc/conf.d/ttyd to /etc/conf.d/ttyd.<foo> and symlink
-# /etc/init.d/ttyd to /etc/init.d/ttyd.<foo>
-
-
-# Master pseudo tty device to open and wait for a connection on.
-# For reference, in Linux the master pseudo tty devices are the
-# devices /dev/pty[a-ep-z][0-9a-f] and the slave devices are
-# /dev/tty[a-ep-z][0-9a-f].
-#
-PTY="/dev/ptyp0"
-
-# The host and port parameters specify the host and IP port to
-# connect to when the slave pseudo device is opened.
-#
-HOST="host.example.com"
-PORT=3000
-
-# The optional mode and user options specify the filesystem
-# permissions of the slave pseudo device. We set them right
-# after the ttyd daemon has started. After stopping, we reset
-# them to the permissions of the master pseudo device.
-#
-#MODE=660
-#USER="root:uucp"
-
-# Sets the initial baud-rate of the device (optional).
-#
-#BAUDRATE=115200
-
-# Optional port settings. Specified by a string of one of
-# more of the following concatenated together with no
-# intervening spaces:
-#
-# 8: 8 bits/character
-# 7: 7 bits/character
-# 6: 6 bits/character
-# 5: 5 bits/character
-# N: No parity
-# E: Even parity
-# O: Odd parity
-# C0: No hardware flow control
-# C1: Hardware flow control
-# S0: No software flow control
-# S1: Software flow control
-#
-#PORT_SETTINGS="8NC0"
-
-# You can create symlinks to the slave pseudo device, so you
-# have an easy to remember name for your virtual device. You
-# can add as many links as you want, if you blank-seperate the
-# names. All links *must* be relative and beneath to /dev.
-#
-#SYMLINK="ttyd/modem ttyNET0"
-
-# Some odd programs just don't work with symlinks, so you
-# can also create hardlinks (even in addition to symlinks).
-# Same rules apply as for symlinks.
-#
-#HARDLINK="ttyS5"
diff --git a/net-misc/termpkg/files/ttyd.initd b/net-misc/termpkg/files/ttyd.initd
deleted file mode 100644
index 971789047a3..00000000000
--- a/net-misc/termpkg/files/ttyd.initd
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Remote Modem Utility (${RC_SVCNAME#*.})"
-command="/usr/sbin/ttyd"
-name="${RC_SVCNAME}"
-
-start_stop_daemon_args="--quiet --exec ${command} --name ${name}"
-
-depend() {
- use logger
- need net
-}
-
-config_check() {
- # sanitize PTY/TTY names
- DEV_PTY="/dev/${PTY/\/dev\/}"
- DEV_TTY="${DEV_PTY/\/pty//tty}"
-
- # create command args
- command_args="-d ${DEV_PTY}"
- [ -n "${BAUDRATE}" ] && command_args="${command_args} -b ${BAUDRATE}"
- [ -n "${PORT_SETTINGS}" ] && command_args="${command_args} -p ${PORT_SETTINGS}"
- command_args="${command_args} ${HOST} ${PORT}"
-}
-
-device_check() {
- if [ ! -e "${DEV_PTY}" ]; then
- eerror "PTY doesn't exist: ${DEV_PTY}"
- return 1
- fi
- if [ ! -e "${DEV_TTY}" ]; then
- eerror "TTY doesn't exist: ${DEV_TTY}"
- return 1
- fi
- return 0
-}
-
-linkrel() { # <from> <to>
- local LINK="${1%/*}/${2/\/dev\/}"
- echo "${LINK/\/dev\/}" | sed "s:[^/]\+/:../:g"
-}
-
-setup_links() {
- local LINK NODE
- for LINK in ${SYMLINK}; do
- NODE="/dev/${LINK/\/dev\/}"
- mkdir -p -- "${NODE%/*}" && ln -snf -- $(linkrel "${NODE}" "${DEV_TTY}") "${NODE}"
- done
- for LINK in ${HARDLINK}; do
- NODE="/dev/${LINK/\/dev\/}"
- mkdir -p -- "${NODE%/*}" && ln -nf -- "${DEV_TTY}" "${NODE}"
- done
-}
-
-unset_links() {
- local LINK LIST=""
- for LINK in ${SYMLINK} ${HARDLINK}; do
- LIST="${LIST} /dev/${LINK/\/dev\/}"
- done
- [ -n "${LIST}" ] && rm -f -- ${LIST}
-}
-
-setup_perms() {
- [ -n "${MODE}" ] && chmod "${MODE}" -- "${DEV_TTY}"
- [ -n "${USER}" ] && chown "${USER}" -- "${DEV_TTY}"
-}
-
-unset_perms() {
- [ -n "${USER}" ] && chown --reference "${DEV_PTY}" -- "${DEV_TTY}"
- [ -n "${MODE}" ] && chmod --reference "${DEV_PTY}" -- "${DEV_TTY}"
-}
-
-start() {
- config_check || return ${?}
- device_check || return ${?}
- ebegin "Starting ${description}"
- start-stop-daemon --start ${start_stop_daemon_args} -- ${command_args}
- if eend ${?}; then
- setup_perms
- setup_links
- return 0 # from here we never fail
- fi
-}
-
-stop() {
- config_check || return ${?}
- ebegin "Stopping ${description}"
- start-stop-daemon --stop ${start_stop_daemon_args}
- eend ${?}
- unset_links
- unset_perms
- return 0 # never fail
-}
diff --git a/net-misc/termpkg/metadata.xml b/net-misc/termpkg/metadata.xml
deleted file mode 100644
index e8581ff71c5..00000000000
--- a/net-misc/termpkg/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription lang="en">
- Termpkg is a terminal server daemon and simple telnet like client.
- Allows access to one or more serial ports through the telnet protocol.
- Can be configured to connect in a one to one relation of telnet ports
- to serial ports or in a round-robin fashion where one telnet port
- serves many serial ports.
- </longdescription>
- <use>
- <flag name="uucp">
- Adds support for uucp style device locking
- </flag>
- </use>
-</pkgmetadata>
diff --git a/net-misc/termpkg/termpkg-3.3.9.1-r2.ebuild b/net-misc/termpkg/termpkg-3.3.9.1-r2.ebuild
deleted file mode 100644
index 12eb8a94b92..00000000000
--- a/net-misc/termpkg/termpkg-3.3.9.1-r2.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit base toolchain-funcs versionator
-
-MY_PV=$(get_version_component_range 1-2)
-MY_PF=$(replace_version_separator 2 '-')
-
-DESCRIPTION="Termpkg, the Poor Man's Terminal Server"
-HOMEPAGE="http://www.linuxlots.com/~termpkg/"
-SRC_URI="mirror://debian/pool/main/t/termpkg/${PN}_${MY_PV}.orig.tar.gz
- mirror://debian/pool/main/t/termpkg/${PN}_${MY_PF}.diff.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+uucp"
-
-DEPEND="sys-devel/flex"
-RDEPEND=""
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-DOCS=(
- "README"
- "CHANGES"
- "termpkg.lsm"
-)
-
-PATCHES=(
- # debian patches
- "${WORKDIR}/${PN}_${MY_PF}.diff"
-
- # gentoo patches
- "${FILESDIR}/${P}-gcc43.diff"
-
- # iaxmodem patches
- "${FILESDIR}/${PN}-${MY_PV}-ttydforfax.diff"
-)
-
-src_configure() {
- ./configure LINUX $(use uucp && echo UUCP_LOCKING)
-}
-
-src_compile() {
- emake -C linux CC=$(tc-getCC) LIBS="${LDFLAGS}"
-}
-
-src_install() {
- local X
- base_src_install_docs
- dobin linux/bin/termnet
- dosbin linux/bin/{termnetd,ttyd}
- newdoc debian/changelog ChangeLog.debian
- doman doc/*.1
- insinto /etc
- newins debian/termnetd.conf termnetd.conf.dist
- for X in termnetd ttyd; do
- newinitd "${FILESDIR}/${X}.initd" "${X}"
- newconfd "${FILESDIR}/${X}.confd" "${X}"
- done
-}
diff --git a/profiles/package.mask b/profiles/package.mask
index fe2f81b8284..c56b64a4edf 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -774,12 +774,6 @@ sys-cluster/kube-scheduler
<net-wireless/gr-iqbal-0.38.1
<net-wireless/gr-osmosdr-0.2.0
-# Jonas Stein <jstein@gentoo.org> (2020-07-04)
-# Last rite, dead upstream, several open bugs.
-# Removal after 2020-09-01
-# Bug #730640
-net-misc/termpkg
-
# Stephan Hartmann <sultan@gentoo.org> (2020-09-06)
# Dev channel releases are only for people who
# are developers or want more experimental features