1. Dan Villiom Podlaski Christiansen
  2. My Ports

Commits

Dan Villiom Podlaski Christiansen  committed fde71fc

New port.

  • Participants
  • Parent commits 9e549cb
  • Branches work-ports

Comments (0)

Files changed (3)

File PortIndex

View file
  • Ignore whitespace
 variants universal portdir python/py26-wtforms description {Forms validation and rendering library for Python web development} homepage http://wtforms.simplecodes.com/ epoch 0 platforms darwin depends_lib port:python26 name py26-wtforms long_description {{Forms validation and rendering library for Python web development}} maintainers {singingwolfboy gmail.com:danchr openmaintainer} license BSD depends_extract bin:unzip:unzip version 0.6.2 categories {python devel www} revision 0
 mod_auth_pubtkt 682
 variants universal portdir www/mod_auth_pubtkt description {A pragmatic Web Single Sign-On (SSO) solution} homepage http://www.modwsgi.org/ epoch 0 platforms darwin name mod_auth_pubtkt depends_lib {port:apache2 port:perl5} long_description {mod_auth_pubtkt is an Apache module that authenticates a user based on a cookie with a ticket that has been issued by a central login server and digitally signed using either RSA or DSA. This means that only the trusted login server has the private key required to generate tickets, while web servers only need the corresponding public key to verify them.} maintainers gmail.com:danchr license Apache categories www version 0.6b revision 0
+mod_auth_tkt 1077
+variants universal portdir www/mod_auth_tkt description {A lightweight single-sign-on authentication module for Apache.} homepage http://www.openfusion.com.au/labs/mod_auth_tkt epoch 0 platforms darwin name mod_auth_tkt depends_lib port:apache2 long_description {mod_auth_tkt works by checking incoming Apache requests for a (user-defined) cookie containing a valid authentication ticket. The ticket is checked by generating an MD5 checksum for the username and any (optional) user data from the ticket together with the requesting IP address and a shared secret available to the server. If the generated MD5 checksum matches the ticket's checksum, the ticket is valid and the request is authorised. Requests without a valid ticket are redirected to a configurable URL which is expected to validate the user and generate a ticket for them. This package includes a Perl module and working CGI scripts for generating the cookies, as well as contributed classes for PHP and Python environments.} maintainers gmail.com:danchr license Apache categories www version 2.1.0 revision 0

File PortIndex.quick

View file
  • Ignore whitespace
 py26-flask-wtf 1124
 py26-wtforms 1633
 mod_auth_pubtkt 2134
+mod_auth_tkt 2836

File www/mod_auth_tkt/Portfile

View file
  • Ignore whitespace
+# $Id: Portfile 69702 2010-07-13 18:27:38Z wsiegrist@apple.com $
+
+PortSystem 1.0
+
+name            mod_auth_tkt
+version         2.1.0
+categories      www
+platforms       darwin
+license         Apache
+maintainers     gmail.com:danchr
+description     A lightweight single-sign-on authentication module for Apache.
+
+long_description mod_auth_tkt works by checking incoming Apache \
+                 requests for a (user-defined) cookie containing a \
+                 valid authentication ticket. The ticket is checked by \
+                 generating an MD5 checksum for the username and any \
+                 (optional) user data from the ticket together with \
+                 the requesting IP address and a shared secret \
+                 available to the server. If the generated MD5 \
+                 checksum matches the ticket's checksum, the ticket is \
+                 valid and the request is authorised. Requests without \
+                 a valid ticket are redirected to a configurable URL \
+                 which is expected to validate the user and generate a \
+                 ticket for them. This package includes a Perl module \
+                 and working CGI scripts for generating the cookies, \
+                 as well as contributed classes for PHP and Python \
+                 environments.
+
+homepage        http://www.openfusion.com.au/labs/mod_auth_tkt
+master_sites    http://www.openfusion.com.au/labs/dist/mod_auth_tkt
+
+checksums       md5     44042e8399324d75b64e1a29a9c509e2 \
+                sha1    9307ef54684a339519786eb3feef8100ebffdfae \
+                rmd160  ccf9526eca2928bdeb69557034f01c189ba7829c
+
+depends_lib     port:apache2
+
+configure.pre_args-delete --prefix=${prefix}
+configure.args  --apxs=${prefix}/apache2/bin/apxs --apachever=2.2
+
+destroot.violate_mtree yes
+
+destroot {
+    set module_dir ${destroot}${prefix}/apache2/modules
+    xinstall -d -m 755 ${module_dir}
+    xinstall -m 755 ${worksrcpath}/src/.libs/${name}.so ${module_dir}
+}
+
+regexp {mod_(.*)} ${name} -> modulebasename
+
+notes   "To enable ${name} in Apache, add " \
+        "LoadModule ${modulebasename}_module modules/${name}.so " \
+        "to ${prefix}/apache2/conf/httpd.conf"