diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /mail-mta/mini-qmail |
reinit the tree, so we can have metadata
Diffstat (limited to 'mail-mta/mini-qmail')
-rw-r--r-- | mail-mta/mini-qmail/Manifest | 14 | ||||
-rw-r--r-- | mail-mta/mini-qmail/files/1.05-config-mini-help.patch | 16 | ||||
-rw-r--r-- | mail-mta/mini-qmail/files/1.06-headers.patch | 37 | ||||
-rw-r--r-- | mail-mta/mini-qmail/files/99qmail | 3 | ||||
-rw-r--r-- | mail-mta/mini-qmail/files/config-mini | 38 | ||||
-rw-r--r-- | mail-mta/mini-qmail/metadata.xml | 11 | ||||
-rw-r--r-- | mail-mta/mini-qmail/mini-qmail-1.05-r1.ebuild | 97 | ||||
-rw-r--r-- | mail-mta/mini-qmail/mini-qmail-1.05.ebuild | 105 | ||||
-rw-r--r-- | mail-mta/mini-qmail/mini-qmail-1.06.ebuild | 69 |
9 files changed, 390 insertions, 0 deletions
diff --git a/mail-mta/mini-qmail/Manifest b/mail-mta/mini-qmail/Manifest new file mode 100644 index 000000000000..3a632e3c492b --- /dev/null +++ b/mail-mta/mini-qmail/Manifest @@ -0,0 +1,14 @@ +AUX 1.05-config-mini-help.patch 672 SHA256 bc27d21c7994dda71f12658e8489de28673838b74f255d3475f55b99d069cfec SHA512 441519ac63fe6f1380f276d3550fdb51f7ca258b809fe07f65a006fafa48f62a0eea051e325d5ae7823847078f0e07087410f45b82e82b6c5d678f9dc8d50231 WHIRLPOOL 6d241f42a142af68323db4f94a5936d3cb58dcb72662158d6281b10a0963f7b0692b583ae9c3ea8889fa093270209dfae799d7da9b80a8869dbc70dd757fc332 +AUX 1.06-headers.patch 640 SHA256 35e513cd2eb50a9ac5dd97f7f43379d59d0c251e7f65c3d7a6f8a89a0ef73936 SHA512 09e684fe5ffd53acd2324b3975e9bc9a950b551d8fdb7a4d42f05697af411ef37a0851140c45e2e882fc890cf0fd28a77b46faacb428fb98dce22c5b15ff0b99 WHIRLPOOL 91aa62ee5565ed34557f2b12a1402ff6a6c073316452c8c84543dacf7e25963b2dcc5d1d84cc4e5a4e8b13f487f269d5d3c70c9fb980917561a3f53d1605c5b5 +AUX 99qmail 84 SHA256 cd259c9003ec1962562ae7c32c24efbeae54b0baac3380adff59604dd1fd3648 SHA512 ef7c83996a8714114353e0e2f4ace04a1d82e5e5324afc14b3e51f92821d8e2c535431f0bfc4c843f548572b73e3993e204ef78a97a555aef039aeec941124d5 WHIRLPOOL 4d4c5f516f45c9104f933c9a20c062be1ee21d6ac64eab3d8dbd0c0f1bc93df66719539c7dc59035f687784a2fc7d1eb8841dea951f06453e1913af72ecfa7d9 +AUX config-mini 961 SHA256 2f6fed8f293a8d60cc04091d5684f581ff2253957256907085db3bceaf2f4384 SHA512 a98f18b0d705506e524d5959f296d9e47d44871b59cedb154cc0fb51283413f84ef2cf5db2786e3e4af7e1a80a55691437598b3ee8af014a4ae7ac8bccd60102 WHIRLPOOL 4b2d12f75c13f77a0cbebfdccef836a4b269516171ec3a61db16fd562dac845d519c4a2b3a6e956d108758c4e54aeb0527e236b0812f6f5e04b612a1729bf1af +DIST genqmail-20080406.tar.bz2 10252 SHA256 501ca2120c7619569bd9ac3e0035cb0022bfd0cdc9c720b5c43c9e3a4eb07ce8 SHA512 744d0968307bfedebf0ca7bc0d5bd0780884326acaf5fea0a66fb91f8b0caf5ba52eb443c9cb2a7d6389622ca5c87100c3204ec3408aed8ef5fb1e7f80ff0d35 WHIRLPOOL b385cd2d5e88795f163a4f49dc81a2080d7076ec2016ee7d8154df4488effa7112caf0577c8dc8ff654665213aa4120a21de8223f3dd51056fa189546ace3cf5 +DIST mini-qmail-kit-0.52.tar.gz 6174 SHA256 8796d7ba7a6b1ff49df371491e2cebb1dca81169fa3d98d730f9d717067cf6d6 SHA512 d3d2acb008f48f71a1b3aeff7653a694b2ed2704705a229a3e7f7154704eae1b34238fb6c8a7cd3f4e44c23841e4c49910e3c0498815d836a6f37e73ed19bf3e WHIRLPOOL afebbbbb11ff88c3e337c114ef40032e54895c301fc957dfc160c17e2fe92a7180325e9082a0a4eb20a7c382a1d305636ca771d3e8e64e8821c440c86ba5ff54 +DIST netqmail-1.05.tar.gz 252264 SHA256 59788abf252e2da224542c1c8b727311335c61d990f24f4edf28f6eb5483f676 SHA512 9504e3ff98e5c9278000cd9dd12eecfa504a7604641ff5b2ed735d6bfacfbd0ae69a4b9c7287217320f15fd51e4e94fe6d85c927b9c7dc07f62fe7cccb7d7070 WHIRLPOOL 3af5e033eafd18b9911312ee37b95295878aecd35d98b2b4498d7060053ca9c0ff824eaef4194320b6e117ffaea146f29983e83a9c2a4d484acae5475ffe107b +DIST netqmail-1.06.tar.gz 260941 SHA256 8e7d98d15211fc9f9c28109e942e2268f42a6672d68df92a42f2afa90ff00532 SHA512 de40a6d8fac502bd785010434d99b99f2c0524e10aea3d0f2a0d35c70fce91e991eb1fb8f20a1276eb56d7e73130ea5e2c178f6075d138af47b28d9ca6e6046b WHIRLPOOL 167bd5c290f13bf7d39daae0a6245afa1bcf760b01fd7ffcc88676f02a9ed1013c545c9f87c4d6e05ee7b073c838ee1613f97cb75ae3eab65106e32040d74712 +EBUILD mini-qmail-1.05-r1.ebuild 2661 SHA256 bbcfc316e8830fbf0c659ead5b44e6c67ced5c1050b383802a9765328c7a4039 SHA512 c2802a44be3c2e964aabdada97721d311e96438ca0cd328310f7498e782002a876d1f9601b4f40499fd1fbb6957215cd808eaa5f8b0917e261763df052febaf1 WHIRLPOOL 920928bc9005f46c8c68290124daf08ed0c6033471dea8b995ba457792dec1e34af437b2045e251064d16cb3e05887be2972a44d036b98e2aa07b9fa01bb34e4 +EBUILD mini-qmail-1.05.ebuild 2946 SHA256 1c60b5af810b9024ed24374974186af482a016ce8538027168ef861d44fc58e5 SHA512 da5d815f43c25435ae4eb4d12d76cd9f2c0eaeb85a03bfe9ed86347bda70499a82cd491d522f103ee2204e7eebba12fe91cb8da20caa40505c44bab5429abe07 WHIRLPOOL a9a6dae23c6817b6ab60f0e119c572c4e42f5dd87f0ba038f031ba8e40323b53b4b6574474c90f850476f328f6fb395d68b4fc6e9fb6943fa6c4b63766b8192b +EBUILD mini-qmail-1.06.ebuild 1336 SHA256 16df3b326f416fd388bc089ba5b0f141fb0d62ed6efa1a0796371491b7894719 SHA512 0c89cd207b8b5fbe821729f027852b405ddb7c173f470d4d66388cd5e8284f1ec1b6bb0f4914232d83fed4aa91c64c15dda9a7941b3d06abe8ed83e2e2457733 WHIRLPOOL 16350c272406d82723054f3c21665ec329371f76fd84138c2ab229463393286c8b4b0c3de3ca44e533475bb90f7c603150130745df2a4fb42b07eb145fa3f467 +MISC ChangeLog 3154 SHA256 814f7e9dd0edb9c464ffda533b1567782c275cca7b6c52250bf0e5db8a3c5db0 SHA512 99eb2a6fbf43dea6c5ca74e033e3cf674cdcbc5c9716978150740205503b78619b23610d92bb72bb83e0bdc1baed2226e538650d95e6bac19caae66b0c456936 WHIRLPOOL 75438e33dac5d4c646bd1214dd04fedb15103b71d754c47bbfb9c89f836de636d85e0a2fa1eff0e7fc8316812dcf851950b03edea4947a52ced5a6c157831f85 +MISC ChangeLog-2015 3497 SHA256 d87f33b958a43afa50a8c3504aa38dba6ccd95764cac687dce1ce6fd2be5e524 SHA512 5b063df09d8dd31cef97925d8137b04065014ac83c023d7a009af157ea7f99cd830d65a721aaa85ccdf0ec42a74bf7f66b28c050527820ab995255acd79bf1cc WHIRLPOOL 6a9697d29f452fdab806aa66bfc0e7e3a2cc99b9f506243f9854e3f44ba0201fe6d6f56652ed6f6195786f670687124ebed1015e95c372cd69aee4a0a1417c42 +MISC metadata.xml 321 SHA256 2245632231fd5545710f0faecb81dec64a28904b03937f4464cb8a561282b9ed SHA512 5264e9ac28fad5adedc3560b99d8510cf9aabb873900f5c6cfff1df5a9aa0056cf88029821f6709c4e6e166e022f9eb846147d13bd22c5e7a5504a685cd9bb81 WHIRLPOOL cf0074ca5cf80f3eaed2db35c03e598cf5a52256da020311161fc55fee25573beff2cabde758a54e7a82567c22c103bb4b0789c90251caabf48e4c796c5641c6 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..1b217dc9636a --- /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/1.06-headers.patch b/mail-mta/mini-qmail/files/1.06-headers.patch new file mode 100644 index 000000000000..566babfa6290 --- /dev/null +++ b/mail-mta/mini-qmail/files/1.06-headers.patch @@ -0,0 +1,37 @@ +--- a/qmail-pw2u.c ++++ b/qmail-pw2u.c +@@ -1,3 +1,4 @@ ++#include <unistd.h> + #include <sys/types.h> + #include <sys/stat.h> + #include "substdio.h" +--- a/qmail-qmtpd.c ++++ b/qmail-qmtpd.c +@@ -1,3 +1,4 @@ ++#include <unistd.h> + #include "stralloc.h" + #include "substdio.h" + #include "qmail.h" +--- a/readwrite.h ++++ b/readwrite.h +@@ -1,7 +1,7 @@ + #ifndef READWRITE_H + #define READWRITE_H + +-extern int read(); +-extern int write(); ++#include <fcntl.h> ++#include <unistd.h> + + #endif +--- a/substdio.h ++++ b/substdio.h +@@ -1,6 +1,8 @@ + #ifndef SUBSTDIO_H + #define SUBSTDIO_H + ++#include <unistd.h> ++ + typedef struct substdio { + char *x; + int p; 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/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 new file mode 100644 index 000000000000..281af61aee8b --- /dev/null +++ b/mail-mta/mini-qmail/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="person"> + <email>vapier@gentoo.org</email> + </maintainer> +<maintainer type="project"> + <email>net-mail@gentoo.org</email> + <name>Net-Mail</name> + </maintainer> +</pkgmetadata> diff --git a/mail-mta/mini-qmail/mini-qmail-1.05-r1.ebuild b/mail-mta/mini-qmail/mini-qmail-1.05-r1.ebuild new file mode 100644 index 000000000000..1a588aec77e2 --- /dev/null +++ b/mail-mta/mini-qmail/mini-qmail-1.05-r1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils toolchain-funcs fixheadtails + +MINI_VER=0.52 +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="mirror://qmail/netqmail-${PV}.tar.gz + http://www.din.or.jp/~ushijima/mini-qmail-kit/mini-qmail-kit-${MINI_VER}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="amd64 arm hppa ~mips ppc x86" +IUSE="" + +DEPEND="sys-apps/groff" +RDEPEND=" + !mail-mta/courier + !mail-mta/esmtp + !mail-mta/exim + !mail-mta/msmtp + !mail-mta/netqmail + !mail-mta/nullmailer + !mail-mta/postfix + !mail-mta/qmail-ldap + !mail-mta/sendmail + !mail-mta/ssmtp + !mail-mta/opensmtpd + " + +S=${WORKDIR}/mini-qmail-kit-${MINI_VER} + +src_unpack() { + unpack netqmail-${PV}.tar.gz + unpack mini-qmail-kit-${MINI_VER}.tar.gz + + cd "${S}" + epatch "${FILESDIR}"/${PV}-config-mini-help.patch + sed -i \ + -e "/^qmail=/s:=.*:=${WORKDIR}/netqmail-${PV}/netqmail-${PV}:" \ + Makefile.mini || die + + cd "${WORKDIR}"/netqmail-${PV} + ./collate.sh || die "patching failed" + + cd netqmail-${PV} + echo -n "$(tc-getCC) ${CFLAGS}" > "${S}"/conf-cc + echo -n "$(tc-getCC) ${LDFLAGS}" > "${S}"/conf-ld + ht_fix_file Makefile +} + +src_compile() { + emake -f Makefile.mini || die "mini prep failed" + emake mini || die "make mini failed" +} + +src_install() { + einfo "Setting up directory hierarchy ..." + keepdir /var/mini-qmail/control + + dodoc INSTALL 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" + doenvd "${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() { + elog "In order for mini-qmail to work, you need to setup" + elog "the QMQP server information." + elog + elog "You can setup the values in /var/mini-qmail/control yourself," + elog "or use the utility /var/mini-qmail/bin/config-mini" + elog "To find out what values to put in what files, see the install" + elog "section of http://cr.yp.to/qmail/mini.html" +} 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..38a76490df60 --- /dev/null +++ b/mail-mta/mini-qmail/mini-qmail-1.05.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils toolchain-funcs fixheadtails user + +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="mirror://qmail/netqmail-${PV}.tar.gz + http://www.din.or.jp/~ushijima/mini-qmail-kit/mini-qmail-kit-0.52.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="amd64 arm hppa ~mips ppc x86" +IUSE="" + +DEPEND="sys-apps/groff" +RDEPEND=" + !mail-mta/courier + !mail-mta/esmtp + !mail-mta/exim + !mail-mta/msmtp + !mail-mta/netqmail + !mail-mta/nullmailer + !mail-mta/postfix + !mail-mta/qmail-ldap + !mail-mta/sendmail + !mail-mta/ssmtp + !mail-mta/opensmtpd + " + +S=${WORKDIR}/netqmail-${PV}/netqmail-${PV} + +pkg_setup() { + # keep in sync with qmail pkg + enewgroup qmail 201 + enewuser alias 200 -1 /var/qmail/alias 200 + enewuser qmaild 201 -1 /var/qmail 200 + enewuser qmaill 202 -1 /var/qmail 200 + enewuser qmailp 203 -1 /var/qmail 200 + enewuser qmailq 204 -1 /var/qmail 201 + enewuser qmailr 205 -1 /var/qmail 201 + enewuser qmails 206 -1 /var/qmail 201 +} + +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 "$(tc-getCC) ${CFLAGS}" > "${S}"/conf-cc + echo -n "$(tc-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" + doenvd "${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() { + elog "In order for mini-qmail to work, you need to setup" + elog "the QMQP server information." + elog + elog "You can setup the values in /var/mini-qmail/control yourself," + elog "or use the utility /var/mini-qmail/bin/config-mini" + elog "To find out what values to put in what files, see the install" + elog "section of http://cr.yp.to/qmail/mini.html" +} 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..ca6fc4b45254 --- /dev/null +++ b/mail-mta/mini-qmail/mini-qmail-1.06.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 + https://dev.gentoo.org/~hollow/distfiles/${GENQMAIL_F}" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="amd64 arm hppa ~mips ppc x86" +IUSE="" + +DEPEND="" +RDEPEND=" + !mail-mta/courier + !mail-mta/esmtp + !mail-mta/exim + !mail-mta/maildrop + !mail-mta/msmtp + !mail-mta/netqmail + !mail-mta/nullmailer + !mail-mta/postfix + !mail-mta/qmail-ldap + !mail-mta/sendmail + !mail-mta/ssmtp + !mail-mta/opensmtpd + ${DEPEND} + " + +S="${WORKDIR}"/netqmail-${PV} + +src_unpack() { + genqmail_src_unpack + + unpack netqmail-${PV}.tar.gz + cd "${S}" + + epatch "${FILESDIR}"/${PV}-headers.patch + + qmail_src_postunpack +} + +src_compile() { + MAKEOPTS="${MAKEOPTS} -j1" qmail_src_compile #398135 +} + +# make check is actually an install-check target, see bug #364955 +src_test() { :; } + +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 +} |