drop comms/seyon, fails to build with -fno-common, essentially unmaintained

upstream since 1993, version in ports was even older
This commit is contained in:
sthen 2021-02-24 17:26:28 +00:00
parent 06e20cb110
commit c2f60aad26
18 changed files with 5 additions and 361 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.80 2021/01/02 14:51:45 jcs Exp $
# $OpenBSD: Makefile,v 1.81 2021/02/24 17:26:29 sthen Exp $
SUBDIR =
SUBDIR += amtterm
@ -46,7 +46,6 @@
SUBDIR += qpage
SUBDIR += rtl-sdr
SUBDIR += scmxx
SUBDIR += seyon
SUBDIR += sigrok
SUBDIR += smstools
SUBDIR += spisniffer

View File

@ -1,25 +0,0 @@
# $OpenBSD: Makefile,v 1.33 2019/07/12 20:43:48 sthen Exp $
COMMENT= communication package for X11
DISTNAME= Seyon-2.14b
PKGNAME= ${DISTNAME:L}
REVISION= 5
CATEGORIES= comms x11
MASTER_SITES= ftp://sipb.mit.edu/pub/seyon/
EXTRACT_SUFX= -tar.Z
FIX_EXTRACT_PERMISSIONS = Yes
# BSD
PERMIT_PACKAGE= Yes
WANTLIB= ICE SM X11 Xau Xdmcp Xaw Xext Xmu Xpm Xt c
CONFIGURE_STYLE=imake
WRKDIST= ${WRKDIR}/seyon
NO_TEST= Yes
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (Seyon-2.14b-tar.Z) = F6qPNSDe92M5vSuqacjqEQCWkwgRUewcIKT19PW0m8o=
SIZE (Seyon-2.14b-tar.Z) = 224819

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-Imakefile,v 1.1 2002/02/20 21:46:49 naddy Exp $
--- Imakefile.orig Sat Mar 27 22:20:12 1993
+++ Imakefile Wed Feb 20 22:31:21 2002
@@ -46,13 +46,6 @@ InstallAppDefaults(Seyon)
InstallAppDefaultsLong(Seyon-co,Seyon-color)
InstallNonExecFile(seyon.help,$(LIBDIR))
-install::
- @if [ ! -d $(HOME)/.seyon ]; then mkdir $(HOME)/.seyon; fi; \
- echo "=== Copying example files (no overwrite) to $(HOME)/.seyon ..."; \
- for i in phonelist protocols startup script.*; do \
- if [ ! -f $(HOME)/.seyon/$$i ]; then cp $$i $(HOME)/.seyon; fi;\
- done;
-
clean::
rm -f version.h y.tab.* SeParse.c

View File

@ -1,48 +0,0 @@
$OpenBSD: patch-SeDecl_h,v 1.2 2012/03/17 10:31:48 sthen Exp $
--- SeDecl.h.orig Fri Apr 23 11:09:50 1993
+++ SeDecl.h Sat Mar 17 10:27:59 2012
@@ -23,8 +23,6 @@ extern char *str_strip_lead_end_space(),
*expand_fname(),
itoa(),
*mport(),
- MdmReadChar(),
- TermReadChar(),
read_seyon_file();
extern long mbaud();
extern int open_modem(),
@@ -40,9 +38,11 @@ extern int open_modem(),
dial_number(),
redial(),
readbyte(),
+ usleep(),
CloseModem(),
OpenModem(),
+ MdmReadChar(),
MdmSetGetBaud(),
MdmSetGetCSize(),
MdmSetGetParity(),
@@ -50,13 +50,13 @@ extern int open_modem(),
MdmSetGetIStrip(),
MdmSaveRestoreAttr(),
Online(),
+ TermReadChar(),
SuspContTerminal(),
get_modem_fio();
extern FILE *open_file(),
*open_file_va();
extern void send_break(),
- usleep(),
show(),
showf(),
SeyonMessage(),
@@ -113,7 +113,7 @@ extern void send_break(),
PortToTty(),
do_exit(),
get_line(),
- getline(),
+ my_getline(),
lc_word(),
toggle_flag(),
cpmode(),

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-SeGeneric_c,v 1.1 2002/02/20 21:46:49 naddy Exp $
--- SeGeneric.c.orig Wed Feb 20 22:26:53 2002
+++ SeGeneric.c Wed Feb 20 22:27:07 2002
@@ -179,7 +179,7 @@ TtyTimedReadChar(fd, readChar, expireTim
* TtyReadChar: reads one character from the tty.
*/
-char
+int
TtyReadChar(fd, readChar)
int fd;
char *readChar;

View File

@ -1,38 +0,0 @@
$OpenBSD: patch-SeParse_y,v 1.1 2003/12/30 01:18:55 espie Exp $
--- SeParse.y.orig 2003-12-30 02:12:58.000000000 +0100
+++ SeParse.y 2003-12-30 02:13:27.000000000 +0100
@@ -81,20 +81,20 @@ main(int argc, char *argv[])
{
char long_line[1000];
- char input_str[] = "This(is, a, real, funky); script();
- Scripts(); Can(be); Multi(Line, \"Can't they?\");
- Commas(are, no, longer, optional, inside, arglists);
- Scripts(); Can(); contain(\"tabs \\t and backspaces \\b\");
- As(\"Well\\ as Quoted Strings\", and, '\"Quoted Strings inside
- quoted strings\"');
- esc(can, appear, outside, strings, ^z, \\012\\015\\n);
- But(parenthesis, should, match);
- We(\"have a funny way of specifying \\012 chars and even)\");
- backslashes( \" \\\\ \");
- new(\"in this version are ^m and ^A ctr-escapes, as in ^S^Q\");
- The(next, line, will, give, a, syntax, error, because, it, has, two, adj, functions,
- without, a, separating, semicolon);
- End() script()";
+ char input_str[] = "This(is, a, real, funky); script();\n"
+" Scripts(); Can(be); Multi(Line, \"Can't they?\");\n"
+" Commas(are, no, longer, optional, inside, arglists);\n"
+" Scripts(); Can(); contain(\"tabs \\t and backspaces \\b\");\n"
+" As(\"Well\\ as Quoted Strings\", and, '\"Quoted Strings inside\n"
+" quoted strings\"');\n"
+" esc(can, appear, outside, strings, ^z, \\012\\015\\n);\n"
+" But(parenthesis, should, match);\n"
+" We(\"have a funny way of specifying \\012 chars and even)\"); \n"
+" backslashes( \" \\\\ \");\n"
+" new(\"in this version are ^m and ^A ctr-escapes, as in ^S^Q\");\n"
+" The(next, line, will, give, a, syntax, error, because, it, has, two, adj, functions,\n"
+" without, a, separating, semicolon);\n"
+" End() script()";
printf("------ String to parse: \n%s\n\n---- Parsing begins:\n", input_str);
strcpy(long_line, input_str);

View File

@ -1,93 +0,0 @@
$OpenBSD: patch-SePort_c,v 1.1 2002/02/20 21:46:49 naddy Exp $
--- SePort.c.orig Wed Apr 21 15:38:31 1993
+++ SePort.c Wed Feb 20 22:31:21 2002
@@ -56,8 +56,8 @@
#define MAX_INPUT _POSIX_MAX_INPUT
#endif
-extern char TtyReadChar();
-extern int TtyReadStr(),
+extern int TtyReadChar(),
+ TtyReadStr(),
TtyTimedReadChar(),
TtyReadLine(),
TtyTimedWaitFor(),
@@ -627,19 +627,25 @@ mbaud(s)
#endif
break;
#if USE_NONSTD_BAUD
-#ifdef linux
case 57600:
+#ifdef linux
baudrate = B38400;
ser_io.flags &= ~ASYNC_SPD_MASK;
ser_io.flags |= ASYNC_SPD_HI;
+#else
+ baudrate = B57600;
+#endif
break;
case 115200:
+#ifdef linux
baudrate = B38400;
ser_io.flags &= ~ASYNC_SPD_MASK;
ser_io.flags |= ASYNC_SPD_VHI;
+#else
+ baudrate = B115200;
+#endif
break;
#endif
-#endif
default:
return (-1);
}
@@ -691,6 +697,14 @@ mbaud(s)
#endif
#endif
return 38400;
+#if USE_NONSTD_BAUD
+#ifndef linux
+ case B57600:
+ return(57600);
+ case B115200:
+ return(115200);
+#endif
+#endif
}
SeError("Consistency error in baud rate");
@@ -865,7 +879,7 @@ MdmReadStr(buf)
* MdmReadChar: reads one character from the modem.
*/
-char
+int
MdmReadChar(readChar)
char *readChar;
{
@@ -997,6 +1011,7 @@ lock_tty()
pid_t pid,
lckpid;
char *modemname;
+ int killret;
#if LF_USE_ASCII_PID
char pidstr[20],
lckpidstr[20];
@@ -1063,11 +1078,13 @@ relink:
#endif
lockPid = (pid_t) lckpid;
- if (kill(lckpid, 0) == 0) {
- SeErrorF("Device %s is locked by process %d", modem_port, lckpid, "");
- unlink(ltmp);
- return -1;
- }
+ killret = kill(lockPid, 0);
+ if(killret == 0 || (killret == -1 && errno != ESRCH)) {
+ SeErrorF("Device %s is locked by process %d.",
+ modem_port, lckpid, "");
+ unlink(ltmp);
+ return -1;
+ }
}
}

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-SeScan_c,v 1.1 2003/12/30 01:18:55 espie Exp $
--- SeScan.c.orig 2003-12-30 02:08:16.000000000 +0100
+++ SeScan.c 2003-12-30 02:08:33.000000000 +0100
@@ -275,9 +275,9 @@ GetFirstWord(line)
#ifdef TEST
main()
{
- scSetInputBuf("Just to see if we'\\'re \\n\\033 able to distinguish' words and strings
-\"Also 'quotes' inside strings\" and 'strs \"inside quotes\"'
-Not to forget ^S and ^q control ^ chars");
+ scSetInputBuf("Just to see if we'\\'re \\n\\033 able to distinguish' words and strings\n"
+"\"Also 'quotes' inside strings\" and 'strs \"inside quotes\"'\n"
+"Not to forget ^S and ^q control ^ chars");
while (lGetWord() != 0);
}

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-SeScript_c,v 1.1 2012/03/17 10:31:48 sthen Exp $
--- SeScript.c.orig Sat Mar 17 10:27:07 2012
+++ SeScript.c Sat Mar 17 10:28:13 2012
@@ -145,7 +145,7 @@ get_line(script_fp)
{
int i;
- getline(script_fp);
+ my_getline(script_fp);
if (eof_flag)
return;
@@ -335,7 +335,7 @@ k_goto(script_fp)
rewind(script_fp);
while (!found) {
- getline(script_fp);
+ my_getline(script_fp);
if (eof_flag)
break;

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-SeSubs_c,v 1.1 2002/02/20 21:46:49 naddy Exp $
--- SeSubs.c.orig Fri Apr 23 12:24:17 1993
+++ SeSubs.c Wed Feb 20 22:31:21 2002
@@ -249,6 +249,8 @@ ExecShellCommand(command, top)
if (setuid(getuid()) < 0)
SePError("Failed to set effective uid");
+ if (setgid(getgid()) < 0)
+ SePError("Failed to set effective gid");
if (*scmd == '\0') {
SeNotice(FmtString1("Executing the shell ``%s''", shell));

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-SeSupp_c,v 1.1 2012/03/17 10:31:48 sthen Exp $
--- SeSupp.c.orig Sat Mar 17 10:27:07 2012
+++ SeSupp.c Sat Mar 17 10:28:07 2012
@@ -198,7 +198,7 @@ lc_word(ptr)
*/
void
-getline(fp)
+my_getline(fp)
FILE *fp;
{
int l;

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-SeTerm_c,v 1.1 2002/02/20 21:46:49 naddy Exp $
--- SeTerm.c.orig Wed Feb 20 22:27:03 2002
+++ SeTerm.c Wed Feb 20 22:28:29 2002
@@ -25,8 +25,8 @@
#include "seyon.h"
#include "SeDecl.h"
-extern char TtyReadChar();
-extern int MdmReadStr();
+extern int TtyReadChar(),
+ MdmReadStr();
extern FILE *tfp, /* terminal pointer */
*cfp; /* capture file pointer */

View File

@ -1,18 +0,0 @@
$OpenBSD: patch-config_h,v 1.1 2002/02/20 21:46:49 naddy Exp $
--- config.h.orig Wed Apr 21 14:47:48 1993
+++ config.h Wed Feb 20 22:31:21 2002
@@ -81,6 +81,14 @@
#define HAVE_USLEEP YES
#endif
+#ifdef __OpenBSD__
+#define USE_NONSTD_BAUD YES
+#define LF_PATH "/var/spool/lock"
+#define LF_PREFIX "LCK.."
+#define LF_USE_ASCII_PID YES
+#define LF_USE_DEV_NUMBERS NO
+#endif
+
#ifdef SVR4
#define HAVE_TERMIOS YES
#define HAVE_MODEM_CONTROL YES

View File

@ -1,22 +0,0 @@
Seyon is a complete full-featured telecommunications package for
the X Window System. Its features include:
- Dialing directory that supports an unlimited number of entries.
- Terminal emulation window using any terminal emulation program
that supports X. This defaults to xterm.
- Script language to automate tedious tasks such as logging into
remote hosts.
- Unlimited number of slots for external file transfer protocols.
- Support for zmodem auto-download.
- Translation modes. Seyon can perform useful translations on the
user's input.
- interactive setting of program parameters
- on-line help
- modem speeds up to 115200 bps
- software (XON/XOFF) and hardware (RTS/CTS) flow control
- session capture to a file
- temporary running of a local shell in the terminal emulation window.
Seyon is intended to be both simple and extensively configurable.
Almost every aspect of Seyon can be configured via the resources
to suit the user's taste.

View File

@ -1,6 +0,0 @@
@comment $OpenBSD: PLIST,v 1.6 2013/10/11 20:39:21 naddy Exp $
@bin bin/seyon
lib/X11/app-defaults/Seyon
lib/X11/app-defaults/Seyon-color
lib/X11/seyon.help
@man man/man1/seyon.1

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.1197 2021/02/24 14:10:53 rsadowski Exp $
# $OpenBSD: Makefile,v 1.1198 2021/02/24 17:26:28 sthen Exp $
COMMENT = exceptions to pkg_add rules
CATEGORIES = devel databases
DISTFILES =
# API.rev
PKGNAME = quirks-3.585
PKGNAME = quirks-3.586
PKG_ARCH = *
MAINTAINER = Marc Espie <espie@openbsd.org>

View File

@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
# $OpenBSD: Quirks.pm,v 1.1212 2021/02/24 14:10:53 rsadowski Exp $
# $OpenBSD: Quirks.pm,v 1.1213 2021/02/24 17:26:28 sthen Exp $
#
# Copyright (c) 2009 Marc Espie <espie@openbsd.org>
#
@ -2156,6 +2156,7 @@ my $obsolete_reason = {
'mk' => 41,
'sabredav' => 1,
'mollify' => 3,
'seyon' => 3,
};
# reasons for obsolete packages