PKGNAME=dante
PKGSEC=net
PKGDEP="linux-pam krb5 cyrus-sasl openldap"
PKGDES="SOCKS v4 and v5 compatible proxy server and client"

ABTYPE=autotools
# FIXME: [...]/dante-1.4.4/configure: line 25281: include/errorsymbols_gen.h: No such file or directory
ABSHADOW=0

AUTOTOOLS_AFTER=(
    '--enable-release'
    '--enable-debug'
    # enable low-overhead debugging mode
    '--enable-livedebug'
    '--enable-diagnostic'
    '--disable-profiling'
    '--disable-coverage'
    '--disable-linting'
    '--enable-largefile'
    '--enable-client'
    '--enable-server'
    # enable direct route fallback in client [default=disabled]
    '--disable-drt-fallback'
    '--enable-preload'
    '--enable-clientdl'
    '--enable-serverdl'
    '--enable-pidfile'
    # testing option, enable unreliable libc [default=disabled]
    '--disable-libcfail'
    '--enable-year2038'
    '--with-glibc-secure'
    '--with-bsdauth'
    '--with-full-env'
    '--with-gssapi'
    '--with-pac'
    '--with-sasl'
    '--with-ldap'
    '--with-upnp'
    '--without-libwrap'
    '--with-pam'
)
