# ChangeLog for mail-filter/p3scan
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/p3scan/ChangeLog,v 1.5 2005/09/22 10:50:28 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/p3scan/ChangeLog,v 1.6 2005/10/24 14:35:24 ticho Exp $
+
+ 24 Oct 2005; Andrej Kacian <ticho@gentoo.org> -p3scan-2.2.ebuild,
+ p3scan-2.2.1.ebuild:
+ 2.2.1 stable on x86. Removing 2.2.
*p3scan-2.2.1 (22 Sep 2005)
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
MD5 756a5f4bd7149d1b0a3955595bd07390 ChangeLog 1038
MD5 360cf261a5fa438c27e1d3febac36c87 files/digest-p3scan-2.1 62
MD5 b975015ac20e9c892caf8c357696247e files/digest-p3scan-2.2.1 64
MD5 36d9f272b13fc5cb611787183970922e metadata.xml 409
MD5 855e5cf6d556040bf46dbef3dc0f8fd5 p3scan-2.1.ebuild 2029
MD5 44df3141e08ac958cf6301ef7a6be362 p3scan-2.2.1.ebuild 2035
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDXPFGQlM6RnzZP+IRAp4LAJ9SGvVTmarr5ZfAJb6tOYDSqMXP8QCfb427
+W1P2ipbeOytbkYW4priKWPA=
+=khAf
+-----END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/p3scan/p3scan-2.2.ebuild,v 1.1 2005/09/16 17:08:32 ticho Exp $
-
-inherit eutils
-
-DESCRIPTION="This is a full-transparent proxy-server for POP3-Clients."
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-HOMEPAGE="http://p3scan.sf.net/"
-
-DEPEND="net-mail/ripmime
- dev-libs/libpcre"
-RDEPEND="net-firewall/iptables"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~ppc ~x86"
-IUSE=""
-
-src_compile() {
- emake || die
-}
-
-src_install () {
- newinitd ${FILESDIR}/${PN}.init ${PN}
-
- dosbin ${PN} || die
-
- dodir /etc/${PN}
- insinto /etc/${PN}
- doins ${PN}.conf ${PN}-*.mail
- doins ${PN}-*.mail
-
- keepdir /var/run/${PN}
-
- keepdir /var/spool/${PN}
- keepdir /var/spool/${PN}/children
- keepdir /var/spool/${PN}/notify
-
- fowners mail:mail /var/run/${PN}
- fperms 700 /var/run/${PN}
-
- fowners mail:mail /var/spool/${PN}
- fperms 700 /var/spool/${PN}
-
- fowners mail:mail /var/spool/${PN}/children
- fperms 700 /var/spool/${PN}/children
-
- fowners mail:mail /var/spool/${PN}/notify
- fperms 700 /var/spool/${PN}/notify
-
- doman p3scan.8.gz p3scan_readme.8.gz
-
- dodoc AUTHORS CHANGELOG CONTRIBUTERS LICENSE NEWS README \
- README-rpm spamfaq.* TODO.list
-}
-
-pkg_postinst() {
- enewuser mail 8 /bin/true /var/spool/mail mail
-
- if [ ! -L /etc/${PN}/${PN}.mail ]; then
- ln -sf /etc/${PN}/${PN}-en.mail /etc/${PN}/${PN}.mail
- fi
-
- echo
- einfo "Default infected notification template language is set to english, change the"
- einfo "symbolic link /etc/${PN}/${PN}.mail if you want it in another language."
- echo
- einfo "To start ${PN}, you can use /etc/init.d/${PN} start"
- echo
- einfo "You need port-redirecting, a rule like:"
- echo " iptables -t nat -A PREROUTING -p tcp -i eth0 --dport pop3 -j REDIRECT --to 8110"
- einfo "to forward pop3 connections incoming from eth0 interface."
- echo
- einfo "You will also need to configure at least following in /etc/${PN}/${PN}.conf:"
- einfo "scannertype, scanner, virusregexp"
- echo
-}