Bug#952298: sshcommand: diff for NMU version 0~20160110.1~2795f65-1.1

2021-05-03 Thread Alessio Treglia
Hi,

Please just go ahead.

Thanks.

-- 
Alessio Treglia  | www.alessiotreglia.com
Debian Developer | ales...@debian.org
Ubuntu Core Developer|  quadris...@ubuntu.com
0416 0004 A827 6E40 BB98 90FB E8A4 8AE5 311D 765A



Bug#952298: sshcommand: diff for NMU version 0~20160110.1~2795f65-1.1

2021-05-02 Thread Chris Hofstaedtler
Hi,

* Fabio Augusto De Muzio Tobich  [210502 17:17]:
> Sorry, forgot to say that I intend to do this NMU in 5 days in DELAYED/10.

Might make sense to just go ahead.

Chris



Bug#952298: sshcommand: diff for NMU version 0~20160110.1~2795f65-1.1

2021-05-02 Thread Fabio Augusto De Muzio Tobich

Sorry, forgot to say that I intend to do this NMU in 5 days in DELAYED/10.

Em 02/05/2021 09:56, Fabio A. De Muzio Tobich escreveu:

Dear maintainer,

I've prepared an NMU for sshcommand (versioned as 0~20160110.1~2795f65-1.1) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer.

Regards.



--
⢀⣴⠾⠻⢶⣦⠀ Fabio A. De Muzio Tobich
⣾⠁⢰⠒⠀⣿⡁ 9730 4066 E5AE FAC2 2683
⢿⡄⠘⠷⠚⠋⠀ D03D 4FB3 B4D3 7EF6 3B2E
⠈⠳⣄  GPG:rsa4096/7EF63B2E



Bug#952298: sshcommand: diff for NMU version 0~20160110.1~2795f65-1.1

2021-05-02 Thread Fabio A. De Muzio Tobich
Control: tags 952298 + pending

Dear maintainer,

I've prepared an NMU for sshcommand (versioned as 0~20160110.1~2795f65-1.1) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
⢀⣴⠾⠻⢶⣦⠀ Fabio A. De Muzio Tobich
⣾⠁⢰⠒⠀⣿⡁ 9730 4066 E5AE FAC2 2683
⢿⡄⠘⠷⠚⠋⠀ D03D 4FB3 B4D3 7EF6 3B2E
⠈⠳⣄  GPG:rsa4096/7EF63B2E
diff -Nru sshcommand-0~20160110.1~2795f65/debian/changelog sshcommand-0~20160110.1~2795f65/debian/changelog
--- sshcommand-0~20160110.1~2795f65/debian/changelog2016-01-10 12:01:48.0 -0200
+++ sshcommand-0~20160110.1~2795f65/debian/changelog2021-04-27 21:27:39.0 -0300
@@ -1,3 +1,16 @@
+sshcommand (0~20160110.1~2795f65-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Using new DH level format. Consequently:
+  - debian/control: Added 'debhelper-compat' in Build-Depends field and
+bumped level to 13.
+  * debian/control: bumped Standards-Version to 4.5.1.
+  * debian/pathes/010_FTBFS-shellcheck-fails.patch: added to fix FTBFS.
+(Closes: #952298)
+  * debian/watch: updated with remote repository information.
+
+ -- Fabio Augusto De Muzio Tobich   Tue, 27 Apr 2021 21:27:39 -0300
+
 sshcommand (0~20160110.1~2795f65-1) unstable; urgency=medium

   * Imported Upstream version 0~20160110.1~2795f65
diff -Nru sshcommand-0~20160110.1~2795f65/debian/compat sshcommand-0~20160110.1~2795f65/debian/compat
--- sshcommand-0~20160110.1~2795f65/debian/compat   2016-01-10 09:54:19.0 -0200
+++ sshcommand-0~20160110.1~2795f65/debian/compat   1969-12-31 21:00:00.0 -0300
@@ -1 +0,0 @@
-7
diff -Nru sshcommand-0~20160110.1~2795f65/debian/control sshcommand-0~20160110.1~2795f65/debian/control
--- sshcommand-0~20160110.1~2795f65/debian/control  2016-01-10 12:00:44.0 -0200
+++ sshcommand-0~20160110.1~2795f65/debian/control  2021-04-27 21:27:39.0 -0300
@@ -2,12 +2,11 @@
 Section: admin
 Priority: optional
 Maintainer: Alessio Treglia 
-Build-Depends:
- debhelper (>= 9~)
+Build-Depends: debhelper-compat (= 13)
 Build-Depends-Indep:
  git,
  shellcheck
-Standards-Version: 3.9.6
+Standards-Version: 4.5.1
 Homepage: https://github.com/dokku/sshcommand
 Vcs-Git: git://anonscm.debian.org/collab-maint/sshcommand.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/sshcommand.git
diff -Nru sshcommand-0~20160110.1~2795f65/debian/patches/010_FTBFS-shellcheck-fails.patch sshcommand-0~20160110.1~2795f65/debian/patches/010_FTBFS-shellcheck-fails.patch
--- sshcommand-0~20160110.1~2795f65/debian/patches/010_FTBFS-shellcheck-fails.patch 1969-12-31 21:00:00.0 -0300
+++ sshcommand-0~20160110.1~2795f65/debian/patches/010_FTBFS-shellcheck-fails.patch 2021-04-27 21:27:39.0 -0300
@@ -0,0 +1,44 @@
+Description: fix FTBFS: shellcheck fails
+Author: Fabio Augusto De Muzio Tobich 
+Bug-Debian: https://bugs.debian.org/952298
+Forwarded: not-needed
+Last-Update: 2021-04-28
+
+--- sshcommand-0~20160110.1~2795f65.orig/sshcommand
 sshcommand-0~20160110.1~2795f65/sshcommand
+@@ -32,7 +32,7 @@ case "$1" in
+   create) # sshcommand create  
+ if [[ $# -ne 3 ]]; then
+   echo "Usage : sshcommand create user command"
+-  exit -1
++  exit 1
+ fi
+ USER="$2"; COMMAND="$3"
+
+@@ -52,7 +52,7 @@ case "$1" in
+   acl-add) # sshcommand acl-add  
+ if [[ $# -ne 3 ]]; then
+   echo "Usage : sshcommand acl-add user identifier"
+-  exit -1
++  exit 1
+ fi
+ USER="$2"; NAME="$3"
+
+@@ -68,7 +68,7 @@ case "$1" in
+
+ if [[ ! "$FINGERPRINT" =~ :.* ]]; then
+   echo "Invalid ssh public key"
+-  exit -1
++  exit 1
+ fi
+ KEY_PREFIX="command=\"FINGERPRINT=$FINGERPRINT NAME=\\\"$NAME\\\" \`cat $USERHOME/.sshcommand\`
+\$SSH_ORIGINAL_COMMAND\",no-agent-forwarding,no-user-rc,no-X11-forwarding,no-port-forwarding"
+ echo "$KEY_PREFIX $KEY" >> "$USERHOME/.ssh/authorized_keys"
+@@ -78,7 +78,7 @@ case "$1" in
+   acl-remove) # sshcommand acl-remove  
+ if [[ $# -ne 3 ]]; then
+   echo "Usage : sshcommand acl-remove user identifier"
+-  exit -1
++  exit 1
+ fi
+ USER="$2"; NAME="$3"
+
diff -Nru sshcommand-0~20160110.1~2795f65/debian/patches/series sshcommand-0~20160110.1~2795f65/debian/patches/series
--- sshcommand-0~20160110.1~2795f65/debian/patches/series   1969-12-31 21:00:00.0 -0300
+++ sshcommand-0~20160110.1~2795f65/debian/patches/series   2021-04-27 21:27:39.0 -0300
@@ -0,0 +1 @@
+010_FTBFS-shellcheck-fails.patch
diff -Nru sshcommand-0~20160110.1~2795f65/debian/watch sshcommand-0~20160110.1~2795f65/debian/watch
--- sshcommand-0~20160110.1~2795f65/debian/watch2016-01-10 09:54:19.0 -0200
+++ sshcommand-0~20160110.1~2795f65/debian/watch2021-04-27 21:27:39.0 -0300
@@ -1 +1,3 @@
-# Placeholder
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/sshcommand-$1\.tar\.gz/ \
+  https://github.com/dokku/sshcommand/tags .*/v?(\d\S+)\.tar\.gz