summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-08-12 18:47:56 +0000
committermarkm <markm@FreeBSD.org>2001-08-12 18:47:56 +0000
commit8d004b8b0dcbc90d1b4791b3d26e1f6209f47093 (patch)
treec3a9d8f372ba26276fb828e169b661c1372c0f30
parentc675f2ec8719164bb49bfaa2d7f39bb3604ec69b (diff)
downloadFreeBSD-src-8d004b8b0dcbc90d1b4791b3d26e1f6209f47093.zip
FreeBSD-src-8d004b8b0dcbc90d1b4791b3d26e1f6209f47093.tar.gz
Remove the WANT_INSECURE_OPIE option - it is now a default. This is not
nearly as ominous as it sounds, and it allows OPIE to be used over SSH and on xterms. Requested by: ache Discussed on: -security
-rw-r--r--etc/defaults/make.conf6
-rw-r--r--lib/libopie/Makefile2
-rw-r--r--share/examples/etc/make.conf6
-rw-r--r--usr.bin/opieinfo/Makefile3
-rw-r--r--usr.bin/opiekey/Makefile3
-rw-r--r--usr.bin/opiepasswd/Makefile3
6 files changed, 0 insertions, 23 deletions
diff --git a/etc/defaults/make.conf b/etc/defaults/make.conf
index 5de4a74..ca68587 100644
--- a/etc/defaults/make.conf
+++ b/etc/defaults/make.conf
@@ -112,12 +112,6 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
#
#WANT_OPENSSL_MANPAGES= true
#
-# To build usr.bin/opie* and libopie with options to make it accept
-# being operatred over insecure TTY's. Mainly of use during debugging,
-# This is also of use if all traffic is routinely encrypted.
-#
-#WANT_INSECURE_OPIE= true
-#
# To build sys/modules when building the world (our old way of doing things)
#MODULES_WITH_WORLD=true # do not build modules when building kernel
#
diff --git a/lib/libopie/Makefile b/lib/libopie/Makefile
index 3139368..89e07a5 100644
--- a/lib/libopie/Makefile
+++ b/lib/libopie/Makefile
@@ -24,10 +24,8 @@ INCS= ${OPIE_DIST}/opie.h
CFLAGS+=-I${.CURDIR} -I${OPIE_DIST} -I${DIST_DIR} \
-DKEY_FILE=${KEYFILE}
-.if defined(WANT_INSECURE_OPIE) && ${WANT_INSECURE_OPIE} == true
ACCESSFILE?= \"/etc/opieaccess\"
CFLAGS+= -DINSECURE_OVERRIDE -DPATH_ACCESS_FILE=${ACCESSFILE}
-.endif
LDADD+= -lmd
DPADD+= ${LIBMD}
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf
index 5de4a74..ca68587 100644
--- a/share/examples/etc/make.conf
+++ b/share/examples/etc/make.conf
@@ -112,12 +112,6 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
#
#WANT_OPENSSL_MANPAGES= true
#
-# To build usr.bin/opie* and libopie with options to make it accept
-# being operatred over insecure TTY's. Mainly of use during debugging,
-# This is also of use if all traffic is routinely encrypted.
-#
-#WANT_INSECURE_OPIE= true
-#
# To build sys/modules when building the world (our old way of doing things)
#MODULES_WITH_WORLD=true # do not build modules when building kernel
#
diff --git a/usr.bin/opieinfo/Makefile b/usr.bin/opieinfo/Makefile
index e0789b8..2ee633d 100644
--- a/usr.bin/opieinfo/Makefile
+++ b/usr.bin/opieinfo/Makefile
@@ -5,10 +5,7 @@ OPIE_DIST?= ${.CURDIR}/../../contrib/opie
PROG= opieinfo
CFLAGS+=-I${OPIE_DIST}
-
-.if defined(WANT_INSECURE_OPIE) && ${WANT_INSECURE_OPIE} == true
CFLAGS+=-DINSECURE_OVERRIDE
-.endif
DPADD= ${LIBOPIE} ${LIBMD}
LDADD= -lopie -lmd
diff --git a/usr.bin/opiekey/Makefile b/usr.bin/opiekey/Makefile
index 588ec87..ae4738b 100644
--- a/usr.bin/opiekey/Makefile
+++ b/usr.bin/opiekey/Makefile
@@ -5,10 +5,7 @@ OPIE_DIST?= ${.CURDIR}/../../contrib/opie
PROG= opiekey
CFLAGS+= -I${OPIE_DIST}
-
-.if defined(WANT_INSECURE_OPIE) && ${WANT_INSECURE_OPIE} == true
CFLAGS+=-DINSECURE_OVERRIDE
-.endif
DPADD= ${LIBOPIE} ${LIBMD}
LDADD= -lopie -lmd
diff --git a/usr.bin/opiepasswd/Makefile b/usr.bin/opiepasswd/Makefile
index e7e4942..00021f6 100644
--- a/usr.bin/opiepasswd/Makefile
+++ b/usr.bin/opiepasswd/Makefile
@@ -5,10 +5,7 @@ OPIE_DIST?= ${.CURDIR}/../../contrib/opie
PROG= opiepasswd
CFLAGS+=-I${OPIE_DIST}
-
-.if defined(WANT_INSECURE_OPIE) && ${WANT_INSECURE_OPIE} == true
CFLAGS+=-DINSECURE_OVERRIDE
-.endif
DPADD= ${LIBOPIE} ${LIBMD}
LDADD= -lopie -lmd
OpenPOWER on IntegriCloud