summaryrefslogtreecommitdiffstats
path: root/usr.bin/opiepasswd
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-07-09 17:37:52 +0000
committermarkm <markm@FreeBSD.org>2001-07-09 17:37:52 +0000
commitcb75b1ef0e029c0157267ba43f4ea1d690e160f3 (patch)
tree44ca02cf72d5bfad63844b5d001b324bc1eb2d11 /usr.bin/opiepasswd
parent84b43d43754c0f108200d2d8c22d0a27bd8ec17c (diff)
downloadFreeBSD-src-cb75b1ef0e029c0157267ba43f4ea1d690e160f3.zip
FreeBSD-src-cb75b1ef0e029c0157267ba43f4ea1d690e160f3.tar.gz
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.
Diffstat (limited to 'usr.bin/opiepasswd')
-rw-r--r--usr.bin/opiepasswd/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.bin/opiepasswd/Makefile b/usr.bin/opiepasswd/Makefile
index c0bfca2..e7e4942 100644
--- a/usr.bin/opiepasswd/Makefile
+++ b/usr.bin/opiepasswd/Makefile
@@ -6,9 +6,16 @@ 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
+BINMODE=4555
+INSTALLFLAGS=-fschg
+
.PATH: ${OPIE_DIST}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud