---
name: ap22-mod_auth_mysql
version: 1.10_2
origin: www/mod_auth_mysql2
comment: MySQL-based authentication module with VirtualHost support
arch: freebsd:9:x86:64
www: http://www.heuer.org/mod_auth_mysql/
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses:
- AL2
flatsize: 39641
desc: "mod_auth_mysql provides an MySQL-based authentication for apache2.\nIt's also
  designed to support multiple virtualhosts using only one \ndatabase.\n\nWWW: http://www.heuer.org/mod_auth_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_mysql.so
files:
  /usr/local/libexec/apache22/mod_auth_mysql.so: bdcebe5d626f7971efb8b8438812b9d73959fc9ac13a507b42126b9d6c131bf0
  /usr/local/share/doc/mod_auth_mysql/INSTALL: b9f387661b6459384b25b2a80ed0bd7eae89c0b8b190d60893ee35bbd046cbc6
  /usr/local/share/doc/mod_auth_mysql/example_data.html: 7344e261692a3bb273c9a3aaedfb76b10e7434acb4a93ae362aee955caafa796
  /usr/local/share/doc/mod_auth_mysql/htpasswd.sql: c30f741dc7f2555e662c873be90f9b3cecea3643ddd473531c6aaf77a39e6fa7
  /usr/local/share/licenses/ap22-mod_auth_mysql-1.10_2/AL2: a6cba85bc92e0cff7a450b1d873c0eaa2e9fc96bf472df0247a26bec77bf3ff9
  /usr/local/share/licenses/ap22-mod_auth_mysql-1.10_2/LICENSE: 20767254ccfd6c8325b02f83fbe04d654150018b88d0e64f5ef290919f8d96a3
  /usr/local/share/licenses/ap22-mod_auth_mysql-1.10_2/catalog.mk: b8130998e6afb0946e8555a92667787cf280793b70535ea7186534c65169bcbe
directories:
  /usr/local/share/licenses/ap22-mod_auth_mysql-1.10_2/: n
  /usr/local/share/licenses/: y
  /usr/local/share/doc/mod_auth_mysql/: n
scripts:
  post-install: |
    /usr/local/sbin/apxs -e -A -n auth_mysql /usr/local/libexec/apache22/mod_auth_mysql.so
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    /usr/bin/sed -i '' -E '/LoadModule[[:blank:]]+auth_mysql_module/d' /usr/local/etc/apache22/httpd.conf
    echo "Don't forget to remove all mod_auth_mysql-related directives in your httpd.conf"
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    cd /usr/local
