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
20934175ae
commit
875afe974f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79467
@ -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…
Reference in New Issue
Block a user