[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#691969: unblock: emacs-goodies-el/35.2+nmu1



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
X-Debbugs-CC: emacs-goodies-el@packages.debian.org

Please unblock package emacs-goodies-el. The version in sid fixes RC bug
#689807. The debdiff is attached.

unblock emacs-goodies-el/35.2+nmu1

Thanks,
diff -Nru emacs-goodies-el-35.2/debian/changelog emacs-goodies-el-35.2+nmu1/debian/changelog
--- emacs-goodies-el-35.2/debian/changelog	2011-10-27 19:30:01.000000000 +0200
+++ emacs-goodies-el-35.2+nmu1/debian/changelog	2012-10-21 13:17:55.000000000 +0200
@@ -1,3 +1,13 @@
+emacs-goodies-el (35.2+nmu1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * No longer create /root/.gnupg during installation of gnus-bonus-el.
+    This is achieved by binding epg-gpg-home-directory to a temporary
+    directory during bytecode compilation (implementation in
+    debian/emacsen-install.template). (Closes: #689807)
+
+ -- Sébastien Villemot <sebastien@debian.org>  Sun, 21 Oct 2012 11:30:47 +0200
+
 emacs-goodies-el (35.2) unstable; urgency=low
 
   [ Roland Mas ]
diff -Nru emacs-goodies-el-35.2/debian/emacsen-install.template emacs-goodies-el-35.2+nmu1/debian/emacsen-install.template
--- emacs-goodies-el-35.2/debian/emacsen-install.template	2010-01-07 04:24:14.000000000 +0100
+++ emacs-goodies-el-35.2+nmu1/debian/emacsen-install.template	2012-10-21 11:45:05.000000000 +0200
@@ -101,10 +101,22 @@
 EOF
 fi
 
+# Prevent epg from manipulating /root/.gnupg (#689807)
+if [ ${PACKAGE} = gnus-bonus-el ]; then
+	TMPGNUPGHOME=`mktemp -d --tmpdir gnupg.XXXXXXXXXX`
+	cat << EOF >> path.el
+(setq epg-gpg-home-directory "${TMPGNUPGHOME}")
+EOF
+fi
+
 echo ${FLAVOR} ${FLAGS} ${FILES} >> ${LOG}
 "${FLAVOR}" ${FLAGS} ${FILES} >> ${LOG} 2>&1
 egrep -s -e "While compiling|\*\*" ${LOG} || /bin/true
 echo install/${PACKAGE}: Deleting ${LOG}
 rm -f path.el ${LOG}
 
+if [ ${PACKAGE} = gnus-bonus-el ]; then
+	rm -rf ${TMPGNUPGHOME}
+fi
+
 exit 0
-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://www.dynare.org/sebastien
  `-      GPG Key: 4096R/381A7594

Attachment: pgpBi_r4xuf1b.pgp
Description: PGP signature


Reply to: