summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-08-02 18:58:52 +0000
committermarkm <markm@FreeBSD.org>2001-08-02 18:58:52 +0000
commit7a60bf6a20fbb43879d8fecccfd4d8fbf8987184 (patch)
treed91abf855b39ec6121b5a8fc88317e26232615f6
parentbf2aec73e9f19e64a41d12cbf9b83e40e53be213 (diff)
downloadFreeBSD-src-7a60bf6a20fbb43879d8fecccfd4d8fbf8987184.zip
FreeBSD-src-7a60bf6a20fbb43879d8fecccfd4d8fbf8987184.tar.gz
Add opieaccess(5) functionality under the INSECURE_OPIE .ifdef.
Asked for by: ache
-rw-r--r--lib/libopie/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libopie/Makefile b/lib/libopie/Makefile
index f9bb263..3139368 100644
--- a/lib/libopie/Makefile
+++ b/lib/libopie/Makefile
@@ -25,7 +25,8 @@ CFLAGS+=-I${.CURDIR} -I${OPIE_DIST} -I${DIST_DIR} \
-DKEY_FILE=${KEYFILE}
.if defined(WANT_INSECURE_OPIE) && ${WANT_INSECURE_OPIE} == true
-CFLAGS+=-DINSECURE_OVERRIDE
+ACCESSFILE?= \"/etc/opieaccess\"
+CFLAGS+= -DINSECURE_OVERRIDE -DPATH_ACCESS_FILE=${ACCESSFILE}
.endif
LDADD+= -lmd
OpenPOWER on IntegriCloud