[Pkg-javascript-devel] Bug#891649: stretch-pu: package uglifyjs/2.7.5-2+deb9u1

Adrian Bunk bunk at debian.org
Tue Feb 27 16:58:48 UTC 2018


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

   * Add fix from Bastien Roucariès to give manpage --help output
     contents, thanks to Ben Finney. (Closes: #847642)
-------------- next part --------------
diff -Nru uglifyjs-2.7.5/debian/changelog uglifyjs-2.7.5/debian/changelog
--- uglifyjs-2.7.5/debian/changelog	2017-02-08 13:15:28.000000000 +0200
+++ uglifyjs-2.7.5/debian/changelog	2018-02-27 18:49:24.000000000 +0200
@@ -1,3 +1,11 @@
+uglifyjs (2.7.5-2+deb9u1) stretch; urgency=medium
+
+  * Non-maintainer upload.
+  * Add fix from Bastien Roucariès to give manpage --help output
+    contents, thanks to Ben Finney. (Closes: #847642)
+
+ -- Adrian Bunk <bunk at debian.org>  Tue, 27 Feb 2018 18:49:24 +0200
+
 uglifyjs (2.7.5-2) unstable; urgency=medium
 
   [ Jonas Smedegaard ]
diff -Nru uglifyjs-2.7.5/debian/patches/1003_fix_manpage_help_output.patch uglifyjs-2.7.5/debian/patches/1003_fix_manpage_help_output.patch
--- uglifyjs-2.7.5/debian/patches/1003_fix_manpage_help_output.patch	1970-01-01 02:00:00.000000000 +0200
+++ uglifyjs-2.7.5/debian/patches/1003_fix_manpage_help_output.patch	2018-02-27 00:13:34.000000000 +0200
@@ -0,0 +1,18 @@
+Description: Fix render help output
+Forwarded: no
+Author: Bastien Roucariès <rouca at debian.org>
+Bug-Debian: https://bugs.debian.org/847642
+Last-Update: 2017-08-18
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/bin/uglifyjs
++++ b/bin/uglifyjs
+@@ -161,7 +161,7 @@
+ }
+ 
+ if (ARGS.h || ARGS.help) {
+-    print(yargs.help());
++    print(yargs.help().argv);
+     process.exit(0);
+ }
+ 
diff -Nru uglifyjs-2.7.5/debian/patches/series uglifyjs-2.7.5/debian/patches/series
--- uglifyjs-2.7.5/debian/patches/series	2017-02-08 12:15:03.000000000 +0200
+++ uglifyjs-2.7.5/debian/patches/series	2018-02-27 00:14:53.000000000 +0200
@@ -1,3 +1,4 @@
 1001_break_dep_loop.patch
 1002_avoid_timeout_in_tests.patch
+1003_fix_manpage_help_output.patch
 2002_node_conflict.patch
diff -Nru uglifyjs-2.7.5/debian/rules uglifyjs-2.7.5/debian/rules
--- uglifyjs-2.7.5/debian/rules	2016-12-09 13:42:49.000000000 +0200
+++ uglifyjs-2.7.5/debian/rules	2018-02-27 00:18:07.000000000 +0200
@@ -49,7 +49,10 @@
 DEB_INSTALL_MANPAGES_$(pkg) = debian/uglifyjs.1
 common-build-indep:: debian/stamp-build
 debian/stamp-build:
-	NODE_PATH=lib help2man --no-info bin/uglifyjs > debian/uglifyjs.1
+	NODE_PATH=lib help2man --no-info bin/uglifyjs | sed \
+	    -e 's/[[:space:]]*\[string\]$$/ This parameter is a string./g' \
+	    -e 's/[[:space:]]*\[boolean\]$$/ This parameter is a boolean./g' \
+	    -e 's/[[:space:]]*\[array\]$$/ This parameter is an array./g'> debian/uglifyjs.1
 	$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),\
 		,\
 		NODE_PATH=lib nodejs test/run-tests.js \


More information about the Pkg-javascript-devel mailing list