tags 642199 + patch tags 642199 + pending thanks Dear maintainer,
I've prepared an NMU for pidgin-sipe (versioned as 1.13.1-2.1) and uploaded it to DELAYED/10. Please feel free to tell me if I should delay it longer. This nmu implements the dpkg-divert trick mentioned before. This modification will need to be reverted once OC servers are fixed. Regards. -- https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/ http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org
diff --git a/debian/changelog b/debian/changelog index f238156..097179d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +pidgin-sipe (1.13.1-2.1) unstable; urgency=low + + * Non-maintainer upload. + * added patch to help putting workaround in place (Closes: #642199) + + -- Dominique Dumont <d...@debian.org> Mon, 29 Oct 2012 13:07:17 +0100 + pidgin-sipe (1.13.1-2) unstable; urgency=low * Fix FTBFS on ARM, MIPS and SPARC. diff --git a/debian/extra/pidgin b/debian/extra/pidgin new file mode 100755 index 0000000..e50f30e --- /dev/null +++ b/debian/extra/pidgin @@ -0,0 +1,10 @@ +#!/bin/bash + +CONF=/etc/default/pidgin-sipe + +if [[ -r $CONF ]] +then + . $CONF +fi + +/usr/bin/pidgin.orig $* diff --git a/debian/extra/pidgin-sipe b/debian/extra/pidgin-sipe new file mode 100644 index 0000000..3768205 --- /dev/null +++ b/debian/extra/pidgin-sipe @@ -0,0 +1,11 @@ +# uncomment the export line below if you have problem connecting +# to a Microsoft server. + +# export NSS_SSL_CBC_RANDOM_IV=0 + + +# For more details, see +# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642199 +# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681593 +# https://bugzilla.mozilla.org/show_bug.cgi?id=702111 + diff --git a/debian/pidgin-sipe.install b/debian/pidgin-sipe.install new file mode 100644 index 0000000..64931b3 --- /dev/null +++ b/debian/pidgin-sipe.install @@ -0,0 +1,2 @@ +debian/extra/pidgin usr/bin +debian/extra/pidgin-sipe etc/default diff --git a/debian/pidgin-sipe.postrm b/debian/pidgin-sipe.postrm new file mode 100755 index 0000000..e664b0f --- /dev/null +++ b/debian/pidgin-sipe.postrm @@ -0,0 +1,9 @@ +#!/bin/sh -e + +if [ "$1" = remove ] +then + dpkg-divert --remove --package pidgin-sipe --rename \ + --divert /usr/bin/pidgin.orig /usr/bin/pidgin +fi + +exit 0 diff --git a/debian/pidgin-sipe.preinst b/debian/pidgin-sipe.preinst new file mode 100755 index 0000000..a0cdda5 --- /dev/null +++ b/debian/pidgin-sipe.preinst @@ -0,0 +1,9 @@ +#!/bin/sh -e + +if [ "$1" = install ] || [ "$1" = upgrade ] +then + dpkg-divert --add --package pidgin-sipe --rename \ + --divert /usr/bin/pidgin.orig /usr/bin/pidgin +fi + +exit 0 diff --git a/debian/rules b/debian/rules index 9d90968..e060810 100755 --- a/debian/rules +++ b/debian/rules @@ -51,6 +51,9 @@ install: build dh_clean -k dh_installdirs # Add here commands to install the package into debian/gsetroot. + dh_install debian/extra/pidgin usr/bin + dh_install debian/extra/pidgin-sipe etc/default + $(MAKE) install DESTDIR=$(CURDIR)/debian/pidgin-sipe -rm -rf $(CURDIR)/debian/pidgin-sipe/usr/share/doc/pidgin-sipe/README -rm -rf $(CURDIR)/debian/pidgin-sipe/usr/lib/purple-2/libsipe.la