Want more features on Pastebin? Sign Up, it's FREE!
Guest

mod_log_sql Portfile

By: manicdee on May 31st, 2011  |  syntax: TCL  |  size: 1.58 KB  |  views: 47  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
  2. # $Id$
  3.  
  4. PortSystem          1.0
  5.  
  6. name                mod_log_sql
  7. version             1.101
  8. categories          www
  9. platforms           darwin
  10. license             Apache
  11. maintainers         goldweb.com.au:grail
  12. description         SQL logging module for Apache
  13. long_description    A module for Apache2 that provides a SQL destination for log entries.
  14.  
  15. homepage            http://www.outoforder.cc/projects/apache/mod_log_sql/
  16. master_sites        http://www.outoforder.cc/downloads/mod_log_sql/
  17. use_bzip2           yes
  18. checksums           md5     16157f311eba364d8ee467078e7cc086 \
  19.                     sha1    2b38ede49621ec61e896e1f8aece14970e73c5f3 \
  20.                     rmd160  a61746e2a8cb62221a5b08f2ab4790d221971355
  21.  
  22. depends_lib         port:mysql5 \
  23.                     port:apache2
  24.  
  25. patchfiles          patch-configure.diff
  26. configure.args      --with-apxs=${prefix}/apache2/bin/apxs \
  27.                     --disable-framework \
  28.                     --with-mysql=/opt/local
  29.  
  30. destroot.violate_mtree  yes
  31. pre-destroot {
  32.     xinstall -d -m 755 ${destroot}${prefix}/apache2/modules
  33.     }
  34.  
  35. post-install {
  36.     ui_msg "########################################################"
  37.     ui_msg "# To enable mod_log_sql add"
  38.     ui_msg "#  LoadModule log_sql_module modules/mod_log_sql.so"
  39.     ui_msg "# to your apache2 config file:"
  40.     ui_msg "#  ${prefix}/apache2/conf/httpd.conf"
  41.     ui_msg "########################################################"
  42.     }
clone this paste RAW Paste Data