diff -Nru hyperspec-1.32/debian/changelog hyperspec-1.33/debian/changelog --- hyperspec-1.32/debian/changelog 2018-04-14 08:36:39.000000000 +0000 +++ hyperspec-1.33/debian/changelog 2021-12-20 15:15:49.000000000 +0000 @@ -1,3 +1,25 @@ +hyperspec (1.33) unstable; urgency=medium + + * Team upload + + [ Debian Janitor ] + * Remove constraints unnecessary since stretch: + + Build-Depends: Drop versioned constraint on debhelper. + * Trim trailing whitespace. + * Bump debhelper dependency to >= 11, since that's what is used in + debian/compat. + * Bump debhelper from old 11 to 13. + * Set debhelper-compat version in Build-Depends. + + [ Sébastien Villemot ] + * Add Rules-Requires-Root: no + * d/control: mark XS-Autobuild: yes + * Bump S-V to 4.6.0 + * postinst: verify checksum of the HyperSpec tarball after download. + Thanks to Aurora. (Closes: #1001931) + + -- Sébastien Villemot Mon, 20 Dec 2021 16:15:49 +0100 + hyperspec (1.32) unstable; urgency=medium * Team upload. @@ -64,20 +86,20 @@ hyperspec (1.30) unstable; urgency=low - * Added es.po. (Closes: 565718) + * Added es.po. (Closes: 565718) -- Peter Van Eynde Sat, 27 Feb 2010 21:06:57 +0100 hyperspec (1.29) unstable; urgency=low - * + * * rename gl file to gl.po. Doh\! (Closes: #512116) -- Peter Van Eynde Tue, 03 Nov 2009 18:05:48 +0100 hyperspec (1.28) unstable; urgency=low - * postinst is not compatible with 'set -e' undo this + * postinst is not compatible with 'set -e' undo this -- Peter Van Eynde Thu, 10 Sep 2009 13:59:47 +0100 @@ -138,7 +160,7 @@ hyperspec (1.21) unstable; urgency=low * Added swedish translation. Closes: #330389 - * Corrected bashism by depending on bash + * Corrected bashism by depending on bash -- Peter Van Eynde Thu, 29 Sep 2005 05:42:32 +0200 @@ -159,7 +181,7 @@ hyperspec (1.18) unstable; urgency=low - * Added French translation. Closes: #299251 + * Added French translation. Closes: #299251 -- Peter Van Eynde Sat, 21 May 2005 16:04:50 +0200 @@ -167,7 +189,7 @@ * Upgraded to version 7.0 of the hyperspec. Closes: #304751 * Added pause after download failure so it is easier to read the failure - message. + message. -- Peter Van Eynde Fri, 15 Apr 2005 11:08:29 +0200 @@ -184,13 +206,13 @@ * Now with debconf. Mostly stolen the code from the ctlt package of Kevin M. Rosenberg. Closes: #297219 * Updated the URL for the source package. - * Updated to new policy standard + * Updated to new policy standard -- Peter Van Eynde Tue, 1 Mar 2005 14:57:01 +0100 hyperspec (1.14) unstable; urgency=low - * Corrected syntax error in key def. + * Corrected syntax error in key def. -- Peter Van Eynde Mon, 23 Sep 2002 18:59:29 +0200 @@ -202,16 +224,16 @@ hyperspec (1.12) unstable; urgency=low - * emacs intregration, thanks to Kevin Rosenberg + * emacs intregration, thanks to Kevin Rosenberg -- Peter Van Eynde Wed, 28 Aug 2002 20:54:39 +0200 hyperspec (1.11) unstable; urgency=low - * Fixed spelling error. + * Fixed spelling error. Closes: #124743 - * Changed .html -> .htm in doc-package. - Closes: #137536 + * Changed .html -> .htm in doc-package. + Closes: #137536 -- Peter Van Eynde Tue, 12 Mar 2002 08:55:39 +0100 @@ -251,7 +273,7 @@ * It is now ANSI. Closes: #99044 * /home/pvaneynd/fakeroot/work/memoization-1.0/ - * Rebuild for dpkg-dev problems. + * Rebuild for dpkg-dev problems. -- Peter Van Eynde Tue, 3 Jul 2001 08:11:54 +0200 @@ -272,13 +294,13 @@ hyperspec (1.3) unstable; urgency=low * Typo fix in postinst. Don't fail if /root/tmp exists. Fixed input handling. - Closes: #94866. + Closes: #94866. -- Peter Van Eynde Sun, 4 Feb 2001 23:55:16 +0100 hyperspec (1.2) unstable; urgency=low - * Avoid removing the hyperspec on upgrade and + * Avoid removing the hyperspec on upgrade and unpacking it again on installation. -- Peter Van Eynde Wed, 24 Jan 2001 08:24:46 +0100 @@ -294,5 +316,3 @@ * Initial Release. -- Peter Van Eynde Sat, 20 Jan 2001 22:47:38 +0100 - - diff -Nru hyperspec-1.32/debian/compat hyperspec-1.33/debian/compat --- hyperspec-1.32/debian/compat 2017-12-29 11:21:35.000000000 +0000 +++ hyperspec-1.33/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -11 diff -Nru hyperspec-1.32/debian/control hyperspec-1.33/debian/control --- hyperspec-1.32/debian/control 2018-04-14 08:33:22.000000000 +0000 +++ hyperspec-1.33/debian/control 2021-12-20 15:07:14.000000000 +0000 @@ -2,13 +2,13 @@ Maintainer: Debian Common Lisp Team Uploaders: Peter Van Eynde Section: contrib/doc -XS-Autobuild: no +XS-Autobuild: yes Priority: optional -Build-Depends: debhelper (>= 11), - po-debconf -Standards-Version: 4.1.4 +Build-Depends: debhelper-compat (= 13), po-debconf +Standards-Version: 4.6.0 Vcs-Browser: https://salsa.debian.org/common-lisp-team/hyperspec Vcs-Git: https://salsa.debian.org/common-lisp-team/hyperspec.git +Rules-Requires-Root: no Package: hyperspec Architecture: all @@ -17,6 +17,6 @@ Description: Common Lisp ANSI-standard Hyperspec This is a installer package for the html-ed version of the ANSI standard for Common Lisp. Note that these pages are only FYI and are not valid - as a reference. + as a reference. But for all intents and purposes this is a good enough reference for daily work. diff -Nru hyperspec-1.32/debian/postinst hyperspec-1.33/debian/postinst --- hyperspec-1.32/debian/postinst 2018-04-14 08:34:36.000000000 +0000 +++ hyperspec-1.33/debian/postinst 2021-12-20 15:15:49.000000000 +0000 @@ -24,6 +24,7 @@ # installation fails and the `postinst' is called with `abort-upgrade', # `abort-remove' or `abort-deconfigure'. +CURRENT_HASH="1ac1666a9dc697dbd8881262cad4371bcd2e9843108b643e2ea93472ba85d7c3" FILE=/root/tmp/HyperSpec-7-0.tar.gz OLD_INDEX=/usr/share/doc/hyperspec/FrontMatter/index.html NEW_INDEX=/usr/share/doc/hyperspec/Front/index.htm @@ -81,7 +82,16 @@ echo "Downloading the hyperspec from the Internet" 1>&2 mkdir -p /root/tmp && \ wget --directory-prefix=/root/tmp --passive \ - ftp://ftp.lispworks.com/pub/software_tools/reference/HyperSpec-7-0.tar.gz + ftp://ftp.lispworks.com/pub/software_tools/reference/"${FILE##*/}" + HASH=$(sha256sum "$FILE") + HASH=${HASH%% *} + if [ "$HASH" != "$CURRENT_HASH" ]; then + echo "Invalid file hash for ${FILE##*/}" 1>&2 + echo "Received hash: $HASH" 1>&2 + echo "Expected hash: $CURRENT_HASH" 1>&2 + rm -f "$FILE" + return 1 + fi } download_hyperspec()