Add WITH_OPIE, which will compile with OPIE instead of S/Key
This commit is contained in:
parent
95c0850f6c
commit
4eb139359e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44310
1 changed files with 8 additions and 2 deletions
|
@ -17,8 +17,7 @@ MAINTAINER= mharo@FreeBSD.org
|
|||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CONFIGURE_ARGS= --with-skey \
|
||||
--sysconfdir=${PREFIX}/etc \
|
||||
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
|
||||
--disable-log-wrap \
|
||||
--with-ignore-dot \
|
||||
--with-tty-tickets \
|
||||
|
@ -28,6 +27,13 @@ CONFIGURE_ARGS= --with-skey \
|
|||
--with-logincap \
|
||||
--disable-root-sudo
|
||||
|
||||
.ifdef(WITH_OPIE)
|
||||
CONFIGURE_ARGS+=--with-opie \
|
||||
--with-long-otp-prompt
|
||||
.else
|
||||
CONFIGURE_ARGS+=--with-skey
|
||||
.endif
|
||||
|
||||
MAN5= sudoers.5
|
||||
MAN8= sudo.8 visudo.8
|
||||
|
||||
|
|
Loading…
Reference in a new issue