aboutsummaryrefslogtreecommitdiffstats
path: root/security/pidentd
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2003-05-07 20:30:08 +0800
committernectar <nectar@FreeBSD.org>2003-05-07 20:30:08 +0800
commit1942f5c412cfa41e28927697b6bb028821fd5f7a (patch)
tree5c413bd1bfc855fdfca2c27fa7806a420bf895ac /security/pidentd
parentf02cc0d6b3f0c2c8588b4ecfb15f869116b7d029 (diff)
downloadfreebsd-ports-graphics-1942f5c412cfa41e28927697b6bb028821fd5f7a.tar.gz
freebsd-ports-graphics-1942f5c412cfa41e28927697b6bb028821fd5f7a.tar.zst
freebsd-ports-graphics-1942f5c412cfa41e28927697b6bb028821fd5f7a.zip
Use libcrypto, not libdes.
Diffstat (limited to 'security/pidentd')
-rw-r--r--security/pidentd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/pidentd/Makefile b/security/pidentd/Makefile
index 1c3f7a37dec..5bfd077b614 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}"