dot

packages and services management
Log | Files | Refs | README

commit 4102633b75dd8bfa434f3bdee78887ca1e9963d7
parent 1094b832e35e19dcb456ed09c866b95100087e68
Author: Josuah Demangeon <mail@josuah.net>
Date:   Fri, 27 Jul 2018 19:10:10 +0200

fix packages

Diffstat:
Mpack/catpoint/build | 2+-
Mpack/drawterm/build | 2+-
Mpack/dvtm/build | 4+++-
Mpack/ed/build | 5+++--
Mpack/eel/build | 2+-
Mpack/ezmlm/build | 14++++++++++++--
Mpack/farbfeld-resize/build | 6++++--
Mpack/farbfeld/build | 2+-
Mpack/farbfeld/config.mk | 8++++----
Mpack/ff2txt/build | 3++-
Mpack/irssi/build | 9+++++----
Mpack/lel/build | 2+-
Mpack/libbzip2/build | 2+-
Mpack/libcurses/build | 2+-
Mpack/libixp/build | 2+-
Mpack/liblz4/build | 2+-
Dpack/libtermkey/build | 3---
Dpack/libtermkey/tar | 1-
Dpack/libtool/build | 3---
Dpack/libtool/tar | 1-
Mpack/libutf/build | 2+-
Mpack/libz/tar | 2+-
Mpack/links2/build | 2+-
Mpack/ministat/build | 3++-
Mpack/mujs/build | 2+-
Apack/ntpclient/build | 7+++++++
Apack/ntpclient/tar | 1+
Dpack/ntpd/tar | 1-
Mpack/sent/build | 2+-
Mpack/sfeed/build | 2+-
Dpack/vis/build | 11-----------
Dpack/vis/git | 1-
As6/ntpclient/env/HOST | 1+
As6/ntpclient/log/run | 3+++
As6/ntpclient/run | 7+++++++
35 files changed, 69 insertions(+), 53 deletions(-)

diff --git a/pack/catpoint/build b/pack/catpoint/build @@ -1,3 +1,3 @@ #!/bin/sh -ex -./configure + make prefix="$PREFIX" install diff --git a/pack/drawterm/build b/pack/drawterm/build @@ -1,5 +1,5 @@ #!/bin/sh -ex -case ($(uname)) in +case $(uname) in (OpenBSD) export CONF=openbsd ;; (FreeBSD) export CONF=freebsd ;; (Solaris) export CONF=sun ;; diff --git a/pack/dvtm/build b/pack/dvtm/build @@ -1,2 +1,4 @@ #!/bin/sh -ex -cp -f config.h config.mk $SOURCE + +cp -f "$PACK/config.h" "$PACK/config.mk" . +make install diff --git a/pack/ed/build b/pack/ed/build @@ -1,3 +1,4 @@ #!/bin/sh -ex -./configure -make prefix="$PREFIX" install + +mkdir -p "$PREFIX/bin" +cc -o "$PREFIX/bin/ed" ed.c diff --git a/pack/eel/build b/pack/eel/build @@ -1,3 +1,3 @@ #!/bin/sh -ex -./configure + make prefix="$PREFIX" install diff --git a/pack/ezmlm/build b/pack/ezmlm/build @@ -1,3 +1,13 @@ #!/bin/sh -ex -./configure -make prefix="$PREFIX" install + +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/farbfeld-resize/build b/pack/farbfeld-resize/build @@ -1,3 +1,5 @@ #!/bin/sh -ex -./configure -make prefix="$PREFIX" install + +mkdir -p "$PREFIX/bin" +make prefix="$PREFIX" +cp resize "$PREFIX/bin/ff-resize" diff --git a/pack/farbfeld/build b/pack/farbfeld/build @@ -1,5 +1,5 @@ #!/bin/sh -ex -cp "$PACK/config.mk" ./config.mk +cp "$PACK/config.mk" config.mk make PREFIX="$PREFIX" install diff --git a/pack/farbfeld/config.mk b/pack/farbfeld/config.mk @@ -4,15 +4,15 @@ VERSION = 3 # Customize below to fit your system # paths -PREFIX = /usr/local +PREFIX = /local MANPREFIX = ${PREFIX}/share/man # flags CPPFLAGS = -D_DEFAULT_SOURCE -CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os -I'$(PACK)/include' +CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os -I'$(DEST)/include' LDFLAGS = -s -PNG-LDFLAGS = -lpng -L'$(root)/lib' -JPG-LDFLAGS = -ljpeg -L'$(root)/lib' +PNG-LDFLAGS = -lpng -L'$(DEST)/lib' +JPG-LDFLAGS = -ljpeg -L'$(DEST)/lib' # compiler and linker CC = cc diff --git a/pack/ff2txt/build b/pack/ff2txt/build @@ -1,3 +1,4 @@ #!/bin/sh -ex -./configure + +make make prefix="$PREFIX" install diff --git a/pack/irssi/build b/pack/irssi/build @@ -1,9 +1,9 @@ #!/bin/sh -ex -export OPENSSL_CFLAGS = -I$PACK/include -export OPENSSL_LIBS = -L$PACK/lib -lssl -cp -R * $SOURCE/ -cd $SOURCE +export OPENSSL_CFLAGS="-I$PACK/include" +export OPENSSL_LIBS="-L$PACK/lib -lssl" + +cp -R "$PACK"/* . ./configure \ --prefix="$PREFIX" \ --without-proxy \ @@ -11,3 +11,4 @@ cd $SOURCE --with-otr=static \ --with-libotr-prefix="$PACK/lib/" \ --with-libotr-inc-prefix="$PACK/include/" \ +make install diff --git a/pack/lel/build b/pack/lel/build @@ -1,3 +1,3 @@ #!/bin/sh -ex -./configure + make prefix="$PREFIX" install diff --git a/pack/libbzip2/build b/pack/libbzip2/build @@ -1,3 +1,3 @@ #!/bin/sh -ex -./configure + make prefix="$PREFIX" install diff --git a/pack/libcurses/build b/pack/libcurses/build @@ -1,3 +1,3 @@ #!/bin/sh -ex -./configure + make prefix="$PREFIX" install diff --git a/pack/libixp/build b/pack/libixp/build @@ -1,3 +1,3 @@ #!/bin/sh -ex -./configure + make prefix="$PREFIX" install diff --git a/pack/liblz4/build b/pack/liblz4/build @@ -1,3 +1,3 @@ #!/bin/sh -ex -./configure + make prefix="$PREFIX" install diff --git a/pack/libtermkey/build b/pack/libtermkey/build @@ -1,3 +0,0 @@ -#!/bin/sh -ex -./configure -make prefix="$PREFIX" install diff --git a/pack/libtermkey/tar b/pack/libtermkey/tar @@ -1 +0,0 @@ -http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.20.tar.gz diff --git a/pack/libtool/build b/pack/libtool/build @@ -1,3 +0,0 @@ -#!/bin/sh -ex -./configure -make prefix="$PREFIX" install diff --git a/pack/libtool/tar b/pack/libtool/tar @@ -1 +0,0 @@ -http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz diff --git a/pack/libutf/build b/pack/libutf/build @@ -1,3 +1,3 @@ #!/bin/sh -ex -./configure + make prefix="$PREFIX" install diff --git a/pack/libz/tar b/pack/libz/tar @@ -1 +1 @@ -https://sortix.org/libz/release/libz-1.2.8.2015.12.26.tar.gz +https://www.zlib.net/zlib-1.2.11.tar.xz diff --git a/pack/links2/build b/pack/links2/build @@ -1,5 +1,5 @@ #!/bin/sh -ex -make +make CFLAGS="-I'$DEST/include'" mkdir -p "$PREFIX/bin" "$PREFIX/share/man/man1" cp links "$PREFIX/bin" cp links.1 "$PREFIX/share/man/man1" diff --git a/pack/ministat/build b/pack/ministat/build @@ -1,3 +1,4 @@ #!/bin/sh -ex -./configure + +make make prefix="$PREFIX" install diff --git a/pack/mujs/build b/pack/mujs/build @@ -1,3 +1,3 @@ #!/bin/sh -ex -./configure + make prefix="$PREFIX" install diff --git a/pack/ntpclient/build b/pack/ntpclient/build @@ -0,0 +1,7 @@ +#!/bin/sh -ex + +make ntpclient adjtimex + +mkdir -p "$PREFIX/bin" "$PREFIX/share/man/man1" +cp ntpclient adjtimex "$PREFIX/bin" +cp *.1 "$PREFIX/share/man/man1" diff --git a/pack/ntpclient/tar b/pack/ntpclient/tar @@ -0,0 +1 @@ +http://doolittle.icarus.com/ntpclient/ntpclient_2015_365.tar.gz diff --git a/pack/ntpd/tar b/pack/ntpd/tar @@ -1 +0,0 @@ -http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p11.tar.gz diff --git a/pack/sent/build b/pack/sent/build @@ -1,3 +1,3 @@ #!/bin/sh -ex -./configure + make prefix="$PREFIX" install diff --git a/pack/sfeed/build b/pack/sfeed/build @@ -1,5 +1,5 @@ #!/bin/sh -ex -cp "$PACK/sfeed/sfeed_twtxt.c" . +cp "$PACK/sfeed_twtxt.c" . make MANPREFIX="$PREFIX/share/man" PREFIX="$PREFIX" install cc -o "$PREFIX/bin/sfeed_twtxt" sfeed_twtxt.c util.c diff --git a/pack/vis/build b/pack/vis/build @@ -1,11 +0,0 @@ -#!/bin/sh -ex -export CFLAGS=-I"'$PACK/include'" -export LDFLAGS=-L"'$PACK/lib'" - -./configure --prefix="$PREFIX" \ - --disable-curses \ - --disable-lua \ - --disable-lpeg-static \ - --disable-tre - -gmake install diff --git a/pack/vis/git b/pack/vis/git @@ -1 +0,0 @@ -git://github.com/martanne/vis diff --git a/s6/ntpclient/env/HOST b/s6/ntpclient/env/HOST @@ -0,0 +1 @@ +pool.ntp.org diff --git a/s6/ntpclient/log/run b/s6/ntpclient/log/run @@ -0,0 +1,3 @@ +#!/local/bin/execlineb -P + +s6-log /var/log/ntpclient diff --git a/s6/ntpclient/run b/s6/ntpclient/run @@ -0,0 +1,7 @@ +#!/local/bin/execlineb -P + +fdmove -c 2 1 +s6-envdir ./env/ +importas HOST HOST + +ntpclient -h $HOST