diff options
author | jkh <jkh@FreeBSD.org> | 1995-02-07 06:37:22 +0800 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-02-07 06:37:22 +0800 |
commit | bf1b84f8d836ce204417db47d2617d75b52ffb5d (patch) | |
tree | 92671bbb8ea7ff09b7acf9307f3ad57d9afc74f4 /comms/seyon/files | |
parent | c72fe76bd679b7490808c0eb2ff3987ffb3bf0e6 (diff) | |
download | freebsd-ports-gnome-bf1b84f8d836ce204417db47d2617d75b52ffb5d.tar.gz freebsd-ports-gnome-bf1b84f8d836ce204417db47d2617d75b52ffb5d.tar.zst freebsd-ports-gnome-bf1b84f8d836ce204417db47d2617d75b52ffb5d.zip |
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
Diffstat (limited to 'comms/seyon/files')
-rw-r--r-- | comms/seyon/files/patch-aa | 45 |
1 files changed, 37 insertions, 8 deletions
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 - |