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
This commit is contained in:
Jordan K. Hubbard
1995-02-06 22:37:22 +00:00
parent 6dfb8bc1df
commit ef0a1156a2
2 changed files with 40 additions and 11 deletions

View File

@@ -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>

View File

@@ -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