aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2001-08-02 18:58:52 +0000
committerMark Murray <markm@FreeBSD.org>2001-08-02 18:58:52 +0000
commit41b07e1d10cb6cda0b1131cd860767effe36b60c (patch)
treed91abf855b39ec6121b5a8fc88317e26232615f6
parentea0cdbc8aca9a1b83ec5fe80e522c36c5a897d1d (diff)
downloadsrc-41b07e1d10cb6cda0b1131cd860767effe36b60c.tar.gz
src-41b07e1d10cb6cda0b1131cd860767effe36b60c.zip
Add opieaccess(5) functionality under the INSECURE_OPIE .ifdef.
Asked for by: ache
Notes
Notes: svn path=/head/; revision=81062
-rw-r--r--lib/libopie/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libopie/Makefile b/lib/libopie/Makefile
index f9bb26321527..313936840868 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