dot

packages and services management
Log | Files | Refs | README

commit 307ca715d8c5bba3575f0c34295db6c3926d207b
parent 628ee3c3dcdbc4c0505c8be6f662da1f5550f3d6
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat, 21 Jul 2018 14:43:16 +0200

qmail -> qmail-start; pack/qmail-pop3d: added

Diffstat:
Mbin/pack | 8++++----
Mconfigure | 4++--
Ahost/kuntur/ip | 1+
Apack/checkpassword/build | 13+++++++++++++
Apack/checkpassword/tar | 1+
Apack/mess822/build | 11+++++++++++
Apack/qmail/dep | 1+
As6/qmail-pop3d/log/run | 2++
As6/qmail-pop3d/run | 6++++++
Rs6/qmail/data/alias/.qmail-mail -> s6/qmail-start/data/alias/.qmail-mail | 0
Rs6/qmail/data/control/defaultdelivery -> s6/qmail-start/data/control/defaultdelivery | 0
Rs6/qmail/data/control/defaultdomain -> s6/qmail-start/data/control/defaultdomain | 0
Rs6/qmail/data/control/locals -> s6/qmail-start/data/control/locals | 0
Rs6/qmail/data/control/me -> s6/qmail-start/data/control/me | 0
Rs6/qmail/data/control/plusdomain -> s6/qmail-start/data/control/plusdomain | 0
Rs6/qmail/data/control/rcpthosts -> s6/qmail-start/data/control/rcpthosts | 0
As6/qmail-start/log/run | 2++
Rs6/qmail/run -> s6/qmail-start/run | 0
Ds6/qmail/log/run | 2--
19 files changed, 43 insertions(+), 8 deletions(-)

diff --git a/bin/pack b/bin/pack @@ -31,25 +31,25 @@ case $1 in read -r url path <$PACK/cvs cvs -qd "$url" checkout -P "$path" ;; -(get) printf '[\033[1m downloading %s \033[m]\n' "$2" +(get) printf '\033[1m[ downloading %s ]\033[m\n' "$2" test -f "$PACK/tar" && exec "$0" tar "$2" test -f "$PACK/git" && exec "$0" git "$2" test -f "$PACK/cvs" && exec "$0" cvs "$2" ;; (build) test -d "$SOURCE" || "$0" get "$2" - printf '[\033[1m building %s \033[m]\n' "$2" + printf '\033[1m[ building %s ]\033[m\n' "$2" cd "$SOURCE" mkdir -p "$PREFIX" exec "$PACK/build" ;; (add) test -f "$PACK/dep" && cat "$PACK/dep" | xargs -n 1 "$0" add test -d "$PREFIX" || "$0" build "$2" || { rm -rf "$PREFIX"; exit 1; } - printf '[\033[1m installing %s \033[m]\n' "$2" + printf '\033[1m[ installing %s ]\033[m\n' "$2" cd "$PREFIX" find -L . -type d | xargs -n 1 -I {} mkdir -p "$DEST/{}" find -L . -type f | xargs -n 1 -I {} ln -sf "$PREFIX/{}" "$DEST/{}" ;; -(del) printf '[\033[1m deleting %s \033[m]\n' "$2" +(del) printf '\033[1m[ deleting %s ]\033[m\n' "$2" cd "$PREFIX" find . -type f | xargs -I {} rm -f "$DEST/{}" rm -rf "$PREFIX" diff --git a/configure b/configure @@ -4,5 +4,5 @@ cd "$(dirname "$0")/dot" find * -type d -exec sh -c 'mkdir -p "$HOME/.$0"' {} ';' -o \ - -type f -exec sh -c 'ln -sf "$PWD/$0" "$HOME/.$0"' {} ';' #-o \ -# -type l -exec sh -c 'ln -sf "$(readlink "$0")" "$HOME/.$0"' {} ';' + -type f -exec sh -c 'ln -sf "$PWD/$0" "$HOME/.$0"' {} ';' -o \ + -type l -exec sh -c 'ln -sf "$(readlink "$0")" "$HOME/.$0"' {} ';' diff --git a/host/kuntur/ip b/host/kuntur/ip @@ -0,0 +1 @@ +199.247.28.162 diff --git a/pack/checkpassword/build b/pack/checkpassword/build @@ -0,0 +1,13 @@ +#!/bin/sh -ex + +echo cc -O2 -include /usr/include/errno.h >conf-cc +echo "$PREFIX" >conf-home + +touch nroff +chmod +x nroff +export PATH=$PWD:$PATH + +mkdir -p "$PREFIX/bin" + +make +make setup check diff --git a/pack/checkpassword/tar b/pack/checkpassword/tar @@ -0,0 +1 @@ +http://cr.yp.to/checkpwd/checkpassword-0.90.tar.gz diff --git a/pack/mess822/build b/pack/mess822/build @@ -0,0 +1,11 @@ +#!/bin/sh -ex + +echo cc -O2 -include /usr/include/errno.h >conf-cc +echo "$PREFIX" >conf-home + +touch nroff +chmod +x nroff +export PATH=$PWD:$PATH + +make +make setup check diff --git a/pack/qmail/dep b/pack/qmail/dep @@ -0,0 +1 @@ +checkpassword diff --git a/s6/qmail-pop3d/log/run b/s6/qmail-pop3d/log/run @@ -0,0 +1,2 @@ +#!/local/bin/execlineb -P +s6-log /var/log/tor/ diff --git a/s6/qmail-pop3d/run b/s6/qmail-pop3d/run @@ -0,0 +1,6 @@ +#!/local/bin/execlineb -P +# qmail pop3 daemon + +fdmove -c 2 1 + +s6-envuidgid qmailp diff --git a/s6/qmail/data/alias/.qmail-mail b/s6/qmail-start/data/alias/.qmail-mail diff --git a/s6/qmail/data/control/defaultdelivery b/s6/qmail-start/data/control/defaultdelivery diff --git a/s6/qmail/data/control/defaultdomain b/s6/qmail-start/data/control/defaultdomain diff --git a/s6/qmail/data/control/locals b/s6/qmail-start/data/control/locals diff --git a/s6/qmail/data/control/me b/s6/qmail-start/data/control/me diff --git a/s6/qmail/data/control/plusdomain b/s6/qmail-start/data/control/plusdomain diff --git a/s6/qmail/data/control/rcpthosts b/s6/qmail-start/data/control/rcpthosts diff --git a/s6/qmail-start/log/run b/s6/qmail-start/log/run @@ -0,0 +1,2 @@ +#!/local/bin/execlineb -P +s6-log /var/log/qmail-start/ diff --git a/s6/qmail/run b/s6/qmail-start/run diff --git a/s6/qmail/log/run b/s6/qmail/log/run @@ -1,2 +0,0 @@ -#!/local/bin/execlineb -P -s6-log /var/log/qmail/