Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11519/10.4/unstable/main/finkinfo/net

Added Files:
        popfile-perl.info 
Removed Files:
        popfile.info 
Log Message:
Fix .info filename


--- NEW FILE: popfile-perl.info ---
Info2: <<
Package: popfile-perl%type_pkg[perl]%type_pkg[-ssl]
Version: 0.22.1
Revision: 8
Description: Automatic Email Classification
Type: perl (5.8.1), -ssl (boolean)
License: GPL
Maintainer: ASARI Takashi <[EMAIL PROTECTED]>

Depends: perl%type_pkg[perl]-core, dbd-sqlite2-pm%type_pkg[perl], 
html-tagset-pm, time-date-pm, html-template-pm, text-kakasi-pm%type_pkg[perl], 
(%type_raw[-ssl] = -ssl) io-socket-ssl-pm%type_pkg[perl], (%type_raw[-ssl] = 
-ssl) net-ssleay-pm%type_pkg[perl], daemonic
Conflicts: popfile (<< 0.22.1-1), popfile-perl581, popfile-perl581-ssl
Replaces: popfile (<< 0.22.1-1), popfile-perl581, popfile-perl581-ssl

Source: mirror:sourceforge:popfile/popfile-%v.zip
Source-MD5: a198aebe634d628451412a7979566933
NoSourceDirectory: true

PatchScript: <<
  #!/bin/bash -ev
  if [ -x %p/bin/perl%type_raw[perl] ]; then
    /usr/bin/sed 1s@/usr/bin/[EMAIL PROTECTED]/bin/perl%type_raw[perl]@ 
popfile.pl > popfile.fink
    /bin/mv -f popfile.fink popfile.pl
  fi
  /bin/chmod +x popfile.pl
<<

CompileScript: echo "no compiling needed"
InstallScript: <<
  /usr/bin/install -m 755 -d %i/share/doc/popfile
  /bin/mv license manual %i/share/doc/popfile
  /usr/bin/install -m 755 -d %i/var/lib
  /bin/cp -R . %i/var/lib/popfile
<<

PostInstScript: <<
  if [ -f %p/var/lib/popfile/popfile.cfg ] &&
  grep '^bayes_dbconnect dbi:SQLite:dbname=$dbname' 
%p/var/lib/popfile/popfile.cfg >/dev/null 2>/dev/null; then
    echo
    echo '** The name of DB backend has changed **'
    echo 'An old config file was detected.'
    echo
    echo 'If you are upgrading POPFile from older version, you need to make the'
    echo 'following change to your database connection string on the advanced 
page'
    echo 'of the UI (or in popfile.cfg).'
    echo
    echo 'Change bayes_dbconnect from:'
    echo '    dbi:SQLite:dbname=$dbname'
    echo 'to:'
    echo '    dbi:SQLite2:dbname=$dbname'
    echo
    echo 'For more information, please refer to this web site:'
    echo '  http://popfile.sourceforge.net/cgi-bin/wiki.pl?SQLite3'
    echo
    echo 'If you are downgrading POPFile, you might need to manually convert 
DB.'
    printf 'May I rewrite the config file automatically ? [Y/n]'
    read answer
    answer=`echo $answer | sed 's/^[yY].*$/y/'`
    echo
    if [ -z "$answer" -o "x$answer" = "xy" ]; then
      echo "Rewriting the config file..."
      set -v
      /bin/mv %p/var/lib/popfile/popfile.cfg 
%p/var/lib/popfile/popfile.cfg.finksaved
      /usr/bin/sed 's/^bayes_dbconnect 
dbi:SQLite:dbname=$dbname/bayes_dbconnect dbi:SQLite2:dbname=$dbname/' 
%p/var/lib/popfile/popfile.cfg.finksaved > %p/var/lib/popfile/popfile.cfg
      set +v
      echo "Done."
    else
      echo "Okay, not rewriting the config file."
    fi
  fi

  %p/bin/daemonic install popfile
<<
PreRmScript: <<
  if [ $1 != "upgrade" ]; then
    %p/bin/daemonic remove popfile
  fi
<<
#ConfFiles: %p/var/lib/popfile/popfile.cfg
DaemonicFile: <<
<service>
  <description>Automatic Email Classification</description>
  <message>POPFile, Automatic Email Classification</message>
  <daemon name="popfile">
    <executable background="yes">%p/var/lib/popfile/popfile.pl</executable>
    <prerun>
      export PERL5LIB=%p/lib/perl5:%p/lib/perl5/darwin
      export POPFILE_USER=%p/var/lib/popfile 
      export POPFILE_ROOT=%p/var/lib/popfile
    </prerun>
  </daemon>
</service>
<<
DaemonicName: popfile

Homepage: http://popfile.sourceforge.net/
DescDetail: <<
POPFile is an automatic mail classification tool.
Once properly set up and trained, it will scan all email as it arrives and
classify it based on your training. You can give it a simple job, like
separating out junk e-mail, or one like filing mail into a dozen folders. 
<<
DescUsage: <<
To start POPFile daemon,
1. Run "sudo daemonic enable popfile".
2. Restart your Mac.
By default, UI is found at http://127.0.0.1:8080/ .
<<
<<

--- popfile.info DELETED ---



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to