---
name: ap22-mod_auth_cookie_mysql2
version: 1.0_1
origin: www/mod_auth_cookie_mysql2
comment: Allows authentication against a MySQL database via a secure cookie
arch: freebsd:9:x86:64
www: http://home.digithi.de/digithi/dev/mod_auth_cookie_mysql/
maintainer: apache@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 17211
desc: "This Apache module allows authentication against a MySQL database via a \ncryptographically
  secure cookie.\n\nFeatures:\n  - Fake Basic Auth with cookies\n  - Cookie only consists
  of random session data, no username or password\n  - Can check expiry information
  stored in database against cookie\n  - Can check if the remote IP is equal to the
  IP stored in database\n  - Can be used for Single-Sign-On (SSO).\n\nWWW: http://home.digithi.de/digithi/dev/mod_auth_cookie_mysql/\n"
deps:
  apache22: {origin: www/apache22, version: 2.2.25}
  expat: {origin: textproc/expat2, version: 2.1.0}
  perl: {origin: lang/perl5.14, version: 5.14.4}
  pcre: {origin: devel/pcre, version: 8.33}
  gettext: {origin: devel/gettext, version: 0.18.3}
  apr: {origin: devel/apr1, version: 1.4.8.1.5.2}
  mysql-client: {origin: databases/mysql55-client, version: 5.5.33}
  gdbm: {origin: databases/gdbm, version: 1.10}
  db42: {origin: databases/db42, version: 4.2.52_5}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories:
- www
shlibs_required:
- libmysqlclient.so.18
shlibs_provided:
- mod_auth_cookie_mysql2.so
files:
  /usr/local/libexec/apache22/mod_auth_cookie_mysql2.so: d116d0642e9ceb2345fe52fb2553ffab3a4f57bb212dd1afabdab8795e420987
scripts:
  post-install: |
    /usr/local/sbin/apxs -e -A -n auth_cookie_mysql2 /usr/local/libexec/apache22/mod_auth_cookie_mysql2.so
  pre-deinstall: |
    /usr/bin/sed -i '' -E '/LoadModule[[:blank:]]+auth_cookie_mysql2_module/d' /usr/local/etc/apache22/httpd.conf
    echo "Don't forget to remove all mod_auth_cookie_mysql2-related directives in your httpd.conf"
