diff options
Diffstat (limited to 'vendor')
-rw-r--r-- | vendor/debian/apt-vendor.ent | 7 | ||||
-rw-r--r-- | vendor/debian/makefile | 17 | ||||
-rw-r--r-- | vendor/debian/sources.list.in | 8 | ||||
-rwxr-xr-x | vendor/getinfo | 39 | ||||
-rw-r--r-- | vendor/makefile | 45 | ||||
-rw-r--r-- | vendor/raspbian/apt-vendor.ent | 7 | ||||
-rw-r--r-- | vendor/raspbian/makefile | 16 | ||||
-rw-r--r-- | vendor/raspbian/sources.list.in | 6 | ||||
-rw-r--r-- | vendor/steamos/apt-vendor.ent | 8 | ||||
-rw-r--r-- | vendor/steamos/makefile | 17 | ||||
-rw-r--r-- | vendor/steamos/sources.list.in | 5 | ||||
-rw-r--r-- | vendor/tanglu/apt-vendor.ent | 7 | ||||
-rw-r--r-- | vendor/tanglu/makefile | 16 | ||||
-rw-r--r-- | vendor/tanglu/sources.list.in | 7 | ||||
-rw-r--r-- | vendor/ubuntu/apt-vendor.ent | 7 | ||||
-rw-r--r-- | vendor/ubuntu/makefile | 16 | ||||
-rw-r--r-- | vendor/ubuntu/sources.list.in | 10 |
17 files changed, 238 insertions, 0 deletions
diff --git a/vendor/debian/apt-vendor.ent b/vendor/debian/apt-vendor.ent new file mode 100644 index 000000000..6cda5995c --- /dev/null +++ b/vendor/debian/apt-vendor.ent @@ -0,0 +1,7 @@ +<!-- details about the keys used by the distribution --> +<!ENTITY keyring-distro "Debian"> +<!ENTITY keyring-package "<package>debian-archive-keyring</package>"> +<!ENTITY keyring-filename "<filename>/usr/share/keyrings/debian-archive-keyring.gpg</filename>"> +<!ENTITY keyring-removed-filename "<filename>/usr/share/keyrings/debian-archive-removed-keys.gpg</filename>"> +<!ENTITY keyring-master-filename ""> +<!ENTITY keyring-uri ""> diff --git a/vendor/debian/makefile b/vendor/debian/makefile new file mode 100644 index 000000000..25bc0350c --- /dev/null +++ b/vendor/debian/makefile @@ -0,0 +1,17 @@ +# -*- make -*- +BASE=../.. +SUBDIR=vendor/debian + +# Bring in the default rules +include ../../buildlib/defaults.mak + +doc binary manpages: sources.list + +sources.list: sources.list.in ../../doc/apt-verbatim.ent + sed -e 's#&stable-codename;#$(shell ../getinfo debian-stable-codename)#g' $< > $@ + +clean: clean/sources.list + +clean/sources.list: + rm -f sources.list + diff --git a/vendor/debian/sources.list.in b/vendor/debian/sources.list.in new file mode 100644 index 000000000..745e32cbe --- /dev/null +++ b/vendor/debian/sources.list.in @@ -0,0 +1,8 @@ +# See sources.list(5) manpage for more information +# Remember that CD-ROMs, DVDs and such are managed through the apt-cdrom tool. +deb http://ftp.us.debian.org/debian &stable-codename; main contrib non-free +deb http://security.debian.org &stable-codename;/updates main contrib non-free + +# Uncomment if you want the apt-get source function to work +#deb-src http://ftp.us.debian.org/debian &stable-codename; main contrib non-free +#deb-src http://security.debian.org &stable-codename;/updates main contrib non-free diff --git a/vendor/getinfo b/vendor/getinfo new file mode 100755 index 000000000..4422f5d78 --- /dev/null +++ b/vendor/getinfo @@ -0,0 +1,39 @@ +#!/bin/sh +# small helper to extract information form *.ent files + +BASEDIR="$(readlink -f "$(dirname $0)")" +INFO="$(readlink -f "${BASEDIR}/current/apt-vendor.ent")" + +if [ -z "$INFO" ] || [ ! -e "$INFO" ]; then + echo >&2 'The current vendor is not valid or not chosen by the buildsystem yet.' + exit 1 +fi + +getrawfield() { + grep --max-count=1 "^<!ENTITY $1 \"" "${2:-$INFO}" | cut -d'"' -f 2 +} + +getfield() { + local FIELD="$(getrawfield "$@")" + FIELD="${FIELD#*>}" + echo "${FIELD%<*}" +} + +case "$1" in +debian-stable-codename) + getrawfield 'stable-codename' "${BASEDIR}/../doc/apt-verbatim.ent" + ;; +tanglu-codename) + getrawfield 'tanglu-codename' "${BASEDIR}/../doc/apt-verbatim.ent" + ;; +ubuntu-codename) + getrawfield 'ubuntu-codename' "${BASEDIR}/../doc/apt-verbatim.ent" + ;; +keyring-package|keyring-filename|keyring-master-filename|keyring-removed-filename|keyring-uri|current-distro-codename) + getfield "$1" + ;; +*) + echo >&2 "Unknown data field $1 requested" + exit 2 + ;; +esac diff --git a/vendor/makefile b/vendor/makefile new file mode 100644 index 000000000..619c603fb --- /dev/null +++ b/vendor/makefile @@ -0,0 +1,45 @@ +# -*- make -*- +BASE=.. +SUBDIR=vendor + +# Bring in the default rules +include ../buildlib/defaults.mak + +all headers library binary program doc manpages debiandoc test update-po startup dirs: current +all: all/subdirs +binary: binary/subdirs +doc: doc/subdirs +clean: clean/subdirs +veryclean: veryclean/subdirs +dirs: dirs/subdirs +manpages: manpages/subdirs + +all/subdirs binary/subdirs doc/subdirs dirs/subdirs manpages/subdirs: + $(MAKE) -C current $(patsubst %/subdirs,%,$@) + +clean/subdirs veryclean/subdirs: + test ! -e current || $(MAKE) -C current $(patsubst %/subdirs,%,$@) + +current: + rm -f $@ + # search for an exact match to use the correct sources.list example + find -mindepth 1 -maxdepth 1 -type d | cut -d'/' -f 2 | while read DISTRO; do \ + if dpkg-vendor --is $$DISTRO; then \ + ln -s $$DISTRO $@; \ + break; \ + fi; \ + done + # if we haven't found a specific, look for a deriving in hardcoded order + test -e $@ || \ + (dpkg-vendor --derives-from ubuntu && cp ln -s ubuntu $@ ) || \ + (dpkg-vendor --derives-from tanglu && cp ln -s tanglu $@ ) || \ + ln -s debian $@ + +.PHONY: clean veryclean all binary vendor +.NOPARALLEL: + +clean: clean/current + +clean/current: + test ! -e current || $(MAKE) -C current clean + rm -f current diff --git a/vendor/raspbian/apt-vendor.ent b/vendor/raspbian/apt-vendor.ent new file mode 100644 index 000000000..e359d2001 --- /dev/null +++ b/vendor/raspbian/apt-vendor.ent @@ -0,0 +1,7 @@ +<!-- details about the keys used by the distribution --> +<!ENTITY keyring-distro "Raspbian"> +<!ENTITY keyring-package "<package>raspbian-archive-keyring</package>"> +<!ENTITY keyring-filename "<filename>/usr/share/keyrings/raspbian-archive-keyring.gpg</filename>"> +<!ENTITY keyring-removed-filename "<filename>/usr/share/keyrings/raspbian-archive-removed-keys.gpg</filename>"> +<!ENTITY keyring-master-filename ""> +<!ENTITY keyring-uri ""> diff --git a/vendor/raspbian/makefile b/vendor/raspbian/makefile new file mode 100644 index 000000000..c4464900f --- /dev/null +++ b/vendor/raspbian/makefile @@ -0,0 +1,16 @@ +# -*- make -*- +BASE=../.. +SUBDIR=vendor/raspbian + +# Bring in the default rules +include ../../buildlib/defaults.mak + +doc binary manpages: sources.list + +sources.list: sources.list.in ../../doc/apt-verbatim.ent + sed -e 's#&stable-codename;#$(shell ../getinfo debian-stable-codename)#g' $< > $@ + +clean: clean/sources.list + +clean/sources.list: + rm -f sources.list diff --git a/vendor/raspbian/sources.list.in b/vendor/raspbian/sources.list.in new file mode 100644 index 000000000..29ddcc4d6 --- /dev/null +++ b/vendor/raspbian/sources.list.in @@ -0,0 +1,6 @@ +# See sources.list(5) manpage for more information +# Remember that CD-ROMs, DVDs and such are managed through the apt-cdrom tool. +deb http://mirrordirector.raspbian.org/raspbian &stable-codename; main contrib non-free + +# Uncomment if you want the apt-get source function to work +#deb-src http://mirrordirector.raspbian.org/raspbian &stable-codename; main contrib non-free diff --git a/vendor/steamos/apt-vendor.ent b/vendor/steamos/apt-vendor.ent new file mode 100644 index 000000000..69bb254ef --- /dev/null +++ b/vendor/steamos/apt-vendor.ent @@ -0,0 +1,8 @@ +<!-- details about the keys used by the distribution --> +<!ENTITY keyring-distro "SteamOS"> +<!ENTITY keyring-package "<package>valve-archive-keyring</package>"> +<!ENTITY keyring-filename "<filename>/usr/share/keyrings/valve-archive-keyring.gpg</filename>"> +<!ENTITY keyring-removed-filename "<filename>/usr/share/keyrings/valve-archive-removed-keys.gpg</filename>"> +<!ENTITY current-distro-codename "alchemist"> +<!ENTITY keyring-master-filename ""> +<!ENTITY keyring-uri ""> diff --git a/vendor/steamos/makefile b/vendor/steamos/makefile new file mode 100644 index 000000000..9ee0e65a2 --- /dev/null +++ b/vendor/steamos/makefile @@ -0,0 +1,17 @@ +# -*- make -*- +BASE=../.. +SUBDIR=vendor/steamos + +# Bring in the default rules +include ../../buildlib/defaults.mak + +doc binary manpages: sources.list + +sources.list: sources.list.in ../../doc/apt-verbatim.ent + sed -e 's#&stable-codename;#$(shell ../getinfo debian-stable-codename)#g' $< | sed -e 's#&steamos-codename;#$(shell ../getinfo current-distro-codename)#g' > $@ + +clean: clean/sources.list + +clean/sources.list: + rm -f sources.list + diff --git a/vendor/steamos/sources.list.in b/vendor/steamos/sources.list.in new file mode 100644 index 000000000..fed6c3818 --- /dev/null +++ b/vendor/steamos/sources.list.in @@ -0,0 +1,5 @@ +# See sources.list(5) manpage for more information +# Remember that CD-ROMs, DVDs and such are managed through the apt-cdrom tool. + +deb http://repo.steampowered.com/steamos &steamos-codename; main contrib non-free +deb-src http://repo.steampowered.com/steamos &steamos-codename; main contrib non-free diff --git a/vendor/tanglu/apt-vendor.ent b/vendor/tanglu/apt-vendor.ent new file mode 100644 index 000000000..4b70a5f82 --- /dev/null +++ b/vendor/tanglu/apt-vendor.ent @@ -0,0 +1,7 @@ +<!-- details about the keys used by the distribution --> +<!ENTITY keyring-distro "Tanglu"> +<!ENTITY keyring-package "<package>tanglu-archive-keyring</package>"> +<!ENTITY keyring-filename "<filename>/usr/share/keyrings/tanglu-archive-keyring.gpg</filename>"> +<!ENTITY keyring-removed-filename "<filename>/usr/share/keyrings/tanglu-archive-removed-keys.gpg</filename>"> +<!ENTITY keyring-master-filename ""> +<!ENTITY keyring-uri ""> diff --git a/vendor/tanglu/makefile b/vendor/tanglu/makefile new file mode 100644 index 000000000..9fe680bc6 --- /dev/null +++ b/vendor/tanglu/makefile @@ -0,0 +1,16 @@ +# -*- make -*- +BASE=../.. +SUBDIR=vendor/tanglu + +# Bring in the default rules +include ../../buildlib/defaults.mak + +doc binary manpages: sources.list + +sources.list: sources.list.in ../../doc/apt-verbatim.ent + sed -e 's#&tanglu-codename;#$(shell ../getinfo tanglu-codename)#g' $< > $@ + +clean: clean/sources.list + +clean/sources.list: + rm -f sources.list diff --git a/vendor/tanglu/sources.list.in b/vendor/tanglu/sources.list.in new file mode 100644 index 000000000..dfa219046 --- /dev/null +++ b/vendor/tanglu/sources.list.in @@ -0,0 +1,7 @@ +# See sources.list(5) manpage for more information + +deb http://archive.tanglu.org/tanglu &tanglu-codename; main contrib non-free +#deb-src http://archive.tanglu.org/tanglu &tanglu-codename; main contrib non-free + +#deb http://archive.tanglu.org/tanglu &tanglu-codename;-updates main contrib non-free +#deb-src http://archive.tanglu.org/tanglu &tanglu-codename;-updates main contrib non-free diff --git a/vendor/ubuntu/apt-vendor.ent b/vendor/ubuntu/apt-vendor.ent new file mode 100644 index 000000000..caa532699 --- /dev/null +++ b/vendor/ubuntu/apt-vendor.ent @@ -0,0 +1,7 @@ +<!-- details about the keys used by the distribution --> +<!ENTITY keyring-distro "Ubuntu"> +<!ENTITY keyring-package "<package>ubuntu-keyring</package>"> +<!ENTITY keyring-filename "<filename>/usr/share/keyrings/ubuntu-archive-keyring.gpg</filename>"> +<!ENTITY keyring-removed-filename "<filename>/usr/share/keyrings/ubuntu-archive-removed-keys.gpg</filename>"> +<!ENTITY keyring-master-filename "/usr/share/keyrings/ubuntu-master-keyring.gpg"> +<!ENTITY keyring-uri "http://archive.ubuntu.com/ubuntu/project/ubuntu-archive-keyring.gpg"> diff --git a/vendor/ubuntu/makefile b/vendor/ubuntu/makefile new file mode 100644 index 000000000..afcaaf718 --- /dev/null +++ b/vendor/ubuntu/makefile @@ -0,0 +1,16 @@ +# -*- make -*- +BASE=../.. +SUBDIR=vendor/ubuntu + +# Bring in the default rules +include ../../buildlib/defaults.mak + +doc binary manpages: sources.list + +sources.list: sources.list.in ../../doc/apt-verbatim.ent + sed -e 's#&ubuntu-codename;#$(shell ../getinfo ubuntu-codename)#g' $< > $@ + +clean: clean/sources.list + +clean/sources.list: + rm -f sources.list diff --git a/vendor/ubuntu/sources.list.in b/vendor/ubuntu/sources.list.in new file mode 100644 index 000000000..00db2f8cd --- /dev/null +++ b/vendor/ubuntu/sources.list.in @@ -0,0 +1,10 @@ +# See sources.list(5) manpage for more information +# Remember that CD-ROMs, DVDs and such are managed through the apt-cdrom tool. +deb http://us.archive.ubuntu.com/ubuntu &ubuntu-codename; main restricted +deb-src http://us.archive.ubuntu.com/ubuntu &ubuntu-codename; main restricted + +deb http://security.ubuntu.com/ubuntu &ubuntu-codename;-security main restricted +deb-src http://security.ubuntu.com/ubuntu &ubuntu-codename;-security main restricted + +deb http://us.archive.ubuntu.com/ubuntu &ubuntu-codename;-updates main restricted +deb-src http://us.archive.ubuntu.com/ubuntu &ubuntu-codename;-updates main restricted |