commit 8dfba810e7bbd9e0a0cd60aaa4058e27544aacc6 Author: Stefan Bühler Date: Mon Dec 29 16:56:44 2014 +0100 initial commit diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..94c3bc8 --- /dev/null +++ b/README.txt @@ -0,0 +1,3 @@ + +* symlink the files you like into /etc/apt/* +* create-gpgring.sh can create new files for trusted.gpg.d/ from public keys and should be preferred over apt-key add diff --git a/apt.conf.d/99no-pdiffs b/apt.conf.d/99no-pdiffs new file mode 100644 index 0000000..64628ae --- /dev/null +++ b/apt.conf.d/99no-pdiffs @@ -0,0 +1 @@ +Acquire::PDiffs "false"; diff --git a/apt.conf.d/99no-translations b/apt.conf.d/99no-translations new file mode 100644 index 0000000..2318f84 --- /dev/null +++ b/apt.conf.d/99no-translations @@ -0,0 +1 @@ +Acquire::Languages "none"; diff --git a/create-gpgring.sh b/create-gpgring.sh new file mode 100755 index 0000000..e8caf8c --- /dev/null +++ b/create-gpgring.sh @@ -0,0 +1,68 @@ +#!/bin/bash + +# syntax: $0 [-o ] [--] + +# export a key from your keyring: +# gpg -a --export --export-options export-minimal your@id + +set -e + +tmpdir=$(mktemp --tmpdir -d create-gpgring-XXXXXXX) +trap 'rm -rf "${tmpdir}"' EXIT + +mygpg() { + gpg --homedir "${tmpdir}/.gnupg" --batch --no-tty --no-options --no-default-keyring --no-auto-check-trustdb --trustdb-name "${tmpdir}/trustdb.gpg" "$@" +} + +unset INFILES +INFILES=() + +OUTFILE= + +while [ $# -gt 0 ]; do + case "$1" in + -o) + shift + if [ $# -eq 0 ]; then + echo "Missing parameter value for -o" >&2 + exit 2 + fi + OUTFILE="$1" + ;; + --) + shift + INFILES+=("$@") + shift $# + ;; + -*) + echo "Uknown option: '$1'" >&2 + exit 2 + ;; + *) + INFILES+=("$1") + ;; + esac + shift || true +done + +if [ -z "${OUTFILE}" -o "${OUTFILE}" = "-" ]; then + OUTFILE="${tmpdir}/stdout" +fi + +if [ -z "${INFILES[*]}" -o "${INFILES[*]}" = "-" ]; then + INFILES=("${tmpdir}/stdin") + cat > "${INFILES[0]}" +fi + +export HOME="${tmpdir}" + +KEYRING="${tmpdir}/keyring" + +mygpg --keyring "${KEYRING}" --import -- "${INFILES[@]}" +mygpg --keyring "${KEYRING}" --list-keys + +mv "${KEYRING}" "${OUTFILE}" + +if [ -f "${tmpdir}/stdout" ]; then + cat "${tmpdir}/stdout" +fi diff --git a/preferences.d/prefer-jessie.pref b/preferences.d/prefer-jessie.pref new file mode 100644 index 0000000..4924cc3 --- /dev/null +++ b/preferences.d/prefer-jessie.pref @@ -0,0 +1,50 @@ +# target-release priorities should be >= 990 (and < 1000) apart from backports + +# Debian 8 +Package: * +Pin: release o=Debian,n=jessie,l=Debian-Security +Pin-Priority: 995 + +Package: * +Pin: release o=Debian Backports,n=jessie-backports +Pin-Priority: 980 + +Package: * +Pin: release o=Debian,n=jessie* +Pin-Priority: 990 + +# Debian 9 +Package: * +Pin: release o=Debian,n=stretch,l=Debian-Security +Pin-Priority: 895 + +Package: * +Pin: release o=Debian Backports,n=stretch-backports +Pin-Priority: 880 + +Package: * +Pin: release o=Debian,n=stretch* +Pin-Priority: 890 + +# Debian 10 +Package: * +Pin: release o=Debian,n=buster,l=Debian-Security +Pin-Priority: 795 + +Package: * +Pin: release o=Debian Backports,n=buster-backports +Pin-Priority: 780 + +Package: * +Pin: release o=Debian,n=buster* +Pin-Priority: 790 + +# Debian unstable +Package: * +Pin: release o=Debian,n=sid* +Pin-Priority: 300 + +# Debian others (experimental, ...) +Package: * +Pin: release o=Debian +Pin-Priority: -1 diff --git a/preferences.d/prefer-stable.pref b/preferences.d/prefer-stable.pref new file mode 100644 index 0000000..c3f7e42 --- /dev/null +++ b/preferences.d/prefer-stable.pref @@ -0,0 +1,37 @@ +# target-release priorities should be >= 990 (and < 1000) apart from backports + +# Debian stable +Package: * +Pin: release o=Debian,a=stable,l=Debian-Security +Pin-Priority: 995 + +Package: * +Pin: release o=Debian Backports,a=stable-backports +Pin-Priority: 980 + +Package: * +Pin: release o=Debian,a=stable* +Pin-Priority: 990 + +# Debian testing +Package: * +Pin: release o=Debian,a=testing,l=Debian-Security +Pin-Priority: 895 + +Package: * +Pin: release o=Debian Backports,a=testing-backports +Pin-Priority: 880 + +Package: * +Pin: release o=Debian,a=testing* +Pin-Priority: 890 + +# Debian unstable +Package: * +Pin: release o=Debian,n=sid* +Pin-Priority: 300 + +# Debian others (experimental, ...) +Package: * +Pin: release o=Debian +Pin-Priority: -1 diff --git a/preferences.d/prefer-wheezy.pref b/preferences.d/prefer-wheezy.pref new file mode 100644 index 0000000..a28508d --- /dev/null +++ b/preferences.d/prefer-wheezy.pref @@ -0,0 +1,63 @@ +# target-release priorities should be >= 990 (and < 1000) apart from backports + +# Debian 7 +Package: * +Pin: release o=Debian,n=wheezy,l=Debian-Security +Pin-Priority: 995 + +Package: * +Pin: release o=Debian Backports,n=wheezy-backports +Pin-Priority: 980 + +Package: * +Pin: release o=Debian,n=wheezy* +Pin-Priority: 990 + +# Debian 8 +Package: * +Pin: release o=Debian,n=jessie,l=Debian-Security +Pin-Priority: 895 + +Package: * +Pin: release o=Debian Backports,n=jessie-backports +Pin-Priority: 880 + +Package: * +Pin: release o=Debian,n=jessie* +Pin-Priority: 890 + +# Debian 9 +Package: * +Pin: release o=Debian,n=stretch,l=Debian-Security +Pin-Priority: 795 + +Package: * +Pin: release o=Debian Backports,n=stretch-backports +Pin-Priority: 780 + +Package: * +Pin: release o=Debian,n=stretch* +Pin-Priority: 790 + +# Debian 10 +Package: * +Pin: release o=Debian,n=buster,l=Debian-Security +Pin-Priority: 695 + +Package: * +Pin: release o=Debian Backports,n=buster-backports +Pin-Priority: 680 + +Package: * +Pin: release o=Debian,n=buster* +Pin-Priority: 690 + +# Debian unstable +Package: * +Pin: release o=Debian,n=sid* +Pin-Priority: 300 + +# Debian others (experimental, ...) +Package: * +Pin: release o=Debian +Pin-Priority: -1 diff --git a/sources.list.d/experimental-src.list b/sources.list.d/experimental-src.list new file mode 100644 index 0000000..e3e1532 --- /dev/null +++ b/sources.list.d/experimental-src.list @@ -0,0 +1 @@ +deb-src http://ftp.de.debian.org./debian experimental main contrib non-free diff --git a/sources.list.d/experimental.list b/sources.list.d/experimental.list new file mode 100644 index 0000000..2f4b457 --- /dev/null +++ b/sources.list.d/experimental.list @@ -0,0 +1 @@ +deb http://ftp.de.debian.org./debian experimental main contrib non-free diff --git a/sources.list.d/jessie-src.list b/sources.list.d/jessie-src.list new file mode 100644 index 0000000..8867817 --- /dev/null +++ b/sources.list.d/jessie-src.list @@ -0,0 +1,5 @@ +deb-src http://ftp.de.debian.org./debian jessie main contrib non-free +deb-src http://ftp.de.debian.org./debian jessie-updates main contrib non-free +deb-src http://ftp.de.debian.org./debian jessie-proposed-updates main contrib non-free +deb-src http://security.debian.org./ jessie/updates main contrib non-free +deb-src http://ftp.de.debian.org./debian jessie-backports main contrib non-free diff --git a/sources.list.d/jessie.list b/sources.list.d/jessie.list new file mode 100644 index 0000000..91523c7 --- /dev/null +++ b/sources.list.d/jessie.list @@ -0,0 +1,5 @@ +deb http://ftp.de.debian.org./debian jessie main contrib non-free +deb http://ftp.de.debian.org./debian jessie-updates main contrib non-free +deb http://ftp.de.debian.org./debian jessie-proposed-updates main contrib non-free +deb http://security.debian.org./ jessie/updates main contrib non-free +deb http://ftp.de.debian.org./debian jessie-backports main contrib non-free diff --git a/sources.list.d/lighttpd2-jessie.list b/sources.list.d/lighttpd2-jessie.list new file mode 100644 index 0000000..dacb497 --- /dev/null +++ b/sources.list.d/lighttpd2-jessie.list @@ -0,0 +1,10 @@ +# nightly builds from l.n +# deb http://debian.lighttpd.net/lighttpd2-nightlies testing main + +deb http://debian.lighttpd.net/lighttpd2 testing main + +## no need for nightly helpers +## deb http://download.opensuse.org/repositories/home:/stbuehler:/lighttpd2-nightlies/Debian_7.0 ./ + +# use helpers from wheezy (7.0) repo +# deb http://download.opensuse.org/repositories/home:/stbuehler:/lighttpd2/Debian_7.0 ./ diff --git a/sources.list.d/lighttpd2-wheezy.list b/sources.list.d/lighttpd2-wheezy.list new file mode 100644 index 0000000..9964fb4 --- /dev/null +++ b/sources.list.d/lighttpd2-wheezy.list @@ -0,0 +1,4 @@ +# nightly builds +# deb http://download.opensuse.org/repositories/home:/stbuehler:/lighttpd2-nightlies/Debian_7.0 ./ + +deb http://download.opensuse.org/repositories/home:/stbuehler:/lighttpd2/Debian_7.0 ./ diff --git a/sources.list.d/sid-src.list b/sources.list.d/sid-src.list new file mode 100644 index 0000000..cfa0632 --- /dev/null +++ b/sources.list.d/sid-src.list @@ -0,0 +1 @@ +deb-src http://ftp.de.debian.org./debian sid main contrib non-free diff --git a/sources.list.d/sid.list b/sources.list.d/sid.list new file mode 100644 index 0000000..87cda85 --- /dev/null +++ b/sources.list.d/sid.list @@ -0,0 +1 @@ +deb http://ftp.de.debian.org./debian sid main contrib non-free diff --git a/sources.list.d/wheezy-src.list b/sources.list.d/wheezy-src.list new file mode 100644 index 0000000..7fd77a4 --- /dev/null +++ b/sources.list.d/wheezy-src.list @@ -0,0 +1,5 @@ +deb-src http://ftp.de.debian.org./debian wheezy main contrib non-free +deb-src http://ftp.de.debian.org./debian wheezy-updates main contrib non-free +deb-src http://ftp.de.debian.org./debian wheezy-proposed-updates main contrib non-free +deb-src http://security.debian.org./ wheezy/updates main contrib non-free +deb-src http://ftp.de.debian.org./debian wheezy-backports main contrib non-free diff --git a/sources.list.d/wheezy.list b/sources.list.d/wheezy.list new file mode 100644 index 0000000..7cbef45 --- /dev/null +++ b/sources.list.d/wheezy.list @@ -0,0 +1,5 @@ +deb http://ftp.de.debian.org./debian wheezy main contrib non-free +deb http://ftp.de.debian.org./debian wheezy-updates main contrib non-free +deb http://ftp.de.debian.org./debian wheezy-proposed-updates main contrib non-free +deb http://security.debian.org./ wheezy/updates main contrib non-free +deb http://ftp.de.debian.org./debian wheezy-backports main contrib non-free diff --git a/trusted.gpg.d/jenkins-lighttpd.net.gpg b/trusted.gpg.d/jenkins-lighttpd.net.gpg new file mode 100644 index 0000000..31e4f34 Binary files /dev/null and b/trusted.gpg.d/jenkins-lighttpd.net.gpg differ diff --git a/trusted.gpg.d/obs-home-stbuehler.gpg b/trusted.gpg.d/obs-home-stbuehler.gpg new file mode 100644 index 0000000..dd80908 Binary files /dev/null and b/trusted.gpg.d/obs-home-stbuehler.gpg differ diff --git a/trusted.gpg.d/obs-server-http.gpg b/trusted.gpg.d/obs-server-http.gpg new file mode 100644 index 0000000..109c974 Binary files /dev/null and b/trusted.gpg.d/obs-server-http.gpg differ