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:
parent
84b43d4375
commit
cb75b1ef0e
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user