diff options
Diffstat (limited to 'net/SSLtelnet/files/patch-aa')
-rw-r--r-- | net/SSLtelnet/files/patch-aa | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/net/SSLtelnet/files/patch-aa b/net/SSLtelnet/files/patch-aa index b93630d58cca..c00635d9144a 100644 --- a/net/SSLtelnet/files/patch-aa +++ b/net/SSLtelnet/files/patch-aa @@ -1,5 +1,5 @@ ---- Makefile.orig Thu Sep 24 23:50:59 1998 -+++ Makefile Thu Aug 5 08:57:44 1999 +--- Makefile.orig Thu Sep 24 17:50:59 1998 ++++ Makefile Tue Feb 1 11:11:24 2000 @@ -47,7 +47,7 @@ # the location where SSLeay is installed ... @@ -20,18 +20,19 @@ ##OLD Linux stuff #CC = gcc -DLINUX -DUSE_SHADOW $(socksflags) -@@ -95,6 +95,10 @@ +@@ -95,6 +95,11 @@ #BSD386 #CC = gcc -DBSD386 -DTERMCAP $(socksflags) #LDADD = -ltermcap $(sockslib) + -+#BSD386 ++#FreeBSD +CC += -DTERMCAP $(socksflags) -+LDADD = -ltermcap $(sockslib) ++LDADD = -L$(OPENSSLLIB) -lssl -lcrypto $(EXTRA_SSL_LIBS) \ ++ -ltermcap $(sockslib) all: @-mkdir bin 2>/dev/null -@@ -145,12 +149,11 @@ +@@ -145,12 +150,11 @@ tar: clean (cd ..; tar cf $(TARFILE) $(DIRECTORY); /bin/rm -f $(TARFILE).Z $(TARFILE).gz >/dev/null 2>&1 ; $(COMPRESS) $(TARFILE) ) @@ -47,7 +48,7 @@ @echo "*****************************************************" @echo "* Do not forget to make the certificate for telnetd *" @echo "* either manually or via \"make certificate\" *" -@@ -158,9 +161,10 @@ +@@ -158,9 +162,10 @@ certificate: (\ @@ -55,10 +56,10 @@ - ssleay req -new -x509 -nodes -days 365 -out telnetd.pem -keyout telnetd.pem; \ - ln -s telnetd.pem `ssleay x509 -noout -hash < telnetd.pem`.0 ;\ - chmod 600 $(INSTALLTOP)/certs/telnetd.pem; \ -+ [ -f $(INSTALLTOP)/openssl/certs/telnetd.pem ] && exit; \ -+ cd $(INSTALLTOP)/openssl/certs; \ ++ [ -f $(OPENSSLDIR)/certs/telnetd.pem ] && exit; \ ++ cd $(OPENSSLDIR)/certs; \ + openssl req -new -x509 -nodes -days 365 -out telnetd.pem -keyout telnetd.pem; \ + ln -s telnetd.pem `openssl x509 -noout -hash < telnetd.pem`.0 ;\ -+ chmod 600 $(INSTALLTOP)/openssl/certs/telnetd.pem; \ ++ chmod 600 $(OPENSSLDIR)/certs/telnetd.pem; \ ) |