From 65bef139a9b1e38d113cff8cfc1134ccbe4ef19e Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Mon, 28 Oct 2013 22:51:11 -0400 Subject: initial check-in --- README | 18 ++++++++++++++++ debian/changelog | 12 +++++++++++ debian/control | 14 +++++++++++++ debian/copyright | 29 ++++++++++++++++++++++++++ debian/postinst | 7 +++++++ debian/prerm | 11 ++++++++++ debian/rules | 52 ++++++++++++++++++++++++++++++++++++++++++++++ keyrings/leap-keyring.gpg | Bin 0 -> 2227 bytes sha256sums.txt | 22 ++++++++++++++++++++ 9 files changed, 165 insertions(+) create mode 100644 README create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/postinst create mode 100644 debian/prerm create mode 100755 debian/rules create mode 100644 keyrings/leap-keyring.gpg create mode 100644 sha256sums.txt diff --git a/README b/README new file mode 100644 index 0000000..8303764 --- /dev/null +++ b/README @@ -0,0 +1,18 @@ +Introduction +------------ + +LEAP signs its Debian archive Release files that are stored on +deb.leap.se with the archive signing key contained in this package. + +A quick overview about this package: +* This keyrings are used by "apt" versions 0.6 and later. They + will be used with the apt-key command. +* Normally (i.e. if the apt-key binary is found), the keys contained in + the debian-archive-keyring package will be automatically installed into + apt's trusted keyring by the package's postinst script and keys that are + in the debian-archive-keyring-removed will be automatically removed. +* If the automatic installation of the keys fails, then the user can run + "apt-key update" manually. + +More information about the archive authentication feature can be found +here: http://wiki.debian.org/SecureApt diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..df5fb61 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,12 @@ +leap-keyring (2013.02.07~leap70+1) wheezy; urgency=low + + * Backport to wheezy. + * Add myself to Uploaders. + + -- Micah Anderson Thu, 09 May 2013 16:38:33 -0400 + +leap-keyring (2013.02.07) unstable; urgency=low + + * Initial version + + -- Micah Anderson Thu, 07 Feb 2013 12:05:28 -0500 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f25f05c --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: leap-keyring +Priority: important +Section: misc +Maintainer: Micah Anderson +Standards-Version: 3.9.1 +Uploaders: Micah Anderson + +Package: leap-keyring +Priority: important +Architecture: all +Depends: gnupg (>= 1.0.6-4) +Description: GnuPG archive key of the leap.se repository + The riseup repository digitally signs its Release files. This package + contains the repository key used for that. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..6e52670 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,29 @@ +This is leap.se's GnuPG keyrings of archive keys. + +This package was originally put together by Michael Vogt + for Debian and has been adapted to backports.org by +Alexander Wirt and for leap.se by +Micah Anderson + +The keys in the keyrings don't fall under any copyright. Everything +else in the package is covered by the GNU GPL 3+. + +Debian support files Copyright (C) 2006 Michael Vogt +based on the debian-keyring package maintained by James Troup + +Debian support files for debian-archive-keyring are free software; you +can redistribute them and/or modify them under the terms of the GNU +General Public License as published by the Free Software Foundation; +either version 2, or (at your option) any later version. + +Debian support files for debian-archive-keyring are distributed in the +hope that they 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 with +your Debian system, in /usr/share/common-licenses/GPL, or with the +Debian GNU debian-archive-keyring source package as the file COPYING. +If not, write to the Free Software Foundation, Inc., 51 Franklin Street, +Fifth Floor, Boston, MA 02110-1301 USA. + diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..c9fb56a --- /dev/null +++ b/debian/postinst @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +if which apt-key > /dev/null; then + apt-key add /usr/share/keyrings/leap-keyring.gpg +fi diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..17de1b0 --- /dev/null +++ b/debian/prerm @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +case "$1" in + remove|purge) + if which apt-key > /dev/null; then + apt-key del 0x1E34A1828E207901 + fi + ;; +esac diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c72965e --- /dev/null +++ b/debian/rules @@ -0,0 +1,52 @@ +#!/usr/bin/make -f +# debian/rules file - for debian/keyring + +install_dir=install -d -m 755 +install_file=install -m 644 +install_script=install -m 755 +install_binary=install -m 755 -s + +VERSION := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2) + +build: + +clean: + $(checkdir) + -rm -f foo foo.asc *.bak *~ */*~ debian/files* debian/*substvars + -rm -rf debian/tmp + +binary-indep: checkroot + $(checkdir) + -rm -rf debian/tmp + $(install_dir) debian/tmp/DEBIAN/ + $(install_script) debian/postinst debian/tmp/DEBIAN/ + $(install_script) debian/prerm debian/tmp/DEBIAN/ + + $(install_dir) debian/tmp/usr/share/keyrings/ + $(install_file) keyrings/leap-keyring.gpg debian/tmp/usr/share/keyrings/ + + $(install_dir) debian/tmp/usr/share/doc/leap-keyring/ + $(install_file) README debian/tmp/usr/share/doc/leap-keyring/ + $(install_file) debian/changelog debian/tmp/usr/share/doc/leap-keyring/changelog + $(install_file) debian/copyright debian/tmp/usr/share/doc/leap-keyring/ + gzip -9v debian/tmp/usr/share/doc/leap-keyring/changelog + gzip -9v debian/tmp/usr/share/doc/leap-keyring/README + + dpkg-gencontrol -pleap-keyring -isp + chown -R root.root debian/tmp + chmod -R go=rX debian/tmp + dpkg --build debian/tmp .. + +define checkdir + test -f keyrings/leap-keyring.gpg +endef + +# Below here is fairly generic really + +binary: binary-indep + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary binary-arch binary-indep clean checkroot diff --git a/keyrings/leap-keyring.gpg b/keyrings/leap-keyring.gpg new file mode 100644 index 0000000..26d6c74 Binary files /dev/null and b/keyrings/leap-keyring.gpg differ diff --git a/sha256sums.txt b/sha256sums.txt new file mode 100644 index 0000000..92f1db3 --- /dev/null +++ b/sha256sums.txt @@ -0,0 +1,22 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + +d58b0df289b6f7d258e973cb0393825e1e8bbc08a79525f6db178e1c4d14d6ab keyrings/leap-keyring.gpg +-----BEGIN PGP SIGNATURE----- + +iQJ8BAEBCgBmBQJRE93SXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ3MDY4QkQ2RTlEMTJBRDE4M0UwNzAxMUY0 +ODVCMTJGQTIxOEU4MUVCAAoJEEhbEvohjoHrP04P/iNJw3KncXtH/Np9b543X/pk +Os9Ju+0D3Cc8rwl/VyBXWZDHAAQvn14HKanFir7gYqvuZeBA6UKXaetn/0AM3//f +6ucN5GIts/eMmyTE6dpe9WgV5NPVbLald211t2i661jLIoG2TjIZTxoeZp78M1zW +hnF9PmUYtodvcuaqltzbwfdSrMw6bk1z7c8LhyCOV06nwkmopMAvKLPXt+j1gGZ6 ++PRrXMEioBHk51NyLI8+xfvV2tmtFvlfFADgZHCaYk9LZ+CYWBanq0IbG0S4iaKr +FFJlmBPnfQ9nwtEVe8vFx2JE58x/V/rzXdlmALCM+wC4yPV2mAu0bv5q4qrB9P58 +7mDp0MY/Yvhx06ZhdT3GBohBl36G7vcdk1XXv1Gr94yx4n5a4Z+Eld2J2ATdrZUc +FpXQfERLw4MjqbZM5bysCQO14emdydotxXLEuUP/zKq3J2/N6a8BfQ4chkkq20CP +RUZV4hqRULr8SYevXJulwbG+Hghma2m3F23fMTdYF9lZeh8U2qZUVQtY6lykrbV8 +BefkyA6vSJ2CvCOYGj0KTJ94CtQ3KlzQ9w5gqhh4i2YiDLF7/sdhRuyFIUMctTKB +0UAFBISkb8LEQxuJ6t0AGXodxxPieFKrQREYQLyaHKFIFjtKiDsl6ykWbR3RI3ts +UPSBlxRpRWQV5OrGUaIP +=aY7D +-----END PGP SIGNATURE----- -- cgit v1.2.3