upfilesrv no longer linked due to missing -lcrypt

2.0-current distinguishes between crypt() and cipher() technology and
in this case, the crypt() call was for password authentication on the
file server.  If building an encrypting sup, link with -lcipher -lcrypt,
if building a normal sup, link with -lcrypt.
This commit is contained in:
Paul Traina 1994-10-27 21:23:24 +00:00
parent 57dd0aec63
commit 31260ac9d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283
1 changed files with 27 additions and 0 deletions

27
net/sup/files/patch-aa Normal file
View File

@ -0,0 +1,27 @@
This patch is required for FreeBSD 2.0 because password crypt vs cipher
technology has now been split into different libraries. In this case,
USE_CRYPT really means "use cipher."
*** Makefile Thu Oct 27 14:12:41 1994
--- Makefile Thu Oct 27 14:14:46 1994
***************
*** 76,84 ****
.endif
.if defined(USE_CRYPT)
! NETBSD_LIBS = -lcrypt -lutil
.else
! NETBSD_LIBS = -lutil
.endif
CMUCS_LIBS = -lsys
OSF_LIBS = -lbsd
--- 76,84 ----
.endif
.if defined(USE_CRYPT)
! NETBSD_LIBS = -lcipher -lcrypt -lutil
.else
! NETBSD_LIBS = -lcrypt -lutil
.endif
CMUCS_LIBS = -lsys
OSF_LIBS = -lbsd