diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-05-19 15:52:01 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-05-19 15:52:01 +0000 |
| commit | 7691f66abfbcf43a14ca86b9875c01a31f101db3 (patch) | |
| tree | 9be45a94055cfc0506641b2e8790903643f53b99 | |
| parent | e5b4d90497c3bc6ea11b2c72d76954fb60250da0 (diff) | |
Notes
| -rw-r--r-- | Makefile.inc1 | 5 | ||||
| -rw-r--r-- | bin/ed/Makefile | 2 | ||||
| -rw-r--r-- | lib/Makefile | 6 | ||||
| -rw-r--r-- | lib/libcrypt/Makefile | 2 | ||||
| -rw-r--r-- | lib/libfetch/Makefile | 2 | ||||
| -rw-r--r-- | lib/libpam/modules/modules.inc | 3 | ||||
| -rw-r--r-- | libexec/Makefile | 3 | ||||
| -rw-r--r-- | share/examples/etc/make.conf | 1 | ||||
| -rw-r--r-- | share/man/man5/make.conf.5 | 5 | ||||
| -rw-r--r-- | usr.bin/Makefile | 6 | ||||
| -rw-r--r-- | usr.bin/fetch/Makefile | 2 | ||||
| -rw-r--r-- | usr.sbin/pkg_install/Makefile | 2 | ||||
| -rw-r--r-- | usr.sbin/pkg_install/add/Makefile | 2 | ||||
| -rw-r--r-- | usr.sbin/pkg_install/create/Makefile | 2 | ||||
| -rw-r--r-- | usr.sbin/pkg_install/delete/Makefile | 2 | ||||
| -rw-r--r-- | usr.sbin/pkg_install/info/Makefile | 2 | ||||
| -rw-r--r-- | usr.sbin/pkg_install/version/Makefile | 2 | ||||
| -rw-r--r-- | usr.sbin/ppp/Makefile | 3 | ||||
| -rw-r--r-- | usr.sbin/pppd/Makefile | 2 | ||||
| -rw-r--r-- | usr.sbin/sendmail/Makefile | 5 | ||||
| -rw-r--r-- | usr.sbin/tcpdump/tcpdump/Makefile | 2 |
21 files changed, 23 insertions, 38 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index d4f85887e5d3..b0cba4c400cb 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -8,7 +8,6 @@ # -DNOCRYPT will prevent building of crypt versions # -DNOMAN do not build the manual pages # -DNOPROFILE do not build profiled libraries -# -DNOSECURE do not go into secure subdir # -DNOGAMES do not go into games subdir # -DNOSHARE do not go into share subdir # -DNOINFO do not make or install info files @@ -70,7 +69,7 @@ SUBDIR+= libexec .if exists(${.CURDIR}/sbin) SUBDIR+= sbin .endif -.if exists(${.CURDIR}/secure) && !defined(NOCRYPT) && !defined(NOSECURE) +.if exists(${.CURDIR}/secure) && !defined(NOCRYPT) SUBDIR+= secure .endif .if exists(${.CURDIR}/share) && !defined(NOSHARE) @@ -803,7 +802,7 @@ lib/libypclnt__L: lib/librpcsvc__L _generic_libs+= lib -.if !defined(NOCRYPT) && !defined(NOSECURE) +.if !defined(NOCRYPT) .if !defined(NO_OPENSSL) _prebuild_libs+= secure/lib/libcrypto secure/lib/libssl .if !defined(NO_OPENSSH) diff --git a/bin/ed/Makefile b/bin/ed/Makefile index 00f47da8246b..2b612b9b676e 100644 --- a/bin/ed/Makefile +++ b/bin/ed/Makefile @@ -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 exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) +.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) DISTRIBUTION=crypto CFLAGS+=-DDES DPADD= ${LIBCIPHER} diff --git a/lib/Makefile b/lib/Makefile index 7312a9ea2cd6..d36a427ade90 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -79,13 +79,11 @@ _libdisk= libdisk .if defined(RELEASEDIR) || \ (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberos5)) || \ - defined(NOCRYPT) || defined(NO_OPENSSL) || \ - (defined(NOSECURE) && defined(NO_KERBEROS)) + defined(NOCRYPT) || defined(NO_OPENSSL) || defined(NO_KERBEROS) _libtelnet= libtelnet .endif -.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) \ - && !defined(NOSECURE) +.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) _libmp= libmp .endif diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile index ed4b2925171d..eda43f62017e 100644 --- a/lib/libcrypt/Makefile +++ b/lib/libcrypt/Makefile @@ -13,7 +13,7 @@ CFLAGS+= -I${.CURDIR}/../libmd -I${.CURDIR}/../libutil CFLAGS+= -DLIBC_SCCS -Wall # Pull in the crypt-des.c source, assuming it is present. .if exists(${.CURDIR}/../../secure/lib/libcrypt/crypt-des.c) && \ - !defined(NOSECURE) && !defined(NOCRYPT) + !defined(NOCRYPT) .PATH: ${.CURDIR}/../../secure/lib/libcrypt SRCS+= crypt-des.c crypt-blowfish.c blowfish.c CFLAGS+= -I${.CURDIR} -DHAS_DES -DHAS_BLOWFISH diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile index 02c11f667dac..3f9ca1c618c1 100644 --- a/lib/libfetch/Makefile +++ b/lib/libfetch/Makefile @@ -9,7 +9,7 @@ INCS= fetch.h MAN= fetch.3 CLEANFILES= ftperr.h httperr.h -.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) CFLAGS+= -DWITH_SSL DPADD= ${LIBSSL} ${LIBCRYPTO} LDADD= -lssl -lcrypto diff --git a/lib/libpam/modules/modules.inc b/lib/libpam/modules/modules.inc index 3a54d3ce1073..c139818f8606 100644 --- a/lib/libpam/modules/modules.inc +++ b/lib/libpam/modules/modules.inc @@ -24,8 +24,7 @@ MODULES += pam_rhosts MODULES += pam_rootok MODULES += pam_securetty MODULES += pam_self -.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(NO_OPENSSH) && \ - !defined(NOSECURE) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(NO_OPENSSH) MODULES += pam_ssh .endif MODULES += pam_tacplus diff --git a/libexec/Makefile b/libexec/Makefile index 29b87de5f867..66a4a01e25b4 100644 --- a/libexec/Makefile +++ b/libexec/Makefile @@ -43,8 +43,7 @@ SUBDIR+=mail.local smrsh .if defined(RELEASEDIR) || \ (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberos5)) || \ - defined(NOCRYPT) || defined(NO_OPENSSL) || \ - (defined(NOSECURE) && defined(NO_KERBEROS)) + defined(NOCRYPT) || defined(NO_OPENSSL) || defined(NO_KERBEROS) # make release needs both SUBDIR+=telnetd .endif diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf index 18a4190b7fe5..bc8bbbad6bbb 100644 --- a/share/examples/etc/make.conf +++ b/share/examples/etc/make.conf @@ -124,7 +124,6 @@ #NOLIBC_R= true # do not build libc_r (re-entrant version of libc) #NOMAN= true # do not build manual pages #NOPROFILE= true # Avoid compiling profiled libraries -#NOSECURE= true # do not build crypto code in secure/ subdir #NOSHARE= true # do not go into the share subdir # # To build sys/modules when building the world (our old way of doing things) diff --git a/share/man/man5/make.conf.5 b/share/man/man5/make.conf.5 index 4ca86b1fb339..09ba29168dba 100644 --- a/share/man/man5/make.conf.5 +++ b/share/man/man5/make.conf.5 @@ -536,11 +536,6 @@ Set to install man pages uncompressed. .It Va NOPROFILE .Pq Vt bool Set to avoid compiling profiled libraries. -.It Va NOSECURE -.Pq Vt bool -set to not build crypto code in -.Pa secure -subdir. .It Va NOSHARE .Pq Vt bool Set to not build in the diff --git a/usr.bin/Makefile b/usr.bin/Makefile index 725cbdf27660..6b413dedd81a 100644 --- a/usr.bin/Makefile +++ b/usr.bin/Makefile @@ -218,8 +218,7 @@ SUBDIR= alias \ .if defined(RELEASEDIR) || \ (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberos5)) || \ - defined(NOCRYPT) || defined(NO_OPENSSL) || \ - (defined(NOSECURE) && defined(NO_KERBEROS)) + defined(NOCRYPT) || defined(NO_OPENSSL) || defined(NO_KERBEROS) # make release needs both SUBDIR+=telnet .endif @@ -248,8 +247,7 @@ SUBDIR+=doscmd \ SUBDIR+=uac .endif -.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) \ - && !defined(NOSECURE) +.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) SUBDIR+=chkey newkey .endif diff --git a/usr.bin/fetch/Makefile b/usr.bin/fetch/Makefile index 276947e45f88..7b92352453f0 100644 --- a/usr.bin/fetch/Makefile +++ b/usr.bin/fetch/Makefile @@ -5,7 +5,7 @@ CSTD?= c99 WARNS?= 6 DPADD= ${LIBFETCH} LDADD= -lfetch -.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) DPADD+= ${LIBSSL} ${LIBCRYPTO} LDADD+= -lssl -lcrypto .endif diff --git a/usr.sbin/pkg_install/Makefile b/usr.sbin/pkg_install/Makefile index 6ffecc2fdf8c..f93fadbdcc33 100644 --- a/usr.sbin/pkg_install/Makefile +++ b/usr.sbin/pkg_install/Makefile @@ -2,7 +2,7 @@ SUBDIR= lib add create delete info version -.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) DISTRIBUTION= crypto SUBDIR+= sign .endif diff --git a/usr.sbin/pkg_install/add/Makefile b/usr.sbin/pkg_install/add/Makefile index 678885211c8e..55c538827a51 100644 --- a/usr.sbin/pkg_install/add/Makefile +++ b/usr.sbin/pkg_install/add/Makefile @@ -10,7 +10,7 @@ WARNS?= 2 DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD} LDADD= ${LIBINSTALL} -lfetch -lmd -.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) DPADD+= ${LIBSSL} ${LIBCRYPTO} LDADD+= -lssl -lcrypto .endif diff --git a/usr.sbin/pkg_install/create/Makefile b/usr.sbin/pkg_install/create/Makefile index 08173e5db996..e6c252b209ac 100644 --- a/usr.sbin/pkg_install/create/Makefile +++ b/usr.sbin/pkg_install/create/Makefile @@ -10,7 +10,7 @@ WARNS?= 2 DPADD= ${LIBINSTALL} ${LIBMD} LDADD= ${LIBINSTALL} -lmd -.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) DPADD+= ${LIBSSL} ${LIBCRYPTO} LDADD+= -lssl -lcrypto .endif diff --git a/usr.sbin/pkg_install/delete/Makefile b/usr.sbin/pkg_install/delete/Makefile index 954e5e62ca85..39bd1f457604 100644 --- a/usr.sbin/pkg_install/delete/Makefile +++ b/usr.sbin/pkg_install/delete/Makefile @@ -10,7 +10,7 @@ WARNS?= 4 DPADD= ${LIBINSTALL} ${LIBMD} LDADD= ${LIBINSTALL} -lmd -.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) DPADD+= ${LIBSSL} ${LIBCRYPTO} LDADD+= -lssl -lcrypto .endif diff --git a/usr.sbin/pkg_install/info/Makefile b/usr.sbin/pkg_install/info/Makefile index d3b16b808963..76f98645bf24 100644 --- a/usr.sbin/pkg_install/info/Makefile +++ b/usr.sbin/pkg_install/info/Makefile @@ -10,7 +10,7 @@ WARNS?= 2 DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD} LDADD= ${LIBINSTALL} -lfetch -lmd -.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) DPADD+= ${LIBSSL} ${LIBCRYPTO} LDADD+= -lssl -lcrypto .endif diff --git a/usr.sbin/pkg_install/version/Makefile b/usr.sbin/pkg_install/version/Makefile index f18bedfd2a21..8a80e49e5d83 100644 --- a/usr.sbin/pkg_install/version/Makefile +++ b/usr.sbin/pkg_install/version/Makefile @@ -10,7 +10,7 @@ WARNS?= 2 DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD} LDADD= ${LIBINSTALL} -lfetch -lmd -.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) DPADD+= ${LIBSSL} ${LIBCRYPTO} LDADD+= -lssl -lcrypto .endif diff --git a/usr.sbin/ppp/Makefile b/usr.sbin/ppp/Makefile index 86a22ab3eb8e..a26d235b54fe 100644 --- a/usr.sbin/ppp/Makefile +++ b/usr.sbin/ppp/Makefile @@ -15,7 +15,6 @@ NOI4B= true NONAT= true NOKLDLOAD= true NORADIUS= true -NOSECURE= true NOSUID= true .endif @@ -70,7 +69,7 @@ CFLAGS+=-DNOSUID SRCS+= id.c .endif -.if !exists(${.CURDIR}/../../secure) || defined(NOCRYPT) || defined(NOSECURE) || defined(NO_OPENSSL) || defined(NODES) +.if !exists(${.CURDIR}/../../crypto) || defined(NOCRYPT) || defined(NO_OPENSSL) || defined(NODES) CFLAGS+=-DNODES .else DISTRIBUTION=crypto diff --git a/usr.sbin/pppd/Makefile b/usr.sbin/pppd/Makefile index 4432435fa615..7c5f3029d3f9 100644 --- a/usr.sbin/pppd/Makefile +++ b/usr.sbin/pppd/Makefile @@ -30,7 +30,7 @@ DPADD+= ${LIBPCAP} LDADD+= -lpcap # MS-CHAP support. Requires the DES library. -.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH) +.if exists(${.CURDIR}/../../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH) DISTRIBUTION=crypto CFLAGS+= -DCHAPMS SRCS+= chap_ms.c diff --git a/usr.sbin/sendmail/Makefile b/usr.sbin/sendmail/Makefile index 7411ef3f61e2..3dfd707d5d1e 100644 --- a/usr.sbin/sendmail/Makefile +++ b/usr.sbin/sendmail/Makefile @@ -58,9 +58,8 @@ LDADD+= ${LIBSMUTIL} ${LIBSM} SRCS+= sm_os.h CLEANFILES+=sm_os.h -.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && \ - !defined(NOSECURE) && !defined(NO_OPENSSL) && \ - !defined(RELEASE_CRUNCH) +.if exists(${.CURDIR}/../../crypto) && !defined(NOCRYPT) && \ + !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH) # STARTTLS support DISTRIBUTION= crypto CFLAGS+= -DSTARTTLS -D_FFR_TLS_1 diff --git a/usr.sbin/tcpdump/tcpdump/Makefile b/usr.sbin/tcpdump/tcpdump/Makefile index bb6968a2f0bb..8b1063a8992a 100644 --- a/usr.sbin/tcpdump/tcpdump/Makefile +++ b/usr.sbin/tcpdump/tcpdump/Makefile @@ -39,7 +39,7 @@ CFLAGS+= -DLBL_ALIGN DPADD= ${LIBL} ${LIBPCAP} LDADD= -ll -lpcap -.if exists(../../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && \ +.if exists(../../../crypto) && !defined(NOCRYPT) && \ !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH) DISTRIBUTION=crypto DPADD+= ${LIBCRYPTO} |
