1 | # -*- 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 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup conflicts_build 1.0 |
---|
5 | |
---|
6 | name oath-toolkit |
---|
7 | version 2.6.11 |
---|
8 | revision 0 |
---|
9 | categories security devel |
---|
10 | platforms darwin |
---|
11 | maintainers {alum.wpi.edu:arno+macports @fracai} openmaintainer |
---|
12 | license GPL-3 |
---|
13 | |
---|
14 | description The OATH Toolkit contains a shared library, command line \ |
---|
15 | tool, and PAM module for one-time password authentication. |
---|
16 | |
---|
17 | long_description The OATH Toolkit contains a shared library, command line \ |
---|
18 | tool, and PAM module that makes it possible to build \ |
---|
19 | one-time password authentication systems. Supported \ |
---|
20 | technologies include the event-based HOTP algorithm and \ |
---|
21 | the time-based TOTP algorithm. OATH is the Open \ |
---|
22 | AuTHentication organization which specify the algorithms. |
---|
23 | |
---|
24 | homepage http://oath-toolkit.nongnu.org/ |
---|
25 | master_sites savannah |
---|
26 | |
---|
27 | checksums rmd160 a0800e12b028c9912a93713d83c357252026fb18 \ |
---|
28 | sha256 fc512a4a5b46f4c43ab0586c3189fece4d54f7e649397d6fa1e23428431e2cb4 \ |
---|
29 | size 4699215 |
---|
30 | |
---|
31 | patch.pre_args-replace -p0 -p1 |
---|
32 | |
---|
33 | # Fix for 2.6.11-stdlib include missing in some files |
---|
34 | patchfiles-append patch-2.6.11-include-stdlib.diff |
---|
35 | # Need to regenerate autotools scripts, due to previous patch; not needed for next release |
---|
36 | use_autoreconf yes |
---|
37 | autoreconf.args -fvi |
---|
38 | |
---|
39 | # This version of 'oath-toolkit' requires 'xmlsec-1.2'. |
---|
40 | # Once upstream releases support for xmlsec 1.3+, none of this will be needed. |
---|
41 | conflicts_build-append \ |
---|
42 | xmlsec |
---|
43 | set xmlsec_lib ${prefix}/lib/xmlsec-1.2/lib |
---|
44 | configure.pkg_config_path-prepend \ |
---|
45 | ${xmlsec_lib}/pkgconfig |
---|
46 | |
---|
47 | depends_build-append \ |
---|
48 | port:gtk-doc \ |
---|
49 | port:pkgconfig |
---|
50 | |
---|
51 | depends_lib-append \ |
---|
52 | port:libtool \ |
---|
53 | port:libxml2 \ |
---|
54 | port:libxslt \ |
---|
55 | port:xmlsec-1.2 |
---|
56 | |
---|
57 | configure.args-append \ |
---|
58 | --disable-silent-rules |
---|
59 | |
---|
60 | livecheck.type regex |
---|
61 | livecheck.url https://download.savannah.gnu.org/releases/oath-toolkit/ |
---|
62 | livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} |
---|