diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-02-29 11:09:52 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-02-29 11:09:52 +0000 |
commit | 64c1e287607ad657f6eb5637a7a9f95ce76ba49d (patch) | |
tree | 53124dd14c5ac6933d4f158cda228ed462eaf11d /net-mail | |
parent | Fix missing comma, reported by floam. (diff) | |
download | historical-64c1e287607ad657f6eb5637a7a9f95ce76ba49d.tar.gz historical-64c1e287607ad657f6eb5637a7a9f95ce76ba49d.tar.bz2 historical-64c1e287607ad657f6eb5637a7a9f95ce76ba49d.zip |
as if qmail wasnt sweet enough, now we have friggin mini-qmail ! YEAH BABY IT IS SO MINI
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/mini-qmail/ChangeLog | 8 | ||||
-rw-r--r-- | net-mail/mini-qmail/files/99qmail | 3 | ||||
-rw-r--r-- | net-mail/mini-qmail/files/digest-mini-qmail-1.04 | 2 | ||||
-rw-r--r-- | net-mail/mini-qmail/metadata.xml | 8 | ||||
-rw-r--r-- | net-mail/mini-qmail/mini-qmail-1.04.ebuild | 81 |
5 files changed, 102 insertions, 0 deletions
diff --git a/net-mail/mini-qmail/ChangeLog b/net-mail/mini-qmail/ChangeLog new file mode 100644 index 000000000000..e6042d901dba --- /dev/null +++ b/net-mail/mini-qmail/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-mail/mini-qmail +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/mini-qmail/ChangeLog,v 1.1 2004/02/29 11:09:52 vapier Exp $ + +*mini-qmail-1.04 (29 Feb 2004) + + 29 Feb 2004; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me. diff --git a/net-mail/mini-qmail/files/99qmail b/net-mail/mini-qmail/files/99qmail new file mode 100644 index 000000000000..469553953a16 --- /dev/null +++ b/net-mail/mini-qmail/files/99qmail @@ -0,0 +1,3 @@ +PATH="/var/qmail/bin" +ROOTPATH="/var/qmail/bin" +CONFIG_PROTECT="/var/qmail/control" diff --git a/net-mail/mini-qmail/files/digest-mini-qmail-1.04 b/net-mail/mini-qmail/files/digest-mini-qmail-1.04 new file mode 100644 index 000000000000..b4ea96fc1469 --- /dev/null +++ b/net-mail/mini-qmail/files/digest-mini-qmail-1.04 @@ -0,0 +1,2 @@ +MD5 110980f9dc31b1cebbb942ef28f0a8ae netqmail-1.04.tar.gz 242310 +MD5 b51028ea791f991817ad18078660ce62 mini-qmail-kit-0.52.tar.gz 6174 diff --git a/net-mail/mini-qmail/metadata.xml b/net-mail/mini-qmail/metadata.xml new file mode 100644 index 000000000000..fb69bcf4e12f --- /dev/null +++ b/net-mail/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/net-mail/mini-qmail/mini-qmail-1.04.ebuild b/net-mail/mini-qmail/mini-qmail-1.04.ebuild new file mode 100644 index 000000000000..c10d4dd444d7 --- /dev/null +++ b/net-mail/mini-qmail/mini-qmail-1.04.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/mini-qmail/mini-qmail-1.04.ebuild,v 1.1 2004/02/29 11:09:52 vapier 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/" +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 ~hppa" + +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 +} + +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 QMTP server information." + einfo "Just run /var/mini-qmail/bin/config-mini for more information." +} |