source: trunk/dports/www/mod_authn_otp/Portfile

Last change on this file was 146517, checked in by raimue@…, 21 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                mod_authn_otp
6version             1.1.1
7revision            1
8
9categories          www
10platforms           darwin
11maintainers         nomaintainer
12license             Apache-2
13
14description         module for one-time password authentication
15long_description    mod_authn_otp is an Apache web server module for two-factor \
16                    authentication using one-time passwords (OTP) generated via \
17                    the HOTP/OATH algorithm defined in RFC 4226. This creates a \
18                    simple way to protect a web site with one-time passwords, \
19                    using any RFC 4226-compliant token device, including software \
20                    tokens that run on cell phones such as OATH Token. \
21                    mod_authn_otp also supports the Mobile-OTP algorithm.
22
23homepage            http://code.google.com/p/mod-authn-otp/
24master_sites        googlecode:mod-authn-otp
25
26checksums           md5         50ddc1cacde9be8e8c20eb0e253267cf \
27                    sha1        e214664b5fd3dc367e1d7410c23c9c113b52e9e6 \
28                    rmd160      b812f5ff1e041635746ba662ee7431332bf00dec
29
30depends_build       port:gsed
31depends_lib         port:apache2 path:lib/libssl.dylib:openssl
32
33patchfiles          otptool.h.patch
34
35configure.args      --mandir=${prefix}/share/man
36
37post-configure {
38   reinplace "s|/usr/sbin/apxs|${prefix}/apache2/bin/apxs|g" ${worksrcpath}/Makefile
39   # sed doesn't know about option "-r", gsed does
40   reinplace "s| sed| ${prefix}/bin/gsed|g" ${worksrcpath}/Makefile
41   # when stripping .so, option "-x" has to be specified
42   reinplace "s| \$(STRIP) \$(DESTDIR)\`| \$(STRIP) -x \$(DESTDIR)\`|" ${worksrcpath}/Makefile
43}
44
45destroot.violate_mtree   yes
46pre-destroot {
47   xinstall -m 755 -d ${destroot}${prefix}/apache2/modules
48}
49
50post-destroot {
51   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
52   xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README users.sample \
53      ${destroot}${prefix}/share/doc/${name}
54}
Note: See TracBrowser for help on using the repository browser.