Your message dated Sat, 23 Feb 2013 17:49:25 +0000
with message-id <[email protected]>
and subject line Bug#700381: fixed in r-base 2.15.2-2
has caused the Debian Bug report #700381,
regarding r-base-core: please ship md5sums for all files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
700381: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700381
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: r-base-core
Version: 2.15.2-1
Severity: important
Tags: patch

Hi,

r-base-core excludes several files from md5sum computation. According to
the changelog this dates back to 1999 (the bug is no longer available in
the BTS) to work around some files being modified in some way or
another. But I cannot reproduce any such modification with a fresh
installation of current R.

Therefore I'm attaching a patch that removes this legacy cruft and
includes md5sums for all files in the future.

Not shipping md5sums defeats the purpose of tools like debsums: checking
for modifications by the local admin or due to hardware malfunction
(network, memory, disk, ...).

There is one file being modified in the postinst script: Renviron.ucf.
That seems be be caused by some logic flaw originating from the time
when the configuration file in /etc was modified directly:
  ## test if the file is unmodified `as shipped'
Renviron.ucf will be unmodified everytime (except when running
dpkg-reconfigure r-base-core), so the correct workflow for the postinst
should be something like
  mktemp ; sed ; ucf ; rm
(generate default config from template in a temporary file, install this
via ucf, clean up afterwards).

Andreas
diffstat for r-base_2.15.2-1 r-base_2.15.2-1.1

 debian/r-base-core-dbg.lintian           |    2 --
 r-base-2.15.2/debian/changelog           |    7 +++++++
 r-base-2.15.2/debian/r-base-core.lintian |   15 ---------------
 r-base-2.15.2/debian/rules               |   11 ++---------
 4 files changed, 9 insertions(+), 26 deletions(-)

reverted:
--- r-base-2.15.2/debian/r-base-core-dbg.lintian
+++ r-base-2.15.2.orig/debian/r-base-core-dbg.lintian
@@ -1,2 +0,0 @@
-r-base-core-dbg: file-missing-in-md5sums usr/lib/debug/usr/bin/Rscript
-r-base-core-dbg: file-missing-in-md5sums usr/lib/debug/usr/lib/R/bin/Rscript
diff -u r-base-2.15.2/debian/changelog r-base-2.15.2/debian/changelog
--- r-base-2.15.2/debian/changelog
+++ r-base-2.15.2/debian/changelog
@@ -1,3 +1,10 @@
+r-base (2.15.2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Stop excluding some files from md5sum computation.  (Closes: #xxxxxx)
+
+ -- Andreas Beckmann <[email protected]>  Tue, 12 Feb 2013 02:24:39 +0100
+
 r-base (2.15.2-1) unstable; urgency=low
 
   * New upstream release
diff -u r-base-2.15.2/debian/rules r-base-2.15.2/debian/rules
--- r-base-2.15.2/debian/rules
+++ r-base-2.15.2/debian/rules
@@ -611,7 +611,7 @@
 	dh_installdeb -i
         #dh_perl -i
 	dh_gencontrol -i
-	dh_md5sums -i		-X'usr/bin/R' 
+	dh_md5sums -i
 	dh_builddeb -i
 
 # Build architecture-dependent files here.
@@ -653,8 +653,6 @@
 	   $(debbase)/$(recdpackage)/usr/share/lintian/overrides/$(recdpackage)
 	install -p -m 0644  debian/$(nmathpackage).lintian \
 	   $(debbase)/$(nmathpackage)/usr/share/lintian/overrides/$(nmathpackage)
-	install -p -m 0644  debian/$(dbugpackage).lintian \
-	   $(debbase)/$(dbugpackage)/usr/share/lintian/overrides/$(dbugpackage)
         #dh_undocumented -a
 	dh_installchangelogs -a	-k NEWS 
 #	dh_strip -a
@@ -678,12 +676,7 @@
 #	cat debian/r-recommended.substvars
 #	echo "*** Done ***"
 	dh_gencontrol -a
-	dh_md5sums -a		-X'usr/bin/R' -X'usr/bin/Rscript' \
-				-X'usr/lib/debug/usr/bin/Rscript' \
-				-X'usr/lib/R/bin/Rscript'  	  \
-				-X'usr/lib/R/etc/Renviron.ucf'    \
-					-XLibIndex -Xindex.txt \
-					-Xfunction.html -Xpackages.html
+	dh_md5sums -a
 	dh_builddeb -a
 
 #binary: binary-indep binary-arch install-arch install-indep 
diff -u r-base-2.15.2/debian/r-base-core.lintian r-base-2.15.2/debian/r-base-core.lintian
--- r-base-2.15.2/debian/r-base-core.lintian
+++ r-base-2.15.2/debian/r-base-core.lintian
@@ -2,21 +2,6 @@
 r-base-core: shlib-with-non-pic-code usr/lib/R/modules/lapack.so
 r-base-core: shlib-with-non-pic-code usr/lib/R/modules/vfonts.so
 r-base-core: shlib-with-non-pic-code usr/lib/R/library/modreg/libs/modreg.so
-r-base-core: file-missing-in-md5sums usr/lib/R/library/base/html/function.html
-r-base-core: file-missing-in-md5sums usr/lib/R/library/base/html/is.function.html
-r-base-core: file-missing-in-md5sums usr/lib/R/library/base/html/remove.packages.html
-r-base-core: file-missing-in-md5sums usr/lib/R/doc/html/function.html 
-r-base-core: file-missing-in-md5sums usr/share/R/doc/html/packages.html
-r-base-core: file-missing-in-md5sums usr/share/R/doc/html/search/index.txt
-r-base-core: file-missing-in-md5sums usr/lib/R/library/base/html/as.function.html
-r-base-core: file-missing-in-md5sums usr/bin/R
-r-base-core: file-missing-in-md5sums usr/lib/R/library/base/html/update.packages.html
-r-base-core: file-missing-in-md5sums usr/lib/R/library/base/help/make.packages.html
-r-base-core: file-missing-in-md5sums usr/lib/R/library/utils/help/make.packages.html
-r-base-core: file-missing-in-md5sums usr/bin/Rscript
-r-base-core: file-missing-in-md5sums usr/lib/R/library/utils/R-ex/make.packages.html.R
-r-base-core: file-missing-in-md5sums usr/lib/R/bin/Rscript
-r-base-core: file-missing-in-md5sums usr/lib/R/etc/Renviron.ucf
 r-base-core: extra-license-file usr/lib/R/library/base/help/license
 r-base-core: image-file-in-usr-lib usr/lib/R/doc/html/left.jpg
 r-base-core: image-file-in-usr-lib usr/lib/R/doc/html/logo.jpg

--- End Message ---
--- Begin Message ---
Source: r-base
Source-Version: 2.15.2-2

We believe that the bug you reported is fixed in the latest version of
r-base, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dirk Eddelbuettel <[email protected]> (supplier of updated r-base package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 23 Feb 2013 11:11:51 -0600
Source: r-base
Binary: r-base r-base-core r-base-dev r-mathlib r-base-html r-doc-pdf 
r-doc-html r-doc-info r-recommended r-base-core-dbg
Architecture: source i386 all
Version: 2.15.2-2
Distribution: unstable
Urgency: low
Maintainer: Dirk Eddelbuettel <[email protected]>
Changed-By: Dirk Eddelbuettel <[email protected]>
Description: 
 r-base     - GNU R statistical computation and graphics system
 r-base-core - GNU R core of statistical computation and graphics system
 r-base-core-dbg - GNU R debug symbols for statistical comp. language and 
environmen
 r-base-dev - GNU R installation of auxiliary GNU R packages
 r-base-html - GNU R html docs for statistical computing system functions
 r-doc-html - GNU R html manuals for statistical computing system
 r-doc-info - GNU R info manuals statistical computing system
 r-doc-pdf  - GNU R pdf manuals for statistical computing system
 r-mathlib  - GNU R standalone mathematics library
 r-recommended - GNU R collection of recommended packages [metapackage]
Closes: 700381
Changes: 
 r-base (2.15.2-2) unstable; urgency=low
 .
   * debian/control: Switch Build-Depends: from libtiff4-dev to libtiff5-dev
 .
   * debian/control: Set Standards-Version: to current version
 .
   * debian/rules: Generate md5sums for all files       (Closes: #700381)
   * debian/r-base-core.postinst: Modied ucf file treatment to avoid
     triggering md5sum changes (with thanks to Andreas Beckman)
Checksums-Sha1: 
 a3d239f216da4656b3383636d8b8e6c641baa557 2085 r-base_2.15.2-2.dsc
 25cc9343dc564c416df583710f0d87c64c1cfc4e 86929 r-base_2.15.2-2.diff.gz
 dc7ec5b9f080197b1e2d6c222ae799e1ac454dd7 20638108 r-base-core_2.15.2-2_i386.deb
 2526c229b52e11c1780d9977f763ed9cf4d5018d 625126 r-mathlib_2.15.2-2_i386.deb
 dce4d2213d33ac11aadb402ee5b6af9c999af8e8 3407704 
r-base-core-dbg_2.15.2-2_i386.deb
 eceddd0e42903ef1b0a0d1d6eea3ffa68f8c3572 36950 r-base_2.15.2-2_all.deb
 7f2b97b3b822b448f3e217d417f717031b51c6b5 3888 r-base-dev_2.15.2-2_all.deb
 065c982ba256401f3bd24a06b34a5b1859e62c1a 90480 r-base-html_2.15.2-2_all.deb
 94917a29e7ad0e24ed5aab442a26d648ce4f62a4 8464774 r-doc-pdf_2.15.2-2_all.deb
 cc6e69c9f1d589db75f2e14e3dce486718a2999d 640384 r-doc-html_2.15.2-2_all.deb
 d79322178102221da24c8516a96166eadca74b62 545680 r-doc-info_2.15.2-2_all.deb
 7fbcd61bd65a314893f4b02b691e4668588f0c45 2674 r-recommended_2.15.2-2_all.deb
Checksums-Sha256: 
 34881a5fc614db8b5def120512b3147b9d0c9aa60ab7fa3694f626ac7c45acce 2085 
r-base_2.15.2-2.dsc
 1ee3d89f0a6710facb186f94d1f679d1e69d7c243eb51aa7946ff79ad3aad6a1 86929 
r-base_2.15.2-2.diff.gz
 2a5bce6e9d8860c7456946dae63cfa558976481090cba7688dcf34efa449be02 20638108 
r-base-core_2.15.2-2_i386.deb
 dce1b38d0da000bae331c0291680d9906d63aeb652ab5cc8465bcf6452610730 625126 
r-mathlib_2.15.2-2_i386.deb
 3fef37ebf0c491b17bc9c1c8695e7d8ba1177ba38d29180db60bbaaf1a1d593a 3407704 
r-base-core-dbg_2.15.2-2_i386.deb
 cef336387126af77bba7341bf8ebb0825e9f67cf17a6f050ecd7a6db8c4e4a5b 36950 
r-base_2.15.2-2_all.deb
 3dbc64974e6e06a5eea2cc6147ef75b2fc75f2892d76e23384c4af365006f7f9 3888 
r-base-dev_2.15.2-2_all.deb
 2b825023e7228737a03ffdb8e318e42910fafa655bcb30043fd34d63d9d34852 90480 
r-base-html_2.15.2-2_all.deb
 bca6c3bbfaeef257e754cb44f19c53dc85763e4254db4c37de385c33b2168a84 8464774 
r-doc-pdf_2.15.2-2_all.deb
 5a10c7c70ac94f913f4106273c7f8b4ef0f37528be9ddcda4e4d600588f943d9 640384 
r-doc-html_2.15.2-2_all.deb
 03d3c551b9eb52521356ec0d1800d99e7ddfe6ca6fad2756c102b705de0a8ecf 545680 
r-doc-info_2.15.2-2_all.deb
 1357d9cd15dfe9da3759f5f0d52e210bde189814677e04cbb671a9e0ec495ccd 2674 
r-recommended_2.15.2-2_all.deb
Files: 
 41c27d2f88cbf7c95c411b2f78ec87da 2085 gnu-r optional r-base_2.15.2-2.dsc
 325dd7dbe59cf71165eaf1e297e98c49 86929 gnu-r optional r-base_2.15.2-2.diff.gz
 0e1ce58a327e5043f16cc66b052cdcc2 20638108 gnu-r optional 
r-base-core_2.15.2-2_i386.deb
 e9d12c1341936b03838f3a73d0800db5 625126 gnu-r optional 
r-mathlib_2.15.2-2_i386.deb
 1725a39b10e3d16f76032b037ce8103d 3407704 debug extra 
r-base-core-dbg_2.15.2-2_i386.deb
 d6a0fba7b1f4b9f3d690295f3c5d579f 36950 gnu-r optional r-base_2.15.2-2_all.deb
 eb8b2e8de034575d7ef9fec2fcd98be9 3888 gnu-r optional 
r-base-dev_2.15.2-2_all.deb
 360e6321cbfa66d43322f18e81e67b93 90480 doc extra r-base-html_2.15.2-2_all.deb
 90cc61c6a40ac3b4ed9b0dfc5478ba48 8464774 doc optional 
r-doc-pdf_2.15.2-2_all.deb
 a6c286fbdf4aada6e6dd5dfb74e242a9 640384 doc optional 
r-doc-html_2.15.2-2_all.deb
 a6051e1eeaae65bd68bc56f551bfde42 545680 doc optional 
r-doc-info_2.15.2-2_all.deb
 575e0875f9783d514ba82b172791ccf4 2674 gnu-r optional 
r-recommended_2.15.2-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iD8DBQFRKPzlCZSR95Gw07cRAgKIAJ4snn2pq5+/k8RSuWidnpUa6L7IZwCfXYwo
JPHboJREa2riPOUpHhQjzaQ=
=YKep
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to