Browse Source

initial commit

master
Stefan Bühler 6 years ago
commit
8dfba810e7
  1. 3
      README.txt
  2. 1
      apt.conf.d/99no-pdiffs
  3. 1
      apt.conf.d/99no-translations
  4. 68
      create-gpgring.sh
  5. 50
      preferences.d/prefer-jessie.pref
  6. 37
      preferences.d/prefer-stable.pref
  7. 63
      preferences.d/prefer-wheezy.pref
  8. 1
      sources.list.d/experimental-src.list
  9. 1
      sources.list.d/experimental.list
  10. 5
      sources.list.d/jessie-src.list
  11. 5
      sources.list.d/jessie.list
  12. 10
      sources.list.d/lighttpd2-jessie.list
  13. 4
      sources.list.d/lighttpd2-wheezy.list
  14. 1
      sources.list.d/sid-src.list
  15. 1
      sources.list.d/sid.list
  16. 5
      sources.list.d/wheezy-src.list
  17. 5
      sources.list.d/wheezy.list
  18. BIN
      trusted.gpg.d/jenkins-lighttpd.net.gpg
  19. BIN
      trusted.gpg.d/obs-home-stbuehler.gpg
  20. BIN
      trusted.gpg.d/obs-server-http.gpg

3
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

1
apt.conf.d/99no-pdiffs

@ -0,0 +1 @@
Acquire::PDiffs "false";

1
apt.conf.d/99no-translations

@ -0,0 +1 @@
Acquire::Languages "none";

68
create-gpgring.sh

@ -0,0 +1,68 @@
#!/bin/bash
# syntax: $0 [-o <keyring outfile>] [--] <keyfiles...>
# 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

50
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

37
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

63
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

1
sources.list.d/experimental-src.list

@ -0,0 +1 @@
deb-src http://ftp.de.debian.org./debian experimental main contrib non-free

1
sources.list.d/experimental.list

@ -0,0 +1 @@
deb http://ftp.de.debian.org./debian experimental main contrib non-free

5
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

5
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

10
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 ./

4
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 ./

1
sources.list.d/sid-src.list

@ -0,0 +1 @@
deb-src http://ftp.de.debian.org./debian sid main contrib non-free

1
sources.list.d/sid.list

@ -0,0 +1 @@
deb http://ftp.de.debian.org./debian sid main contrib non-free

5
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

5
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

BIN
trusted.gpg.d/jenkins-lighttpd.net.gpg

BIN
trusted.gpg.d/obs-home-stbuehler.gpg

BIN
trusted.gpg.d/obs-server-http.gpg

Loading…
Cancel
Save