From: Andrej Kacian Date: Fri, 1 Oct 2004 21:39:34 +0000 (+0000) Subject: Revision bump, apply patch from #28504. Small QA fix to both ebuilds. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9849233c4edc993e47e2e020961881687411e7b3;p=gentoo.git Revision bump, apply patch from #28504. Small QA fix to both ebuilds. --- diff --git a/net-mail/pop3vscan/ChangeLog b/net-mail/pop3vscan/ChangeLog index 1a4e2757a4ec..e259d852792c 100644 --- a/net-mail/pop3vscan/ChangeLog +++ b/net-mail/pop3vscan/ChangeLog @@ -1,7 +1,14 @@ # ChangeLog for net-mail/pop3vscan # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 # AUTHOR: José Alberto Suárez López -# $Header: /var/cvsroot/gentoo-x86/net-mail/pop3vscan/ChangeLog,v 1.8 2004/06/24 23:26:27 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/pop3vscan/ChangeLog,v 1.9 2004/10/01 21:39:34 ticho Exp $ + +*pop3vscan-0.4-r1 (01 Oct 2004) + + 01 Oct 2004; Andrej Kacian +pop3vscan-0.4-r1.ebuild, + pop3vscan-0.4.ebuild: + Revision bump, apply patch with some improvements. See bug #28504 for + details. Patch submitted by Juan J. Prieto 04 Jun 2004; Michael Sterrett pop3vscan-0.4.ebuild: pkg_postinstall -> pkg_postinst diff --git a/net-mail/pop3vscan/Manifest b/net-mail/pop3vscan/Manifest index 1fe5b76b1a1e..4b8be8ecf359 100644 --- a/net-mail/pop3vscan/Manifest +++ b/net-mail/pop3vscan/Manifest @@ -1,5 +1,17 @@ -MD5 c15efb2f4eea0c87e796bc56db74e811 pop3vscan-0.4.ebuild 1286 -MD5 7282fdd2a863175e434180396bc281a1 ChangeLog 897 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 5b3a730f3180214a441901db9a6ff7d4 ChangeLog 1166 +MD5 4f66a6989ed6dc2d1178cb2c31805fd3 pop3vscan-0.4-r1.ebuild 1468 +MD5 e1c1cf8172004d687a773e825eb30d01 pop3vscan-0.4.ebuild 1284 MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 MD5 e8716b98e8a9ebd3cc7a3eee99b11568 files/pop3vscan 617 +MD5 31dc6dee0390bf98e963a763fcb09a96 files/digest-pop3vscan-0.4-r1 138 MD5 ce149161cbc3342eec80fe74757fa41d files/digest-pop3vscan-0.4 65 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFBXc6g10xuJSrg3/sRAvddAJ9biuj3UnDMtfa6zTvySd/Twqp0cwCdGqMk +UIeg5i8SV8i3noyNKeMsn0c= +=mNHe +-----END PGP SIGNATURE----- diff --git a/net-mail/pop3vscan/files/digest-pop3vscan-0.4-r1 b/net-mail/pop3vscan/files/digest-pop3vscan-0.4-r1 new file mode 100644 index 000000000000..b23d01ec424e --- /dev/null +++ b/net-mail/pop3vscan/files/digest-pop3vscan-0.4-r1 @@ -0,0 +1,2 @@ +MD5 48783c81cf70590637993aa0082fa467 pop3vscan-0.4.tar.gz 134583 +MD5 7517d6de62137714f2a8d4098ce21fdc pop3vscan-0.4-astaro.patch.gz 80530 diff --git a/net-mail/pop3vscan/pop3vscan-0.4-r1.ebuild b/net-mail/pop3vscan/pop3vscan-0.4-r1.ebuild new file mode 100644 index 000000000000..2dcdf98ffcf2 --- /dev/null +++ b/net-mail/pop3vscan/pop3vscan-0.4-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/pop3vscan/pop3vscan-0.4-r1.ebuild,v 1.1 2004/10/01 21:39:34 ticho Exp $ + +inherit eutils + +DESCRIPTION="A transparent POP3-Proxy with virus-scanning capabilities." +SRC_URI="mirror://sourceforge/pop3vscan/${P}.tar.gz + http://dev.gentoo.org/~ticho/portage/${P}-astaro.patch.gz" +HOMEPAGE="http://pop3vscan.sf.net/" + +DEPEND="net-mail/ripmime + dev-libs/libpcre" +RDEPEND="net-firewall/iptables" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 sparc" +IUSE="" + +src_unpack() { + unpack ${A} + + # Some improvements, see bug #28504 for details (ticho 2004-10-01) + epatch ${WORKDIR}/${P}-astaro.patch + + rm -f ${S}/ripmime/ripmime.a +} + +src_compile() { + make || die +} + +src_install () { + dodir /usr/sbin + dosbin pop3vscan + dodir /etc + insinto /etc + doins pop3vscan.conf pop3vscan.mail + + insinto /etc/init.d + doins ${FILESDIR}/pop3vscan + fperms 755 /etc/init.d/pop3vscan + + dodoc README +} + +pkg_postinst() { + useradd -d /tmp -s /bin/false -g nogroup mail + dodir /var/spool/pop3vscan + fowners mail /var/spool/pop3vscan + fperms 700 /var/spool/pop3vscan + + einfo "You need configure /etc/pop3vscan and /etc/pop3vscan.mail" + einfo "For start pop3vscan you can use /etc/init.d/pop3vscan start" + einfo "You need port-redirecting, a rule like:" + einfo "iptables -t nat -A PREROUTING -p tcp -i eth0 --dport pop3 -j REDIRECT --to 8110" + einfo "is enough" +} diff --git a/net-mail/pop3vscan/pop3vscan-0.4.ebuild b/net-mail/pop3vscan/pop3vscan-0.4.ebuild index 88ad4e47cacf..bfa960308a93 100644 --- a/net-mail/pop3vscan/pop3vscan-0.4.ebuild +++ b/net-mail/pop3vscan/pop3vscan-0.4.ebuild @@ -1,12 +1,13 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/pop3vscan/pop3vscan-0.4.ebuild,v 1.14 2004/07/15 01:52:10 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/pop3vscan/pop3vscan-0.4.ebuild,v 1.15 2004/10/01 21:39:34 ticho Exp $ DESCRIPTION="A transparent POP3-Proxy with virus-scanning capabilities." SRC_URI="mirror://sourceforge/pop3vscan/${P}.tar.gz" HOMEPAGE="http://pop3vscan.sf.net/" -DEPEND="net-mail/ripmime dev-libs/libpcre" +DEPEND="net-mail/ripmime + dev-libs/libpcre" RDEPEND="net-firewall/iptables" SLOT="0"