From a7e4674b9a30e28d1fe238db735c37b52e3af72d Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Tue, 24 Apr 2012 12:39:27 -0400 Subject: [PATCH] Add Makefile rules for signing and publishing releases and docs Also mention in README how the authenticity of releases can be verified. Signed-off-by: David Zeuthen --- Makefile.am | 12 ++++++++++++ README | 28 ++++++++++++++++++++++++++-- 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 70d072c..01f0a4b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,5 +11,17 @@ EXTRA_DIST = \ # xsltproc barfs on 'make distcheck'; disable for now DISTCHECK_CONFIGURE_FLAGS=--disable-man-pages --disable-gtk-doc --disable-introspection +sign : dist + gpg --armor --detach-sign --output polkit-$(VERSION).tar.gz.sign polkit-$(VERSION).tar.gz + +publish : sign + scp polkit-$(VERSION).tar.gz polkit-$(VERSION).tar.gz.sign "david@people.freedesktop.org:/srv/www.freedesktop.org/www/software/polkit/releases/" + +publish-docs : + gtkdoc-rebase --html-dir docs/polkit/html --online + ssh "david@people.freedesktop.org" "mkdir -p /srv/www.freedesktop.org/www/software/polkit/docs/$(VERSION)" + scp docs/polkit/html/* "david@people.freedesktop.org:/srv/www.freedesktop.org/www/software/polkit/docs/$(VERSION)" + ssh "david@people.freedesktop.org" "rm -f /srv/www.freedesktop.org/www/software/polkit/docs/latest; ln -s $(VERSION) /srv/www.freedesktop.org/www/software/polkit/docs/latest" + clean-local : rm -f *~ diff --git a/README b/README index 1fd906b..b075162 100644 --- a/README +++ b/README @@ -1,3 +1,27 @@ -PolicyKit is a toolkit for defining and handling authorizations. It -is used for allowing unprivileged processes to speak to privileged +OVERVIEW +======== + +polkit is a toolkit for defining and handling authorizations. It is +used for allowing unprivileged processes to speak to privileged processes. + +RELEASES +======== + +Releases of polkit are available in compressed tarballs from + + http://www.freedesktop.org/software/polkit/releases/ + +To verify the authenticity of the compressed tarball, use this command + + $ gpg --verify polkit-$(VERSION).tar.gz.sign polkit-$(VERSION).tar.gz + gpg: Signature made Sat 10 Mar 2012 03:00:30 PM EST using RSA key ID 3418A891 + gpg: Good signature from "David Zeuthen " + gpg: aka "[jpeg image of size 5237]" + +BUGS and DEVELOPMENT +==================== + +Please report bugs via the freedesktop.org bugzilla at + + https://bugs.freedesktop.org/enter_bug.cgi?product=PolicyKit -- 2.7.4