# -*- 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 conflicts_build 1.0 name oath-toolkit version 2.6.7 revision 0 categories security devel platforms darwin maintainers {alum.wpi.edu:arno+macports @fracai} openmaintainer license GPL-3 description The OATH Toolkit contains a shared library, command line \ tool, and PAM module for one-time password authentication. long_description The OATH Toolkit contains a shared library, command line \ tool, and PAM module that makes it possible to build \ one-time password authentication systems. Supported \ technologies include the event-based HOTP algorithm and \ the time-based TOTP algorithm. OATH is the Open \ AuTHentication organization which specify the algorithms. homepage http://oath-toolkit.nongnu.org/ master_sites savannah checksums rmd160 3e7715b6e90c2ac274de6c3bcbca132c9c6e93c9 \ sha256 36eddfce8f2f36347fb257dbf878ba0303a2eaafe24eaa071d5cd302261046a9 \ size 5625279 patch.pre_args -p1 # Fix for 2.6.7-specific issue on macOS, related to lack of 'pam_modutil.h'; details in patch. # Merged into upstream master, and will be included in next release. patchfiles-append patch-2.6.7-pam_oath-pam_modutil_getmwnam.diff # Need to regenerate autotools scripts, due to previous patch; not needed for next release use_autoreconf yes autoreconf.args -fvi # This version of 'oath-toolkit' requires 'xmlsec-1.2'. # Once upstream releases support for xmlsec 1.3+, none of this will be needed. conflicts_build-append \ xmlsec set xmlsec_lib ${prefix}/lib/xmlsec-1.2/lib configure.pkg_config_path-prepend \ ${xmlsec_lib}/pkgconfig depends_build-append \ port:gtk-doc \ port:pkgconfig depends_lib-append \ port:libtool \ port:libxml2 \ port:libxslt \ port:xmlsec-1.2 configure.args-append \ --disable-silent-rules livecheck.type regex livecheck.url https://download.savannah.gnu.org/releases/oath-toolkit/ livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}