summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2003-05-07 12:30:08 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2003-05-07 12:30:08 +0000
commitb6aaadb4a4124c8902562af33c5b392f75216a15 (patch)
treef128d4760b86de03a09c5b17213e99a057663595 /security
parentChange maintainer email to my @FreeBSD.org address (diff)
Use libcrypto, not libdes.
Diffstat (limited to 'security')
-rw-r--r--security/pidentd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/pidentd/Makefile b/security/pidentd/Makefile
index 1c3f7a37decd..5bfd077b6140 100644
--- a/security/pidentd/Makefile
+++ b/security/pidentd/Makefile
@@ -30,12 +30,14 @@ ADD_GDEFS+= -DINET6 -D__ss_family=ss_family -D__ss_len=ss_len
# Uncomment to activate the use of verifiable "cookies". The idea is to be
# able to detect fake "logs" intended to get your innocent users in trouble.
-# Naturally, since it uses libdes, you must have the "secure" dist installed.
+# Naturally, since it uses libcrypto, you must have the "secure" dist
+# installed.
#WITH_DES= yes
.if defined(WITH_DES)
-ADD_GDEFS+= -DINCLUDE_CRYPT
-ADD_GLIBS= -ldes
+ADD_GDEFS+= -DINCLUDE_CRYPT -DOPENSSL_DES_LIBDES_COMPATIBILITY \
+ -I/usr/include/openssl
+ADD_GLIBS= -lcrypto
.endif
.if defined(WITH_DES) || ${OSVERSION} >= 400014
MAKE_ENV+= ADD_GDEFS="${ADD_GDEFS}" ADD_GLIBS="${ADD_GLIBS}"