summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2008-04-06 18:19:24 +0000
committerBenedikt Boehm <hollow@gentoo.org>2008-04-06 18:19:24 +0000
commit5ef867471621209679af01f33749c2f020ffb091 (patch)
treea5e84646eeda9f37d39e3f09e9f6e5bd63510aa9 /mail-mta/mini-qmail
parentadd mini-qmail-1.06 and qmail-ldap-1.03-r8 to qmail.eclass mask (diff)
downloadhistorical-5ef867471621209679af01f33749c2f020ffb091.tar.gz
historical-5ef867471621209679af01f33749c2f020ffb091.tar.bz2
historical-5ef867471621209679af01f33749c2f020ffb091.zip
version bump; conversion to qmail.eclass; fixes #207657
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'mail-mta/mini-qmail')
-rw-r--r--mail-mta/mini-qmail/ChangeLog10
-rw-r--r--mail-mta/mini-qmail/Manifest19
-rw-r--r--mail-mta/mini-qmail/files/1.06-exit.patch18
-rw-r--r--mail-mta/mini-qmail/files/config-mini38
-rw-r--r--mail-mta/mini-qmail/metadata.xml8
-rw-r--r--mail-mta/mini-qmail/mini-qmail-1.06.ebuild63
6 files changed, 148 insertions, 8 deletions
diff --git a/mail-mta/mini-qmail/ChangeLog b/mail-mta/mini-qmail/ChangeLog
index e307c6a5ed31..dcb1bf572680 100644
--- a/mail-mta/mini-qmail/ChangeLog
+++ b/mail-mta/mini-qmail/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-mta/mini-qmail
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/mini-qmail/ChangeLog,v 1.9 2007/12/03 21:37:50 robbat2 Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/mini-qmail/ChangeLog,v 1.10 2008/04/06 18:19:23 hollow Exp $
+
+*mini-qmail-1.06 (06 Apr 2008)
+
+ 06 Apr 2008; Benedikt Böhm <hollow@gentoo.org> +files/1.06-exit.patch,
+ +files/config-mini, metadata.xml, +mini-qmail-1.06.ebuild:
+ version bump; conversion to qmail.eclass; fixes #207657
03 Dec 2007; Robin H. Johnson <robbat2@gentoo.org> mini-qmail-1.05.ebuild,
mini-qmail-1.05-r1.ebuild:
diff --git a/mail-mta/mini-qmail/Manifest b/mail-mta/mini-qmail/Manifest
index 1b6614e2ad04..39729c4113b8 100644
--- a/mail-mta/mini-qmail/Manifest
+++ b/mail-mta/mini-qmail/Manifest
@@ -1,8 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 1.05-config-mini-help.patch 672 RMD160 925566450e7926c4c9d79c355ec21e064591e15a SHA1 a70b56d54b102ab3f2cfaa08964d415605ecda05 SHA256 bc27d21c7994dda71f12658e8489de28673838b74f255d3475f55b99d069cfec
+AUX 1.06-exit.patch 551 RMD160 4e37d5e052d949ce682691141a835e209de302a5 SHA1 9de0b915ab9bda742aabece4288538e4ff6b00c9 SHA256 400ab4719d145e29b08d266b38766b80d894d5473e4c4f3b5e436916a36a4333
AUX 99qmail 84 RMD160 3d197970d95c91a1a70792d5c7a27eacb4dfa557 SHA1 0ee23bd18e12f85c5b8eae9028cc59006efbf087 SHA256 cd259c9003ec1962562ae7c32c24efbeae54b0baac3380adff59604dd1fd3648
+AUX config-mini 961 RMD160 94fc208cc6c70420284aa9c70a39d528409a921d SHA1 4c17a89b1a542bfa42c13a1e8bd646bee2ff9256 SHA256 2f6fed8f293a8d60cc04091d5684f581ff2253957256907085db3bceaf2f4384
+DIST genqmail-20080406.tar.bz2 10252 RMD160 e6b2982447dbe3e92407435831469fba49fe3c9d SHA1 e825bc226d181105e8723360208d8c3f98142025 SHA256 501ca2120c7619569bd9ac3e0035cb0022bfd0cdc9c720b5c43c9e3a4eb07ce8
DIST mini-qmail-kit-0.52.tar.gz 6174 RMD160 48c9a90f51fe48026035749d88370a7e8cbd5261 SHA1 7dc1ce9766be90c2aaa40c0ef4e31e5047dab363 SHA256 8796d7ba7a6b1ff49df371491e2cebb1dca81169fa3d98d730f9d717067cf6d6
DIST netqmail-1.05.tar.gz 252264 RMD160 e5bd8557c58a2686233449254b146e74389a7652 SHA1 fe4cbe97bd2f18a5ca1b36e4fbbd6c524256a829 SHA256 59788abf252e2da224542c1c8b727311335c61d990f24f4edf28f6eb5483f676
+DIST netqmail-1.06.tar.gz 260941 RMD160 d31598afa862abb35bc1feb8d038ab619b5a17a2 SHA1 9ee9a603e2ad3d8e1d34b900e19b7a5d275f538b SHA256 8e7d98d15211fc9f9c28109e942e2268f42a6672d68df92a42f2afa90ff00532
EBUILD mini-qmail-1.05-r1.ebuild 2623 RMD160 4dd8afa6db45416ee64058d0e0e3f135f834f9c5 SHA1 fa80b5322ab1fb374c787c58a02fffd53d0158a6 SHA256 912f9b1baf0b2113e49ff07422a851008cf90f3793b8c2b508f4dd6a72ca732e
EBUILD mini-qmail-1.05.ebuild 2900 RMD160 c25a7e42606a782a1d8e97b769f32ec1db4b5333 SHA1 aa71b5a4e6a09ce996a636a66aec5659916348c4 SHA256 3175d4a468c57903aab30e062ffa749469d0bd57dd0f427e612ebaf25bc342e4
-MISC ChangeLog 1555 RMD160 5afe92d059286dbfff54b83fb1fe888bf0f9c4aa SHA1 0484b3e30989f896c83c867df089ab8c5497ede7 SHA256 16c2975ba7b0eaeec252f767d2847e5c9fdc415159cf0200da076256057c30f2
-MISC metadata.xml 220 RMD160 c7a453c8a1d9a0abcd3bb4592cbb0bf156fb0fce SHA1 bca99cc51fa458449b83c71740d9b3e6624d95eb SHA256 5cd186dcdc5b7347b2bc55cc9b4f7c3288811e4df8fba307c25de39d87203803
+EBUILD mini-qmail-1.06.ebuild 1252 RMD160 44176c4a8390fdd94a32cd133be2f81838eb12df SHA1 2c3ec25aca9ccbe1e22740ce86ddf67328c8747a SHA256 3931b20f8427ede9bed516cb14284f365e42062592158cfb74228a7fdbbc664c
+MISC ChangeLog 1781 RMD160 d306944f0a65557dd5fbd5dc026fa2d7340185ad SHA1 2146fc222aa052257c7777e810b13a5350e7d93d SHA256 e02ed0214e5af7f4ced376fac33f7046b4d864d124cb16b87b652eeecc9e275c
+MISC metadata.xml 223 RMD160 ad5a1cd244f4f8b660bac8d262a4cb806a83d875 SHA1 9d9e86723fcc6cc6ce99a81abbd0e6fca27d31be SHA256 8fea403bc0c5cacddd79abe76f851462dfc01da1911e8a5e2c8b32b294935ad6
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFH+RQ1mPFBzbX68WERAgPNAKCN2z/hZyNFZ3Qtnz82vqAsurhlHACfREhw
+moULrr4wh/zh/a53VwJ60Qs=
+=PHZt
+-----END PGP SIGNATURE-----
diff --git a/mail-mta/mini-qmail/files/1.06-exit.patch b/mail-mta/mini-qmail/files/1.06-exit.patch
new file mode 100644
index 000000000000..e0e7dea0f324
--- /dev/null
+++ b/mail-mta/mini-qmail/files/1.06-exit.patch
@@ -0,0 +1,18 @@
+Index: netqmail-1.06/qmail-pw2u.c
+===================================================================
+--- netqmail-1.06.orig/qmail-pw2u.c
++++ netqmail-1.06/qmail-pw2u.c
+@@ -1,3 +1,4 @@
++#include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include "substdio.h"
+Index: netqmail-1.06/qmail-qmtpd.c
+===================================================================
+--- netqmail-1.06.orig/qmail-qmtpd.c
++++ netqmail-1.06/qmail-qmtpd.c
+@@ -1,3 +1,4 @@
++#include <unistd.h>
+ #include "stralloc.h"
+ #include "substdio.h"
+ #include "qmail.h"
diff --git a/mail-mta/mini-qmail/files/config-mini b/mail-mta/mini-qmail/files/config-mini
new file mode 100644
index 000000000000..009026e2c091
--- /dev/null
+++ b/mail-mta/mini-qmail/files/config-mini
@@ -0,0 +1,38 @@
+
+case $# in
+ 0|1|2|3|4)
+ echo 'config-mini: usage: config-mini me defaultdom plusdom idhost qmqpserver ...' 1>&2
+ exit 100
+ ;;
+ esac
+
+me="$1"; shift
+defaultdomain="$1"; shift
+plusdomain="$1"; shift
+idhost="$1"; shift
+
+echo Putting "$me" into control/me...
+echo "$me" > QMAIL/control/me
+chmod 644 QMAIL/control/me
+
+echo Putting "$defaultdomain" into control/defaultdomain...
+echo "$defaultdomain" > QMAIL/control/defaultdomain
+chmod 644 QMAIL/control/defaultdomain
+
+echo Putting "$plusdomain" into control/plusdomain...
+echo "$plusdomain" > QMAIL/control/plusdomain
+chmod 644 QMAIL/control/plusdomain
+
+echo Putting "$idhost" into control/idhost...
+echo "$idhost" > QMAIL/control/idhost
+chmod 644 QMAIL/control/idhost
+
+cp /dev/null QMAIL/control/qmqpservers
+for qmqpserver in "$@"
+ do
+ echo Putting "$qmqpserver" into control/qmqpservers...
+ echo "$qmqpserver" >> QMAIL/control/qmqpservers
+ chmod 644 QMAIL/control/qmqpservers
+ done
+
+exit 0
diff --git a/mail-mta/mini-qmail/metadata.xml b/mail-mta/mini-qmail/metadata.xml
index c42295f69acd..4f23b826fd0f 100644
--- a/mail-mta/mini-qmail/metadata.xml
+++ b/mail-mta/mini-qmail/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>qmail</herd>
-<maintainer>
- <email>vapier@gentoo.org</email>
-</maintainer>
+ <herd>qmail</herd>
+ <maintainer>
+ <email>vapier@gentoo.org</email>
+ </maintainer>
</pkgmetadata>
diff --git a/mail-mta/mini-qmail/mini-qmail-1.06.ebuild b/mail-mta/mini-qmail/mini-qmail-1.06.ebuild
new file mode 100644
index 000000000000..d043aa4e37b6
--- /dev/null
+++ b/mail-mta/mini-qmail/mini-qmail-1.06.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/mini-qmail/mini-qmail-1.06.ebuild,v 1.1 2008/04/06 18:19:23 hollow Exp $
+
+GENQMAIL_PV=20080406
+
+inherit eutils qmail
+
+DESCRIPTION="a small null client that forwards mail via QMQP to a full qmail server"
+HOMEPAGE="
+ http://netqmail.org
+ http://cr.yp.to/qmail/mini.html
+ http://qmail.org
+"
+SRC_URI="mirror://qmail/netqmail-${PV}.tar.gz
+ http://dev.gentoo.org/~hollow/distfiles/${GENQMAIL_F}"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~sparc ~x86"
+IUSE="mailwrapper"
+
+DEPEND=""
+RDEPEND="
+ mailwrapper? ( net-mail/mailwrapper )
+ !mailwrapper? ( !virtual/mta )
+ ${DEPEND}
+"
+PROVIDE="
+ virtual/mta
+ virtual/mda
+"
+
+S="${WORKDIR}"/netqmail-${PV}
+
+src_unpack() {
+ genqmail_src_unpack
+
+ unpack netqmail-${PV}.tar.gz
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PV}-exit.patch
+
+ ht_fix_file Makefile*
+
+ qmail_src_postunpack
+}
+
+src_compile() {
+ qmail_src_compile
+}
+
+qmail_base_install_hook() {
+ dosym qmail-qmqpc "${QMAIL_HOME}"/bin/qmail-queue
+ exeinto "${QMAIL_HOME}"/bin
+ doexe "${FILESDIR}"/config-mini
+}
+
+src_install() {
+ qmail_base_install
+ qmail_man_install
+ qmail_sendmail_install
+}