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

Bug#903199: stretch-pu: package sus/7.20180621~deb9u1



Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu

susv4 is a downloader package in contrib. The underlying document has
changed (now downloads and installs the POSIX.1-2017 standard), the
previous version is no longer available for download, rendering the
package currently uninstallable in stretch.

This is a rebuild of the package from sid, I tested the resulting
packages in a stretch chroot.


Andreas
diff -Nru sus-7.20161013/debian/changelog sus-7.20180621~deb9u1/debian/changelog
--- sus-7.20161013/debian/changelog	2016-10-13 13:15:32.000000000 +0200
+++ sus-7.20180621~deb9u1/debian/changelog	2018-07-07 15:01:56.000000000 +0200
@@ -1,3 +1,31 @@
+sus (7.20180621~deb9u1) stretch; urgency=medium
+
+  * Non-maintainer upload.
+  * Rebuild for stretch.
+
+ -- Andreas Beckmann <anbe@debian.org>  Sat, 07 Jul 2018 15:01:56 +0200
+
+sus (7.20180621) unstable; urgency=medium
+
+  * New upstream release: technically identical to SUSv4 + TC1 + TC2;
+    update checksum (Closes: #900882)
+    | Thanks to Jakub Wilk for reporting
+  * urgency=medium since susv4 is no longer installable
+  * Change priority from extra to optional
+    | Thanks to Simon McVittie for reporting
+  * Properly purge old files (Closes: #866872)
+    | Thanks to Andreas Beckmann for reporting
+    | Thanks to Simon McVittie for patch
+  * debian/control:
+    - Update package description
+      | Thanks to Simon McVittie for patch
+    - Bump Standards-Version to 4.1.4 (No changes needed)
+  * debian/susv4.doc-base: Update doc-base description
+    | Thanks to Simon McVittie for patch
+  * Remove unnecessary calls to install-docs
+
+ -- David Weinehall <tao@debian.org>  Thu, 21 Jun 2018 21:29:26 +0300
+
 sus (7.20161013) unstable; urgency=medium
 
   * New upstream release: contains SUSv4 TC2; update checksum
diff -Nru sus-7.20161013/debian/control sus-7.20180621~deb9u1/debian/control
--- sus-7.20161013/debian/control	2016-10-13 13:15:32.000000000 +0200
+++ sus-7.20180621~deb9u1/debian/control	2018-06-21 20:29:26.000000000 +0200
@@ -1,9 +1,9 @@
 Source: sus
 Section: contrib/doc
-Priority: extra
+Priority: optional
 Maintainer: David Weinehall <tao@debian.org>
 Build-Depends-Indep: debhelper (>= 10)
-Standards-Version: 3.9.8
+Standards-Version: 4.1.4
 
 Package: susv2
 Architecture: all
@@ -27,9 +27,10 @@
 Package: susv4
 Architecture: all
 Depends: wget, bzip2, ${misc:Depends}
-Description: Fetch and install SUSv4 (POSIX.1-2008)
+Description: Fetch and install SUSv4 (POSIX.1-2017)
  The Single Unix Specifications are not permitted to be generally
  redistributed, so this is an installer that fetches them and installs
  them in a Debian appropriate way.  This installer will fetch and
- install POSIX:2008 (also known as Single Unix Specification v4) with
- POSIX:2013 Technical Corrigendum 1 and POSIX:2016 Technical Corrigendum 2.
+ install POSIX.1-2017 (variously also known as IEEE Std 1003.1-2017,
+ The Open Group Base Specifications Issue 7, 2018 Edition, or
+ Single Unix Specification v4, 2018 edition).
diff -Nru sus-7.20161013/debian/susv2.lintian-overrides sus-7.20180621~deb9u1/debian/susv2.lintian-overrides
--- sus-7.20161013/debian/susv2.lintian-overrides	2014-09-18 01:17:52.000000000 +0200
+++ sus-7.20180621~deb9u1/debian/susv2.lintian-overrides	2018-06-21 20:29:26.000000000 +0200
@@ -1,3 +1,2 @@
-susv2: postinst-has-useless-call-to-install-docs
 susv2: doc-base-file-references-missing-file susv2:8 /usr/share/doc/susv2/susv2/index.html
 susv2: doc-base-file-references-missing-file susv2:9 /usr/share/doc/susv2/susv2/*.html
diff -Nru sus-7.20161013/debian/susv2.postinst sus-7.20180621~deb9u1/debian/susv2.postinst
--- sus-7.20161013/debian/susv2.postinst	2014-09-18 01:16:02.000000000 +0200
+++ sus-7.20180621~deb9u1/debian/susv2.postinst	2018-06-21 20:29:26.000000000 +0200
@@ -16,13 +16,6 @@
 
 rm -rf $TEMPDIR
 
-# Since the documents don't exist when the install-docs is first run
-# we need to re-run install-docs to ensure that the doc-base files
-# actually gets registered in the database
-if [ -x /usr/sbin/install-docs ]; then
-	install-docs --install /usr/share/doc-base/susv2
-fi
-
 ## Note: Keep debhelper token after so that files exist when they're being
 ## registered.
 
diff -Nru sus-7.20161013/debian/susv3.lintian-overrides sus-7.20180621~deb9u1/debian/susv3.lintian-overrides
--- sus-7.20161013/debian/susv3.lintian-overrides	2014-09-18 01:17:58.000000000 +0200
+++ sus-7.20180621~deb9u1/debian/susv3.lintian-overrides	2018-06-21 20:29:26.000000000 +0200
@@ -1,3 +1,2 @@
-susv3: postinst-has-useless-call-to-install-docs
 susv3: doc-base-file-references-missing-file susv3:8 /usr/share/doc/susv3/susv3/index.html
 susv3: doc-base-file-references-missing-file susv3:9 /usr/share/doc/susv3/susv3/*.html
diff -Nru sus-7.20161013/debian/susv3.postinst sus-7.20180621~deb9u1/debian/susv3.postinst
--- sus-7.20161013/debian/susv3.postinst	2014-09-18 01:16:22.000000000 +0200
+++ sus-7.20180621~deb9u1/debian/susv3.postinst	2018-06-21 20:29:26.000000000 +0200
@@ -16,13 +16,6 @@
 
 rm -rf $TEMPDIR
 
-# Since the documents don't exist when the install-docs is first run
-# we need to re-run install-docs to ensure that the doc-base files
-# actually gets registered in the database
-if [ -x /usr/sbin/install-docs ]; then
-	install-docs --install /usr/share/doc-base/susv3
-fi
-
 ## Note: Keep debhelper token after so that files exist when they're being
 ## registered.
 
diff -Nru sus-7.20161013/debian/susv4.doc-base sus-7.20180621~deb9u1/debian/susv4.doc-base
--- sus-7.20161013/debian/susv4.doc-base	2013-12-15 21:06:31.000000000 +0100
+++ sus-7.20180621~deb9u1/debian/susv4.doc-base	2018-06-21 20:29:26.000000000 +0200
@@ -1,9 +1,9 @@
 Document: susv4
-Title: Single Unix Specification Version 4
+Title: Single Unix Specification Version 4, 2018 edition
 Author: The Open Group
-Abstract: This is the POSIX:2008 standard with POSIX:2013 corrigendum 1
+Abstract: The POSIX.1:2017 standard for UNIX-like operating systems.
 Section: Debian
 
 Format: HTML
-Index: /usr/share/doc/susv4/susv4tc1/index.html
-Files: /usr/share/doc/susv4/susv4tc1/*.html
+Index: /usr/share/doc/susv4/susv4-2018/index.html
+Files: /usr/share/doc/susv4/susv4-2018/*.html
diff -Nru sus-7.20161013/debian/susv4.lintian-overrides sus-7.20180621~deb9u1/debian/susv4.lintian-overrides
--- sus-7.20161013/debian/susv4.lintian-overrides	2014-09-18 01:18:03.000000000 +0200
+++ sus-7.20180621~deb9u1/debian/susv4.lintian-overrides	2018-06-21 20:29:26.000000000 +0200
@@ -1,3 +1,2 @@
-susv4: postinst-has-useless-call-to-install-docs
-susv4: doc-base-file-references-missing-file susv4:8 /usr/share/doc/susv4/susv4tc1/index.html
-susv4: doc-base-file-references-missing-file susv4:9 /usr/share/doc/susv4/susv4tc1/*.html
+susv4: doc-base-file-references-missing-file susv4:8 /usr/share/doc/susv4/susv4-2018/index.html
+susv4: doc-base-file-references-missing-file susv4:9 /usr/share/doc/susv4/susv4-2018/*.html
diff -Nru sus-7.20161013/debian/susv4.postinst sus-7.20180621~deb9u1/debian/susv4.postinst
--- sus-7.20161013/debian/susv4.postinst	2016-10-13 13:15:32.000000000 +0200
+++ sus-7.20180621~deb9u1/debian/susv4.postinst	2018-06-21 20:29:26.000000000 +0200
@@ -5,24 +5,17 @@
 TEMPDIR=$(mktemp -d) || exit 1
 
 echo Fetching file...
-wget -P $TEMPDIR http://pubs.opengroup.org/onlinepubs/9699919799/download/susv4tc2.tar.bz2
+wget -P $TEMPDIR http://pubs.opengroup.org/onlinepubs/9699919799/download/susv4-2018.tar.bz2
 
 echo Verifying SHA512 checksum...
-SHA512SUM="cc86b2b4860b1069cb8712ef7b5a9702510f48d6585b5414ff561f85677974c156d8cc95cf29dfdab360c13ecb884e19e2112fe5c6bc49666417c9a744a816ad"
-[ x"$(sha512sum $TEMPDIR/susv4tc2.tar.bz2 | cut -f1 -d\ )" = x"$SHA512SUM" ] || (rm -rf $TEMPDIR; exit 1)
+SHA512SUM="c356d8b9b311201bef8900add7aab18b822af0e6e1a0c63b141c7c5f5e401bf25f39dcf9976577e934b7bfc939574c965ebefd63fef7a57ad6feb875e237fd7d"
+[ x"$(sha512sum $TEMPDIR/susv4-2018.tar.bz2 | cut -f1 -d\ )" = x"$SHA512SUM" ] || (rm -rf $TEMPDIR; exit 1)
 
 echo Untarring...
-bunzip2 -cd $TEMPDIR/susv4tc2.tar.bz2 | tar xf - -C /usr/share/doc/susv4 --no-same-permissions --no-same-owner
+bunzip2 -cd $TEMPDIR/susv4-2018.tar.bz2 | tar xf - -C /usr/share/doc/susv4 --no-same-permissions --no-same-owner
 
 rm -rf $TEMPDIR
 
-# Since the documents don't exist when the install-docs is first run
-# we need to re-run install-docs to ensure that the doc-base files
-# actually gets registered in the database
-if [ -x /usr/sbin/install-docs ]; then
-	install-docs --install /usr/share/doc-base/susv4
-fi
-
 ## Note: Keep debhelper token after so that files exist when they're being
 ## registered.
 
diff -Nru sus-7.20161013/debian/susv4.prerm sus-7.20180621~deb9u1/debian/susv4.prerm
--- sus-7.20161013/debian/susv4.prerm	2013-12-15 17:51:35.000000000 +0100
+++ sus-7.20180621~deb9u1/debian/susv4.prerm	2018-06-21 20:29:26.000000000 +0200
@@ -9,3 +9,5 @@
 ## bits runs.
 
 rm -rf /usr/share/doc/susv4/susv4tc1
+rm -rf /usr/share/doc/susv4/susv4tc2
+rm -rf /usr/share/doc/susv4/susv4-2018

Reply to: