summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-02-06 22:37:22 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-02-06 22:37:22 +0000
commitef0a1156a26eae8dcb879047b6da8581b4a7d853 (patch)
treeb09198599bc4602838b864aba8e6e67471aa3e1a /comms
parentUpgrade to version 3.1.18 (diff)
Fixes from Michael Elbel:
Makefile: - new master site, the 2.14c version seems to have been "unofficial" the last one really is 2.14b patches/patch-aa - put a setgid before forking a subshell to have csh not bitch - add install options to the Imakefile to have seyon installed sgid dialer Submitted by: me
Notes
Notes: svn path=/head/; revision=901
Diffstat (limited to 'comms')
-rw-r--r--comms/seyon/Makefile6
-rw-r--r--comms/seyon/files/patch-aa45
2 files changed, 40 insertions, 11 deletions
diff --git a/comms/seyon/Makefile b/comms/seyon/Makefile
index 13fbffbe146d..0043a1653b76 100644
--- a/comms/seyon/Makefile
+++ b/comms/seyon/Makefile
@@ -6,11 +6,11 @@
# $$
#
-DISTNAME= Seyon-2.14c
-DISTFILES= Seyon-2.14c-tar.gz
+DISTNAME= Seyon-2.14b
+DISTFILES= Seyon-2.14b-tar.Z
WRKSRC= ${WRKDIR}/seyon
USE_IMAKE= yes
-MASTER_SITES= ftp://sunsite.unc.edu/pub/Linux/X11/xapps/comm/
+MASTER_SITES= ftp://sipb.mit.edu/pub/seyon/
.include <bsd.port.mk>
diff --git a/comms/seyon/files/patch-aa b/comms/seyon/files/patch-aa
index 0a1476578424..9ddb21bb298f 100644
--- a/comms/seyon/files/patch-aa
+++ b/comms/seyon/files/patch-aa
@@ -1,7 +1,22 @@
-Only in seyon: Makefile
-diff -c SePort.c seyon.new/SePort.c
-*** SePort.c Wed Apr 21 15:38:31 1993
---- seyon.new/SePort.c Sun Oct 2 23:05:25 1994
+diff -c ./Imakefile ../seyon.new/Imakefile
+*** ./Imakefile Sat Mar 27 22:20:12 1993
+--- ../seyon.new/Imakefile Fri Feb 3 07:51:12 1995
+***************
+*** 11,16 ****
+--- 11,19 ----
+ DEPLIBS =
+ LOCAL_LIBRARIES = XawClientLibs
+
++ /* We need seyon to be sgid dialer */
++ INSTPGMFLAGS = -s -m 2755 -o bin -g dialer
++
+ /* SYS_LIBRARIES = -lm */
+
+ SRCS = Seyon.c SeActions.c SeScan.c SeDial.c SeErr.c SeGeneric.c \
+Only in .: Makefile
+diff -c ./SePort.c ../seyon.new/SePort.c
+*** ./SePort.c Wed Apr 21 15:38:31 1993
+--- ../seyon.new/SePort.c Fri Feb 3 07:37:50 1995
***************
*** 627,645 ****
#endif
@@ -66,9 +81,24 @@ diff -c SePort.c seyon.new/SePort.c
}
SeError("Consistency error in baud rate");
-diff -c config.h seyon.new/config.h
-*** config.h Wed Apr 21 14:47:48 1993
---- seyon.new/config.h Sun Oct 2 23:03:53 1994
+Only in ../seyon.new: SePort.c.orig
+diff -c ./SeSubs.c ../seyon.new/SeSubs.c
+*** ./SeSubs.c Fri Apr 23 12:24:17 1993
+--- ../seyon.new/SeSubs.c Fri Feb 3 07:47:37 1995
+***************
+*** 249,254 ****
+--- 249,256 ----
+
+ 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));
+diff -c ./config.h ../seyon.new/config.h
+*** ./config.h Wed Apr 21 14:47:48 1993
+--- ../seyon.new/config.h Fri Feb 3 07:37:50 1995
***************
*** 81,86 ****
--- 81,92 ----
@@ -84,4 +114,3 @@ diff -c config.h seyon.new/config.h
#ifdef SVR4
#define HAVE_TERMIOS YES
#define HAVE_MODEM_CONTROL YES
-