Initial commit
commit
12c19033a6
@ -0,0 +1,7 @@
|
||||
debian/.debhelper/*
|
||||
debian/gruelag-keyring/*
|
||||
debian/gruelag-keyring.debhelper.log
|
||||
debian/gruelag-keyring.substvars
|
||||
debian/files
|
||||
debian/debhelper-build-stamp
|
||||
gruelag.gpg
|
||||
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2021 Felix Jacobi
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@ -0,0 +1,49 @@
|
||||
KEYRING = "gruelag.gpg"
|
||||
|
||||
.PHONY: $(KEYRING)
|
||||
|
||||
$(KEYRING):
|
||||
$(eval GPGHOME := $(shell mktemp -d))
|
||||
$(eval GPG := gpg --homedir $(GPGHOME))
|
||||
@# ensure that there are no duplicate keys; this should help prevent
|
||||
@# simple mistakes like accidentally exporting or copying the wrong key
|
||||
@# from a smartcard
|
||||
@if fdupes keys | grep -q .; \
|
||||
then \
|
||||
echo "ERROR! Duplicate keys!" >&2; \
|
||||
fdupes keys >&2; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
@# import all keys from keys/ into a new keyring
|
||||
@$(GPG) --import keys/*.pub
|
||||
|
||||
@# remove the superfluous encryption/authentication subkeys that have
|
||||
@# no relevance for APT whatsoever
|
||||
@gpg --list-keys --with-colon | \
|
||||
awk -F: '$$1 == "pub" { print $$5 }' | while read i; \
|
||||
do \
|
||||
echo "removing superfluous subkeys of key $$i"; \
|
||||
echo y | $(GPG) --batch --command-fd=0 \
|
||||
--edit-key "$$i" "key 2" delkey save 2> /dev/null; \
|
||||
echo y | $(GPG) --batch --command-fd=0 \
|
||||
--edit-key "$$i" "key 1" delkey save 2> /dev/null; \
|
||||
done
|
||||
|
||||
@# export all public keys to classic GPG keyring (APT cannot unterstand
|
||||
@# new-style GPG keyboxes)
|
||||
@$(GPG) --output "$@" --export repository@gruelag.de
|
||||
|
||||
@# make exported keyring visible for dh_iservinstall3 (uses git ls-files)
|
||||
@git add --intent-to-add --force "$@"; \
|
||||
|
||||
@chmod -v 0644 $@
|
||||
@rm -f "$@"~
|
||||
|
||||
@# remove temporary GPG home
|
||||
@rm -rfv "$(GPGHOME)";
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@rm -vf "$(KEYRING)"
|
||||
@git add -A
|
||||
@ -0,0 +1,32 @@
|
||||
Source: gruelag-keyring
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Maintainer: Gruelag GmbH <buero@gruelag.de>
|
||||
Build-Depends: debhelper-compat (= 13),
|
||||
dh-sequence-iserv,
|
||||
dh-sequence-gruelag,
|
||||
fdupes,
|
||||
gpg
|
||||
Standards-Version: 4.5.0
|
||||
|
||||
Package: gruelag-keyring
|
||||
Architecture: all
|
||||
Depends: gruelag-keyring-data, ${misc:Depends}, ${perl:Depends}
|
||||
Xb-Private-Iserv-Revision: ${iserv:Revision}
|
||||
Description: Gruelag GmbH: Öffentlicher Schlüssel
|
||||
Dieses Paket fügt den öffentlichen Schlüssel des Repositorys der
|
||||
Gruelag GmbH zum Schlüsselbund von APT hinzu.
|
||||
.
|
||||
Dieses Paket fügt die Schlüssel zum APT-Schlüsselbund hinzu.
|
||||
Tag: suite::iserv, role::data, admin::file-distribution, security::authentication
|
||||
|
||||
Package: gruelag-keyring-data
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, ${perl:Depends}
|
||||
Xb-Private-Iserv-Revision: ${iserv:Revision}
|
||||
Description: Gruelag GmbH: Öffentlicher Schlüssel (Daten)
|
||||
Dieses Paket fügt den öffentlichen Schlüssel des Repositorys der
|
||||
Gruelag GmbH zum Schlüsselbund von APT hinzu.
|
||||
.
|
||||
Dieses Paket enthält die Schlüsseldateien.
|
||||
Tag: suite::iserv, role::data, admin::file-distribution, security::authentication
|
||||
@ -0,0 +1,29 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: gruelag-keyring
|
||||
|
||||
Files: *
|
||||
Copyright: 2021 Felix Jacobi <felix.jacobi@gruelag.de>
|
||||
License: MIT
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2021 Stadtteilschule Blankenese <repository@gruelag.de>
|
||||
License: MIT
|
||||
|
||||
License: MIT
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following conditions:
|
||||
.
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
@ -0,0 +1 @@
|
||||
gruelag.gpg usr/share/iserv/security/apt-keys
|
||||
@ -0,0 +1,4 @@
|
||||
LICENSE* usr/share/doc/gruelag-keyring
|
||||
lintian/gruelag-keyring usr/share/lintian/overrides
|
||||
X:Makefile
|
||||
X:keys/*
|
||||
@ -0,0 +1 @@
|
||||
usr/share/iserv/security/apt-keys/gruelag.gpg etc/apt/trusted.gpg.d/gruelag.gpg
|
||||
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$1" = "purge" ] || [ "$1" = "remove" ]
|
||||
then
|
||||
apt-key del 16974600
|
||||
apt-key del 1C9E3AC2
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@
|
||||
@ -0,0 +1 @@
|
||||
3.0 (git)
|
||||
@ -0,0 +1,29 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBGNDM9kBEACsbDenRcCNyDvGDX9/KkRjWimk6c5N28KGB447P33YE36Kn9KE
|
||||
/d4YbnoyhyET2oUdoqNWGBv4oVm1jpB6w4XQf32IH4CrZ/7ZWfMRzXTsYwUGWvE1
|
||||
huk3qiY0g6T9W+/akM+Cb+hDOTN/JGVFoLEs4i+KUjzQOKb6a5qoVswlTAiwmO8e
|
||||
Jk0wBqcK+qyezvFECIyQomyjerDFdSBVzC/FwVhazDk6i+R3mYHczlPfTrA8nIQV
|
||||
5K+tP+bQmafBAF1NT8iXPZIGtPyKcW2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B03LSBHDFDo/bSnQzQmt/3Kfz
|
||||
UqRqbBaM6k4Y62yDN6oR9hdcTvqSyC/sKHNS3v5fDkJoVg/AaU+Rs81wqBE3XMiR
|
||||
VKbppLhpdOQAVjWXpzv/uzIYfsA6O6a3w5R/fVH9fV3ONdLVj74Gc2A+fUn2/uo4
|
||||
Mpl4bPUuy74ueVOs7ilw1X2OsLwNu7ObTCSmdbUNApRLH/UCb1DIqPNo1Kzw/9yW
|
||||
hxDGJZZB3+h3qUoTb1RwfvvSHrAzObHlS+fEin/M5+/dS823vlCvSMNfF7XGeYpI
|
||||
OUH8O9kl1PowF1qCS2kR+mgY4VtBcg==
|
||||
=sS+8
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
@ -0,0 +1,3 @@
|
||||
# by design
|
||||
gruelag-keyring: extra-license-file usr/share/doc/gruelag-keyring/LICENSE
|
||||
gruelag-keyring: package-installs-apt-keyring etc/apt/trusted.gpg.d/gruelag.gpg
|
||||
Loading…
Reference in New Issue