summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/up-imapproxy')
-rw-r--r--net-mail/up-imapproxy/ChangeLog10
-rw-r--r--net-mail/up-imapproxy/Manifest6
-rw-r--r--net-mail/up-imapproxy/files/digest-up-imapproxy-1.2.11
-rw-r--r--net-mail/up-imapproxy/files/imapproxy.rc621
-rw-r--r--net-mail/up-imapproxy/metadata.xml5
-rw-r--r--net-mail/up-imapproxy/up-imapproxy-1.2.1.ebuild47
6 files changed, 88 insertions, 2 deletions
diff --git a/net-mail/up-imapproxy/ChangeLog b/net-mail/up-imapproxy/ChangeLog
new file mode 100644
index 000000000000..a5fb6da4b2e8
--- /dev/null
+++ b/net-mail/up-imapproxy/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-mail/up-imapproxy
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/up-imapproxy/ChangeLog,v 1.1 2003/11/12 19:26:53 max Exp $
+
+*up-imapproxy-1.2.1 (12 Nov 2003)
+
+ 12 Nov 2003; <max@gentoo.org> up-imapproxy-1.2.1.ebuild,
+ files/imapproxy.rc6:
+ Initial version. Fixes bug 29768.
+
diff --git a/net-mail/up-imapproxy/Manifest b/net-mail/up-imapproxy/Manifest
index 3652564fb194..c2bc97fe138c 100644
--- a/net-mail/up-imapproxy/Manifest
+++ b/net-mail/up-imapproxy/Manifest
@@ -1,3 +1,5 @@
-MD5 c3caf42f5986a3f7d2762798d3aaf121 up-imapproxy-1.2.1.ebuild 411
-MD5 2cb9d39b8bc7ddee6c04ceea255ee64f .up-imapproxy-1.2.1.ebuild.swp 12288
+MD5 e7ff3a672b16d25326ee3d8a2fea01d7 up-imapproxy-1.2.1.ebuild 1248
+MD5 b1e8165b903b1f3f0792823711772ea5 ChangeLog 375
+MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
MD5 ee2fd39ec911915225c61fdec088ad97 files/digest-up-imapproxy-1.2.1 70
+MD5 50f2a7021cac31321edd6b974edc93e2 files/imapproxy.rc6 509
diff --git a/net-mail/up-imapproxy/files/digest-up-imapproxy-1.2.1 b/net-mail/up-imapproxy/files/digest-up-imapproxy-1.2.1
new file mode 100644
index 000000000000..548f6da2b48c
--- /dev/null
+++ b/net-mail/up-imapproxy/files/digest-up-imapproxy-1.2.1
@@ -0,0 +1 @@
+MD5 debd3edeb7441b9f713aaa9e9d7f2329 up-imapproxy-1.2.1.tar.gz 111393
diff --git a/net-mail/up-imapproxy/files/imapproxy.rc6 b/net-mail/up-imapproxy/files/imapproxy.rc6
new file mode 100644
index 000000000000..09eb576c1c83
--- /dev/null
+++ b/net-mail/up-imapproxy/files/imapproxy.rc6
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/up-imapproxy/files/imapproxy.rc6,v 1.1 2003/11/12 19:26:53 max Exp $
+
+depend() {
+ use logger
+ need net
+}
+
+start() {
+ ebegin "Starting imapproxy"
+ start-stop-daemon --start --quiet --exec /usr/sbin/imapproxyd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping imapproxy"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/imapproxyd
+ eend $?
+}
diff --git a/net-mail/up-imapproxy/metadata.xml b/net-mail/up-imapproxy/metadata.xml
new file mode 100644
index 000000000000..51f94e3fbe0e
--- /dev/null
+++ b/net-mail/up-imapproxy/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-mail</herd>
+</pkgmetadata>
diff --git a/net-mail/up-imapproxy/up-imapproxy-1.2.1.ebuild b/net-mail/up-imapproxy/up-imapproxy-1.2.1.ebuild
new file mode 100644
index 000000000000..f47df9581d60
--- /dev/null
+++ b/net-mail/up-imapproxy/up-imapproxy-1.2.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/up-imapproxy/up-imapproxy-1.2.1.ebuild,v 1.1 2003/11/12 19:26:53 max Exp $
+
+DESCRIPTION="Proxy IMAP transactions between an IMAP client and an IMAP server."
+HOMEPAGE="http://www.imapproxy.org/"
+SRC_URI="http://www.imapproxy.org/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="kerberos ssl tcpd"
+
+DEPEND="virtual/glibc
+ >=sys-apps/sed-4
+ >=sys-libs/ncurses-5.1
+ kerberos? ( virtual/krb5 )
+ ssl? ( >=dev-libs/openssl-0.9.6 )
+ tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
+
+src_unpack() {
+ unpack ${A} && cd "${S}"
+ sed -e 's:in\.imapproxyd:imapproxyd:g' -i README \
+ -i Makefile.in -i include/imapproxy.h || die "sed failed"
+}
+
+src_compile() {
+ local myconf
+ myconf="${myconf} `use_with kerberos krb5`"
+ myconf="${myconf} `use_with ssl openssl`"
+ myconf="${myconf} `use_with tcpd libwrap`"
+
+ econf ${myconf}
+ emake || die "compile problem"
+}
+
+src_install() {
+ dosbin bin/imapproxyd bin/pimpstat
+
+ insinto /etc
+ doins scripts/imapproxy.conf
+
+ exeinto /etc/init.d
+ newexe "${FILESDIR}/imapproxy.rc6" imapproxy
+
+ dodoc COPYING ChangeLog README README.known_issues README.ssl
+}