Changeset 216 for trunk/DNSDB.pm


Ignore:
Timestamp:
01/04/12 23:25:56 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Found some not-so-little things missing for a tarball

  • munging of @INC via "use lib" needs to be pointed to the right path on install
  • session dir should be configurable (eg, to put it in /var/lib/dnsdb when packaged scripts + templates all go in /usr/share/dnsdb)
  • Finally remove lingering unused viadns.css
  • Remember to install template files on 'make install'
  • Get a good start on filling out INSTALL halfway properly by copy-pasting the IPDB version
  • Add all-commented example config file to be installed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r212 r216  
    120120# fmeh.  this is a real web path, not a logical internal one.  hm..
    121121#               cssdir  => 'templates/',
     122                sessiondir      => 'session/',
    122123
    123124                # Session params
     
    223224      $config{domain}           = $1 if /^domain\s*=\s*([a-z0-9_.-]+)/i;
    224225      # session - note this is fed directly to CGI::Session
    225       $config{timeout}  = $1 if /^[tT][iI][mM][eE][oO][uU][tT]\s*=\s*(\d+[smhdwMy]?)/;
     226      $config{timeout}          = $1 if /^[tT][iI][mM][eE][oO][uU][tT]\s*=\s*(\d+[smhdwMy]?)/;
     227      $config{sessiondir}       = $1 if m{^sessiondir\s*=\s*([a-z0-9/_.-]+)}i;
    226228      # misc
    227229      $config{log_failures}     = $1 if /^log_failures\s*=\s*([a-z01]+)/i;
Note: See TracChangeset for help on using the changeset viewer.