diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..f90973a --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,29 @@ +mini-buildd archive "hibbian" +========================== + +This is the automatic archive keyring package for mini-buildd archive "hibbian". + +APT "sources.list" library +-------------------------- + +This package also includes:: + + /usr/share/mini-buildd/sources.list.d/ + +which has one file for any APT line available in this +repository, using this:: + + CODENAME_ARCHIVE_REPOSITORY_SUITE[-rollbackN][_src].list + +naming scheme. + +This means you can easily select any available APT source via +symlinks in "/etc/apt/sources.list.d/". + +.. note:: + + These sources will only work out of the box if you + have network access to archive "hibbian". + + I.e., you will still need to fiddle your own in case you are + using a mirror. diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5ca0c24 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,10 @@ +hibbian-archive-keyring (20240817205831~hibbian+1) bookworm-hibbian-unstable; urgency=medium + + * Automatic keyring package for archive 'hibbian'. + * Automated port via mini-buildd (no changes). Original DSC's SHA1: + 76865de16848812a15e412604e313254e02d92ea. + * External port from: file:///var/lib/mini-buildd/var/tmp/template- + db9v2set/hibbian-archive-keyring_20240817205831.dsc + * MINI_BUILDD_OPTION: lintian-mode=ignore + + -- mini-buildd archive hibbian Sat, 17 Aug 2024 21:58:32 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c814c34 --- /dev/null +++ b/debian/control @@ -0,0 +1,13 @@ +Source: hibbian-archive-keyring +Section: misc +Priority: optional +Maintainer: mini-buildd archive hibbian +Build-Depends: debhelper (>= 9) +Standards-Version: 4.0.0 + +Package: hibbian-archive-keyring +Architecture: all +Depends: ${misc:Depends} +Description: mini-buildd archive keys (and sources.lists) for hibbian + Automatic archive keys and APT sources.list library for + mini-buildd instance id hibbian. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a998827 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Contact: Stephan Sürken +Source: http://ftp.debian.org/debian/pool/main/m/mini-buildd/ +Comment: + Inspired by the debian-edu keyring package. This sources from a general + template to generate keyring packages under + . + /usr/share/mini-buildd/package-templates/archive-keyring/ + . + when mini-buildd is installed. + +Files: * +Copyright: © 2012- Stephan Sürken +License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at + your option) any later version. + . + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + . + On Debian systems, the complete text of the GNU General Public + License can be found in '/usr/share/common-licenses/GPL-2' file. diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..a0b9f5e --- /dev/null +++ b/debian/install @@ -0,0 +1,4 @@ +hibbian-archive-keyring.gpg usr/share/keyrings/ +hibbian-archive-keyring.gpg etc/apt/trusted.gpg.d/ +sources.list.d/ usr/share/hibbian-archive-keyring/ +certs/ usr/share/hibbian-archive-keyring/ diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..8cfd68a --- /dev/null +++ b/debian/postinst @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +# Remove keys from trusted.gpg -- now in trusted.gpg.d/ +# (Adapted code from postinst from debian-archive-keyring) +if [ "$1" = 'configure' -a -n "$2" ]; then + if which gpg > /dev/null && which apt-key > /dev/null; then + TRUSTEDFILE='/etc/apt/trusted.gpg' + eval $(apt-config shell TRUSTEDFILE Apt::GPGV::TrustedKeyring) + eval $(apt-config shell TRUSTEDFILE Dir::Etc::Trusted/f) + if [ -e "$TRUSTEDFILE" ]; then + apt-key --keyring "$TRUSTEDFILE" del 5B546E55D30D2816 > /dev/null 2>&1 || : + fi + fi +fi + +#DEBHELPER# diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/hibbian-archive-keyring.gpg b/hibbian-archive-keyring.gpg new file mode 100644 index 0000000..55b44ed Binary files /dev/null and b/hibbian-archive-keyring.gpg differ diff --git a/sources.list.d/bookworm/hibbian_stable.list b/sources.list.d/bookworm/hibbian_stable.list new file mode 100644 index 0000000..34b5af5 --- /dev/null +++ b/sources.list.d/bookworm/hibbian_stable.list @@ -0,0 +1 @@ +deb [] http://repo.hibbian.org/hibbian bookworm-hibbian-stable main contrib non-free non-free-firmware diff --git a/sources.list.d/bookworm/hibbian_stable_src.list b/sources.list.d/bookworm/hibbian_stable_src.list new file mode 100644 index 0000000..7f38e6e --- /dev/null +++ b/sources.list.d/bookworm/hibbian_stable_src.list @@ -0,0 +1 @@ +deb-src [] http://repo.hibbian.org/hibbian bookworm-hibbian-stable main contrib non-free non-free-firmware diff --git a/sources.list.d/bookworm/hibbian_unstable.list b/sources.list.d/bookworm/hibbian_unstable.list new file mode 100644 index 0000000..31de4fa --- /dev/null +++ b/sources.list.d/bookworm/hibbian_unstable.list @@ -0,0 +1 @@ +deb [] http://repo.hibbian.org/hibbian bookworm-hibbian-unstable main contrib non-free non-free-firmware diff --git a/sources.list.d/bookworm/hibbian_unstable_src.list b/sources.list.d/bookworm/hibbian_unstable_src.list new file mode 100644 index 0000000..7960409 --- /dev/null +++ b/sources.list.d/bookworm/hibbian_unstable_src.list @@ -0,0 +1 @@ +deb-src [] http://repo.hibbian.org/hibbian bookworm-hibbian-unstable main contrib non-free non-free-firmware