diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2004-05-30 06:45:35 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2004-05-30 06:45:35 +0000 |
commit | 0ff5177b1c072516409a796db58c931b7c4f2367 (patch) | |
tree | 5c2f8797df94ddc71ac6f4db193170df0329a160 /mail-mta | |
parent | Moving to mail-mta/mini-qmail (diff) | |
download | historical-0ff5177b1c072516409a796db58c931b7c4f2367.tar.gz historical-0ff5177b1c072516409a796db58c931b7c4f2367.tar.bz2 historical-0ff5177b1c072516409a796db58c931b7c4f2367.zip |
Moved from net-mail/mini-qmail to mail-mta/mini-qmail.
Diffstat (limited to 'mail-mta')
-rw-r--r-- | mail-mta/mini-qmail/ChangeLog | 19 | ||||
-rw-r--r-- | mail-mta/mini-qmail/Manifest | 6 | ||||
-rw-r--r-- | mail-mta/mini-qmail/files/1.05-config-mini-help.patch | 16 | ||||
-rw-r--r-- | mail-mta/mini-qmail/files/99qmail | 3 | ||||
-rw-r--r-- | mail-mta/mini-qmail/files/digest-mini-qmail-1.05 | 2 | ||||
-rw-r--r-- | mail-mta/mini-qmail/metadata.xml | 8 | ||||
-rw-r--r-- | mail-mta/mini-qmail/mini-qmail-1.05.ebuild | 88 |
7 files changed, 142 insertions, 0 deletions
diff --git a/mail-mta/mini-qmail/ChangeLog b/mail-mta/mini-qmail/ChangeLog new file mode 100644 index 000000000000..cb8f68fa2ccd --- /dev/null +++ b/mail-mta/mini-qmail/ChangeLog @@ -0,0 +1,19 @@ +# ChangeLog for net-mail/mini-qmail +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-mta/mini-qmail/ChangeLog,v 1.1 2004/05/30 06:45:35 robbat2 Exp $ + +*mini-qmail-1.05 (29 May 2004) + + 29 May 2004; Robin H. Johnson <robbat2@gentoo.org> metadata.xml, + mini-qmail-1.05.ebuild, files/1.05-config-mini-help.patch, files/99qmail: + Moved from net-mail/mini-qmail to mail-mta/mini-qmail. + +*mini-qmail-1.05 (01 Mar 2004) + + 01 Mar 2004; Mike Frysinger <vapier@gentoo.org> : + Version bump already :). + +*mini-qmail-1.04 (29 Feb 2004) + + 29 Feb 2004; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me. diff --git a/mail-mta/mini-qmail/Manifest b/mail-mta/mini-qmail/Manifest new file mode 100644 index 000000000000..494d3b27ca53 --- /dev/null +++ b/mail-mta/mini-qmail/Manifest @@ -0,0 +1,6 @@ +MD5 38ce537c00a3ca069dbeaee4adb6b990 files/99qmail 84 +MD5 0d6c1596674bf81103e39f12accab64e files/digest-mini-qmail-1.05 134 +MD5 9554540a85991abc913745fd057ef71b files/1.05-config-mini-help.patch 674 +MD5 3efe1b9d62baff86810f5bf529073e5a ChangeLog 459 +MD5 f122df2231e2b47b96dba6895be1e7e8 metadata.xml 223 +MD5 ca4e7cecc2a887dee19a86109e824ee9 mini-qmail-1.05.ebuild 2588 diff --git a/mail-mta/mini-qmail/files/1.05-config-mini-help.patch b/mail-mta/mini-qmail/files/1.05-config-mini-help.patch new file mode 100644 index 000000000000..dd1968abbf31 --- /dev/null +++ b/mail-mta/mini-qmail/files/1.05-config-mini-help.patch @@ -0,0 +1,16 @@ +--- config-mini.sh.orig 2004-05-05 23:24:23.468285864 -0400 ++++ config-mini.sh 2004-05-05 23:27:00.622394808 -0400 +@@ -1,7 +1,12 @@ + + case $# in + 0|1|2|3|4) +- echo 'config-mini: usage: config-mini me defaultdom plusdom idhost qmqpserver ...' 1>&2 ++ echo 'usage: config-mini me defaultdom plusdom idhost qmqpserver [more qmqp servers]' 1>&2 ++ echo ' me - copied from the QMQP server' ++ echo ' plusdom - copied from the QMQP server' ++ echo ' defaultdom - copied from the QMQP server' ++ echo ' idhost - hostname of QMPQ client' ++ echo ' qmqpserver - list of QMQP servers\' IP addresses to send mail through' + exit 100 + ;; + esac diff --git a/mail-mta/mini-qmail/files/99qmail b/mail-mta/mini-qmail/files/99qmail new file mode 100644 index 000000000000..469553953a16 --- /dev/null +++ b/mail-mta/mini-qmail/files/99qmail @@ -0,0 +1,3 @@ +PATH="/var/qmail/bin" +ROOTPATH="/var/qmail/bin" +CONFIG_PROTECT="/var/qmail/control" diff --git a/mail-mta/mini-qmail/files/digest-mini-qmail-1.05 b/mail-mta/mini-qmail/files/digest-mini-qmail-1.05 new file mode 100644 index 000000000000..a59f96075ed4 --- /dev/null +++ b/mail-mta/mini-qmail/files/digest-mini-qmail-1.05 @@ -0,0 +1,2 @@ +MD5 4c03848af9d37e281f3b82cc59230d9b netqmail-1.05.tar.gz 252264 +MD5 b51028ea791f991817ad18078660ce62 mini-qmail-kit-0.52.tar.gz 6174 diff --git a/mail-mta/mini-qmail/metadata.xml b/mail-mta/mini-qmail/metadata.xml new file mode 100644 index 000000000000..fb69bcf4e12f --- /dev/null +++ b/mail-mta/mini-qmail/metadata.xml @@ -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> +<maintainer> + <email>vapier@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/mail-mta/mini-qmail/mini-qmail-1.05.ebuild b/mail-mta/mini-qmail/mini-qmail-1.05.ebuild new file mode 100644 index 000000000000..971497d55729 --- /dev/null +++ b/mail-mta/mini-qmail/mini-qmail-1.05.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-mta/mini-qmail/mini-qmail-1.05.ebuild,v 1.1 2004/05/30 06:45:35 robbat2 Exp $ + +inherit eutils gcc fixheadtails + +DESCRIPTION="a small null client that forwards mail via QMQP to a full qmail server" +HOMEPAGE="http://www.qmail.org/ http://cr.yp.to/qmail/mini.html" +SRC_URI="http://www.qmail.org/netqmail-${PV}.tar.gz + http://www.din.or.jp/~ushijima/mini-qmail-kit/mini-qmail-kit-0.52.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="x86 ppc sparc mips arm hppa" +IUSE="" + +DEPEND="virtual/glibc + sys-apps/groff" +RDEPEND="!virtual/mta + virtual/glibc" +PROVIDE="virtual/mta + virtual/mda" + +S=${WORKDIR}/netqmail-${PV}/netqmail-${PV} + +src_unpack() { + unpack netqmail-${PV}.tar.gz + unpack mini-qmail-kit-0.52.tar.gz + + cd netqmail-${PV} + ./collate.sh || die "patching failed" + mv ${WORKDIR}/mini-qmail-kit-0.52/* ${S}/ + + cd ${S} + echo -n "$(gcc-getCC) ${CFLAGS}" >${S}/conf-cc + echo -n "$(gcc-getCC) ${LDFLAGS}" > ${S}/conf-ld + ht_fix_file ${S}/Makefile + + epatch ${FILESDIR}/${PV}-config-mini-help.patch +} + +src_compile() { + emake it man || die +} + +src_install() { + einfo "Setting up directory hierarchy ..." + keepdir /var/mini-qmail/control + + dodoc FAQ UPGRADE SENDMAIL INSTALL* TEST* REMOVE* PIC* SECURITY + dodoc SYSDEPS TARGETS THANKS THOUGHTS TODO VERSION README* + + exeinto /var/mini-qmail/bin + doexe qmail-qmqpc forward qmail-inject \ + sendmail predate datemail mailsubj \ + qmail-showctl maildirmake maildir2mbox \ + maildirwatch qail elq pinq \ + || die "doexe failed" + dosym qmail-qmqpc /var/mini-qmail/bin/qmail-queue + newexe config-mini.sh config-mini + dosed "s:QMAIL:/var/mini-qmail/:g" /var/mini-qmail/bin/config-mini + + doman qmail-qmqpc.8 forward.1 qmail-inject.8 \ + mailsubj.1 qmail-showctl.8 maildirmake.1 \ + maildir2mbox.1 maildirwatch.1 qmail-queue.8 \ + qmail.7 + + einfo "Adding env.d entry for qmail" + dodir /etc/env.d + insinto /etc/env.d + doins ${FILESDIR}/99qmail + + einfo "Creating sendmail replacement ..." + diropts -m 755 + dodir /usr/sbin /usr/lib + dosym /var/mini-qmail/bin/sendmail /usr/sbin/sendmail + dosym /var/mini-qmail/bin/sendmail /usr/lib/sendmail +} + +pkg_postinst() { + einfo "In order for mini-qmail to work, you need to setup" + einfo "the QMQP server information." + einfo + einfo "You can setup the values in /var/mini-qmail/control yourself," + einfo "or use the utility /var/mini-qmail/bin/config-mini" + einfo "To find out what values to put in what files, see the install" + einfo "section of http://cr.yp.to/qmail/mini.html" +} |