summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2005-09-16 17:08:32 +0000
committerAndrej Kacian <ticho@gentoo.org>2005-09-16 17:08:32 +0000
commit5b4e89dadfb78a97373f40639f26b2a44e534cf4 (patch)
treee223f407452dd4119e249858d1fd1ccd288cd94f /mail-filter/p3scan
parentVersion bump. (diff)
downloadgentoo-2-5b4e89dadfb78a97373f40639f26b2a44e534cf4.tar.gz
gentoo-2-5b4e89dadfb78a97373f40639f26b2a44e534cf4.tar.bz2
gentoo-2-5b4e89dadfb78a97373f40639f26b2a44e534cf4.zip
Version bump.
(Portage version: 2.0.52-r1)
Diffstat (limited to 'mail-filter/p3scan')
-rw-r--r--mail-filter/p3scan/ChangeLog7
-rw-r--r--mail-filter/p3scan/Manifest12
-rw-r--r--mail-filter/p3scan/files/digest-p3scan-2.21
-rw-r--r--mail-filter/p3scan/p3scan-2.2.ebuild78
4 files changed, 87 insertions, 11 deletions
diff --git a/mail-filter/p3scan/ChangeLog b/mail-filter/p3scan/ChangeLog
index 742943b87c41..2a512dbd6421 100644
--- a/mail-filter/p3scan/ChangeLog
+++ b/mail-filter/p3scan/ChangeLog
@@ -1,6 +1,11 @@
# 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.3 2005/07/22 15:05:17 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/p3scan/ChangeLog,v 1.4 2005/09/16 17:08:32 ticho Exp $
+
+*p3scan-2.2 (16 Sep 2005)
+
+ 16 Sep 2005; Andrej Kacian <ticho@gentoo.org> +p3scan-2.2.ebuild:
+ Version bump.
22 Jul 2005; Andrej Kacian <ticho@gentoo.org> p3scan-2.1.ebuild:
Stable on x86.
diff --git a/mail-filter/p3scan/Manifest b/mail-filter/p3scan/Manifest
index 9efb6c197c0d..f3cb206ce26d 100644
--- a/mail-filter/p3scan/Manifest
+++ b/mail-filter/p3scan/Manifest
@@ -1,15 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 855e5cf6d556040bf46dbef3dc0f8fd5 p3scan-2.1.ebuild 2029
+MD5 f0c884e7da56c855a12193c7451772d8 p3scan-2.2.ebuild 1937
MD5 25c44b0bdc90cdc1e40b85f6a2f43941 ChangeLog 681
MD5 36d9f272b13fc5cb611787183970922e metadata.xml 409
MD5 360cf261a5fa438c27e1d3febac36c87 files/digest-p3scan-2.1 62
+MD5 f9256a008b470cedefe3d3d4307ee3b4 files/digest-p3scan-2.2 62
MD5 ccbcdd1c08592b87665d4d1dd4f394fa files/p3scan.init 612
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFC4QtIQlM6RnzZP+IRAqwkAKCElFlrfLM+KUhAAixQ3i6BfXMrMwCgmoi9
-LzUPxrumvtXf4DKDWnNyHkQ=
-=ttHY
------END PGP SIGNATURE-----
diff --git a/mail-filter/p3scan/files/digest-p3scan-2.2 b/mail-filter/p3scan/files/digest-p3scan-2.2
new file mode 100644
index 000000000000..2d394d73d9da
--- /dev/null
+++ b/mail-filter/p3scan/files/digest-p3scan-2.2
@@ -0,0 +1 @@
+MD5 17241fe2dee8f6900f91faa5fe2c4945 p3scan-2.2.tar.gz 311709
diff --git a/mail-filter/p3scan/p3scan-2.2.ebuild b/mail-filter/p3scan/p3scan-2.2.ebuild
new file mode 100644
index 000000000000..10872bcf53d7
--- /dev/null
+++ b/mail-filter/p3scan/p3scan-2.2.ebuild
@@ -0,0 +1,78 @@
+# 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
+}