Package: shc
Version: 3.9.6-1
Severity: normal
Tags: patch  pending

Dear maintainer,

I've prepared a full NMU for shc (versioned as 4.0.3-0.1) and
uploaded it to DELAYED/15. Please feel free to tell me if I
should drop the new package.

I like shc and the intent is keep it updated. I also updated
Salsa, loading all previous revisions and using debian/master
instead of master, as described in DEP-14.

You will can see the package here[1] and get it via dget here[2].

[1] https://ftp-master.debian.org/deferred.html
[2] https://ftp-master.debian.org/deferred

Best regards,

Eriberto


diff -Nru shc-3.9.6/debian/changelog shc-4.0.3/debian/changelog
--- shc-3.9.6/debian/changelog  2018-07-08 16:11:21.000000000 -0300
+++ shc-4.0.3/debian/changelog  2019-10-17 13:47:33.000000000 -0300
@@ -1,3 +1,35 @@
+shc (4.0.3-0.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * New upstream version 4.0.3
+  * Using new DH level format. Consequently:
+      - debian/compat: removed.
+      - debian/control: changed from 'debhelper' to 'debhelper-compat' in
+        Build-Depends field and bumped level to 12.
+  * debian/control:
+      - Added 'Rules-Requires-Root: no' to debian/control source stanza.
+      - Bumped Standards-Version to 4.4.1.
+      - Updated upstream address in Homepage field.
+      - Updated VCS fields to use Salsa.
+  * debian/copyright:
+      - Added a comment in header to quote the original upstream homepage.
+      - Added rights for all upstreams.
+      - Added Upstream-Contact field.
+      - Fixed rights for packagers.
+  * debian/rules:
+      - Created override_dh_auto_test target to avoid a FTBFS because the
+        upstream test procedure fail.
+      - Enabled DEB_BUILD_MAINT_OPTIONS variable to provide a full hardening to
+        final binary.
+      - Removed all trash.
+  * debian/tests/*: created to provide some trivial CI tests.
+  * debian/upstream/signing-key.asc: removed because the upstream didn't sign
+    the tarballs since 3.9.6 version. Currently, it can result in a rejection
+    when uploading the package.
+  * debian/watch: remade to look at releases instead of tags.
+
+ -- Joao Eriberto Mota Filho <eribe...@debian.org>  Thu, 17 Oct 2019 13:47:33 
-0300
+
 shc (3.9.6-1) unstable; urgency=medium
 
   * Fix for infinite loop (Closes: #861180)
diff -Nru shc-3.9.6/debian/compat shc-4.0.3/debian/compat
--- shc-3.9.6/debian/compat     2018-07-08 16:11:21.000000000 -0300
+++ shc-4.0.3/debian/compat     1969-12-31 21:00:00.000000000 -0300
@@ -1 +0,0 @@
-11
diff -Nru shc-3.9.6/debian/control shc-4.0.3/debian/control
--- shc-3.9.6/debian/control    2018-07-08 16:11:21.000000000 -0300
+++ shc-4.0.3/debian/control    2019-10-17 13:47:33.000000000 -0300
@@ -2,11 +2,12 @@
 Section: devel
 Priority: optional
 Maintainer: Tong Sun <suntong...@users.sourceforge.net>
-Build-Depends: debhelper (>= 11)
-Standards-Version: 4.1.5
-Homepage: http://neurobin.github.io/shc
-Vcs-Git: https://github.com/neurobin/shc.git
-Vcs-Browser: https://github.com/neurobin/shc.git
+Build-Depends: debhelper-compat (= 12)
+Standards-Version: 4.4.1
+Rules-Requires-Root: no
+Homepage: https://neurobin.org/projects/softwares/unix/shc/
+Vcs-Browser: https://salsa.debian.org/debian/shc
+Vcs-Git: https://salsa.debian.org/debian/shc.git
 
 Package: shc
 Architecture: any
diff -Nru shc-3.9.6/debian/copyright shc-4.0.3/debian/copyright
--- shc-3.9.6/debian/copyright  2018-07-08 16:11:21.000000000 -0300
+++ shc-4.0.3/debian/copyright  2019-10-17 13:47:33.000000000 -0300
@@ -1,15 +1,19 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: shc
+Upstream-Contact: https://github.com/neurobin/shc/issues
 Source: https://github.com/neurobin/shc
+Comment: The original repository (from initial upstream) is
+         https://www.datsi.fi.upm.es/~frosal/sources/
 
 Files: *
-Copyright: 2017 Md Jahidul Hamid <jahidulha...@yahoo.com>
+Copyright: 1994-2015 Francisco Javier Rosales García <fro...@fi.upm.es>
+           2015-2019 Md Jahidul Hamid <jahidulha...@yahoo.com>
+           2018-2019 Intika <int...@librefox.org>
 License: GPL-3+
 
 Files: debian/*
-Copyright:
- Copyright 2018 Tong Sun <suntong...@users.sourceforge.net>
- Copyright 2017 Md Jahidul Hamid <jahidulha...@yahoo.com>
+Copyright: 2014-2018 Tong Sun <suntong...@users.sourceforge.net>
+           2019      Joao Eriberto Mota Filho <eribe...@debian.org>
 License: GPL-3+
 
 License: GPL-3+
diff -Nru shc-3.9.6/debian/rules shc-4.0.3/debian/rules
--- shc-3.9.6/debian/rules      2018-07-08 16:11:21.000000000 -0300
+++ shc-4.0.3/debian/rules      2019-10-17 13:47:33.000000000 -0300
@@ -1,17 +1,9 @@
 #!/usr/bin/make -f
-# See debhelper(7) (uncomment to enable)
-# output every command that modifies files on the build system.
 #export DH_VERBOSE = 1
 
-# see FEATURE AREAS in dpkg-buildflags(1)
-#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-
-# see ENVIRONMENT in dpkg-buildflags(1)
-# package maintainers to append CFLAGS
-#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
-# package maintainers to append LDFLAGS
-#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
        dh $@
+
+override_dh_auto_test:
diff -Nru shc-3.9.6/debian/tests/control shc-4.0.3/debian/tests/control
--- shc-3.9.6/debian/tests/control      1969-12-31 21:00:00.000000000 -0300
+++ shc-4.0.3/debian/tests/control      2019-10-17 13:47:33.000000000 -0300
@@ -0,0 +1,10 @@
+Test-Command: shc -A
+Restrictions: allow-stderr
+
+Test-Command: shc -C
+Restrictions: allow-stderr
+
+Test-Command: shc -h
+Restrictions: allow-stderr
+
+Tests: fire.sh
diff -Nru shc-3.9.6/debian/tests/fire.sh shc-4.0.3/debian/tests/fire.sh
--- shc-3.9.6/debian/tests/fire.sh      1969-12-31 21:00:00.000000000 -0300
+++ shc-4.0.3/debian/tests/fire.sh      2019-10-17 13:47:33.000000000 -0300
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+TDIR=debian/tests
+
+cp $TDIR/script.sh $AUTOPKGTEST_TMP
+cd $AUTOPKGTEST_TMP
+shc -rUf script.sh
+[ -e script.sh ] && ./script.sh.x | grep x5fgtH7 || exit 1
diff -Nru shc-3.9.6/debian/tests/script.sh shc-4.0.3/debian/tests/script.sh
--- shc-3.9.6/debian/tests/script.sh    1969-12-31 21:00:00.000000000 -0300
+++ shc-4.0.3/debian/tests/script.sh    2019-10-17 13:47:33.000000000 -0300
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+echo It is a test x5fgtH7
+exit 0
diff -Nru shc-3.9.6/debian/upstream/signing-key.asc 
shc-4.0.3/debian/upstream/signing-key.asc
--- shc-3.9.6/debian/upstream/signing-key.asc   2018-07-08 16:11:21.000000000 
-0300
+++ shc-4.0.3/debian/upstream/signing-key.asc   1969-12-31 21:00:00.000000000 
-0300
@@ -1,75 +0,0 @@
------BEGIN PGP PUBLIC KEY BLOCK-----
-Version: GnuPG v1
-
-mQINBFiNDmcBEADcNhftA7nyUTWsYGxTrMRK9mzSyXyFKmomUjo/sGul+lc4Ymnj
-Kkq3yXuWmizZO2TkE2EX8K6WUlhwgswWXyXrI39pF2StgU0duk/YVwkL3sL4HGQl
-IxAv80QADCBhCbYblUj+9l/too94Yb76oflyLYlfxSmyA+Kc3eH9aQ52n4QjiNO9
-+pZsGKJ6/N5riXnf5s3CgOrX9q2z5pH7n3GoZxhy286EcURB0F61+HxfkxmcgKQ+
-tdhxRFoysWPrjQb3TVpzQ2ZFJJkX+ukQw+AXe8uST2dtZEc2qizdVGPKP7TZOiy9
-XKXyL2KxNlYEHRT6VuON8BAZ4WJnBKNBmM5w2UAksZTr9msYOK8hu4wlSp7hTba9
-3GgGh7og9pXtBFzKZtgW2jkBSomHjlX6WGNAykR1M551cEiY3lzhSIMVgUCFOXSF
-WYLZ5di0Yu1KYzaogxFF3IKUebg3hSDpqEFR72n45k0zqh6DpoBhq5rkOw767ofu
-HTEbGhR4tPBunyFalfZzhGZQBs7WlgMY6iLz5Nks5nNVNTAPh9vNbZ/FC1zLQ+ts
-8DYUulpCgtA3Q7JGq9cU63NVyp2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EgAAKCRCkospba9qocaeDD/9iDgTA56qmeXLCuB1Gadd/qwwt05q72egZ
-F6cwRJX/V/DRCuxzLFuzJ9yjlV+smmqdZj/Hk8vO4zaxzN6mVamyKFJTP4Xdxvor
-ulivQhZxyfJtH/5PGPZQPFkoQcrrcL5ujjYUKViTEdkzJlGDEnm0+eZmS0DmUiw/
-/sQa/wqszvK43zDVaA4jmYJqINy/3Bmts6Tst+PC7EKTur53ZyWMQhTjhc9iNiDY
-vidl9VlsQpV8QPQuI2CmQ+iiuVbOuqAntO2biXD3P79xb4W2mJznO2g0SL/BU0n3
-DVs4IoQaYefKfbe2Yxk3isFo1SUxum7MabUQuYtYSdmvw86kLzo+YIHunW8+8t0w
-dwQ+vePcSbVQpaNfyI376pnd/4doQd5ay4qgvB4HhCFHZM72+PlN10KCjf8Qnn4U
-guIzKN1rU1N9pWc2a2xflxw3FLvz3k3gTcSB5wbHukHp754vBc5JEU4kyTdxBJJF
-+IITS1QZOz32XfdvMTq3ZgK4L1vZl/ji6YyItjmH9CNItwNqOONzQ9GrczJ9sEaX
-ouXGS/hhCrpIbLLlm4eVEyxzui8UwDgrBoplNbWVwD5qbcJwmON7anvMMyxRewhs
-v9SM9XTJ026xP27/GVRsaqOYonFRNapMY0+At2KFYrygAcNcItFI9UIYF+h58O6V
-mupr2aYLJw==
-=v56J
------END PGP PUBLIC KEY BLOCK-----
diff -Nru shc-3.9.6/debian/watch shc-4.0.3/debian/watch
--- shc-3.9.6/debian/watch      2018-07-08 16:11:21.000000000 -0300
+++ shc-4.0.3/debian/watch      2019-10-17 13:47:33.000000000 -0300
@@ -1,6 +1,2 @@
 version=4
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/shc-$1.tar.gz/,\
-pgpsigurlmangle=s/archive.*\//releases\/download\//;\
-s/v?(\d\S*)\.tar\.gz/$1\/shc-$1.tar.gz/;\
-s/$/.asc/ \
-  https://github.com/neurobin/shc/tags .*/v?(\d\S*)\.tar\.gz
+https://github.com/neurobin/shc/releases 
.*/archive/(?:shc-|v)?(\d\S+)\.tar\.(?:bz2|gz|xz)

Reply via email to