From a109cf57c867d8580f75576ec3db473bf4b4952e Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Mon, 9 Apr 2007 20:42:40 +0000 Subject: [PATCH] Version bump. Package-Manager: portage-2.1.2.3 --- mail-filter/p3scan/ChangeLog | 7 +- mail-filter/p3scan/Manifest | 24 ++++-- mail-filter/p3scan/files/digest-p3scan-2.3.2 | 3 + mail-filter/p3scan/p3scan-2.3.2.ebuild | 80 ++++++++++++++++++++ 4 files changed, 105 insertions(+), 9 deletions(-) create mode 100644 mail-filter/p3scan/files/digest-p3scan-2.3.2 create mode 100644 mail-filter/p3scan/p3scan-2.3.2.ebuild diff --git a/mail-filter/p3scan/ChangeLog b/mail-filter/p3scan/ChangeLog index 5de8ef6769d0..826fd51dfab5 100644 --- a/mail-filter/p3scan/ChangeLog +++ b/mail-filter/p3scan/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-filter/p3scan # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/p3scan/ChangeLog,v 1.11 2007/03/18 04:41:14 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/p3scan/ChangeLog,v 1.12 2007/04/09 20:42:40 ticho Exp $ + +*p3scan-2.3.2 (09 Apr 2007) + + 09 Apr 2007; Andrej Kacian +p3scan-2.3.2.ebuild: + Version bump. 18 Mar 2007; Marius Mauch p3scan-2.3.1.ebuild, p3scan-2.3.1-r1.ebuild: diff --git a/mail-filter/p3scan/Manifest b/mail-filter/p3scan/Manifest index 94caf3e613f0..ea4671f969f5 100644 --- a/mail-filter/p3scan/Manifest +++ b/mail-filter/p3scan/Manifest @@ -6,6 +6,7 @@ MD5 ccbcdd1c08592b87665d4d1dd4f394fa files/p3scan.init 612 RMD160 169ee83c5df7079aaae9359c10edc24c1d0c820c files/p3scan.init 612 SHA256 8cd2a9029c045184667a098e136092505bf04b3223817b8013094a0440e43415 files/p3scan.init 612 DIST p3scan-2.3.1.tar.gz 315677 RMD160 bb3ece736f44f2c8a8b919163fcb9d9d90ff7ec8 SHA1 896120aca194a96b34dbcf8f0e062afb8fbd8f41 SHA256 2c51185caddde414de13f7de9b94986145a6519deac1de655f38538113122329 +DIST p3scan-2.3.2.tar.gz 321684 RMD160 ed5857d1e711d4f303eeddf03b8ab93fa6c2a3dd SHA1 bc2d01699d34183e78cef44ac6a229326473d5d4 SHA256 570bdf87132b23120339e247809dc2cf37c2735d504f4e1072528c04d940bb5f EBUILD p3scan-2.3.1-r1.ebuild 2125 RMD160 8589d7a352c61021c02e343c19728706fef284cc SHA1 a3f49453e3326f054290cc3b57b6f15c57742ebb SHA256 e790014e9e7ef3db31c0abb8893c5c05c0ce7711371fa267ce9007f085ee8435 MD5 1f684bdff49cc9f332fb0bc87be07c35 p3scan-2.3.1-r1.ebuild 2125 RMD160 8589d7a352c61021c02e343c19728706fef284cc p3scan-2.3.1-r1.ebuild 2125 @@ -14,10 +15,14 @@ EBUILD p3scan-2.3.1.ebuild 2029 RMD160 95d1d38bc5abc90d92e5e31f485a794ac15e0ebb MD5 26b78f165adc7526a2b83dd7f18cd332 p3scan-2.3.1.ebuild 2029 RMD160 95d1d38bc5abc90d92e5e31f485a794ac15e0ebb p3scan-2.3.1.ebuild 2029 SHA256 1248fa2ed5c9bb565199aea686f051df3aa8b583d0e38d37631ceb364e7c02d0 p3scan-2.3.1.ebuild 2029 -MISC ChangeLog 1894 RMD160 2bc9cf10b33385eface1eca1cd79d6e96a0e4c24 SHA1 fc153cb2ccd53804788dea4dee2de79c1d575535 SHA256 306cc9ed1b89a9906f5db0bbd4410d72392a0038f8cfb09b7eae57f8f0141e0e -MD5 5b134f9fe5e4b89d46fc4be3237de810 ChangeLog 1894 -RMD160 2bc9cf10b33385eface1eca1cd79d6e96a0e4c24 ChangeLog 1894 -SHA256 306cc9ed1b89a9906f5db0bbd4410d72392a0038f8cfb09b7eae57f8f0141e0e ChangeLog 1894 +EBUILD p3scan-2.3.2.ebuild 2121 RMD160 1969ba2acd67108e5a74a0b46f816cebb322aae9 SHA1 25505566d7698f1d322aa698db2e5725c437c064 SHA256 4941e7246f24e245a7dae7fb4917673b0fb89a23e7b2a19ed0e7e96428445395 +MD5 f0bb91009089c0b030bb020908f7901e p3scan-2.3.2.ebuild 2121 +RMD160 1969ba2acd67108e5a74a0b46f816cebb322aae9 p3scan-2.3.2.ebuild 2121 +SHA256 4941e7246f24e245a7dae7fb4917673b0fb89a23e7b2a19ed0e7e96428445395 p3scan-2.3.2.ebuild 2121 +MISC ChangeLog 2009 RMD160 792e080af5dd2e299d0317914644a6fa5c2fcea1 SHA1 fdc63abe1a6b8b7356448b4d79dcc87ca5fb3f61 SHA256 e49f27a4b694aa75003ce6dbd02f52e00a8e699668359cb26bc1014dfdfe1f55 +MD5 a28ddfb9e644de3c3df65853c19a7cd3 ChangeLog 2009 +RMD160 792e080af5dd2e299d0317914644a6fa5c2fcea1 ChangeLog 2009 +SHA256 e49f27a4b694aa75003ce6dbd02f52e00a8e699668359cb26bc1014dfdfe1f55 ChangeLog 2009 MISC metadata.xml 409 RMD160 5addb80d549a6bded7171e895652c0336d7f7160 SHA1 6a75719b6d3f69678028cae53f4fe02e910d6c14 SHA256 8b53ab62bbcc46fedd73c744afccb5cfd4d99571d30e65d3021115ba8a0ed16b MD5 36d9f272b13fc5cb611787183970922e metadata.xml 409 RMD160 5addb80d549a6bded7171e895652c0336d7f7160 metadata.xml 409 @@ -28,10 +33,13 @@ SHA256 c66a706e881ed6a3f6143d221d14149bf5bc8dc5a16cd98b8f6f14ed65d0a064 files/di MD5 e03f3e3faefa2b1c9446e83926546afc files/digest-p3scan-2.3.1-r1 238 RMD160 94ebfdb3e39024ca7c719660a6ff5da9ccef8099 files/digest-p3scan-2.3.1-r1 238 SHA256 c66a706e881ed6a3f6143d221d14149bf5bc8dc5a16cd98b8f6f14ed65d0a064 files/digest-p3scan-2.3.1-r1 238 +MD5 1f39dfa90adc667f0b289c9d9a96f474 files/digest-p3scan-2.3.2 238 +RMD160 d662656468360e38880d7e08279f42098a6b9975 files/digest-p3scan-2.3.2 238 +SHA256 15ad2d27aa98d82ad43a6c4baec4e5a851032c9314a14ddb277a1ad064850353 files/digest-p3scan-2.3.2 238 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.3 (GNU/Linux) +Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFF/MP/6J2i8a8J4okRAiTpAJ9/s+71chC+3lJY4OVWcMwSaIqjywCgxTeq -5yHfueO2lNQHUEn2w6diq9Y= -=FWwu +iD8DBQFGGqVGQlM6RnzZP+IRAoR4AKCRd33HXYwPtu5anC+r3VxdrL/B4wCggBX8 +2GoGS3TUKrrH4156+XGnk6U= +=lm/2 -----END PGP SIGNATURE----- diff --git a/mail-filter/p3scan/files/digest-p3scan-2.3.2 b/mail-filter/p3scan/files/digest-p3scan-2.3.2 new file mode 100644 index 000000000000..3b44137f6680 --- /dev/null +++ b/mail-filter/p3scan/files/digest-p3scan-2.3.2 @@ -0,0 +1,3 @@ +MD5 9f8decc7d4701228788e3c8717096ca0 p3scan-2.3.2.tar.gz 321684 +RMD160 ed5857d1e711d4f303eeddf03b8ab93fa6c2a3dd p3scan-2.3.2.tar.gz 321684 +SHA256 570bdf87132b23120339e247809dc2cf37c2735d504f4e1072528c04d940bb5f p3scan-2.3.2.tar.gz 321684 diff --git a/mail-filter/p3scan/p3scan-2.3.2.ebuild b/mail-filter/p3scan/p3scan-2.3.2.ebuild new file mode 100644 index 000000000000..8b87e69785ce --- /dev/null +++ b/mail-filter/p3scan/p3scan-2.3.2.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/p3scan/p3scan-2.3.2.ebuild,v 1.1 2007/04/09 20:42:40 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="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 TODO.list p3scan.sh spamfaq.* +} + +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 + elog "Default infected notification template language is set to english, change the" + elog "symbolic link /etc/${PN}/${PN}.mail if you want it in another language." + elog + elog "To start ${PN}, you can use /etc/init.d/${PN} start" + elog + elog "You need port-redirecting, a rule like:" + elog " iptables -t nat -A PREROUTING -p tcp -i eth0 --dport pop3 -j REDIRECT --to 8110" + elog "to forward pop3 connections incoming from eth0 interface." + elog + elog "You will need to configure at least following in /etc/${PN}/${PN}.conf:" + elog "scannertype, scanner, virusregexp" + elog + elog "An example scanner script has been installed to:" + elog "/usr/share/doc/${PF}/p3scan.sh.gz" + echo +} -- 2.26.2