# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0

github.setup        squash sudosh2 1.0.7 v
github.tarball_from archive
revision            0

description         \
    sudosh is an auditing shell filter and can be used as a login shell.

long_description    \
    {*}${description} sudosh is an auditing shell filter and can be used as a \
    login shell. Sudosh records all keystrokes and output and can play back \
    the session as just like a VCR. Sudosh2 is a continuation of the \
    development of sudosh. Sudosh2 is an auditing layer between sudo and a \
    user\'s shell, that can also be used as a login shell. User sessions are \
    recorded and are available for later playback by the system \
    administrator. sudosh2 does not record command history except when \
    executed remotely via ssh\'s command option. If you\'re looking for \
    something to just log commands, there are other tools for that. sudosh2 \
    does not log sessions to syslog. If you need to consolidate session logs \
    to a single location, logging them to a network filesystem is currently \
    the recommended option. sudosh2 was forked from sudosh, which was pulled \
    by its original developer when a commercial company bought it from him. \
    The initial project goals were to fix several major bugs, make it 64 bit \
    safe, and port to newer versions of Unix operating systems. The initial \
    targets were RHEL5 and Solaris 10, but most recent free Unix systems \
    should work perfectly.

categories          shells security
installs_libs       no
license             OSL-2
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           rmd160  3384d399f9fe08c603458cbfbe4f2330d5286d05 \
                    sha256  deff53402cc1d27c149fe4031e1e9961a32f32424252c099a7d5edcef74f5f4a \
                    size    148232

conflicts           sudosh

use_autoreconf      yes
autoreconf.cmd      autoreconf
autoreconf.args     -fvi

depends_build-append \
                    port:autoconf \
                    port:automake \
                    port:libtool

configure.args-append \
                    --disable-silent-rules \
                    --mandir=${prefix}/share/man \
                    --sysconfdir=${prefix}/etc

patchfiles-append   patch-getopt.diff

compiler.c_standard 2017