2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00

Add trivial support for FreeBSD packages.

The actual FreeBSD port supports multiple options but this is sufficient
for testing purposes.
This commit is contained in:
Todd C. Miller 2021-08-11 15:09:00 -06:00
parent 374d499818
commit 3f30704ab7

View File

@ -399,6 +399,25 @@ case "$osversion" in
$configure_opts" $configure_opts"
PPVARS="${PPVARS}${PPVARS+$space}aix_freeware=true" PPVARS="${PPVARS}${PPVARS+$space}aix_freeware=true"
;; ;;
FreeBSD*)
# Encrypted remote I/O log support.
with_openssl=true
# Python plugins
with_python=true
configure_opts="
--sysconfdir=/usr/local/etc
--with-ignore-dot
--with-tty-tickets
--with-env-editor
--with-logincap
--with-long-otp-prompt
--with-rundir=/var/run/sudo
--enable-zlib=system
--disable-nls
$configure_opts"
;;
*) *)
# For Solaris, add project support and use let configure choose zlib. # For Solaris, add project support and use let configure choose zlib.
# For all others, use the builtin zlib and disable NLS support. # For all others, use the builtin zlib and disable NLS support.