[87327] trunk/dports/www
jmr at macports.org
jmr at macports.org
Wed Nov 16 23:51:19 PST 2011
Revision: 87327
http://trac.macports.org/changeset/87327
Author: jmr at macports.org
Date: 2011-11-16 23:51:19 -0800 (Wed, 16 Nov 2011)
Log Message:
-----------
New port: mod_authn_otp, Apache module for one-time password authentication (#28051)
Added Paths:
-----------
trunk/dports/www/mod_authn_otp/
trunk/dports/www/mod_authn_otp/Portfile
trunk/dports/www/mod_authn_otp/files/
trunk/dports/www/mod_authn_otp/files/otptool.h.patch
Added: trunk/dports/www/mod_authn_otp/Portfile
===================================================================
--- trunk/dports/www/mod_authn_otp/Portfile (rev 0)
+++ trunk/dports/www/mod_authn_otp/Portfile 2011-11-17 07:51:19 UTC (rev 87327)
@@ -0,0 +1,53 @@
+# $Id$
+
+PortSystem 1.0
+
+name mod_authn_otp
+version 1.1.1
+
+categories www
+license Apache-2
+platforms darwin
+maintainers gmail.com:Markus.Ueberall
+
+description module for one-time password authentication
+long_description mod_authn_otp is an Apache web server module for two-factor \
+ authentication using one-time passwords (OTP) generated via \
+ the HOTP/OATH algorithm defined in RFC 4226. This creates a \
+ simple way to protect a web site with one-time passwords, \
+ using any RFC 4226-compliant token device, including software \
+ tokens that run on cell phones such as OATH Token. \
+ mod_authn_otp also supports the Mobile-OTP algorithm.
+
+homepage http://code.google.com/p/mod-authn-otp/
+master_sites googlecode:mod-authn-otp
+
+checksums md5 50ddc1cacde9be8e8c20eb0e253267cf \
+ sha1 e214664b5fd3dc367e1d7410c23c9c113b52e9e6 \
+ rmd160 b812f5ff1e041635746ba662ee7431332bf00dec
+
+depends_build port:gsed
+depends_lib port:apache2 port:openssl
+
+patchfiles otptool.h.patch
+
+configure.args --mandir=${prefix}/share/man
+
+post-configure {
+ reinplace "s|/usr/sbin/apxs|${prefix}/apache2/bin/apxs|g" ${worksrcpath}/Makefile
+ # sed doesn't know about option "-r", gsed does
+ reinplace "s| sed| ${prefix}/bin/gsed|g" ${worksrcpath}/Makefile
+ # when stripping .so, option "-x" has to be specified
+ reinplace "s| \$(STRIP) \$(DESTDIR)\`| \$(STRIP) -x \$(DESTDIR)\`|" ${worksrcpath}/Makefile
+}
+
+destroot.violate_mtree yes
+pre-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/apache2/modules
+}
+
+post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README users.sample \
+ ${destroot}${prefix}/share/doc/${name}
+}
Property changes on: trunk/dports/www/mod_authn_otp/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/www/mod_authn_otp/files/otptool.h.patch
===================================================================
--- trunk/dports/www/mod_authn_otp/files/otptool.h.patch (rev 0)
+++ trunk/dports/www/mod_authn_otp/files/otptool.h.patch 2011-11-17 07:51:19 UTC (rev 87327)
@@ -0,0 +1,10 @@
+--- otptool.h.orig 2010-08-16 08:38:07.000000000 +1000
++++ otptool.h 2011-11-17 18:44:47.000000000 +1100
+@@ -24,6 +24,7 @@
+ #include <errno.h>
+ #include <stdio.h>
+ #include <string.h>
++#include <sys/types.h>
+ #include <time.h>
+ #include <unistd.h>
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111116/8f58ce71/attachment-0001.html>
More information about the macports-changes
mailing list