From b3a2df6db939b251b472a8dc24a1625b00aa7bfa Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Mon, 26 Aug 2024 22:04:34 +0100 Subject: [PATCH] hibban sources and keyring --- debian/README.Debian | 29 ++++++++++++++++ debian/changelog | 10 ++++++ debian/compat | 1 + debian/control | 13 ++++++++ debian/copyright | 31 ++++++++++++++++++ debian/install | 4 +++ debian/postinst | 18 ++++++++++ debian/rules | 4 +++ hibbian-archive-keyring.gpg | Bin 0 -> 1183 bytes sources.list.d/bookworm/hibbian_stable.list | 1 + .../bookworm/hibbian_stable_src.list | 1 + sources.list.d/bookworm/hibbian_unstable.list | 1 + .../bookworm/hibbian_unstable_src.list | 1 + 13 files changed, 114 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/install create mode 100644 debian/postinst create mode 100755 debian/rules create mode 100644 hibbian-archive-keyring.gpg create mode 100644 sources.list.d/bookworm/hibbian_stable.list create mode 100644 sources.list.d/bookworm/hibbian_stable_src.list create mode 100644 sources.list.d/bookworm/hibbian_unstable.list create mode 100644 sources.list.d/bookworm/hibbian_unstable_src.list 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 0000000000000000000000000000000000000000..55b44ed2525b070c2c2bb7f22b35d76619a85778 GIT binary patch literal 1183 zcmV;Q1YrA_0u2Oaz_-K!5CHBJRf=$lA<9w|#bAa7)%N%w(A2MTTx?gmrgyWxgkay)T`P<%QZBA-c5)9h9qMN)%4>2>?_tZFDi6lEmM2*w0Z! zgjrKga&PNl!cdBMNk4iA!2%-7l>5V#31Z^qI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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