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.
This commit is contained in:
Mark Murray 2001-07-09 17:37:52 +00:00
parent 20934175ae
commit 875afe974f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79467
3 changed files with 17 additions and 0 deletions

View File

@ -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}

View File

@ -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

View File

@ -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>