Print this page
Have openssh properly use auditing to provide audit context for logins.
Patches pulled from SmartOS, originally done by:
Alex Wilson <alex.wilson@joyent.com>
NOTE: This is a sideport from their illumos-extra, and it needs tracking.
@@ -50,10 +50,11 @@
--with-solaris-contracts
--with-solaris-projects
--with-tcp-wrappers
--with-ssl-engine
--with-pam
+ --with-audit=solaris
"
install_smf() {
logmsg "Installing SMF components"
logcmd mkdir -p $DESTDIR/lib/svc/manifest/network || \
@@ -64,14 +65,17 @@
logerr "--- Failed to create method directory"
logcmd cp $SRCDIR/method-sshd $DESTDIR/lib/svc/method/sshd || \
logerr "--- Failed to copy method script"
}
+CFLAGS+="-DPAM_ENHANCEMENT -DSET_USE_PAM -DPAM_BUGFIX -DDTRACE_SFTP"
+
init
download_source $PROG $PROG $VER
patch_source
prep_build
+run_autoconf
build
# Remove the letter from VER for packaging
VER=${VER//p/.}