diff options
Diffstat (limited to 'mail-filter/p3scan')
-rw-r--r-- | mail-filter/p3scan/ChangeLog | 8 | ||||
-rw-r--r-- | mail-filter/p3scan/Manifest | 12 | ||||
-rw-r--r-- | mail-filter/p3scan/files/digest-p3scan-2.3.1 | 1 | ||||
-rw-r--r-- | mail-filter/p3scan/p3scan-2.3.0.ebuild | 4 | ||||
-rw-r--r-- | mail-filter/p3scan/p3scan-2.3.1.ebuild | 78 |
5 files changed, 90 insertions, 13 deletions
diff --git a/mail-filter/p3scan/ChangeLog b/mail-filter/p3scan/ChangeLog index 457875aeeeef..7bd8ef91c0c1 100644 --- a/mail-filter/p3scan/ChangeLog +++ b/mail-filter/p3scan/ChangeLog @@ -1,6 +1,12 @@ # 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.7 2005/11/16 01:29:49 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/p3scan/ChangeLog,v 1.8 2005/12/19 18:09:47 ticho Exp $ + +*p3scan-2.3.1 (19 Dec 2005) + + 19 Dec 2005; Andrej Kacian <ticho@gentoo.org> p3scan-2.3.0.ebuild, + +p3scan-2.3.1.ebuild: + Version bump. 2.3.0 stable on x86. *p3scan-2.3.0 (16 Nov 2005) diff --git a/mail-filter/p3scan/Manifest b/mail-filter/p3scan/Manifest index 3195e10232c4..a7eaac131288 100644 --- a/mail-filter/p3scan/Manifest +++ b/mail-filter/p3scan/Manifest @@ -1,19 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 80ffc99aa2e3f7044495139830c7d335 ChangeLog 1154 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 78ca0b86002ff2cde7404f2b723a7d08 files/digest-p3scan-2.3.1 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 MD5 139aec8c275b608862c2d6f32297baec p3scan-2.3.0.ebuild 2036 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDeounQlM6RnzZP+IRAt0MAKDD0K8nqWHNy69rTxTaDYDvS4DqLACfVsmF -SKfFfM9cd8wma6Rdbe4r7nM= -=77p9 ------END PGP SIGNATURE----- +MD5 f0c884e7da56c855a12193c7451772d8 p3scan-2.3.1.ebuild 1937 diff --git a/mail-filter/p3scan/files/digest-p3scan-2.3.1 b/mail-filter/p3scan/files/digest-p3scan-2.3.1 new file mode 100644 index 000000000000..bf899607fc39 --- /dev/null +++ b/mail-filter/p3scan/files/digest-p3scan-2.3.1 @@ -0,0 +1 @@ +MD5 c1ce98fd1fe2220ef9838eb97ae38300 p3scan-2.3.1.tar.gz 315677 diff --git a/mail-filter/p3scan/p3scan-2.3.0.ebuild b/mail-filter/p3scan/p3scan-2.3.0.ebuild index 3db27808782e..be9c37324463 100644 --- a/mail-filter/p3scan/p3scan-2.3.0.ebuild +++ b/mail-filter/p3scan/p3scan-2.3.0.ebuild @@ -1,6 +1,6 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/p3scan/p3scan-2.3.0.ebuild,v 1.2 2005/12/19 18:09:47 ticho Exp $ inherit eutils @@ -14,7 +14,7 @@ RDEPEND="net-firewall/iptables" SLOT="0" LICENSE="GPL-2" -KEYWORDS="~ppc ~x86" +KEYWORDS="~ppc x86" IUSE="" src_compile() { diff --git a/mail-filter/p3scan/p3scan-2.3.1.ebuild b/mail-filter/p3scan/p3scan-2.3.1.ebuild new file mode 100644 index 000000000000..9c7cb08dc466 --- /dev/null +++ b/mail-filter/p3scan/p3scan-2.3.1.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.1.ebuild,v 1.1 2005/12/19 18:09:47 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 +} |