diff --git a/debian/changelog b/debian/changelog new file mode 100755 index 0000000..4261805 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,7 @@ +openkylin-keyring (2022.05.12-ok1) yangtze; urgency=medium + + * Initial release with the openKylin Archive Signing Key in + the openkylin-archive-keyring + + -- Xie Wei Tue, 31 May 2022 15:11:17 +0800 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100755 index 0000000..cf0bded --- /dev/null +++ b/debian/control @@ -0,0 +1,23 @@ +Source: openkylin-keyring +Section: misc +Priority: optional +Maintainer: openKylin Infrastructure +Standards-Version: 3.8.3 +Build-Depends: debhelper + +Package: openkylin-keyring +Priority: important +Architecture: all +Multi-Arch: foreign +Description: GnuPG keys of the openKylin archive + The openKylin project digitally signs its Release files. This package + contains the archive keys used for that. + +Package: openkylin-keyring-udeb +Priority: optional +Architecture: all +Section: debian-installer +Description: GnuPG keys of the openKylin archive + The openKylin project digitally signs its Release files. This package + contains the archive keys used for that, in a minimal form for use + in the installer. diff --git a/debian/copyright b/debian/copyright new file mode 100755 index 0000000..7aa6565 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,8 @@ +This is openKylin Linux's GnuPG keyrings of archive keys. + +This package was originally put together by openKylin community + +Files: * +Copyright: Copyright©2022 openKylin +License: Proprietary + diff --git a/debian/openkylin-keyring-udeb.install b/debian/openkylin-keyring-udeb.install new file mode 100644 index 0000000..36d0bdd --- /dev/null +++ b/debian/openkylin-keyring-udeb.install @@ -0,0 +1 @@ +keyrings/openkylin-archive-keyring.gpg usr/share/keyrings/ diff --git a/debian/openkylin-keyring-udeb.postinst b/debian/openkylin-keyring-udeb.postinst new file mode 100755 index 0000000..8727aa7 --- /dev/null +++ b/debian/openkylin-keyring-udeb.postinst @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +DIR=/usr/share/keyrings +if [ ! -e $DIR/archive.gpg ]; then + ln -s openkylin-archive-keyring.gpg $DIR/archive.gpg +fi diff --git a/debian/openkylin-keyring.install b/debian/openkylin-keyring.install new file mode 100644 index 0000000..1a4448d --- /dev/null +++ b/debian/openkylin-keyring.install @@ -0,0 +1,2 @@ +keyrings/openkylin-archive-keyring.gpg etc/apt/trusted.gpg.d/ +keyrings/openkylin-archive-keyring.gpg usr/share/keyrings/ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..87bb3d4 --- /dev/null +++ b/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f + +%: + dh $@ + +binary: checkkeyrings + +build: + gpg --homedir .gnupg --import keyrings/* + +checkkeyrings: + gpg --homedir .gnupg --list-keys + +override_dh_installdeb: + dh_installdeb + # currently all keyring snippets are _not_ conffiles, keep it that way. + rm -f debian/*/DEBIAN/conffiles + +override_dh_clean: + rm -rf .gnupg verified current + dh_clean diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)