diff options
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/pop3vscan/ChangeLog | 9 | ||||
-rw-r--r-- | net-mail/pop3vscan/files/digest-pop3vscan-0.4 | 1 | ||||
-rw-r--r-- | net-mail/pop3vscan/files/pop3vscan | 28 | ||||
-rw-r--r-- | net-mail/pop3vscan/pop3vscan-0.4.ebuild | 35 |
4 files changed, 73 insertions, 0 deletions
diff --git a/net-mail/pop3vscan/ChangeLog b/net-mail/pop3vscan/ChangeLog new file mode 100644 index 000000000000..7db0a23818f6 --- /dev/null +++ b/net-mail/pop3vscan/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for net-mail/pop3vscan +# Copyright 2002 Gentoo Technologies, Inc.; 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.1 2002/07/10 21:18:34 bass Exp $ + +*pop3vscan-0.4 (10 Jul 2002) + + 10 Jul 2002; J.Alberto S.L. <bass@gentoo.org> pop3vscan-0.4.ebuild: + First relase. diff --git a/net-mail/pop3vscan/files/digest-pop3vscan-0.4 b/net-mail/pop3vscan/files/digest-pop3vscan-0.4 new file mode 100644 index 000000000000..3ad4a4ca6028 --- /dev/null +++ b/net-mail/pop3vscan/files/digest-pop3vscan-0.4 @@ -0,0 +1 @@ +MD5 48783c81cf70590637993aa0082fa467 pop3vscan-0.4.tar.gz 134583 diff --git a/net-mail/pop3vscan/files/pop3vscan b/net-mail/pop3vscan/files/pop3vscan new file mode 100644 index 000000000000..87f03b930df6 --- /dev/null +++ b/net-mail/pop3vscan/files/pop3vscan @@ -0,0 +1,28 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-mail/pop3vscan/files/pop3vscan,v 1.1 2002/07/10 21:18:34 bass Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting pop3vscan" + start-stop-daemon --start --quiet --pidfile /var/run/pop3vscan.pid --exec /usr/sbin/pop3vscan + eend $? +} + +stop() { + ebegin "Stopping pop3vscan" + start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/pop3vscan.pid + eend $? +} + +restart() { + ebegin "Restarting pop3vscan" + svc_stop + sleep 1 + svc_start + eend $? +} diff --git a/net-mail/pop3vscan/pop3vscan-0.4.ebuild b/net-mail/pop3vscan/pop3vscan-0.4.ebuild new file mode 100644 index 000000000000..39b9a7a1a9a3 --- /dev/null +++ b/net-mail/pop3vscan/pop3vscan-0.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-mail/pop3vscan/pop3vscan-0.4.ebuild,v 1.1 2002/07/10 21:18:34 bass Exp $ + +S="${WORKDIR}/${P}" +DESCRIPTION="A transparent POP3-Proxy with virus-scanning capabilities." +SRC_URI="mirror://sourceforge/pop3vscan/${P}.tar.gz" +HOMEPAGE="pop3vscan.sf.net" +LICENSE="GPL-2" +DEPEND="net-mail/ripmime" +RDEPEND="${DEPEND}" +SLOT="0" + +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_postinstall () { + einfo "You need configure /etc/pop3vscan and /etc/pop3vscan.mail" + einfo "For start pop3vscan you can use /etc/init.d/pop3vscan start" +} |