blob: 4fbd79db18d4f08e80cd38ddcf033efbda5361cd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
--- Makefile.orig Sat Aug 2 15:08:25 1997
+++ Makefile Wed Sep 2 12:53:13 1998
@@ -47,7 +47,7 @@
# the location where SSLeay is installed ...
# - expect a include and lib directory under here
-SSLTOP=/usr/local/ssl
+SSLTOP=$(PREFIX)
INSTALLTOP=$(SSLTOP)
@@ -83,8 +83,8 @@
#LDADD=$(sockslib) -ltermcap -lcurses
# uncomment the next two lines for linux
-CC = gcc -DLINUX -DTERMIOS $(socksflags)
-LDADD = $(sockslib) -lbsd -lncurses
+#CC = gcc -DLINUX -DTERMIOS $(socksflags)
+#LDADD = $(sockslib) -lbsd -lncurses
##OLD Linux stuff
#CC = gcc -DLINUX -DUSE_SHADOW $(socksflags)
@@ -95,6 +95,10 @@
#BSD386
#CC = gcc -DBSD386 -DTERMCAP $(socksflags)
#LDADD = -ltermcap $(sockslib)
+
+#BSD386
+CC = gcc -DTERMCAP $(socksflags)
+LDADD = -ltermcap $(sockslib)
all:
@-mkdir bin 2>/dev/null
@@ -145,12 +149,11 @@
tar: clean
(cd ..; tar cf $(TARFILE) $(DIRECTORY); /bin/rm -f $(TARFILE).Z $(TARFILE).gz >/dev/null 2>&1 ; $(COMPRESS) $(TARFILE) )
-install: telnet telnetd /dev/null
- @-mkdir -p $(INSTALLTOP)/bin 2>/dev/null
+install: telnet telnetd
cp bin/telnet $(INSTALLTOP)/bin/telnet
chmod 755 $(INSTALLTOP)/bin/telnet
- cp bin/telnetd $(INSTALLTOP)/bin/telnetd
- chmod 755 $(INSTALLTOP)/bin/telnetd
+ cp bin/telnetd $(INSTALLTOP)/libexec/telnetd
+ chmod 755 $(INSTALLTOP)/libexec/telnetd
@echo "*****************************************************"
@echo "* Do not forget to make the certificate for telnetd *"
@echo "* either manually or via \"make certificate\" *"
@@ -158,6 +161,7 @@
certificate:
(\
+ [ -f $(INSTALLTOP)/certs/telnetd.pem ] && exit; \
cd $(INSTALLTOP)/certs; \
ssleay req -new -x509 -nodes -days 365 -out telnetd.pem -keyout telnetd.pem; \
ln -s telnetd.pem `ssleay x509 -noout -hash < telnetd.pem`.0 ;\
--- lib/Makefile.orig Wed Sep 2 13:11:39 1998
+++ lib/Makefile Wed Sep 2 13:11:49 1998
@@ -1,7 +1,7 @@
#SUBDIRS= gmp-1.2 kerberosIV/krb libbsd libdes/des libpk libtelnet libutil
SUBDIRS= gmp-1.3.2 libbsd libpk libtelnet libutil
-SUBDIRS= libbsd libtelnet libutil
+SUBDIRS= libtelnet
all:
@for i in $(SUBDIRS); \
|