summaryrefslogtreecommitdiff
path: root/net-mail/uw-mailutils
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/uw-mailutils')
-rw-r--r--net-mail/uw-mailutils/Manifest7
-rw-r--r--net-mail/uw-mailutils/files/uw-mailutils-2004g.patch38
-rw-r--r--net-mail/uw-mailutils/files/uw-mailutils-ssl.patch13
-rw-r--r--net-mail/uw-mailutils/metadata.xml11
-rw-r--r--net-mail/uw-mailutils/uw-mailutils-2007f.ebuild53
5 files changed, 122 insertions, 0 deletions
diff --git a/net-mail/uw-mailutils/Manifest b/net-mail/uw-mailutils/Manifest
new file mode 100644
index 000000000000..93e9a01ebc25
--- /dev/null
+++ b/net-mail/uw-mailutils/Manifest
@@ -0,0 +1,7 @@
+AUX uw-mailutils-2004g.patch 1210 SHA256 4d2369c984ae1fc473feed94e3012e92b4c9dc4ea1d6cddf8a3d983115ff3113 SHA512 af99ee3d05cdd81549d258d392bf6cf7948577b383ffc3a0314f39a86b36f48abd8194b91922dc40518ff6c61dd1d2258fd9281954222d67b667b8868569718c WHIRLPOOL fb2ae2005a40dc0c8ed03a2669a5af789d2d221d9482ccebe4ab9100a406b7100afc74bae6f5380540c3fac0d553a24dc0fe5c962b7974d53304071d0a2000bc
+AUX uw-mailutils-ssl.patch 391 SHA256 10a04c7b5f6bbd4e9033db679053289846fe6d4ef6bc1fb3e6130d19649799ee SHA512 4fcc9930209f728b901565cda00c2a4446a024bcf1abfe5928399f62bf5540f56ed449b6ff401db09eb53b61e4c6bfd4a97da2a67a2942ff8a4394530eadcffa WHIRLPOOL 95c69e4a75ad0f5eeded8c299f4df26952d0ec6bcc5711a168610bf634a0799c1857ac7ed8dc2b7dfa68b45bd7d6725fd752621065d683ec901cf447cad3ed29
+DIST imap-2007f.tar.Z 2793529 SHA256 870e95f6bd19265832a88fd89b77c54c841c59022fd21e69254050c8b1005e3c SHA512 2c728deaf66d23158c61ae55ff94f05d2a1cf0168002760321ca30c6ee1c58c0a4c7bc14ece0097ea662df6c7c49be3b91c8e5e943724c9e2736800fa9298dae WHIRLPOOL 655536d61a178940363241ad8c94a28be75e90abf3b8c585eb61364a6394ff49bb5fd5dc6de4bec5f992f03b592e583df04f0103e8f3c167aa68a476c574c4ec
+EBUILD uw-mailutils-2007f.ebuild 1212 SHA256 720d01dc7b914b667e7222ddc5e5846721b0df70e23bb1ed789b558ef0ca95f7 SHA512 c6ac7afa6009c8163e33d18d7a530761e7dbce2034f8c81c48ed413b58cc2d0b00204bea81a2afcecce1b55e6cb55acbd52c52f1a78319a51a3a8c56c6d59395 WHIRLPOOL 7bd04a8820d6615c65fd8bc9847ccceb2747e6dc16dafc278fead1a4d6d64d45f7709ab0e2037d540bf5c3ba22978ad77db0aca0f71d164d4c06c15187d8e432
+MISC ChangeLog 2508 SHA256 6b0efcae122db90bd31763c8641aa03f837f156b6b8f03e81ca6397fec47b223 SHA512 26ccfbdc6d242ce08aa48e7d54b6374e0c99aeae3e26dcb299df13579e5d0c8f1b8996e2d7cb9e78a160bdf98e34b34b0702bb787a44141ed2f8f8c4457b1951 WHIRLPOOL 29ecb6cfc8600df0008186472cce569cbd371490fdfdb7a2dcdbddc3d0bcdd4dcbbb3b2e7715634704a0bb830467001a147072ed696527328aae8cb053015fca
+MISC ChangeLog-2015 5623 SHA256 b3dbdcffdfe37c9bd7822c2559f8f15722d6a02d4c049855fd9288ccbccb6b63 SHA512 d1bc53714f1363a24972cb285bc6f332e78e2227019a5c8f8cee55890cbdcfa54264baf565f3a981b3410a6c963bfc964583abfc87aa260afb2ce242b7b5dc87 WHIRLPOOL 3ddf8fcf57e517e77ddc8cc15e99e290877fc4ae2936b71d46983ae615bdf0174083439e461d78254c451bdaaa4e66773e06e810edc5a475ca1f606b64d378b7
+MISC metadata.xml 354 SHA256 dcf7cb158ebaf1e906e1469413579df3073b3b47f9c0b3f2f4d6896c76de7a1d SHA512 f07c546c9558055933bb275a504a7a38f15343ca89cdad8aded334445022ea7775b7c4ec6b7cee59faf2cd2d86e2b9f35c5dc07ce00eb8481e54c24231708977 WHIRLPOOL 8699befd5b4184e3c0e8f80244a8061fdf2d5aeec13fe1b0933ed5946f56cbd0365e32cab1b66e44e43dabf337a8939efe377a7ad2a05e5e50b27e29328022e2
diff --git a/net-mail/uw-mailutils/files/uw-mailutils-2004g.patch b/net-mail/uw-mailutils/files/uw-mailutils-2004g.patch
new file mode 100644
index 000000000000..320388357c1d
--- /dev/null
+++ b/net-mail/uw-mailutils/files/uw-mailutils-2004g.patch
@@ -0,0 +1,38 @@
+--- imap-2004g/Makefile 2005-04-30 22:50:20.000000000 +0200
++++ imap-2004g-mailutil/Makefile 2005-10-06 13:21:14.000000000 +0200
+@@ -504,12 +504,7 @@
+ $(TOOLS)/$@ "$(LN)" src/charset c-client
+ $(TOOLS)/$@ "$(LN)" src/osdep/$(SYSTEM) c-client
+ $(TOOLS)/$@ "$(LN)" src/mtest mtest
+- $(TOOLS)/$@ "$(LN)" src/ipopd ipopd
+- $(TOOLS)/$@ "$(LN)" src/imapd imapd
+ $(TOOLS)/$@ "$(LN)" src/mailutil mailutil
+- $(TOOLS)/$@ "$(LN)" src/mlock mlock
+- $(TOOLS)/$@ "$(LN)" src/dmail dmail
+- $(TOOLS)/$@ "$(LN)" src/tmail tmail
+ $(LN) $(TOOLS)/$@ .
+
+ build: OSTYPE rebuild rebuildclean bundled
+@@ -540,13 +535,8 @@
+ bundled:
+ @echo Building bundled tools...
+ $(CD) mtest;$(MAKE)
+- $(CD) ipopd;$(MAKE)
+- $(CD) imapd;$(MAKE)
+ $(CD) mailutil;$(MAKE)
+ @$(SH) -c '(test -f /usr/include/sysexits.h ) || make sysexitwarn'
+- $(CD) mlock;$(MAKE) || true
+- $(CD) dmail;$(MAKE) || true
+- $(CD) tmail;$(MAKE) || true
+
+
+ sysexitwarn:
+@@ -559,7 +549,7 @@
+
+ clean:
+ @echo Removing old processed sources and binaries...
+- $(SH) -c '$(RM) an ua OSTYPE SPECIALS c-client mtest imapd ipopd mailutil mlock dmail tmail || true'
++ $(SH) -c '$(RM) an ua OSTYPE SPECIALS c-client mtest mailutil || true'
+ $(CD) tools;$(MAKE) clean
+
+
diff --git a/net-mail/uw-mailutils/files/uw-mailutils-ssl.patch b/net-mail/uw-mailutils/files/uw-mailutils-ssl.patch
new file mode 100644
index 000000000000..0214030e3ffa
--- /dev/null
+++ b/net-mail/uw-mailutils/files/uw-mailutils-ssl.patch
@@ -0,0 +1,13 @@
+--- imap-2007e/src/osdep/unix/Makefile 2009-07-05 10:00:54.000000000 +0300
++++ imap-2007e/src/osdep/unix/Makefile 2009-07-05 10:04:42.000000000 +0300
+@@ -54,8 +54,8 @@
+
+ # Extended flags needed for SSL. You may need to modify.
+
+-SSLDIR=/usr/local/ssl
+-SSLCERTS=$(SSLDIR)/certs
++SSLDIR=/usr
++SSLCERTS=/etc/ssl/certs
+ SSLKEYS=$(SSLCERTS)
+ SSLINCLUDE=$(SSLDIR)/include
+ SSLLIB=$(SSLDIR)/lib
diff --git a/net-mail/uw-mailutils/metadata.xml b/net-mail/uw-mailutils/metadata.xml
new file mode 100644
index 000000000000..ec8a6451efdb
--- /dev/null
+++ b/net-mail/uw-mailutils/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>net-mail@gentoo.org</email>
+ <name>Net-Mail</name>
+ </maintainer>
+ <longdescription>
+ Mail utilities common to University of Washington software packages.
+ </longdescription>
+</pkgmetadata>
diff --git a/net-mail/uw-mailutils/uw-mailutils-2007f.ebuild b/net-mail/uw-mailutils/uw-mailutils-2007f.ebuild
new file mode 100644
index 000000000000..55ed9cd6938e
--- /dev/null
+++ b/net-mail/uw-mailutils/uw-mailutils-2007f.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils flag-o-matic
+
+MY_P="imap-${PV}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Mail utilities from the UW"
+HOMEPAGE="http://www.washington.edu/imap/"
+SRC_URI="ftp://ftp.cac.washington.edu/imap/${MY_P}.tar.Z"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="pam ssl"
+
+DEPEND="pam? ( virtual/pam )
+ ssl? ( dev-libs/openssl )"
+RDEPEND="${DEPEND}
+ !<net-mail/uw-imap-${PV}"
+
+src_prepare() {
+ chmod -R ug+w "${S}"
+
+ epatch "${FILESDIR}/${PN}-2004g.patch"
+ epatch "${FILESDIR}/${PN}-ssl.patch"
+
+ # no interactive build
+ sed -i -e "/read x; case/s/^/#/" Makefile || die
+
+ sed -i -e "s|\`cat \$C/CFLAGS\`|${CFLAGS}|g" \
+ src/mailutil/Makefile \
+ src/mtest/Makefile || die "sed failed patching Makefile CFLAGS."
+
+ append-flags -fPIC
+}
+
+src_compile() {
+ local port=slx
+ use elibc_FreeBSD && port=bsf
+ use pam && port=lnp
+ local ssltype=none
+ use ssl && ssltype=nopwd
+ emake -j1 "${port}" EXTRACFLAGS="${CFLAGS}" EXTRALDFLAGS="${LDFLAGS}" SSLTYPE="${ssltype}"
+}
+
+src_install() {
+ dobin mailutil/mailutil mtest/mtest
+ doman src/mailutil/mailutil.1
+}