summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-07-27 01:09:30 +0000
committerNick Hadaway <raker@gentoo.org>2002-07-27 01:09:30 +0000
commit27539f06efbd9994d230e9960e9d30f09ccde3c4 (patch)
treeb009caeb94ebe83b9ed87c07c70278f519057002 /net-mail/vm-pop3d
parentFixes #5407. (diff)
downloadgentoo-2-27539f06efbd9994d230e9960e9d30f09ccde3c4.tar.gz
gentoo-2-27539f06efbd9994d230e9960e9d30f09ccde3c4.tar.bz2
gentoo-2-27539f06efbd9994d230e9960e9d30f09ccde3c4.zip
Added initial ebuild. Thanks to Cal Evans for the package suggestion.
Diffstat (limited to 'net-mail/vm-pop3d')
-rw-r--r--net-mail/vm-pop3d/ChangeLog11
-rw-r--r--net-mail/vm-pop3d/files/digest-vm-pop3d-1.1.61
-rw-r--r--net-mail/vm-pop3d/files/vm-pop3d.confd2
-rw-r--r--net-mail/vm-pop3d/files/vm-pop3d.rc331
-rw-r--r--net-mail/vm-pop3d/vm-pop3d-1.1.6.ebuild42
5 files changed, 87 insertions, 0 deletions
diff --git a/net-mail/vm-pop3d/ChangeLog b/net-mail/vm-pop3d/ChangeLog
new file mode 100644
index 000000000000..753c4a32e9a7
--- /dev/null
+++ b/net-mail/vm-pop3d/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-mail/vm-pop3d
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-mail/vm-pop3d/ChangeLog,v 1.1 2002/07/27 01:09:30 raker Exp $
+
+*vm-pop3d-1.1.6 (26 Jul 2002)
+
+ 26 Jul 2002; Nick Hadaway <raker@gentoo.org>
+ vm-pop3d-1.1.6.ebuild, files/digest-vm-pop3d-1.1.6, files/vm-pop3d.rc3,
+ files/vm-pop3d.confd :
+
+ Added initial ebuild. Thanks to Cal Evans for the package suggestion.
diff --git a/net-mail/vm-pop3d/files/digest-vm-pop3d-1.1.6 b/net-mail/vm-pop3d/files/digest-vm-pop3d-1.1.6
new file mode 100644
index 000000000000..253d7b8d4f5b
--- /dev/null
+++ b/net-mail/vm-pop3d/files/digest-vm-pop3d-1.1.6
@@ -0,0 +1 @@
+MD5 0399cc06f5329a6eaebec05d959a6ec1 vm-pop3d-1.1.6.tar.gz 151975
diff --git a/net-mail/vm-pop3d/files/vm-pop3d.confd b/net-mail/vm-pop3d/files/vm-pop3d.confd
new file mode 100644
index 000000000000..74eb1079e36f
--- /dev/null
+++ b/net-mail/vm-pop3d/files/vm-pop3d.confd
@@ -0,0 +1,2 @@
+# Command-line options for running exim
+VM-POP3D_OPTS="-d5 -t 600"
diff --git a/net-mail/vm-pop3d/files/vm-pop3d.rc3 b/net-mail/vm-pop3d/files/vm-pop3d.rc3
new file mode 100644
index 000000000000..fd7dc6eaab9c
--- /dev/null
+++ b/net-mail/vm-pop3d/files/vm-pop3d.rc3
@@ -0,0 +1,31 @@
+#!/bin/sh
+#RCUPDATE:2 3 4:75:This line is required for script management
+
+. /etc/rc.d/config/functions
+
+SERVICE=vm-pop3d
+opts="start stop restart"
+
+PIDFILE=/var/run/exim.pid
+EXE=/usr/sbin/vm-pop3d
+
+start() {
+ ebegin "Starting $SERVICE..."
+ start-stop-daemon --start --quiet --exec ${VM-POP3D_OPTS:-d5 -t 600}
+ eend $? "Started $SERVICE." "Error Starting $SERVICE."
+}
+
+stop() {
+ ebegin "Stopping $SERVICE..."
+ start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $EXE
+ eend $? "Stopped $SERVICE." "Error Stopping $SERVICE."
+}
+
+restart() {
+ stop
+ start
+}
+
+doservice ${@}
+
+
diff --git a/net-mail/vm-pop3d/vm-pop3d-1.1.6.ebuild b/net-mail/vm-pop3d/vm-pop3d-1.1.6.ebuild
new file mode 100644
index 000000000000..98852184f782
--- /dev/null
+++ b/net-mail/vm-pop3d/vm-pop3d-1.1.6.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/vm-pop3d/vm-pop3d-1.1.6.ebuild,v 1.1 2002/07/27 01:09:30 raker Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="vm-pop3d - vm-pop3d is a POP3 server"
+SRC_URI="http://www.ibiblio.org/pub/Linux/system/mail/pop/${P}.tar.gz"
+HOMEPAGE="http://www.reedmedia.net/software/virtualmail-pop3d/"
+
+DEPEND="virtual/glibc"
+RDEPEND=""
+
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
+src_compile() {
+
+ use pam || myconf=" --disable-pam "
+
+ econf ${myconf} || die "configure failed"
+
+ emake || die "make failed"
+
+}
+
+src_install () {
+
+ einstall || die "make install failed"
+
+ dodoc AUTHORS CHANGES COPYING FAQ INSTALL README TODO
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/vm-pop3d.rc3 vm-pop3d
+ insinto /etc/conf.d
+ newins ${FILESDIR}/vm-pop3d.confd vm-pop3d
+}
+
+pkg_postinst() {
+ einfo "Done!"
+}