Revision bump, apply patch from #28504. Small QA fix to both ebuilds.
authorAndrej Kacian <ticho@gentoo.org>
Fri, 1 Oct 2004 21:39:34 +0000 (21:39 +0000)
committerAndrej Kacian <ticho@gentoo.org>
Fri, 1 Oct 2004 21:39:34 +0000 (21:39 +0000)
net-mail/pop3vscan/ChangeLog
net-mail/pop3vscan/Manifest
net-mail/pop3vscan/files/digest-pop3vscan-0.4-r1 [new file with mode: 0644]
net-mail/pop3vscan/pop3vscan-0.4-r1.ebuild [new file with mode: 0644]
net-mail/pop3vscan/pop3vscan-0.4.ebuild

index 1a4e2757a4eccc2b8a01da51efa718feed34eb05..e259d852792c8ad192abc46b9304b2090a1e47d9 100644 (file)
@@ -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 <bass@gentoo.org>
-# $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 <ticho@gentoo.org> +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 <jjptapia@eresmas.com>
 
   04 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> pop3vscan-0.4.ebuild:
   pkg_postinstall -> pkg_postinst
index 1fe5b76b1a1e1028e8c8d0a43b2c71f6d52da8a5..4b8be8ecf3591df729a1bdc141de0ca211256b4c 100644 (file)
@@ -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 (file)
index 0000000..b23d01e
--- /dev/null
@@ -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 (file)
index 0000000..2dcdf98
--- /dev/null
@@ -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"
+}
index 88ad4e47cacf3cac8200f231d7090f160107f960..bfa960308a930f56aecf5a419c213ca460622397 100644 (file)
@@ -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"