875afe974f
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.
24 lines
426 B
Makefile
24 lines
426 B
Makefile
# $FreeBSD$
|
|
#
|
|
OPIE_DIST?= ${.CURDIR}/../../contrib/opie
|
|
|
|
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
|
|
|
|
LINKS= ${BINDIR}/opiekey ${BINDIR}/otp-md4
|
|
LINKS+= ${BINDIR}/opiekey ${BINDIR}/otp-md5
|
|
|
|
MLINKS= opiekey.1 otp-md4.1 opiekey.1 otp-md5.1
|
|
|
|
.PATH: ${OPIE_DIST}
|
|
|
|
.include <bsd.prog.mk>
|