summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2005-11-16 01:29:49 +0000
committerAndrej Kacian <ticho@gentoo.org>2005-11-16 01:29:49 +0000
commit4b0bb94c378c0fdea0e20f4091daadd0bddb1d76 (patch)
treef41d927858ff1f32b453268d2b6165ca3657f163 /mail-filter/p3scan
parentversion bump (diff)
downloadgentoo-2-4b0bb94c378c0fdea0e20f4091daadd0bddb1d76.tar.gz
gentoo-2-4b0bb94c378c0fdea0e20f4091daadd0bddb1d76.tar.bz2
gentoo-2-4b0bb94c378c0fdea0e20f4091daadd0bddb1d76.zip
Version bump.
(Portage version: 2.0.53_rc7)
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.3.01
-rw-r--r--mail-filter/p3scan/p3scan-2.3.0.ebuild78
4 files changed, 87 insertions, 11 deletions
diff --git a/mail-filter/p3scan/ChangeLog b/mail-filter/p3scan/ChangeLog
index 931c103ef56c..457875aeeeef 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.6 2005/10/24 14:35:24 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/p3scan/ChangeLog,v 1.7 2005/11/16 01:29:49 ticho Exp $
+
+*p3scan-2.3.0 (16 Nov 2005)
+
+ 16 Nov 2005; Andrej Kacian <ticho@gentoo.org> +p3scan-2.3.0.ebuild:
+ Version bump.
24 Oct 2005; Andrej Kacian <ticho@gentoo.org> -p3scan-2.2.ebuild,
p3scan-2.2.1.ebuild:
diff --git a/mail-filter/p3scan/Manifest b/mail-filter/p3scan/Manifest
index 53a7fb7332e0..f52df4cb05ea 100644
--- a/mail-filter/p3scan/Manifest
+++ b/mail-filter/p3scan/Manifest
@@ -1,17 +1,9 @@
------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 fc5425d8ce9b6c49691ec704ed1a8665 files/digest-p3scan-2.3.0 64
MD5 ccbcdd1c08592b87665d4d1dd4f394fa files/p3scan.init 612
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-----
+MD5 f0c884e7da56c855a12193c7451772d8 p3scan-2.3.0.ebuild 1937
diff --git a/mail-filter/p3scan/files/digest-p3scan-2.3.0 b/mail-filter/p3scan/files/digest-p3scan-2.3.0
new file mode 100644
index 000000000000..e5507d4725b1
--- /dev/null
+++ b/mail-filter/p3scan/files/digest-p3scan-2.3.0
@@ -0,0 +1 @@
+MD5 c491e021ee66146e0c697bdd5478b16b p3scan-2.3.0.tar.gz 315618
diff --git a/mail-filter/p3scan/p3scan-2.3.0.ebuild b/mail-filter/p3scan/p3scan-2.3.0.ebuild
new file mode 100644
index 000000000000..3db27808782e
--- /dev/null
+++ b/mail-filter/p3scan/p3scan-2.3.0.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.3.0.ebuild,v 1.1 2005/11/16 01:29:49 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
+}