Update of /cvsroot/fink/dists/10.4/unstable/crypto/finkinfo
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32341
Added Files:
popfile-perl-ssl.info
Log Message:
The -ssl variant must go into crypto, since it depends on io-socket-ssl-pm581
which is in crypto. There is not a really good way to handle this; I have
duplicated the .info file, alterning the -ssl variant to having value
"-ssl" in the crypto version and "." in the other version.
--- NEW FILE: popfile-perl-ssl.info ---
Info2: <<
Package: popfile-perl%type_pkg[perl]%type_pkg[-ssl]
Version: 0.22.1
Revision: 8
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: 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/ .
<<
<<
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits