%n dip %v 3.3.7o %c * %l * %b * %d * %f * %t dip-3.3.7o.tgz %w Misc %% %setup patch -u -p1 <<'ENDPATCH' diff -ru2N dip-3.3.7o/Makefile dip-MCC/Makefile --- dip-3.3.7o/Makefile Thu Feb 8 20:06:16 1996 +++ dip-MCC/Makefile Sun Sep 8 21:15:12 1996 @@ -47,15 +47,15 @@ SKEYDEF = -DSKEY #SKEYLIB = -L. -L./skey -L/usr/local/lib -lskey -SKEYLIB = -lskey +SKEYLIB = CC = gcc # If you wish, add -g flag to the next line -CFLAGS = -DLINUX $(SKEYDEF) $(SECUREID) -pipe -O6 -Wall -m486 +CFLAGS = -DLINUX -DFSSTND $(SECUREID) -O6 -Wall -m386 #LD = ld LD = $(CC) -LDFLAGS = -Wl,-qmagic +LDFLAGS = #LDFLAGS= -Wl,-verbose -Wl,-qmagic #LDFLAGS = -v -s @@ -85,5 +85,10 @@ -@echo "DIP is built successfully." -install: all +install:all + install -s -m 4555 dip /usr/sbin + ln -f /usr/sbin/dip /usr/sbin/diplogin + install -m 444 dip.8 /usr/man/man8 + gzip -9f /usr/man/man8/dip.8 +dummy: all -@cp /usr/sbin/dip ./dip- install -c -o root -g uucp -m 04755 -s dip /usr/sbin diff -ru2N dip-3.3.7o/pathnames.h dip-MCC/pathnames.h --- dip-3.3.7o/pathnames.h Fri Mar 31 01:02:49 1995 +++ dip-MCC/pathnames.h Sun Sep 8 21:39:49 1996 @@ -12,10 +12,10 @@ #define _PATH_BIN_ROUTE "/sbin/route" #define _PATH_BIN_PPP "/usr/sbin/pppd" -#define _PATH_BIN_TERM "/usr/local/bin/term" +#define _PATH_BIN_TERM "/usr/bin/term" #define _PATH_BIN_IPFW "/sbin/ipfw" /* Pathnames of some customizable files. */ #define _PATH_ETC_DIPHOSTS "/etc/diphosts" -#define _PATH_DIP_PID "/etc/dip.pid" +#define _PATH_DIP_PID "/var/run/dip.pid" #ifdef FSSTND ENDPATCH make depend make * make install %%