mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
NOCRYPT -> NO_CRYPT
This commit is contained in:
parent
83c7ade90a
commit
a216173556
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139113
|
@ -7,7 +7,7 @@
|
|||
# -DNO_RESCUE do not build rescue binaries
|
||||
# -DNOCLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
|
||||
# -DNOCLEAN do not clean at all
|
||||
# -DNOCRYPT will prevent building of crypt versions
|
||||
# -DNO_CRYPT will prevent building of crypt versions
|
||||
# -DNO_MAN do not build the manual pages
|
||||
# -DNO_PROFILE do not build profiled libraries
|
||||
# -DNOGAMES do not go into games subdir
|
||||
|
@ -49,14 +49,14 @@ SUBDIR= share/info include lib libexec bin
|
|||
SUBDIR+=games
|
||||
.endif
|
||||
SUBDIR+=gnu
|
||||
.if !defined(NO_KERBEROS) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
SUBDIR+=kerberos5
|
||||
.endif
|
||||
.if !defined(NO_RESCUE)
|
||||
SUBDIR+=rescue
|
||||
.endif
|
||||
SUBDIR+=sbin
|
||||
.if !defined(NOCRYPT)
|
||||
.if !defined(NO_CRYPT)
|
||||
SUBDIR+=secure
|
||||
.endif
|
||||
.if !defined(NOSHARE)
|
||||
|
@ -393,7 +393,7 @@ build32:
|
|||
mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \
|
||||
-p ${LIB32TMP}/usr/include >/dev/null
|
||||
ln -sf ${.CURDIR}/sys ${WORLDTMP}
|
||||
.if !defined(NO_KERBEROS) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
.for _t in obj depend all
|
||||
cd ${.CURDIR}/kerberos5/tools; \
|
||||
MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} ${_t}
|
||||
|
@ -406,11 +406,11 @@ build32:
|
|||
${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t}
|
||||
cd ${.CURDIR}/gnu/lib; \
|
||||
${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t}
|
||||
.if !defined(NOCRYPT)
|
||||
.if !defined(NO_CRYPT)
|
||||
cd ${.CURDIR}/secure/lib; \
|
||||
${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t}
|
||||
.endif
|
||||
.if !defined(NO_KERBEROS) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
cd ${.CURDIR}/kerberos5/lib; \
|
||||
${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t}
|
||||
.endif
|
||||
|
@ -434,7 +434,7 @@ install32:
|
|||
mkdir -p ${DESTDIR}/usr/lib32 # XXX add to mtree
|
||||
cd ${.CURDIR}/lib; ${LIB32MAKE} install
|
||||
cd ${.CURDIR}/gnu/lib; ${LIB32MAKE} install
|
||||
.if !defined(NOCRYPT)
|
||||
.if !defined(NO_CRYPT)
|
||||
cd ${.CURDIR}/secure/lib; ${LIB32MAKE} install
|
||||
.endif
|
||||
cd ${.CURDIR}/libexec/rtld-elf; PROG=ld-elf32.so.1 ${LIB32MAKE} install
|
||||
|
@ -880,7 +880,7 @@ _aicasm= sys/modules/aic7xxx/aicasm
|
|||
_share= share/syscons/scrnmaps
|
||||
.endif
|
||||
|
||||
.if !defined(NO_KERBEROS) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
_kerberos5_tools= kerberos5/tools
|
||||
.endif
|
||||
|
||||
|
@ -994,7 +994,7 @@ _prebuild_libs=
|
|||
|
||||
_generic_libs= gnu/lib
|
||||
|
||||
.if !defined(NO_KERBEROS) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
_prebuild_libs+= kerberos5/lib/libasn1
|
||||
_prebuild_libs+= kerberos5/lib/libgssapi
|
||||
_prebuild_libs+= kerberos5/lib/libkrb5
|
||||
|
@ -1021,7 +1021,7 @@ _prebuild_libs+= lib/libpthread
|
|||
|
||||
_generic_libs+= lib
|
||||
|
||||
.if !defined(NOCRYPT)
|
||||
.if !defined(NO_CRYPT)
|
||||
.if !defined(NO_OPENSSL)
|
||||
_prebuild_libs+= secure/lib/libcrypto secure/lib/libssl
|
||||
lib/libradius__L: secure/lib/libssl__L
|
||||
|
@ -1039,7 +1039,7 @@ secure/lib/libssh__L: kerberos5/lib/libgssapi__L kerberos5/lib/libkrb5__L \
|
|||
_generic_libs+= secure/lib
|
||||
.endif
|
||||
|
||||
.if defined(NOCRYPT) || defined(NO_OPENSSL)
|
||||
.if defined(NO_CRYPT) || defined(NO_OPENSSL)
|
||||
lib/libradius__L: lib/libmd__L
|
||||
.endif
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
|
|||
LINKS= ${BINDIR}/ed ${BINDIR}/red
|
||||
MLINKS= ed.1 red.1
|
||||
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
CFLAGS+=-DDES
|
||||
WARNS?= 2
|
||||
DPADD= ${LIBCRYPTO}
|
||||
|
|
|
@ -23,7 +23,7 @@ BIN1= amd.map apmd.conf auth.conf \
|
|||
BIN1+= printcap
|
||||
.endif
|
||||
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_OPENSSH)
|
||||
SSH= ${.CURDIR}/../crypto/openssh/ssh_config \
|
||||
${.CURDIR}/../crypto/openssh/sshd_config \
|
||||
|
|
|
@ -5,7 +5,7 @@ PROG= factor
|
|||
SRCS= factor.c pr_tbl.c
|
||||
CFLAGS+=-I${.CURDIR}/../primes
|
||||
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
CFLAGS+=-DHAVE_OPENSSL
|
||||
LDADD= -lcrypto
|
||||
DPADD= ${LIBCRYPTO}
|
||||
|
|
|
@ -33,7 +33,7 @@ CFLAGS+= -I${.CURDIR} -I../lib -DHAVE_CONFIG_H -I${CVSDIR}/src \
|
|||
DPADD= ${LIBCVS} ${LIBDIFF} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ}
|
||||
LDADD= ${LIBCVS} ${LIBDIFF} -lgnuregex -lmd -lcrypt -lz
|
||||
|
||||
.if !defined(NO_KERBEROS) && !defined(NO_OPENSSL) && !defined(NOCRYPT)
|
||||
.if !defined(NO_KERBEROS) && !defined(NO_OPENSSL) && !defined(NO_CRYPT)
|
||||
CFLAGS+= -DHAVE_GSSAPI -DHAVE_GSSAPI_H -DENCRYPTION
|
||||
LDADD+= -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err
|
||||
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBROKEN}
|
||||
|
|
|
@ -82,7 +82,7 @@ _libsmdb= libsmdb
|
|||
_libsmutil= libsmutil
|
||||
.endif
|
||||
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
_libmp= libmp
|
||||
.endif
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ CFLAGS+= -DWANT_IPV6
|
|||
.endif
|
||||
|
||||
# Enable crypto if available
|
||||
.if !defined(NOCRYPT)
|
||||
.if !defined(NO_CRYPT)
|
||||
CFLAGS+= -DOPENSSL
|
||||
.endif
|
||||
|
||||
|
@ -91,7 +91,7 @@ BIND_LDADD= ${BIND_DPADD}
|
|||
.endif
|
||||
|
||||
# Link against crypto library
|
||||
.if !defined(NOCRYPT)
|
||||
.if !defined(NO_CRYPT)
|
||||
CRYPTO_DPADD= ${LIBCRYPTO}
|
||||
CRYPTO_LDADD= -lcrypto
|
||||
.endif
|
||||
|
|
|
@ -15,7 +15,7 @@ MLINKS= crypt.3 crypt_get_format.3 crypt.3 crypt_set_format.3
|
|||
CFLAGS+= -I${.CURDIR}/../libmd -I${.CURDIR}/../libutil
|
||||
|
||||
# Pull in the strong crypto, if it is present.
|
||||
.if exists(${.CURDIR}/../../secure/lib/libcrypt) && !defined(NOCRYPT)
|
||||
.if exists(${.CURDIR}/../../secure/lib/libcrypt) && !defined(NO_CRYPT)
|
||||
.PATH: ${.CURDIR}/../../secure/lib/libcrypt
|
||||
SRCS+= crypt-des.c crypt-blowfish.c blowfish.c
|
||||
CFLAGS+= -I${.CURDIR} -DHAS_DES -DHAS_BLOWFISH
|
||||
|
|
|
@ -9,7 +9,7 @@ INCS= fetch.h
|
|||
MAN= fetch.3
|
||||
CLEANFILES= ftperr.h httperr.h
|
||||
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
CFLAGS+= -DWITH_SSL
|
||||
DPADD= ${LIBSSL} ${LIBCRYPTO}
|
||||
LDADD= -lssl -lcrypto
|
||||
|
|
|
@ -8,7 +8,7 @@ MODULES += pam_exec
|
|||
MODULES += pam_ftpusers
|
||||
MODULES += pam_group
|
||||
MODULES += pam_guest
|
||||
.if !defined(NO_KERBEROS) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
MODULES += pam_krb5
|
||||
MODULES += pam_ksu
|
||||
.endif
|
||||
|
@ -24,7 +24,7 @@ MODULES += pam_rhosts
|
|||
MODULES += pam_rootok
|
||||
MODULES += pam_securetty
|
||||
MODULES += pam_self
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(NO_OPENSSH)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && !defined(NO_OPENSSH)
|
||||
MODULES += pam_ssh
|
||||
.endif
|
||||
MODULES += pam_tacplus
|
||||
|
|
|
@ -31,7 +31,7 @@ CFLAGS+= -Wall
|
|||
SHLIB_MAJOR= 1
|
||||
MAN= libradius.3 radius.conf.5
|
||||
|
||||
.if defined(NOCRYPT) || defined(NO_OPENSSL)
|
||||
.if defined(NO_CRYPT) || defined(NO_OPENSSL)
|
||||
DPADD= ${LIBMD}
|
||||
LDADD= -lmd
|
||||
.else
|
||||
|
|
|
@ -14,7 +14,7 @@ CFLAGS+= -I${TELNETDIR}
|
|||
WARNS?= 0
|
||||
|
||||
.if !defined(RELEASE_CRUNCH)
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
SRCS+= encrypt.c auth.c enc_des.c sra.c pk.c
|
||||
CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DSRA
|
||||
.if !defined(NO_KERBEROS)
|
||||
|
|
|
@ -29,7 +29,7 @@ DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
|
|||
LDADD= -lutil -ltermcap ${LIBTELNET}
|
||||
|
||||
.if !defined(RELEASE_CRUNCH)
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
SRCS+= authenc.c
|
||||
CFLAGS+= -DAUTHENTICATION -DENCRYPTION
|
||||
DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBPAM}
|
||||
|
|
|
@ -68,7 +68,7 @@ CRUNCH_PROGS_bin= cat chflags chio chmod cp date dd df echo \
|
|||
ed expr getfacl hostname kenv kill ln ls mkdir mv pax ps pwd \
|
||||
realpath rm rmdir setfacl sh stty sync test
|
||||
CRUNCH_LIBS+= -lcrypt -ledit -lkvm -ll -lm -ltermcap -lutil
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
CRUNCH_LIBS+= -lcrypto
|
||||
.endif
|
||||
|
||||
|
|
|
@ -26,11 +26,11 @@ secure:
|
|||
insecure:
|
||||
.for entry in ${SPROGS}
|
||||
cd ${.CURDIR}/../${entry}; \
|
||||
${MAKE} -DNOCRYPT cleandir; \
|
||||
${MAKE} -DNOCRYPT obj; \
|
||||
${MAKE} -DNOCRYPT depend; \
|
||||
${MAKE} -DNOCRYPT all; \
|
||||
${MAKE} -DNOCRYPT install
|
||||
${MAKE} -DNO_CRYPT cleandir; \
|
||||
${MAKE} -DNO_CRYPT obj; \
|
||||
${MAKE} -DNO_CRYPT depend; \
|
||||
${MAKE} -DNO_CRYPT all; \
|
||||
${MAKE} -DNO_CRYPT install
|
||||
.endfor
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
|
|
@ -110,7 +110,7 @@
|
|||
#NO_AUTHPF= # do not build and install authpf (setuid/gid)
|
||||
#NO_BLUETOOTH= # do not build Bluetooth related stuff
|
||||
#NO_BOOT= # do not build boot blocks and loader
|
||||
#NOCRYPT= # do not build any crypto code
|
||||
#NO_CRYPT= # do not build any crypto code
|
||||
#NO_CVS= # do not build CVS
|
||||
#NO_CXX= # do not build C++ and friends
|
||||
#NO_DYNAMICROOT= # do not link /bin and /sbin dynamically
|
||||
|
|
|
@ -8,7 +8,7 @@ MAKEWHATIS?= makewhatis
|
|||
|
||||
makedb:
|
||||
${MAKEWHATIS} ${DESTDIR}${BINDIR}/man
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
${MAKEWHATIS} ${DESTDIR}${BINDIR}/openssl/man
|
||||
.endif
|
||||
|
||||
|
|
|
@ -535,7 +535,7 @@ Set this to run
|
|||
.Dq Li "${MAKE} clean"
|
||||
instead of
|
||||
.Dq Li "${MAKE} cleandir" .
|
||||
.It Va NOCRYPT
|
||||
.It Va NO_CRYPT
|
||||
.Pq Vt bool
|
||||
Set to not build any crypto code.
|
||||
.It Va NOGAMES
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
.if !defined(BURN_BRIDGES)
|
||||
.for oldnew in \
|
||||
NOATM:NO_ATM \
|
||||
NOCRYPT:NO_CRYPT \
|
||||
NODOCCOMPRESS:NO_DOCCOMPRESS \
|
||||
NOEXTRADEPEND:NO_EXTRADEPEND \
|
||||
NOFSCHG:NO_FSCHG \
|
||||
|
|
|
@ -91,7 +91,7 @@ LIBOPIE?= ${DESTDIR}${LIBDIR}/libopie.a
|
|||
LIBPAM?= ${DESTDIR}${LIBDIR}/libpam.a
|
||||
MINUSLPAM= -lpam
|
||||
.if defined(LDFLAGS) && !empty(LDFLAGS:M-static)
|
||||
.if !defined(NO_KERBEROS) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
LIBPAM+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \
|
||||
${LIBROKEN} ${LIBCOM_ERR}
|
||||
MINUSLPAM+= -lkrb5 -lasn1 -lcrypto -lcrypt -lroken -lcom_err
|
||||
|
@ -100,7 +100,7 @@ LIBPAM+= ${LIBRADIUS} ${LIBTACPLUS} ${LIBCRYPT} \
|
|||
${LIBUTIL} ${LIBOPIE} ${LIBMD}
|
||||
MINUSLPAM+= -lradius -ltacplus -lcrypt \
|
||||
-lutil -lopie -lmd
|
||||
.if !defined(NO_OPENSSH) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_OPENSSH) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
LIBPAM+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT}
|
||||
MINUSLPAM+= -lssh -lcrypto -lcrypt
|
||||
.endif
|
||||
|
|
|
@ -267,7 +267,7 @@ _syscons= syscons
|
|||
_ufs= ufs
|
||||
.endif
|
||||
|
||||
.if !defined(NOCRYPT) || defined(ALL_MODULES)
|
||||
.if !defined(NO_CRYPT) || defined(ALL_MODULES)
|
||||
.if exists(${.CURDIR}/../opencrypto)
|
||||
_crypto= crypto
|
||||
_cryptodev= cryptodev
|
||||
|
|
|
@ -45,7 +45,7 @@ SUBDIR= async \
|
|||
_bluetooth= bluetooth
|
||||
.endif
|
||||
|
||||
.if !defined(NOCRYPT) && exists(${.CURDIR}/../../crypto/rc4/rc4.c)
|
||||
.if !defined(NO_CRYPT) && exists(${.CURDIR}/../../crypto/rc4/rc4.c)
|
||||
_mppc= mppc
|
||||
.endif
|
||||
|
||||
|
|
|
@ -245,7 +245,7 @@ _nsupdate= nsupdate
|
|||
_bluetooth= bluetooth
|
||||
.endif
|
||||
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
_chkey= chkey
|
||||
_newkey= newkey
|
||||
.endif
|
||||
|
|
|
@ -5,7 +5,7 @@ CSTD?= c99
|
|||
WARNS?= 6
|
||||
DPADD= ${LIBFETCH}
|
||||
LDADD= -lfetch
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
DPADD+= ${LIBSSL} ${LIBCRYPTO}
|
||||
LDADD+= -lssl -lcrypto
|
||||
.endif
|
||||
|
|
|
@ -31,7 +31,7 @@ CFLAGS+= -DHAS_CGETENT
|
|||
.endif
|
||||
|
||||
.if !defined(RELEASE_CRUNCH)
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
SRCS+= authenc.c
|
||||
CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DIPSEC
|
||||
DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBIPSEC} ${LIBPAM}
|
||||
|
|
|
@ -193,7 +193,7 @@ _atm= atm
|
|||
.endif
|
||||
|
||||
.if !defined(NO_BIND)
|
||||
.if !defined(NO_BIND_DNSSEC) && !defined(NOCRYPT)
|
||||
.if !defined(NO_BIND_DNSSEC) && !defined(NO_CRYPT)
|
||||
_dnssec-keygen= dnssec-keygen
|
||||
_dnssec-signzone= dnssec-signzone
|
||||
.endif
|
||||
|
@ -211,7 +211,7 @@ _rndc-confgen= rndc-confgen
|
|||
_bluetooth= bluetooth
|
||||
.endif
|
||||
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
_keyserv= keyserv
|
||||
.endif
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ NTPDEFS= -DSYS_FREEBSD
|
|||
# -DMX4200 -DNMEA -DBOEDER
|
||||
CFLAGS+= ${NTPDEFS} ${DEFS_LOCAL} ${CLOCKDEFS}
|
||||
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
|
||||
CFLAGS+= -DOPENSSL
|
||||
.endif
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
|
|||
DPADD= ${LIBNTP}
|
||||
LDADD= ${LIBNTP}
|
||||
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
|
||||
DPADD+= ${LIBMD} ${LIBCRYPTO}
|
||||
LDADD+= -lmd -lcrypto
|
||||
.endif
|
||||
|
|
|
@ -31,7 +31,7 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
|
|||
DPADD= ${LIBPARSE} ${LIBNTP} ${LIBM} ${LIBMD}
|
||||
LDADD= ${LIBPARSE} ${LIBNTP} -lm -lmd
|
||||
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
|
||||
DPADD+= ${LIBCRYPTO}
|
||||
LDADD+= -lcrypto
|
||||
.endif
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
SUBDIR= lib add create delete info ${_sign} version
|
||||
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
||||
_sign= sign
|
||||
.endif
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ LIBINSTALL= ${.OBJDIR}/../lib/libinstall.a
|
|||
LIBINSTALL= ${.CURDIR}/../lib/libinstall.a
|
||||
.endif
|
||||
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && \
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && \
|
||||
defined(LDADD) && ${LDADD:M-lfetch} != ""
|
||||
DPADD+= ${LIBSSL} ${LIBCRYPTO}
|
||||
LDADD+= -lssl -lcrypto
|
||||
|
|
|
@ -72,7 +72,7 @@ CFLAGS+=-DNOSUID
|
|||
SRCS+= id.c
|
||||
.endif
|
||||
|
||||
.if defined(RELEASE_CRUNCH) || defined(NOCRYPT) || defined(NO_OPENSSL)
|
||||
.if defined(RELEASE_CRUNCH) || defined(NO_CRYPT) || defined(NO_OPENSSL)
|
||||
CFLAGS+=-DNODES
|
||||
.else
|
||||
SRCS+= chap_ms.c mppe.c
|
||||
|
|
|
@ -30,7 +30,7 @@ DPADD+= ${LIBPCAP}
|
|||
LDADD+= -lpcap
|
||||
|
||||
# MS-CHAP support. Requires the DES library.
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
|
||||
CFLAGS+= -DCHAPMS
|
||||
SRCS+= chap_ms.c
|
||||
LDADD+= -lcrypto
|
||||
|
|
|
@ -63,7 +63,7 @@ LDADD+= ${LIBSMUTIL} ${LIBSM}
|
|||
SRCS+= sm_os.h
|
||||
CLEANFILES+=sm_os.h
|
||||
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
|
||||
# STARTTLS support
|
||||
CFLAGS+= -DSTARTTLS -D_FFR_TLS_1 -D_FFR_DEAL_WITH_ERROR_SSL
|
||||
DPADD+= ${LIBSSL} ${LIBCRYPTO}
|
||||
|
|
|
@ -42,7 +42,7 @@ CFLAGS+= -DLBL_ALIGN
|
|||
|
||||
DPADD= ${LIBL} ${LIBPCAP}
|
||||
LDADD= -ll -lpcap
|
||||
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
|
||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
|
||||
DPADD+= ${LIBCRYPTO}
|
||||
LDADD+= -lcrypto
|
||||
CFLAGS+= -I${DESTDIR}/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_RC5_H -DHAVE_CAST_H -DHAVE_OPENSSL_EVP_H
|
||||
|
|
Loading…
Reference in a new issue