summaryrefslogtreecommitdiff
path: root/usr.bin/opiekey
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2001-07-09 17:37:52 +0000
committerMark Murray <markm@FreeBSD.org>2001-07-09 17:37:52 +0000
commit875afe974f0124841e2da99f3070d2d7daa14dc4 (patch)
tree44ca02cf72d5bfad63844b5d001b324bc1eb2d11 /usr.bin/opiekey
parent20934175ae3278c4cd3eb778aebf5ab33f8323d9 (diff)
downloadsrc-test2-875afe974f0124841e2da99f3070d2d7daa14dc4.tar.gz
src-test2-875afe974f0124841e2da99f3070d2d7daa14dc4.zip
Provide a WANT_INSECURE_OPIE compile-time option, which is useful if
you encrypt all traffic routinely, and is also useful for debugging. Also, (properly) set SUID bit on relevant apps - opieinfo and opiepasswd, which need it to mess with /etc/opiekeys.
Notes
Notes: svn path=/head/; revision=79467
Diffstat (limited to 'usr.bin/opiekey')
-rw-r--r--usr.bin/opiekey/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/opiekey/Makefile b/usr.bin/opiekey/Makefile
index 116ca7ed03a0..9de68557d4b9 100644
--- a/usr.bin/opiekey/Makefile
+++ b/usr.bin/opiekey/Makefile
@@ -6,6 +6,10 @@ 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