diff options
author | Andrej Kacian <ticho@gentoo.org> | 2005-09-22 10:50:28 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2005-09-22 10:50:28 +0000 |
commit | 3c12a4bed876441bd11f7c97fda3e441bd7a42c3 (patch) | |
tree | 1dee966803e6f835c6a7db0b474bbb7d72ca8c6a /mail-filter | |
parent | Stable on x86 (diff) | |
download | gentoo-2-3c12a4bed876441bd11f7c97fda3e441bd7a42c3.tar.gz gentoo-2-3c12a4bed876441bd11f7c97fda3e441bd7a42c3.tar.bz2 gentoo-2-3c12a4bed876441bd11f7c97fda3e441bd7a42c3.zip |
Version bump.
(Portage version: 2.0.52-r1)
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/p3scan/ChangeLog | 7 | ||||
-rw-r--r-- | mail-filter/p3scan/Manifest | 12 | ||||
-rw-r--r-- | mail-filter/p3scan/files/digest-p3scan-2.2.1 | 1 | ||||
-rw-r--r-- | mail-filter/p3scan/p3scan-2.2.1.ebuild | 78 |
4 files changed, 87 insertions, 11 deletions
diff --git a/mail-filter/p3scan/ChangeLog b/mail-filter/p3scan/ChangeLog index 2a512dbd6421..9feade5e0f4e 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.4 2005/09/16 17:08:32 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/p3scan/ChangeLog,v 1.5 2005/09/22 10:50:28 ticho Exp $ + +*p3scan-2.2.1 (22 Sep 2005) + + 22 Sep 2005; Andrej Kacian <ticho@gentoo.org> +p3scan-2.2.1.ebuild: + Version bump. *p3scan-2.2 (16 Sep 2005) diff --git a/mail-filter/p3scan/Manifest b/mail-filter/p3scan/Manifest index 497644dc2518..29ea5f872fa7 100644 --- a/mail-filter/p3scan/Manifest +++ b/mail-filter/p3scan/Manifest @@ -1,17 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 f0c884e7da56c855a12193c7451772d8 p3scan-2.2.1.ebuild 1937 MD5 855e5cf6d556040bf46dbef3dc0f8fd5 p3scan-2.1.ebuild 2029 MD5 bac731654126646b99c66274f75331df p3scan-2.2.ebuild 2034 MD5 0203ff1f5d84cf30495a9545908ba1c0 ChangeLog 793 MD5 36d9f272b13fc5cb611787183970922e metadata.xml 409 +MD5 b975015ac20e9c892caf8c357696247e files/digest-p3scan-2.2.1 64 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.2 (GNU/Linux) - -iD8DBQFDKvwtQlM6RnzZP+IRAgIEAKCOQwFWWJECjst5CJTA34YCTYgUJQCgiobl -AHq75JAK7JVd6g4gC5LKDzs= -=Mjf8 ------END PGP SIGNATURE----- diff --git a/mail-filter/p3scan/files/digest-p3scan-2.2.1 b/mail-filter/p3scan/files/digest-p3scan-2.2.1 new file mode 100644 index 000000000000..a58376b714d4 --- /dev/null +++ b/mail-filter/p3scan/files/digest-p3scan-2.2.1 @@ -0,0 +1 @@ +MD5 f7fcbc39050c193e5a334a61d38b5d49 p3scan-2.2.1.tar.gz 311806 diff --git a/mail-filter/p3scan/p3scan-2.2.1.ebuild b/mail-filter/p3scan/p3scan-2.2.1.ebuild new file mode 100644 index 000000000000..b85d3c56c69e --- /dev/null +++ b/mail-filter/p3scan/p3scan-2.2.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.2.1.ebuild,v 1.1 2005/09/22 10:50:28 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 +} |