debian/0000775000000000000000000000000012250326577007201 5ustar debian/msva-block.conf0000664000000000000000000000044712247347335012114 0ustar description "Block session start until msva has launched" author "Iain Lane " # Job which does nothing other than block the session start until # monkeysphere-validation-agent is finished start on starting xsession-init and msva-finished stop on started xsession-init debian/monkeysphere-validation-agent.conf0000664000000000000000000000135612247347335016013 0ustar description "Launch the monkeysphere validation agent" author "Iain Lane " start on starting xsession-init pre-start script MSSYSCONFIG=/etc/monkeysphere/monkeysphere.conf MSUSERCONFIG="$HOME/.monkeysphere/monkeysphere.conf" if [ ! "$(USE_VALIDATION_AGENT= [ -r "$MSSYSCONFIG" ] && . "$MSSYSCONFIG" 2>/dev/null || : [ -r "$MSUSERCONFIG" ] && . "$MSUSERCONFIG" 2>/dev/null || : printf '%s' "$USE_VALIDATION_AGENT")" != "false" ] ; then stop exit 0 fi end script # msva-perl-upstart-child sets the environment variable exec monkeysphere-validation-agent /usr/lib/msva-perl/msva-perl-upstart-child post-stop exec initctl unset-env --global MONKEYSPHERE_VALIDATION_AGENT_SOCKET debian/msva-perl.links0000664000000000000000000000007212214624134012136 0ustar usr/lib/gnupg/gpgkeys_hkpms usr/lib/gnupg2/gpg2keys_hkpms debian/compat0000664000000000000000000000000212214624461010370 0ustar 9 debian/msva-perl.prerm0000664000000000000000000000022412214624134012142 0ustar #!/bin/sh set -e if [ "$1" != "upgrade" ]; then update-alternatives --remove monkeysphere-validation-agent /usr/bin/msva-perl fi #DEBHELPER# debian/rules0000775000000000000000000000003512214624134010245 0ustar #!/usr/bin/make -f %: dh $@ debian/msva-perl.dirs0000664000000000000000000000011512214624134011755 0ustar usr usr/share usr/share/perl5 usr/share/perl5/Net usr/share/perl5/Net/Server debian/source/0000775000000000000000000000000012214624134010467 5ustar debian/source/format0000664000000000000000000000001412214624134011675 0ustar 3.0 (quilt) debian/control0000664000000000000000000000230112214624455010574 0ustar Source: msva-perl Section: net Priority: extra Maintainer: Daniel Kahn Gillmor Uploaders: Micah Anderson Build-Depends: debhelper (>= 9), perl Standards-Version: 3.9.4 Homepage: http://web.monkeysphere.info/ Vcs-Git: git://git.monkeysphere.info/msva-perl Package: msva-perl Architecture: all Depends: libcrypt-x509-perl (>= 0.50), libconvert-asn1-perl, libnet-server-perl (>= 2.00), libhttp-server-simple-perl, libjson-perl, libparent-perl, libgnupg-interface-perl (>= 0.43), libregexp-common-perl, libfile-homedir-perl, libconfig-general-perl, ${misc:Depends} Recommends: libgtk2-perl, libanyevent-perl, liblinux-inotify2-perl, liburi-perl, libnet-ssleay-perl, libio-socket-ssl-perl (>= 1.37), libwww-perl Suggests: liblwp-protocol-socks-perl Conflicts: monkeysphere (<< 0.32) Provides: monkeysphere-validation-agent Enhances: xul-ext-monkeysphere Description: Cryptographic identity validation agent (Perl implementation) The Monkeysphere Validation Agent offers a local service for tools to validate certificates (both X.509 and OpenPGP) and other public keys. . This package contains a perl implementation of a Monkeysphere Validation Agent. debian/gbp.conf0000664000000000000000000000023612214624134010607 0ustar [DEFAULT] upstream-branch = master debian-branch = debian upstream-tag = msva-perl/%(version)s debian-tag = msva-perl_debian/%(version)s pristine-tar = False debian/msva-perl-upstart-child0000775000000000000000000000053212247347335013617 0ustar #!/bin/sh # Set the socket in the (upstart, which becomes the session) environment initctl set-env --global MONKEYSPHERE_VALIDATION_AGENT_SOCKET=$MONKEYSPHERE_VALIDATION_AGENT_SOCKET # Work around upstart finishing this job (and starting the session) before we've run the above set-env initctl emit msva-finished # Sleep forever kill -STOP $$ debian/copyright0000664000000000000000000000135012214624134011121 0ustar Name: Monkeysphere Validation Agent (Perl) Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Source: http://web.monkeysphere.info/validation-agent/ Maintainer: Monkeysphere Developers Files: * Copyright: 2010 Daniel Kahn Gillmor License: GPL-3+ License: GPL-3+ This package 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 3 of the License, or (at your option) any later version. . On Debian systems, the complete text of the GNU General Public License version 3 can be found in file "/usr/share/common-licenses/GPL-3". debian/70monkeysphere_use-validation-agent0000664000000000000000000000305112214624134016071 0ustar # /etc/X11/Xsession.d/70monkeysphere_use-validation-agent # This is a script to be sourced by Xsession. It wraps the session # startup argument with a monkeysphere-validation-agent nested # process, if available and none already exist. # Disable this system-wide by setting # USE_VALIDATION_AGENT=false in # /etc/monkeysphere/monkeysphere.conf # Individual users can set the same environment variable in # ~/.monkeysphere/monkeysphere.conf to disable the agent for their own # X11 sessions. # Note that there is some weird interaction between this and # dbus-session at the moment: dbus-launch can start the msva just # fine, but if msva tries to start dbus-launch, dbus-launch fails # with: # Failed to waitpid() for babysitter intermediate process: No child processes # So this is placed at position 70 -- *before* the dbus Xsession # startup script, which is at 75 as of 2010-03-12, when i wrote this. # this is also good, because it means that the MSVA will learn about # the dbus session parameters, in case we want the agent to use dbus # to communicate with the user. # Author: Daniel Kahn Gillmor MSVAGENT=/usr/bin/monkeysphere-validation-agent MSSYSCONFIG=/etc/monkeysphere/monkeysphere.conf MSUSERCONFIG="$HOME/.monkeysphere/monkeysphere.conf" if [ -x "$MSVAGENT" ] ; then if [ "$(USE_VALIDATION_AGENT= [ -r "$MSSYSCONFIG" ] && . "$MSSYSCONFIG" 2>/dev/null || : [ -r "$MSUSERCONFIG" ] && . "$MSUSERCONFIG" 2>/dev/null || : printf '%s' "$USE_VALIDATION_AGENT")" != "false" ] ; then STARTUP="$MSVAGENT $STARTUP" fi fi debian/changelog0000664000000000000000000001175312250326577011062 0ustar msva-perl (0.9.2-1ubuntu2) trusty; urgency=low * Make msva-perl-upstart-child executable. -- Iain Lane Fri, 06 Dec 2013 10:57:03 +0000 msva-perl (0.9.2-1ubuntu1) trusty; urgency=low * Merge from Debian unstable (LP: #1256038). Remaining changes: - Provide an upstart user session job. It works like this: - Start monkeysphere-validation-agent before starting the session (on starting xsession-init) - Because msva-perl stays in the foreground, we can't export its environment variable (which it prints on standard output). - It also has a mode in which it can take a child to run. The agent keeps running as long as the child is running. - Provide a child which runs `initctl set-env' to set the environment variable. - It turns out that upstart continues the job started as soon as it has executed the main script. This means that the session is started before the `initctl set-env' has had a chance to run. So make the child script emit an event after running set-env which a *second*, empty, job (msva-block) waits for and blocks the session start. -- Roy Jamison Thu, 28 Nov 2013 16:10:16 +0000 msva-perl (0.9.2-1) unstable; urgency=low * New upstream version - includes POD failure fix from gregor, thanks! * updated to dh 9 * bumped Standards-Version to 3.9.4 (no changes needed) -- Daniel Kahn Gillmor Fri, 13 Sep 2013 11:00:30 -0400 msva-perl (0.9.1-1.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS with perl 5.18: POD failure": add patch to add encoding to POD. (Closes: #720430) -- gregor herrmann Fri, 30 Aug 2013 17:38:58 +0200 msva-perl (0.9.1-1) unstable; urgency=low * New Upstream version - fix an error when msva-perl is launched without arguments. -- Daniel Kahn Gillmor Sun, 09 Sep 2012 15:16:50 -0400 msva-perl (0.9-1) unstable; urgency=low * New Upstream version - tighter dependencies - daemon crash should no longer kill X11 session (Closes: #682353, #682518) - cleanup for newer versions of perl and modules (Closes: #677565, #642304) - binds explicitly to IPv4 loopback (Closes: #661939) - scanning for changes and prompting to reload off by default (Closes: #614313) * bumped Standards-Version to 3.9.3 (no changes needed) -- Daniel Kahn Gillmor Wed, 25 Jul 2012 13:20:08 -0400 msva-perl (0.8-2) unstable; urgency=low * Release into unstable. -- Daniel Kahn Gillmor Sun, 13 Feb 2011 19:49:54 -0500 msva-perl (0.8-1) experimental; urgency=low * New Upstream bugfix Release. - added Suggests: liblwp-protocol-socks-perl to enable the use of --keyserver-options http-proxy=socks://localhost:9050 for gpgkeys_hkpms over tor. -- Daniel Kahn Gillmor Mon, 20 Dec 2010 04:09:51 -0500 msva-perl (0.7-1) experimental; urgency=low * new Upstream release (to experimental) * installs gpgkeys_hkpms for gpg and gpg2. -- Daniel Kahn Gillmor Thu, 16 Dec 2010 16:11:46 -0500 msva-perl (0.6-1) experimental; urgency=low * New Upstream Release (to experimental) * added some Recommends: needed for some new (optional) features: - msva-query-agent (command-line query tool) - autodetection of updates to a running agent -- Daniel Kahn Gillmor Sun, 14 Nov 2010 13:57:02 -0500 msva-perl (0.5-1) experimental; urgency=low * New Upstream Release (to experimental) - relaxed dependency on libgtk2-perl to Recommends: (no marginal UI without it, though) -- Daniel Kahn Gillmor Tue, 12 Oct 2010 03:54:47 -0400 msva-perl (0.4-1) experimental; urgency=low * New Upstream Release (to experimental) * Bumped Standards-Version to 3.9.1 (no changes needed) * Adopted Xsession.d script from monkeysphere package (which unfortunately means we conflict with any monkeysphere package << 0.32) -- Daniel Kahn Gillmor Mon, 04 Oct 2010 01:11:15 -0400 msva-perl (0.3-1) unstable; urgency=low * New Upstream Release: - packaging re-organization - restore default SIGCHLD handler for subprocesses (Closes: #585506) -- Daniel Kahn Gillmor Wed, 16 Jun 2010 02:32:42 -0400 msva-perl (0.2-2) unstable; urgency=low * Add libparent-perl to Depends -- Daniel Kahn Gillmor Thu, 18 Mar 2010 20:05:28 -0400 msva-perl (0.2-1) unstable; urgency=low * New Upstream Release. -- Daniel Kahn Gillmor Mon, 15 Mar 2010 14:28:13 -0400 msva-perl (0.1-2) unstable; urgency=low * Add missing Depends: libjson-perl -- Micah Anderson Tue, 09 Mar 2010 11:36:47 -0500 msva-perl (0.1-1) unstable; urgency=low * Initial Release (Closes: #573120) -- Daniel Kahn Gillmor Tue, 09 Mar 2010 00:39:56 -0500 debian/msva-perl.postinst0000664000000000000000000000056312214624134012706 0ustar #!/bin/sh set -e if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then update-alternatives --install /usr/bin/monkeysphere-validation-agent monkeysphere-validation-agent /usr/bin/msva-perl 40 \ --slave /usr/share/man/man1/monkeysphere-validation-agent.1.gz monkeysphere-validation-agent.1.gz \ /usr/share/man/man1/msva-perl.1.gz fi #DEBHELPER# debian/msva-perl.install0000664000000000000000000000100312247347335012472 0ustar msva-perl usr/bin msva-query-agent usr/bin gpgkeys_hkpms usr/lib/gnupg Net/Server/MSVA.pm usr/share/perl5/Net/Server Crypt/Monkeysphere/*.pm usr/share/perl5/Crypt/Monkeysphere Crypt/Monkeysphere/MSVA/*.pm usr/share/perl5/Crypt/Monkeysphere/MSVA monkeysphere-icon.png usr/share/pixmaps debian/70monkeysphere_use-validation-agent etc/X11/Xsession.d debian/monkeysphere-validation-agent.conf usr/share/upstart/sessions debian/msva-block.conf usr/share/upstart/sessions debian/msva-perl-upstart-child usr/lib/msva-perl debian/msva-perl.manpages0000664000000000000000000000003712214624134012612 0ustar msva-perl.1 msva-query-agent.1