dot

packages and services management
Log | Files | Refs | README

commit 7b935bcfea9e88c024c90050cfc1552e3f9088f6
parent 2a681c3e340828b11bfee65a343cf53c28d4b02f
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Mon, 28 Aug 2017 07:50:11 +0200

cleanup from refactoring and merging dye recipes

Diffstat:
Mbusybox/build | 16+++++++++++++---
Dbusybox/build.sh | 14--------------
Dbusybox/deps | 1-
Dbusybox/lastversion.sh | 2--
Dbusybox/source.sh | 2--
Dbusybox/version | 1-
Ddma/dma.conf | 66------------------------------------------------------------------
Re2fsprogs/build.sh -> e2fsprogs/build | 0
De2fsprogs/deps | 1-
De2fsprogs/lastversion.sh | 2--
De2fsprogs/source.sh | 2--
Ae2fsprogs/tar | 1+
De2fsprogs/version | 1-
Dgit/cron | 1-
Dgit/user | 1-
Dlibressl/build.sh | 17-----------------
Dlibressl/deps | 1-
Dlibressl/lastversion.sh | 2--
Dlibressl/source.sh | 2--
Dlibressl/version | 1-
Dlibz/lastversion.sh | 2--
Dlibz/source.sh | 2--
Dlibz/version | 1-
Dlinux/lastversion.sh | 7-------
Dlinux/source.sh | 2--
Alinux/tar | 1+
Dlinux/version | 1-
Dmonitor/cron | 1-
Rmusl/build.sh -> musl/build | 0
Dmusl/deps | 1-
Dmusl/lastversion.sh | 2--
Dmusl/source.sh | 2--
Rmusl/libmusll/tar -> musl/tar | 0
Dmusl/version | 1-
Aopenssh/build | 37+++++++++++++++++++++++++++++++++++++
Dopenssh/build.sh | 35-----------------------------------
Dopenssh/lastversion.sh | 2--
Dopenssh/patch.sh | 2--
Dopenssh/source.sh | 2--
Aopenssh/tar | 1+
Dopenssh/version | 1-
Dstunnel/stunnel.conf | 11-----------
Rsyslinux/build.sh -> syslinux/build | 0
Dsyslinux/lastversion.sh | 2--
Dsyslinux/source.sh | 2--
Asyslinux/tar | 1+
Dsyslinux/version | 1-
47 files changed, 54 insertions(+), 200 deletions(-)

diff --git a/busybox/build b/busybox/build @@ -1,4 +1,14 @@ -make defconfig && make +#!/bin/sh +set -e -mkdir -p "$PREFIX/bin" -cp busybox "$PREFIX/bin" +export CFLAGS="$CFLAGS -static -isystem $SYSROOT/include" +export CFLAGS_busybox="-Wl,-z,muldefs -Werror-implicit-function-declaration" +export LDFLAGS="$LDFLAGS -static -isystem $SYSROOT/include" + +make $MAKEFLAGS CC="$CC" CROSS_COMPILE="$CROSS_COMPILE" CFLAGS="$CFLAGS" CFLAGS_busybox="$CFLAGS_busybox" LDFLAGS="$LDFLAGS" +make $MAKEFLAGS busybox.links +sed -i 's,/sbin,/bin,g' busybox.links + +install -D busybox "$DESTDIR/bin/busybox" +install -D docs/busybox.1 "$DESTDIR/share/man/man1/busybox.1" +cat busybox.links|while read p; do ln -sf busybox "$DESTDIR$PREFIX$p"; done diff --git a/busybox/build.sh b/busybox/build.sh @@ -1,14 +0,0 @@ -#!/bin/sh -set -e - -export CFLAGS="$CFLAGS -static -isystem $SYSROOT/include" -export CFLAGS_busybox="-Wl,-z,muldefs -Werror-implicit-function-declaration" -export LDFLAGS="$LDFLAGS -static -isystem $SYSROOT/include" - -make $MAKEFLAGS CC="$CC" CROSS_COMPILE="$CROSS_COMPILE" CFLAGS="$CFLAGS" CFLAGS_busybox="$CFLAGS_busybox" LDFLAGS="$LDFLAGS" -make $MAKEFLAGS busybox.links -sed -i 's,/sbin,/bin,g' busybox.links - -install -D busybox "$DESTDIR/bin/busybox" -install -D docs/busybox.1 "$DESTDIR/share/man/man1/busybox.1" -cat busybox.links|while read p; do ln -sf busybox "$DESTDIR$PREFIX$p"; done diff --git a/busybox/deps b/busybox/deps @@ -1 +0,0 @@ -musl diff --git a/busybox/lastversion.sh b/busybox/lastversion.sh @@ -1,2 +0,0 @@ -#!/bin/sh -curl -s "https://busybox.net/downloads/"|grep -o -E busybox-[0-9\.]*[0-9]|cut '-d-' -f2|sort -Vu|tail -n 1 diff --git a/busybox/source.sh b/busybox/source.sh @@ -1,2 +0,0 @@ -#!/bin/sh -echo "https://busybox.net/downloads/busybox-$VERSION.tar.bz2" diff --git a/busybox/version b/busybox/version @@ -1 +0,0 @@ -1.26.2 diff --git a/dma/dma.conf b/dma/dma.conf @@ -1,66 +0,0 @@ -# $DragonFly: src/etc/dma/dma.conf,v 1.2 2008/02/04 10:11:41 matthias Exp $ -# -# Your smarthost (also called relayhost). Leave blank if you don't want -# smarthost support. -# NOTE: on Debian systems this is handled via debconf! -# Please use dpkg-reconfigure dma to change this value. -#SMARTHOST - -# Use this SMTP port. Most users will be fine with the default (25) -PORT 25 - -# Path to your alias file. Just stay with the default. -#ALIASES /etc/aliases - -# Path to your spooldir. Just stay with the default. -SPOOLDIR /home/josuah/var/spool/dma - -# SMTP authentication -#AUTHPATH /etc/dma/auth.conf - -# Uncomment if yout want TLS/SSL support -#SECURETRANSFER - -# Uncomment if you want STARTTLS support (only used in combination with -# SECURETRANSFER) -#STARTTLS - -# Uncomment if you have specified STARTTLS above and it should be allowed -# to fail ("opportunistic TLS", use an encrypted connection when available -# but allow an unencrypted one to servers that do not support it) -#OPPORTUNISTIC_TLS - -# Path to your local SSL certificate -#CERTFILE - -# If you want to use plain text SMTP login without using encryption, change -# the SECURE entry below to INSECURE. Otherwise plain login will only work -# over a secure connection. Use this option with caution. -#SECURE - -# Uncomment if you want to defer your mails. This is useful if you are -# behind a dialup line. You have to submit your mails manually with dma -q -#DEFER - -# Uncomment if you want the bounce message to include the complete original -# message, not just the headers. -#FULLBOUNCE - -# The internet hostname dma uses to identify the host. -# If not set or empty, the result of gethostname(2) is used. -# If MAILNAME is an absolute path to a file, the first line of this file -# will be used as the hostname. -MAILNAME mail.gandi.net - -# Masquerade envelope from addresses with this address/hostname. -# Use this if mails are not accepted by destination mail servers because -# your sender domain is invalid. -# By default, MASQUERADE is not set. -# Format: MASQUERADE [user@][host] -# Examples: -# MASQUERADE john@ on host "hamlet" will send all mails as john@hamlet -# MASQUERADE percolator will send mails as $username@percolator, e.g. fish@percolator -# MASQUERADE herb@ert will send all mails as herb@ert - -# Directly forward the mail to the SMARTHOST bypassing aliases and local delivery -#NULLCLIENT diff --git a/e2fsprogs/build.sh b/e2fsprogs/build diff --git a/e2fsprogs/deps b/e2fsprogs/deps @@ -1 +0,0 @@ -musl diff --git a/e2fsprogs/lastversion.sh b/e2fsprogs/lastversion.sh @@ -1,2 +0,0 @@ -#!/bin/sh -curl -s "https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/"|grep -o -E 'v[0-9\.]*[0-9]'|sed 's/^v//'|sort -Vu|tail -n 1 diff --git a/e2fsprogs/source.sh b/e2fsprogs/source.sh @@ -1,2 +0,0 @@ -#!/bin/sh -echo "https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v$VERSION/e2fsprogs-$VERSION.tar.xz" diff --git a/e2fsprogs/tar b/e2fsprogs/tar @@ -0,0 +1 @@ +https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.42.9/e2fsprogs-1.42.9.tar.xz diff --git a/e2fsprogs/version b/e2fsprogs/version @@ -1 +0,0 @@ -1.42.9 diff --git a/git/cron b/git/cron @@ -1 +0,0 @@ -* * * * * git-sync diff --git a/git/user b/git/user @@ -1 +0,0 @@ -git::::::Git service:/home/git:git-shell: diff --git a/libressl/build.sh b/libressl/build.sh @@ -1,17 +0,0 @@ -#!/bin/sh -set -e - -export LDFLAGS="$LDFLAGS -Wl,-rpath-link=$SYSROOT$PREFIX/lib" -export CC="$CC -L$SYSROOT/lib -isystem $SYSROOT/include" -export CPPFLAGS="-D_GNU_SOURCE" -export CXXFLAGS="$CFLAGS" - -[ -n "$CROSS_COMPILE" ] && CONFFLAGS="$CONFFLAGS --host=$CROSS_COMPILE" - -./configure $CONFFLAGS \ - --prefix="$PREFIX" \ - --with-sysroot="$SYSROOT" - -make $MAKEFLAGS -make $MAKEFLAGS DESTDIR="$DESTDIR" install - diff --git a/libressl/deps b/libressl/deps @@ -1 +0,0 @@ -musl diff --git a/libressl/lastversion.sh b/libressl/lastversion.sh @@ -1,2 +0,0 @@ -#!/bin/sh -curl -s "https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/"|grep -oE 'libressl-[0-9\.]*[0-9]'|cut '-d-' -f2|sort -Vu|tail -n 1 diff --git a/libressl/source.sh b/libressl/source.sh @@ -1,2 +0,0 @@ -#!/bin/sh -echo "https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-$VERSION.tar.gz" diff --git a/libressl/version b/libressl/version @@ -1 +0,0 @@ -2.5.3 diff --git a/libz/lastversion.sh b/libz/lastversion.sh @@ -1,2 +0,0 @@ -#!/bin/sh -curl -s "http://zlib.net/"|grep -oE 'zlib-[0-9\.]*[0-9]'|cut '-d-' -f2|sort -Vu|tail -n 1 diff --git a/libz/source.sh b/libz/source.sh @@ -1,2 +0,0 @@ -#!/bin/sh -echo "http://zlib.net/zlib-$VERSION.tar.xz" diff --git a/libz/version b/libz/version @@ -1 +0,0 @@ -1.2.11 diff --git a/linux/lastversion.sh b/linux/lastversion.sh @@ -1,7 +0,0 @@ -#!/bin/sh -curl -s "https://www.kernel.org" \ - | grep -A 1 "longterm" \ - | grep strong \ - | sed 's/<[^>]*>//g' \ - | awk '{print($1)}' \ - | sort -V|tail -n 1 diff --git a/linux/source.sh b/linux/source.sh @@ -1,2 +0,0 @@ -#!/bin/sh -echo "https://cdn.kernel.org/pub/linux/kernel/v$(echo $VERSION|cut '-d.' -f1).x/linux-$VERSION.tar.xz" diff --git a/linux/tar b/linux/tar @@ -0,0 +1 @@ +https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.9.24.tar.xz diff --git a/linux/version b/linux/version @@ -1 +0,0 @@ -4.9.24 diff --git a/monitor/cron b/monitor/cron @@ -1 +0,0 @@ -*/15 * * * * monitor-step diff --git a/musl/build.sh b/musl/build diff --git a/musl/deps b/musl/deps @@ -1 +0,0 @@ -linux-headers diff --git a/musl/lastversion.sh b/musl/lastversion.sh @@ -1,2 +0,0 @@ -#!/bin/sh -curl -s "https://www.musl-libc.org/download.html"|grep -oE 'musl-[0-9\.]*[0-9]'|cut '-d-' -f2|sort -Vu|tail -n 1 diff --git a/musl/source.sh b/musl/source.sh @@ -1,2 +0,0 @@ -#!/bin/sh -echo "https://www.musl-libc.org/releases/musl-$VERSION.tar.gz" diff --git a/musl/libmusll/tar b/musl/tar diff --git a/musl/version b/musl/version @@ -1 +0,0 @@ -1.1.16 diff --git a/openssh/build b/openssh/build @@ -0,0 +1,37 @@ +#!/bin/sh +set -e + +patch -p1 < "$PKGDIR"/openssh-sys_param.patch + +export CC="$CC -L$SYSROOT/lib -isystem $SYSROOT/include" + +[ -n "$CROSS_COMPILE" ] && CONFFLAGS="$CONFFLAGS --host=$CROSS_COMPILE" + +# prevent from installing some things (keysign and maybe others) setuid. +sed -i 's@-m 4711@-m 0750@g' Makefile.in + +CC="$CC -D_BSD_SOURCE -DMISSING_FD_MASK -DMISSING_NFDBITS" \ +./configure $CONFFLAGS --prefix="$PREFIX" \ + --sbindir="$PREFIX"/bin --libexecdir="$PREFIX"/lib/ssh \ + --sysconfdir="$PREFIX"/etc/ssh \ + --with-sysroot="$SYSROOT" \ + --with-privsep-user=nobody \ + --with-xauth="$PREFIX"/bin/xauth \ + --with-ldflags="$LDFLAGS -Wl,-rpath-link=$SYSROOT$PREFIX/lib" \ + --without-stackprotect \ + --with-md5-passwords --with-mantype=man --mandir="$PREFIX"/share/man \ + --disable-strip --disable-lastlog --disable-utmp --disable-utmpx --disable-btmp \ + --disable-wtmp --disable-wtmpx --disable-pututline --disable-pututxline + +mkdir netinet +touch netinet/in_systm.h + +sed -i '/USE_BTMP/d' config.h +sed -i '/USE_UTMP/d' config.h +sed -i 's@HAVE_DECL_HOWMANY 1@HAVE_DECL_HOWMANY 0@' config.h + +make $MAKEFLAGS + +#key generation is disabled for packaging +#the sshd service will create the keys on service prereqs +make DESTDIR="$DESTDIR" install-nokeys diff --git a/openssh/build.sh b/openssh/build.sh @@ -1,35 +0,0 @@ -#!/bin/sh -set -e - -export CC="$CC -L$SYSROOT/lib -isystem $SYSROOT/include" - -[ -n "$CROSS_COMPILE" ] && CONFFLAGS="$CONFFLAGS --host=$CROSS_COMPILE" - -# prevent from installing some things (keysign and maybe others) setuid. -sed -i 's@-m 4711@-m 0750@g' Makefile.in - -CC="$CC -D_BSD_SOURCE -DMISSING_FD_MASK -DMISSING_NFDBITS" \ -./configure $CONFFLAGS --prefix="$PREFIX" \ - --sbindir="$PREFIX"/bin --libexecdir="$PREFIX"/lib/ssh \ - --sysconfdir="$PREFIX"/etc/ssh \ - --with-sysroot="$SYSROOT" \ - --with-privsep-user=nobody \ - --with-xauth="$PREFIX"/bin/xauth \ - --with-ldflags="$LDFLAGS -Wl,-rpath-link=$SYSROOT$PREFIX/lib" \ - --without-stackprotect \ - --with-md5-passwords --with-mantype=man --mandir="$PREFIX"/share/man \ - --disable-strip --disable-lastlog --disable-utmp --disable-utmpx --disable-btmp \ - --disable-wtmp --disable-wtmpx --disable-pututline --disable-pututxline - -mkdir netinet -touch netinet/in_systm.h - -sed -i '/USE_BTMP/d' config.h -sed -i '/USE_UTMP/d' config.h -sed -i 's@HAVE_DECL_HOWMANY 1@HAVE_DECL_HOWMANY 0@' config.h - -make $MAKEFLAGS - -#key generation is disabled for packaging -#the sshd service will create the keys on service prereqs -make DESTDIR="$DESTDIR" install-nokeys diff --git a/openssh/lastversion.sh b/openssh/lastversion.sh @@ -1,2 +0,0 @@ -#!/bin/sh -curl -s "https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/"|grep -oE 'openssh-[0-9p\.]*[0-9]'|cut '-d-' -f2|sort -Vu|tail -n 1 diff --git a/openssh/patch.sh b/openssh/patch.sh @@ -1,2 +0,0 @@ -#!/bin/sh -patch -p1 < "$PKGDIR"/openssh-sys_param.patch diff --git a/openssh/source.sh b/openssh/source.sh @@ -1,2 +0,0 @@ -#!/bin/sh -echo "https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$VERSION.tar.gz" diff --git a/openssh/tar b/openssh/tar @@ -0,0 +1 @@ +https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.5p1.tar.gz diff --git a/openssh/version b/openssh/version @@ -1 +0,0 @@ -7.5p1 diff --git a/stunnel/stunnel.conf b/stunnel/stunnel.conf @@ -1,11 +0,0 @@ -client = yes - -options = NO_SSLv2 -options = NO_SSLv3 - - -[cyberia] - -sslVersion = TLSv1 -connect = irc.cyberia.is:6697 -accept = 127.0.0.1:6667 diff --git a/syslinux/build.sh b/syslinux/build diff --git a/syslinux/lastversion.sh b/syslinux/lastversion.sh @@ -1,2 +0,0 @@ -#!/bin/sh -curl -s "https://www.kernel.org/pub/linux/utils/boot/syslinux/"|grep -oE 'syslinux-[0-9\.]*[0-9]'|cut '-d-' -f2|sort -Vu|tail -n 1 diff --git a/syslinux/source.sh b/syslinux/source.sh @@ -1,2 +0,0 @@ -#!/bin/sh -echo "https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-$VERSION.tar.xz" diff --git a/syslinux/tar b/syslinux/tar @@ -0,0 +1 @@ +https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.03.tar.xz diff --git a/syslinux/version b/syslinux/version @@ -1 +0,0 @@ -6.03