# Copyright 2002 Robin Cull # Distributed under the terms of the GNU General Public License v2 # Author: Robin Cull S=${WORKDIR}/disspam DESCRIPTION="DisSpam is a personal solution to combat spam (i.e. not for mailservers/ISPs). It is a Perl script that removes spam from POP3 mailboxes based on RBLs such as orbz.org. It runs through cron and uses a very simple configuration file." HOMEPAGE="http://www.topfx.com/" SRC_URI="http://freshmeat.net/redir/disspam/22053/url_tgz/${P}.tar.gz" DEPEND=">=sys-devel/perl-5.6.1 >=dev-perl/libnet-1.11 >=dev-perl/Net-DNS-0.12" src_unpack() { unpack ${P}.tar.gz } src_install() { dobin disspam.pl dodoc changes.txt configuration.txt readme.txt sample.conf } pkg_postinst() { einfo "**************************************************************" einfo "* NOTE: DisSpam has been installed, check documentation *" einfo "* directory for sample configuration file sample.conf. Also *" einfo "* instructions for setting up cron are in readme.txt. *" einfo "**************************************************************" }