--- pidgin-openpgp-0.1.orig/XEP-0027.pl +++ pidgin-openpgp-0.1/XEP-0027.pl @@ -32,7 +32,7 @@ use File::Temp qw /tempfile tmpnam/; use Purple; use File::Touch; -use Config::INI::Simple; +use Config::Tiny; #use Pidgin; use constant TRUE => 1 ; @@ -298,7 +298,7 @@ $x->insert_data($crypted, length($crypted)); # remove plain data - $msg = "This is a protected copy."; + $msg = "[This message is *encrypted* (See :XEP:`27`] ([This message is *encrypted* (See :XEP:`27`])"; $bnode->free(); $node->new_child("body")->insert_data($msg, length($msg)); @@ -383,7 +383,7 @@ info_err_savecfg($cfgfile); return; } - my $conf = new Config::INI::Simple; + my $conf = Config::Tiny->new(); foreach my $key (keys(%GPGMAP)) { $conf->{default}->{$key} = $GPGMAP{$key}; } @@ -393,14 +393,13 @@ # file content: # JID=key sub LoadCfg { - my $conf = new Config::INI::Simple; my $cfgfile = Purple::Prefs::get_string("/plugins/core/openpgp/configfile"); if (not -r $cfgfile) { %GPGMAP = (); return; } - $conf->read($cfgfile); + my $conf = Config::Tiny->read($cfgfile); use Data::Dumper; Purple::Debug::misc("openpgpplugin", Dumper($conf->{default})."\n"); %GPGMAP = (); --- pidgin-openpgp-0.1.orig/debian/compat +++ pidgin-openpgp-0.1/debian/compat @@ -0,0 +1 @@ +5 --- pidgin-openpgp-0.1.orig/debian/changelog +++ pidgin-openpgp-0.1/debian/changelog @@ -0,0 +1,18 @@ +pidgin-openpgp (0.1-2) unstable; urgency=low + + * QA upload. + * d/rules: use dh_prep; add build-{arch,indep}, clean up + * d/control: orphan; add Multi-Arch + * README.Debian: note orphan bug and suggest picking up work + + -- Thorsten Glaser Fri, 29 Jun 2012 14:50:50 +0200 + +pidgin-openpgp (0.1-1) unstable; urgency=low + + * Initial Release. Closes: #577653 + * Change the plain-text body accompanying an XEP-0027 message + to match Gajim. + * Add README.Debian, note changing conversation window is TODO. + * Convert from Config::INI::Simple (RM) to Config::Tiny + + -- Thorsten Glaser Tue, 13 Apr 2010 15:30:24 +0200 --- pidgin-openpgp-0.1.orig/debian/watch +++ pidgin-openpgp-0.1/debian/watch @@ -0,0 +1 @@ +# no upstream site to watch --- pidgin-openpgp-0.1.orig/debian/README.Debian +++ pidgin-openpgp-0.1/debian/README.Debian @@ -0,0 +1,18 @@ +Notes for the OpenPGP Plugin for Pidgin +======================================= + +* The conversation window is currently UNCHANGED, which means you + do NOT see whether you're sending encrypted or unencrypted. + This is a TODO item; patches welcome. + +* After enabling the plugin, write "ENABLEPGP" and "DISABLEPGP" in + the conversation window for the contact you want to use OpenPGP + with. However, the public key of the other party MUST be known + to the plugin beforehand - either the Jabber ID matches the key's + eMail address or the key ID has been entered in the configuration + dialogue of the plugin. + +* Life at a company caught up, and maintaining this package cannot + really be done any more so it's orphaned now. Feel free to read + http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665748 and take + over maintenance, and evaluate the alternative. Sorry. --- pidgin-openpgp-0.1.orig/debian/install +++ pidgin-openpgp-0.1/debian/install @@ -0,0 +1 @@ +XEP-0027.pl usr/lib/purple-2 --- pidgin-openpgp-0.1.orig/debian/control +++ pidgin-openpgp-0.1/debian/control @@ -0,0 +1,20 @@ +Source: pidgin-openpgp +Section: net +Priority: optional +Maintainer: Debian QA Group +Build-Depends: debhelper (>= 5) +Standards-Version: 3.8.4 + +Package: pidgin-openpgp +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, gnupg, gnupg-agent, libconfig-tiny-perl, + libfile-touch-perl, libgtk2-perl, pidgin +Description: OpenPGP plugin for Pidgin + pidgin-openpgp is a plugin for the Pidgin instant messaging + program which enables it to communicate with Jabber/XMPP peers + in an encrypted manner using the OpenPGP standard and XEP-0027, + which is understood by other clients, such as centericq, gajim, + kopete and mcabber. + . + This is an experimental extension and potentially buggy. --- pidgin-openpgp-0.1.orig/debian/copyright +++ pidgin-openpgp-0.1/debian/copyright @@ -0,0 +1,16 @@ +This package was debianised by Thorsten Glaser on +Tue, 13 Apr 2010 14:06:43 +0200. + +It was downloaded from: +http://developer.pidgin.im/ticket/288 + +OpenPGP Plugin is Copyright © 2008 + Michael Braun +and distributed under the terms and conditions of the +GNU General Public License, version 3 or later; on +Debian systems, the complete licence text can be found +in “/usr/share/common-licenses/GPL-3”. + +The Debian packaging and patches are Copyright © 2010 + Thorsten Glaser +and covered by the same terms. --- pidgin-openpgp-0.1.orig/debian/dirs +++ pidgin-openpgp-0.1/debian/dirs @@ -0,0 +1 @@ +usr/lib/purple-2 --- pidgin-openpgp-0.1.orig/debian/rules +++ pidgin-openpgp-0.1/debian/rules @@ -0,0 +1,30 @@ +#!/usr/bin/make -f + +LC_ALL:=C +export LC_ALL + +clean: + dh_testdir + dh_clean + +build build-arch build-indep: + +binary-indep: build-indep + dh_testdir + dh_testroot + if test -x "$$(which dh_prep)"; then dh_prep; else dh_clean -k; fi + dh_installdirs + dh_installchangelogs + dh_installdocs + dh_install + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build-arch + +binary: binary-indep binary-arch +.PHONY: binary binary-arch binary-indep build build-arch build-indep clean --- pidgin-openpgp-0.1.orig/debian/source/format +++ pidgin-openpgp-0.1/debian/source/format @@ -0,0 +1 @@ +1.0