Commit the ebuild.
authorAndrej Kacian <ticho@gentoo.org>
Thu, 6 Oct 2005 12:06:13 +0000 (12:06 +0000)
committerAndrej Kacian <ticho@gentoo.org>
Thu, 6 Oct 2005 12:06:13 +0000 (12:06 +0000)
Package-Manager: portage-2.0.51.22-r2

net-mail/uw-mailutils/ChangeLog [new file with mode: 0644]
net-mail/uw-mailutils/Manifest [new file with mode: 0644]
net-mail/uw-mailutils/files/digest-uw-mailutils-2004g [new file with mode: 0644]
net-mail/uw-mailutils/files/uw-mailutils-2004g.patch [new file with mode: 0644]
net-mail/uw-mailutils/metadata.xml [new file with mode: 0644]
net-mail/uw-mailutils/uw-mailutils-2004g.ebuild [new file with mode: 0644]

diff --git a/net-mail/uw-mailutils/ChangeLog b/net-mail/uw-mailutils/ChangeLog
new file mode 100644 (file)
index 0000000..9f65bb0
--- /dev/null
@@ -0,0 +1,12 @@
+# ChangeLog for net-mail/uw-mailutils
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/uw-mailutils/ChangeLog,v 1.1 2005/10/06 12:06:13 ticho Exp $
+
+*uw-mailutils-2004g (06 Oct 2005)
+
+  06 Oct 2005; Andrej Kacian <ticho@gentoo.org>
+  +files/uw-mailutils-2004g.patch, +metadata.xml,
+  +uw-mailutils-2004g.ebuild:
+  Initial import. Closes bug #105313, reported by Zak Kipling <zak at
+  transversal.com>.
+
diff --git a/net-mail/uw-mailutils/Manifest b/net-mail/uw-mailutils/Manifest
new file mode 100644 (file)
index 0000000..fc07286
--- /dev/null
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 50984158a3870ae6f76c3beb6e7b5cf4 uw-mailutils-2004g.ebuild 995
+MD5 a6badff79923c996edae6fae4e8241c9 ChangeLog 468
+MD5 1bb83f4e84ad8336fcdc25c821ccb680 metadata.xml 272
+MD5 5eb8b5fa92f61ec775be70c761ea24ae files/digest-uw-mailutils-2004g 62
+MD5 59c4ba0421f60657457e0aecf07be7be files/uw-mailutils-2004g.patch 1210
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDRRNMQlM6RnzZP+IRAjM9AJ9g4v47g2prQhTwayqBdGbql6ScjwCbBA4/
+UQHm1DMPCr5innTK+4s357A=
+=ziu3
+-----END PGP SIGNATURE-----
diff --git a/net-mail/uw-mailutils/files/digest-uw-mailutils-2004g b/net-mail/uw-mailutils/files/digest-uw-mailutils-2004g
new file mode 100644 (file)
index 0000000..08b5c3d
--- /dev/null
@@ -0,0 +1 @@
+MD5 9a80f58d8d6a0979c13714ae69050020 imap-2004g.tar.Z 2246713
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 (file)
index 0000000..3203883
--- /dev/null
@@ -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/metadata.xml b/net-mail/uw-mailutils/metadata.xml
new file mode 100644 (file)
index 0000000..0f733c7
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>net-mail</herd>
+       <longdescription>
+               Mail utilities common to University of Washington software packages.
+       </longdescription>
+</pkgmetadata>
diff --git a/net-mail/uw-mailutils/uw-mailutils-2004g.ebuild b/net-mail/uw-mailutils/uw-mailutils-2004g.ebuild
new file mode 100644 (file)
index 0000000..391f3e4
--- /dev/null
@@ -0,0 +1,45 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/uw-mailutils/uw-mailutils-2004g.ebuild,v 1.1 2005/10/06 12:06:13 ticho Exp $
+
+inherit eutils flag-o-matic
+
+MY_P="imap-${PV}"
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="This is a sample skeleton ebuild file"
+HOMEPAGE="http://foo.bar.com/"
+SRC_URI="ftp://ftp.cac.washington.edu/imap/${MY_P}.tar.Z"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/libc
+       !<=net-mail/uw-imap-2004g"
+
+src_unpack() {
+       unpack ${A}
+       chmod -R ug+w ${S}
+
+       cd ${S}
+
+       epatch ${FILESDIR}/${P}.patch || die "epatch failed"
+
+       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() {
+       yes | make lnp EXTRACFLAGS="${CFLAGS}" SSLTYPE=none || die
+}
+
+src_install() {
+       into /usr
+       dobin mailutil/mailutil mtest/mtest
+       doman src/mailutil/mailutil.1
+}