Update of /cvsroot/fink/dists/10.4-transitional/unstable/crypto/finkinfo In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv20937/10.4-transitional/unstable/crypto/finkinfo
Added Files: popfile-perl.info Log Message: popmail: Version bumped. Thanks, Kevin. --- NEW FILE: popfile-perl.info --- Info2: << Package: popfile-perl%type_pkg[perl]%type_pkg[-ssl] Version: 0.22.4 Revision: 1 Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc Description: Automatic Email Classification Type: perl (5.8.1), -ssl (-ssl) 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: 3261686efd19835e131ac9fe0b63346d 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/ . << << ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits