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.12 |
---|
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 b1fb77b34fdf2459d0899a9fcb8e33f9b9485097 \ |
---|
28 | sha256 cafdf739b1ec4b276441c6aedae6411434bbd870071f66154b909cc6e2d9e8ba \ |
---|
29 | size 4706950 |
---|
30 | |
---|
31 | patch.pre_args-replace -p0 -p1 |
---|
32 | |
---|
33 | # Need to regenerate autotools scripts, due to previous patch; not needed for next release |
---|
34 | use_autoreconf yes |
---|
35 | autoreconf.args -fvi |
---|
36 | |
---|
37 | # This version of 'oath-toolkit' requires 'xmlsec-1.2'. |
---|
38 | # Once upstream releases support for xmlsec 1.3+, none of this will be needed. |
---|
39 | conflicts_build-append \ |
---|
40 | xmlsec |
---|
41 | set xmlsec_lib ${prefix}/lib/xmlsec-1.2/lib |
---|
42 | configure.pkg_config_path-prepend \ |
---|
43 | ${xmlsec_lib}/pkgconfig |
---|
44 | |
---|
45 | depends_build-append \ |
---|
46 | port:gtk-doc \ |
---|
47 | port:pkgconfig |
---|
48 | |
---|
49 | depends_lib-append \ |
---|
50 | port:libtool \ |
---|
51 | port:libxml2 \ |
---|
52 | port:libxslt \ |
---|
53 | port:xmlsec-1.2 |
---|
54 | |
---|
55 | configure.args-append \ |
---|
56 | --disable-silent-rules |
---|
57 | |
---|
58 | livecheck.type regex |
---|
59 | livecheck.url https://download.savannah.gnu.org/releases/oath-toolkit/ |
---|
60 | livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} |
---|