diff options
author | Adam David <adam@FreeBSD.org> | 1996-06-18 11:15:44 +0000 |
---|---|---|
committer | Adam David <adam@FreeBSD.org> | 1996-06-18 11:15:44 +0000 |
commit | 18f9468cf23a3e4288d1715920f8716462d55410 (patch) | |
tree | d11cbbeea938d4574fb25b4d5108df23725bedb9 /net/dgd-net/files/patch-aa | |
parent | Upgrade to ircII 2.9 (diff) |
This is the networking-enhanced version of DGD.
The following additional functionality is provided:
send and receive udp datagrams
initiate tcp and telnet connections
listen on any number of ports for incoming connections
This is a separate version because sites not requiring these features can
use the other version and not need to concern themselves with the network
security issues. Also the programming semantics for network communication
are somewhat different in the two versions.
Diffstat (limited to 'net/dgd-net/files/patch-aa')
-rw-r--r-- | net/dgd-net/files/patch-aa | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/net/dgd-net/files/patch-aa b/net/dgd-net/files/patch-aa new file mode 100644 index 000000000000..f4f3fb83bb67 --- /dev/null +++ b/net/dgd-net/files/patch-aa @@ -0,0 +1,79 @@ +*** Makefile.orig Sun Dec 10 19:21:36 1995 +--- Makefile Wed Feb 7 22:53:33 1996 +*************** +*** 3,14 **** + # + HOST= NETBSD + DEFINES=-D$(HOST) #-DDUMP_FUNCS +! DEBUG= -g -DDEBUG + CCFLAGS=$(DEFINES) $(DEBUG) + CFLAGS= -I. -Icomp -Ilex -Ied -Ikfun $(CCFLAGS) +! LDFLAGS= +! LIBS= +! CC= gcc + LD= $(CC) + DMAKE= make + BIN= ../bin +--- 3,15 ---- + # + HOST= NETBSD + DEFINES=-D$(HOST) #-DDUMP_FUNCS +! DEBUG=-O2 +! #DEBUG= -g -DDEBUG + CCFLAGS=$(DEFINES) $(DEBUG) + CFLAGS= -I. -Icomp -Ilex -Ied -Ikfun $(CCFLAGS) +! LDFLAGS=-s +! LIBS=-lcrypt +! CC= cc + LD= $(CC) + DMAKE= make + BIN= ../bin +*************** +*** 20,25 **** +--- 21,28 ---- + COMPOBJ=alloc.o error.o hash.o path.o str.o array.o object.o data.o \ + interpret.o config.o + ++ all: a.out comp/a.out ++ + a.out: $(OBJ) always + cd comp; $(MAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' dgd + cd lex; $(MAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' dgd +*************** +*** 38,44 **** + -mv $(BIN)/driver $(BIN)/driver.old + cp a.out $(BIN)/driver + +! install: $(BIN)/driver + + comp.sub: $(COMPOBJ) + @for i in $(COMPOBJ); do echo ../$$i; done > comp.sub +--- 41,51 ---- + -mv $(BIN)/driver $(BIN)/driver.old + cp a.out $(BIN)/driver + +! $(BIN)/precomp: comp/a.out +! -mv $(BIN)/precomp $(BIN)/precomp.old +! cp comp/a.out $(BIN)/precomp +! +! install: $(BIN)/driver $(BIN)/precomp + + comp.sub: $(COMPOBJ) + @for i in $(COMPOBJ); do echo ../$$i; done > comp.sub +*************** +*** 54,60 **** + + comp/a.out: + cd comp; $(DMAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' \ +! 'LIBS=$(LIBS)' a.out + + clean: + rm -f a.out $(OBJ) comp.sub lex.sub ed.sub +--- 61,67 ---- + + comp/a.out: + cd comp; $(DMAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' \ +! 'LDFLAGS=$(LDFLAGS)' 'LIBS=$(LIBS)' a.out + + clean: + rm -f a.out $(OBJ) comp.sub lex.sub ed.sub |