summaryrefslogtreecommitdiffstats
path: root/lib/libopie
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-07-09 18:08:16 +0000
committermarkm <markm@FreeBSD.org>2001-07-09 18:08:16 +0000
commit5df25064461f5ca22954749947b42936989a0dcb (patch)
treef13f3dd9173b73379893159849330c29809cdc2f /lib/libopie
parented90ce83ec27cf20ba16990749199344669588b2 (diff)
downloadFreeBSD-src-5df25064461f5ca22954749947b42936989a0dcb.zip
FreeBSD-src-5df25064461f5ca22954749947b42936989a0dcb.tar.gz
Add the WANT_INSECURE_OPIE frob which is useful for debugging and
over secure (encrypted) links. Add a MLINK for skey(4) to opie(4) to assist in the transition.
Diffstat (limited to 'lib/libopie')
-rw-r--r--lib/libopie/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libopie/Makefile b/lib/libopie/Makefile
index 15d3185..f9bb263 100644
--- a/lib/libopie/Makefile
+++ b/lib/libopie/Makefile
@@ -24,9 +24,15 @@ 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
+CFLAGS+=-DINSECURE_OVERRIDE
+.endif
+
LDADD+= -lmd
DPADD+= ${LIBMD}
MAN= ${OPIE_DIST}/opie.4 ${OPIE_DIST}/opiekeys.5 ${OPIE_DIST}/opieaccess.5
+MLINKS= opie.4 skey.4
+
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud