NOCRYPT -> NO_CRYPT

This commit is contained in:
Ruslan Ermilov 2004-12-21 10:16:04 +00:00
parent 83c7ade90a
commit a216173556
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139113
35 changed files with 53 additions and 52 deletions

View file

@ -7,7 +7,7 @@
# -DNO_RESCUE do not build rescue binaries # -DNO_RESCUE do not build rescue binaries
# -DNOCLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir # -DNOCLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
# -DNOCLEAN do not clean at all # -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_MAN do not build the manual pages
# -DNO_PROFILE do not build profiled libraries # -DNO_PROFILE do not build profiled libraries
# -DNOGAMES do not go into games subdir # -DNOGAMES do not go into games subdir
@ -49,14 +49,14 @@ SUBDIR= share/info include lib libexec bin
SUBDIR+=games SUBDIR+=games
.endif .endif
SUBDIR+=gnu SUBDIR+=gnu
.if !defined(NO_KERBEROS) && !defined(NOCRYPT) && !defined(NO_OPENSSL) .if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
SUBDIR+=kerberos5 SUBDIR+=kerberos5
.endif .endif
.if !defined(NO_RESCUE) .if !defined(NO_RESCUE)
SUBDIR+=rescue SUBDIR+=rescue
.endif .endif
SUBDIR+=sbin SUBDIR+=sbin
.if !defined(NOCRYPT) .if !defined(NO_CRYPT)
SUBDIR+=secure SUBDIR+=secure
.endif .endif
.if !defined(NOSHARE) .if !defined(NOSHARE)
@ -393,7 +393,7 @@ build32:
mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \ mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \
-p ${LIB32TMP}/usr/include >/dev/null -p ${LIB32TMP}/usr/include >/dev/null
ln -sf ${.CURDIR}/sys ${WORLDTMP} 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 .for _t in obj depend all
cd ${.CURDIR}/kerberos5/tools; \ cd ${.CURDIR}/kerberos5/tools; \
MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} ${_t} MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} ${_t}
@ -406,11 +406,11 @@ build32:
${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t} ${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t}
cd ${.CURDIR}/gnu/lib; \ cd ${.CURDIR}/gnu/lib; \
${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t} ${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t}
.if !defined(NOCRYPT) .if !defined(NO_CRYPT)
cd ${.CURDIR}/secure/lib; \ cd ${.CURDIR}/secure/lib; \
${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t} ${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t}
.endif .endif
.if !defined(NO_KERBEROS) && !defined(NOCRYPT) && !defined(NO_OPENSSL) .if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
cd ${.CURDIR}/kerberos5/lib; \ cd ${.CURDIR}/kerberos5/lib; \
${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t} ${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t}
.endif .endif
@ -434,7 +434,7 @@ install32:
mkdir -p ${DESTDIR}/usr/lib32 # XXX add to mtree mkdir -p ${DESTDIR}/usr/lib32 # XXX add to mtree
cd ${.CURDIR}/lib; ${LIB32MAKE} install cd ${.CURDIR}/lib; ${LIB32MAKE} install
cd ${.CURDIR}/gnu/lib; ${LIB32MAKE} install cd ${.CURDIR}/gnu/lib; ${LIB32MAKE} install
.if !defined(NOCRYPT) .if !defined(NO_CRYPT)
cd ${.CURDIR}/secure/lib; ${LIB32MAKE} install cd ${.CURDIR}/secure/lib; ${LIB32MAKE} install
.endif .endif
cd ${.CURDIR}/libexec/rtld-elf; PROG=ld-elf32.so.1 ${LIB32MAKE} install 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 _share= share/syscons/scrnmaps
.endif .endif
.if !defined(NO_KERBEROS) && !defined(NOCRYPT) && !defined(NO_OPENSSL) .if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
_kerberos5_tools= kerberos5/tools _kerberos5_tools= kerberos5/tools
.endif .endif
@ -994,7 +994,7 @@ _prebuild_libs=
_generic_libs= gnu/lib _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/libasn1
_prebuild_libs+= kerberos5/lib/libgssapi _prebuild_libs+= kerberos5/lib/libgssapi
_prebuild_libs+= kerberos5/lib/libkrb5 _prebuild_libs+= kerberos5/lib/libkrb5
@ -1021,7 +1021,7 @@ _prebuild_libs+= lib/libpthread
_generic_libs+= lib _generic_libs+= lib
.if !defined(NOCRYPT) .if !defined(NO_CRYPT)
.if !defined(NO_OPENSSL) .if !defined(NO_OPENSSL)
_prebuild_libs+= secure/lib/libcrypto secure/lib/libssl _prebuild_libs+= secure/lib/libcrypto secure/lib/libssl
lib/libradius__L: secure/lib/libssl__L 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 _generic_libs+= secure/lib
.endif .endif
.if defined(NOCRYPT) || defined(NO_OPENSSL) .if defined(NO_CRYPT) || defined(NO_OPENSSL)
lib/libradius__L: lib/libmd__L lib/libradius__L: lib/libmd__L
.endif .endif

View file

@ -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 LINKS= ${BINDIR}/ed ${BINDIR}/red
MLINKS= ed.1 red.1 MLINKS= ed.1 red.1
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) .if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
CFLAGS+=-DDES CFLAGS+=-DDES
WARNS?= 2 WARNS?= 2
DPADD= ${LIBCRYPTO} DPADD= ${LIBCRYPTO}

View file

@ -23,7 +23,7 @@ BIN1= amd.map apmd.conf auth.conf \
BIN1+= printcap BIN1+= printcap
.endif .endif
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) .if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
.if !defined(NO_OPENSSH) .if !defined(NO_OPENSSH)
SSH= ${.CURDIR}/../crypto/openssh/ssh_config \ SSH= ${.CURDIR}/../crypto/openssh/ssh_config \
${.CURDIR}/../crypto/openssh/sshd_config \ ${.CURDIR}/../crypto/openssh/sshd_config \

View file

@ -5,7 +5,7 @@ PROG= factor
SRCS= factor.c pr_tbl.c SRCS= factor.c pr_tbl.c
CFLAGS+=-I${.CURDIR}/../primes CFLAGS+=-I${.CURDIR}/../primes
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) .if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
CFLAGS+=-DHAVE_OPENSSL CFLAGS+=-DHAVE_OPENSSL
LDADD= -lcrypto LDADD= -lcrypto
DPADD= ${LIBCRYPTO} DPADD= ${LIBCRYPTO}

View file

@ -33,7 +33,7 @@ CFLAGS+= -I${.CURDIR} -I../lib -DHAVE_CONFIG_H -I${CVSDIR}/src \
DPADD= ${LIBCVS} ${LIBDIFF} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ} DPADD= ${LIBCVS} ${LIBDIFF} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ}
LDADD= ${LIBCVS} ${LIBDIFF} -lgnuregex -lmd -lcrypt -lz 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 CFLAGS+= -DHAVE_GSSAPI -DHAVE_GSSAPI_H -DENCRYPTION
LDADD+= -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err LDADD+= -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBROKEN} DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBROKEN}

View file

@ -82,7 +82,7 @@ _libsmdb= libsmdb
_libsmutil= libsmutil _libsmutil= libsmutil
.endif .endif
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) .if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
_libmp= libmp _libmp= libmp
.endif .endif

View file

@ -34,7 +34,7 @@ CFLAGS+= -DWANT_IPV6
.endif .endif
# Enable crypto if available # Enable crypto if available
.if !defined(NOCRYPT) .if !defined(NO_CRYPT)
CFLAGS+= -DOPENSSL CFLAGS+= -DOPENSSL
.endif .endif
@ -91,7 +91,7 @@ BIND_LDADD= ${BIND_DPADD}
.endif .endif
# Link against crypto library # Link against crypto library
.if !defined(NOCRYPT) .if !defined(NO_CRYPT)
CRYPTO_DPADD= ${LIBCRYPTO} CRYPTO_DPADD= ${LIBCRYPTO}
CRYPTO_LDADD= -lcrypto CRYPTO_LDADD= -lcrypto
.endif .endif

View file

@ -15,7 +15,7 @@ MLINKS= crypt.3 crypt_get_format.3 crypt.3 crypt_set_format.3
CFLAGS+= -I${.CURDIR}/../libmd -I${.CURDIR}/../libutil CFLAGS+= -I${.CURDIR}/../libmd -I${.CURDIR}/../libutil
# Pull in the strong crypto, if it is present. # 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 .PATH: ${.CURDIR}/../../secure/lib/libcrypt
SRCS+= crypt-des.c crypt-blowfish.c blowfish.c SRCS+= crypt-des.c crypt-blowfish.c blowfish.c
CFLAGS+= -I${.CURDIR} -DHAS_DES -DHAS_BLOWFISH CFLAGS+= -I${.CURDIR} -DHAS_DES -DHAS_BLOWFISH

View file

@ -9,7 +9,7 @@ INCS= fetch.h
MAN= fetch.3 MAN= fetch.3
CLEANFILES= ftperr.h httperr.h CLEANFILES= ftperr.h httperr.h
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) .if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
CFLAGS+= -DWITH_SSL CFLAGS+= -DWITH_SSL
DPADD= ${LIBSSL} ${LIBCRYPTO} DPADD= ${LIBSSL} ${LIBCRYPTO}
LDADD= -lssl -lcrypto LDADD= -lssl -lcrypto

View file

@ -8,7 +8,7 @@ MODULES += pam_exec
MODULES += pam_ftpusers MODULES += pam_ftpusers
MODULES += pam_group MODULES += pam_group
MODULES += pam_guest 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_krb5
MODULES += pam_ksu MODULES += pam_ksu
.endif .endif
@ -24,7 +24,7 @@ MODULES += pam_rhosts
MODULES += pam_rootok MODULES += pam_rootok
MODULES += pam_securetty MODULES += pam_securetty
MODULES += pam_self 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 MODULES += pam_ssh
.endif .endif
MODULES += pam_tacplus MODULES += pam_tacplus

View file

@ -31,7 +31,7 @@ CFLAGS+= -Wall
SHLIB_MAJOR= 1 SHLIB_MAJOR= 1
MAN= libradius.3 radius.conf.5 MAN= libradius.3 radius.conf.5
.if defined(NOCRYPT) || defined(NO_OPENSSL) .if defined(NO_CRYPT) || defined(NO_OPENSSL)
DPADD= ${LIBMD} DPADD= ${LIBMD}
LDADD= -lmd LDADD= -lmd
.else .else

View file

@ -14,7 +14,7 @@ CFLAGS+= -I${TELNETDIR}
WARNS?= 0 WARNS?= 0
.if !defined(RELEASE_CRUNCH) .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 SRCS+= encrypt.c auth.c enc_des.c sra.c pk.c
CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DSRA CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DSRA
.if !defined(NO_KERBEROS) .if !defined(NO_KERBEROS)

View file

@ -29,7 +29,7 @@ DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
LDADD= -lutil -ltermcap ${LIBTELNET} LDADD= -lutil -ltermcap ${LIBTELNET}
.if !defined(RELEASE_CRUNCH) .if !defined(RELEASE_CRUNCH)
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) .if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
SRCS+= authenc.c SRCS+= authenc.c
CFLAGS+= -DAUTHENTICATION -DENCRYPTION CFLAGS+= -DAUTHENTICATION -DENCRYPTION
DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBPAM} DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBPAM}

View file

@ -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 \ ed expr getfacl hostname kenv kill ln ls mkdir mv pax ps pwd \
realpath rm rmdir setfacl sh stty sync test realpath rm rmdir setfacl sh stty sync test
CRUNCH_LIBS+= -lcrypt -ledit -lkvm -ll -lm -ltermcap -lutil 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 CRUNCH_LIBS+= -lcrypto
.endif .endif

View file

@ -26,11 +26,11 @@ secure:
insecure: insecure:
.for entry in ${SPROGS} .for entry in ${SPROGS}
cd ${.CURDIR}/../${entry}; \ cd ${.CURDIR}/../${entry}; \
${MAKE} -DNOCRYPT cleandir; \ ${MAKE} -DNO_CRYPT cleandir; \
${MAKE} -DNOCRYPT obj; \ ${MAKE} -DNO_CRYPT obj; \
${MAKE} -DNOCRYPT depend; \ ${MAKE} -DNO_CRYPT depend; \
${MAKE} -DNOCRYPT all; \ ${MAKE} -DNO_CRYPT all; \
${MAKE} -DNOCRYPT install ${MAKE} -DNO_CRYPT install
.endfor .endfor
.include <bsd.subdir.mk> .include <bsd.subdir.mk>

View file

@ -110,7 +110,7 @@
#NO_AUTHPF= # do not build and install authpf (setuid/gid) #NO_AUTHPF= # do not build and install authpf (setuid/gid)
#NO_BLUETOOTH= # do not build Bluetooth related stuff #NO_BLUETOOTH= # do not build Bluetooth related stuff
#NO_BOOT= # do not build boot blocks and loader #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_CVS= # do not build CVS
#NO_CXX= # do not build C++ and friends #NO_CXX= # do not build C++ and friends
#NO_DYNAMICROOT= # do not link /bin and /sbin dynamically #NO_DYNAMICROOT= # do not link /bin and /sbin dynamically

View file

@ -8,7 +8,7 @@ MAKEWHATIS?= makewhatis
makedb: makedb:
${MAKEWHATIS} ${DESTDIR}${BINDIR}/man ${MAKEWHATIS} ${DESTDIR}${BINDIR}/man
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) .if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
${MAKEWHATIS} ${DESTDIR}${BINDIR}/openssl/man ${MAKEWHATIS} ${DESTDIR}${BINDIR}/openssl/man
.endif .endif

View file

@ -535,7 +535,7 @@ Set this to run
.Dq Li "${MAKE} clean" .Dq Li "${MAKE} clean"
instead of instead of
.Dq Li "${MAKE} cleandir" . .Dq Li "${MAKE} cleandir" .
.It Va NOCRYPT .It Va NO_CRYPT
.Pq Vt bool .Pq Vt bool
Set to not build any crypto code. Set to not build any crypto code.
.It Va NOGAMES .It Va NOGAMES

View file

@ -3,6 +3,7 @@
.if !defined(BURN_BRIDGES) .if !defined(BURN_BRIDGES)
.for oldnew in \ .for oldnew in \
NOATM:NO_ATM \ NOATM:NO_ATM \
NOCRYPT:NO_CRYPT \
NODOCCOMPRESS:NO_DOCCOMPRESS \ NODOCCOMPRESS:NO_DOCCOMPRESS \
NOEXTRADEPEND:NO_EXTRADEPEND \ NOEXTRADEPEND:NO_EXTRADEPEND \
NOFSCHG:NO_FSCHG \ NOFSCHG:NO_FSCHG \

View file

@ -91,7 +91,7 @@ LIBOPIE?= ${DESTDIR}${LIBDIR}/libopie.a
LIBPAM?= ${DESTDIR}${LIBDIR}/libpam.a LIBPAM?= ${DESTDIR}${LIBDIR}/libpam.a
MINUSLPAM= -lpam MINUSLPAM= -lpam
.if defined(LDFLAGS) && !empty(LDFLAGS:M-static) .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} \ LIBPAM+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \
${LIBROKEN} ${LIBCOM_ERR} ${LIBROKEN} ${LIBCOM_ERR}
MINUSLPAM+= -lkrb5 -lasn1 -lcrypto -lcrypt -lroken -lcom_err MINUSLPAM+= -lkrb5 -lasn1 -lcrypto -lcrypt -lroken -lcom_err
@ -100,7 +100,7 @@ LIBPAM+= ${LIBRADIUS} ${LIBTACPLUS} ${LIBCRYPT} \
${LIBUTIL} ${LIBOPIE} ${LIBMD} ${LIBUTIL} ${LIBOPIE} ${LIBMD}
MINUSLPAM+= -lradius -ltacplus -lcrypt \ MINUSLPAM+= -lradius -ltacplus -lcrypt \
-lutil -lopie -lmd -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} LIBPAM+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT}
MINUSLPAM+= -lssh -lcrypto -lcrypt MINUSLPAM+= -lssh -lcrypto -lcrypt
.endif .endif

View file

@ -267,7 +267,7 @@ _syscons= syscons
_ufs= ufs _ufs= ufs
.endif .endif
.if !defined(NOCRYPT) || defined(ALL_MODULES) .if !defined(NO_CRYPT) || defined(ALL_MODULES)
.if exists(${.CURDIR}/../opencrypto) .if exists(${.CURDIR}/../opencrypto)
_crypto= crypto _crypto= crypto
_cryptodev= cryptodev _cryptodev= cryptodev

View file

@ -45,7 +45,7 @@ SUBDIR= async \
_bluetooth= bluetooth _bluetooth= bluetooth
.endif .endif
.if !defined(NOCRYPT) && exists(${.CURDIR}/../../crypto/rc4/rc4.c) .if !defined(NO_CRYPT) && exists(${.CURDIR}/../../crypto/rc4/rc4.c)
_mppc= mppc _mppc= mppc
.endif .endif

View file

@ -245,7 +245,7 @@ _nsupdate= nsupdate
_bluetooth= bluetooth _bluetooth= bluetooth
.endif .endif
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) .if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
_chkey= chkey _chkey= chkey
_newkey= newkey _newkey= newkey
.endif .endif

View file

@ -5,7 +5,7 @@ CSTD?= c99
WARNS?= 6 WARNS?= 6
DPADD= ${LIBFETCH} DPADD= ${LIBFETCH}
LDADD= -lfetch LDADD= -lfetch
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) .if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
DPADD+= ${LIBSSL} ${LIBCRYPTO} DPADD+= ${LIBSSL} ${LIBCRYPTO}
LDADD+= -lssl -lcrypto LDADD+= -lssl -lcrypto
.endif .endif

View file

@ -31,7 +31,7 @@ CFLAGS+= -DHAS_CGETENT
.endif .endif
.if !defined(RELEASE_CRUNCH) .if !defined(RELEASE_CRUNCH)
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) .if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
SRCS+= authenc.c SRCS+= authenc.c
CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DIPSEC CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DIPSEC
DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBIPSEC} ${LIBPAM} DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBIPSEC} ${LIBPAM}

View file

@ -193,7 +193,7 @@ _atm= atm
.endif .endif
.if !defined(NO_BIND) .if !defined(NO_BIND)
.if !defined(NO_BIND_DNSSEC) && !defined(NOCRYPT) .if !defined(NO_BIND_DNSSEC) && !defined(NO_CRYPT)
_dnssec-keygen= dnssec-keygen _dnssec-keygen= dnssec-keygen
_dnssec-signzone= dnssec-signzone _dnssec-signzone= dnssec-signzone
.endif .endif
@ -211,7 +211,7 @@ _rndc-confgen= rndc-confgen
_bluetooth= bluetooth _bluetooth= bluetooth
.endif .endif
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) .if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
_keyserv= keyserv _keyserv= keyserv
.endif .endif

View file

@ -8,7 +8,7 @@ NTPDEFS= -DSYS_FREEBSD
# -DMX4200 -DNMEA -DBOEDER # -DMX4200 -DNMEA -DBOEDER
CFLAGS+= ${NTPDEFS} ${DEFS_LOCAL} ${CLOCKDEFS} 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 CFLAGS+= -DOPENSSL
.endif .endif

View file

@ -12,7 +12,7 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
DPADD= ${LIBNTP} DPADD= ${LIBNTP}
LDADD= ${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} DPADD+= ${LIBMD} ${LIBCRYPTO}
LDADD+= -lmd -lcrypto LDADD+= -lmd -lcrypto
.endif .endif

View file

@ -31,7 +31,7 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
DPADD= ${LIBPARSE} ${LIBNTP} ${LIBM} ${LIBMD} DPADD= ${LIBPARSE} ${LIBNTP} ${LIBM} ${LIBMD}
LDADD= ${LIBPARSE} ${LIBNTP} -lm -lmd 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} DPADD+= ${LIBCRYPTO}
LDADD+= -lcrypto LDADD+= -lcrypto
.endif .endif

View file

@ -2,7 +2,7 @@
SUBDIR= lib add create delete info ${_sign} version SUBDIR= lib add create delete info ${_sign} version
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) .if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
_sign= sign _sign= sign
.endif .endif

View file

@ -6,7 +6,7 @@ LIBINSTALL= ${.OBJDIR}/../lib/libinstall.a
LIBINSTALL= ${.CURDIR}/../lib/libinstall.a LIBINSTALL= ${.CURDIR}/../lib/libinstall.a
.endif .endif
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && \ .if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && \
defined(LDADD) && ${LDADD:M-lfetch} != "" defined(LDADD) && ${LDADD:M-lfetch} != ""
DPADD+= ${LIBSSL} ${LIBCRYPTO} DPADD+= ${LIBSSL} ${LIBCRYPTO}
LDADD+= -lssl -lcrypto LDADD+= -lssl -lcrypto

View file

@ -72,7 +72,7 @@ CFLAGS+=-DNOSUID
SRCS+= id.c SRCS+= id.c
.endif .endif
.if defined(RELEASE_CRUNCH) || defined(NOCRYPT) || defined(NO_OPENSSL) .if defined(RELEASE_CRUNCH) || defined(NO_CRYPT) || defined(NO_OPENSSL)
CFLAGS+=-DNODES CFLAGS+=-DNODES
.else .else
SRCS+= chap_ms.c mppe.c SRCS+= chap_ms.c mppe.c

View file

@ -30,7 +30,7 @@ DPADD+= ${LIBPCAP}
LDADD+= -lpcap LDADD+= -lpcap
# MS-CHAP support. Requires the DES library. # 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 CFLAGS+= -DCHAPMS
SRCS+= chap_ms.c SRCS+= chap_ms.c
LDADD+= -lcrypto LDADD+= -lcrypto

View file

@ -63,7 +63,7 @@ LDADD+= ${LIBSMUTIL} ${LIBSM}
SRCS+= sm_os.h SRCS+= sm_os.h
CLEANFILES+=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 # STARTTLS support
CFLAGS+= -DSTARTTLS -D_FFR_TLS_1 -D_FFR_DEAL_WITH_ERROR_SSL CFLAGS+= -DSTARTTLS -D_FFR_TLS_1 -D_FFR_DEAL_WITH_ERROR_SSL
DPADD+= ${LIBSSL} ${LIBCRYPTO} DPADD+= ${LIBSSL} ${LIBCRYPTO}

View file

@ -42,7 +42,7 @@ CFLAGS+= -DLBL_ALIGN
DPADD= ${LIBL} ${LIBPCAP} DPADD= ${LIBL} ${LIBPCAP}
LDADD= -ll -lpcap LDADD= -ll -lpcap
.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH) .if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
DPADD+= ${LIBCRYPTO} DPADD+= ${LIBCRYPTO}
LDADD+= -lcrypto LDADD+= -lcrypto
CFLAGS+= -I${DESTDIR}/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_RC5_H -DHAVE_CAST_H -DHAVE_OPENSSL_EVP_H CFLAGS+= -I${DESTDIR}/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_RC5_H -DHAVE_CAST_H -DHAVE_OPENSSL_EVP_H