dot

packages and services management
Log | Files | Refs | README

commit 407c46d4ec3ffa4e90f121b5389b5207c67cdc3a
parent 14868bd876e7d09f315fc2dac44609813c423bc1
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun,  8 Jul 2018 20:39:32 +0200

fight with qmail

Diffstat:
Mdot/mblaze | 2+-
Mdot/profile | 1-
Mpack/qmail/build | 19++++++++++---------
Ds6/qmail-start/log/run | 2--
Ds6/qmail-start/run | 8--------
As6/qmail/data/control/defaultdelivery | 1+
As6/qmail/log/run | 2++
As6/qmail/run | 6++++++
8 files changed, 20 insertions(+), 21 deletions(-)

diff --git a/dot/mblaze b/dot/mblaze @@ -1,3 +1,3 @@ -Sendmail: msmtp +Sendmail: sendmail Local-Mailbox: mail@josuah.net Outbox: /home/josuah/mail/INBOX diff --git a/dot/profile b/dot/profile @@ -24,7 +24,6 @@ export PATH=/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin export PATH=$HOME/conf/bin:/local/bin:$PATH:/usr/X11R6/bin:$PLAN9/bin export MANPATH=/usr/man:/usr/share/man:/usr/local/man:/usr/local/share/man export MANPATH=/local/share/man:$MANPATH:$PLAN9/share/man -export LD_LIBRARY_PATH=/local/lib # Programs diff --git a/pack/qmail/build b/pack/qmail/build @@ -1,15 +1,16 @@ #!/bin/sh -ex -echo gcc -O2 -include /usr/include/errno.h >conf-cc -echo "$PREFIX/bin" >conf-bin -echo "$PREFIX/man" >conf-man -echo /data/qmail >conf-qmail - -mkdir -p "$PREFIX/bin" -mkdir -p "$PREFIX/share" -ln -sf "$(which true)" nroff export PATH=$PWD:$PATH +export DATA=/etc/s6/qmail/data +echo gcc -O2 -include /usr/include/errno.h >conf-cc +echo "$DATA" >conf-qmail + +mkdir -p "$DATA" +ln -sf "$(which true)" nroff make setup check ./config -cp -r /data/qmail/man "$PREFIX/share/" + +mkdir -p "$PREFIX/share" +mv "$DATA/bin" "$PREFIX/bin" +mv "$DATA/man" "$PREFIX/share/man" diff --git a/s6/qmail-start/log/run b/s6/qmail-start/log/run @@ -1,2 +0,0 @@ -#!/local/bin/execlineb -P -s6-log /var/log/qmail-start/ diff --git a/s6/qmail-start/run b/s6/qmail-start/run @@ -1,8 +0,0 @@ -#!/local/bin/execlineb -# start watching qmail dir for queued messages - -fdmove -c 2 1 - -foreground { redirfd 1 /home/qmail/defaultdelivery echo ./Maildir/ } - -qmail-start ./Maildir/ diff --git a/s6/qmail/data/control/defaultdelivery b/s6/qmail/data/control/defaultdelivery @@ -0,0 +1 @@ +./mail/ diff --git a/s6/qmail/log/run b/s6/qmail/log/run @@ -0,0 +1,2 @@ +#!/local/bin/execlineb -P +s6-log /var/log/qmail/ diff --git a/s6/qmail/run b/s6/qmail/run @@ -0,0 +1,6 @@ +#!/local/bin/execlineb +# start watching qmail dir for queued messages + +fdmove -c 2 1 + +qmail-start ./mail/