summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/opieinfo/Makefile6
-rw-r--r--usr.bin/opiekey/Makefile4
-rw-r--r--usr.bin/opiepasswd/Makefile7
3 files changed, 17 insertions, 0 deletions
diff --git a/usr.bin/opieinfo/Makefile b/usr.bin/opieinfo/Makefile
index 1826595..e0789b8 100644
--- a/usr.bin/opieinfo/Makefile
+++ b/usr.bin/opieinfo/Makefile
@@ -6,9 +6,15 @@ 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
+
BINMODE=4555
+INSTALLFLAGS=-fschg
.PATH: ${OPIE_DIST}
diff --git a/usr.bin/opiekey/Makefile b/usr.bin/opiekey/Makefile
index 116ca7e..9de6855 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
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