initial commit

This commit is contained in:
Stefan Bühler 2014-12-29 16:56:44 +01:00
commit 8dfba810e7
20 changed files with 261 additions and 0 deletions

3
README.txt Normal file
View File

@ -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 Normal file
View File

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

View File

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

68
create-gpgring.sh Executable file
View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

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

View File

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

View File

@ -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

View File

@ -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

View File

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

View File

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

View File

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

1
sources.list.d/sid.list Normal file
View File

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

View File

@ -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

View File

@ -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

Binary file not shown.

Binary file not shown.

Binary file not shown.