From 3f30704ab74d40cb7e28f026937accd16954466a Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 11 Aug 2021 15:09:00 -0600 Subject: [PATCH] Add trivial support for FreeBSD packages. The actual FreeBSD port supports multiple options but this is sufficient for testing purposes. --- scripts/mkpkg | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/scripts/mkpkg b/scripts/mkpkg index f60fec4c0..950616a0c 100755 --- a/scripts/mkpkg +++ b/scripts/mkpkg @@ -399,6 +399,25 @@ case "$osversion" in $configure_opts" 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 all others, use the builtin zlib and disable NLS support.