Skip to contentSkip to conversation

autossh: fix manual set of ssh path

PATCH New Baruch Siach 2 participants 3 messages Jun 14, 2018 – Jun 15, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autossh: fix manual set of ssh path

The configure script that is bundled with autossh does not generate the correct code for the AC_ARG_WITH() macro of --with-ssh. As a result, the configure scripts always check the host location, and fails with ssh is not found.

Restore the autoreconf that has been removed in the last bump to fix the --with-ssh configure option.

Fixes:
http://autobuild.buildroot.net/results/25d/25d681f9df22c07cdf5a6b8756bfc2d5ecf36247/
http://autobuild.buildroot.net/results/f0a/f0ae62d0ed6bac011c507cfea7cd7157671baf39/
http://autobuild.buildroot.net/results/b15/b1546bb3e861c14771bdd03cda9ce2e9176a2069/

---
 package/autossh/autossh.mk | 1 +
 1 file changed, 1 insertion(+)
package/autossh/autossh.mk +1 -0
index 1538a4c8bcfb..9b0df3a34b4a 100644
@@ -9,6 +9,7 @@ AUTOSSH_SITE = http://www.harding.motd.ca/autossh
 AUTOSSH_SOURCE = autossh-$(AUTOSSH_VERSION).tgz
 AUTOSSH_LICENSE = Modified BSD
 AUTOSSH_LICENSE_FILES = autossh.c
+AUTOSSH_AUTORECONF = YES
 
 AUTOSSH_CONF_OPTS = --with-ssh=/usr/bin/ssh
 
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 autossh: fix manual set of ssh path

Hi List,

Quoted 24 lines · Baruch Siach

The configure script that is bundled with autossh does not generate the correct code for the AC_ARG_WITH() macro of --with-ssh. As a result, the configure scripts always check the host location, and fails with ssh is not found.

Restore the autoreconf that has been removed in the last bump to fix the --with-ssh configure option.

Fixes:
http://autobuild.buildroot.net/results/25d/25d681f9df22c07cdf5a6b8756bfc2d5ecf36247/
http://autobuild.buildroot.net/results/f0a/f0ae62d0ed6bac011c507cfea7cd7157671baf39/
http://autobuild.buildroot.net/results/b15/b1546bb3e861c14771bdd03cda9ce2e9176a2069/

---
 package/autossh/autossh.mk | 1 +
 1 file changed, 1 insertion(+)
package/autossh/autossh.mk +0 -0
index 1538a4c8bcfb..9b0df3a34b4a 100644

package/autossh/autossh.mk AUTOSSH_SITE = http://www.harding.motd.ca/autossh · line 11

Quoted 3 lines
package/autossh/autossh.mk +0 -0
@@ -9,6 +9,7 @@ AUTOSSH_SITE = http://www.harding.motd.ca/autossh
 AUTOSSH_SOURCE = autossh-$(AUTOSSH_VERSION).tgz
 AUTOSSH_LICENSE = Modified BSD
 AUTOSSH_LICENSE_FILES = autossh.c

I forgot to add a comment here. Should be something like

# Fix AC_ARG_WITH code generation for --with-ssh

package/autossh/autossh.mk AUTOSSH_SITE = http://www.harding.motd.ca/autossh · line 14

Quoted 3 lines
package/autossh/autossh.mk +1 -0
+AUTOSSH_AUTORECONF = YES
 
 AUTOSSH_CONF_OPTS = --with-ssh=/usr/bin/ssh

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
#2 lore raw

PATCH 1/1 autossh: fix manual set of ssh path

Quoted 34 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

Hi List,

Quoted 24 lines · Baruch Siach

The configure script that is bundled with autossh does not generate the correct code for the AC_ARG_WITH() macro of --with-ssh. As a result, the configure scripts always check the host location, and fails with ssh is not found.

Restore the autoreconf that has been removed in the last bump to fix the --with-ssh configure option.

Fixes:
http://autobuild.buildroot.net/results/25d/25d681f9df22c07cdf5a6b8756bfc2d5ecf36247/
http://autobuild.buildroot.net/results/f0a/f0ae62d0ed6bac011c507cfea7cd7157671baf39/
http://autobuild.buildroot.net/results/b15/b1546bb3e861c14771bdd03cda9ce2e9176a2069/

---
package/autossh/autossh.mk | 1 +

1 file changed, 1 insertion(+)
package/autossh/autossh.mk +0 -0
index 1538a4c8bcfb..9b0df3a34b4a 100644
@@ -9,6 +9,7 @@ AUTOSSH_SITE = http://www.harding.motd.ca/autossh
Quoted 3 lines

AUTOSSH_SOURCE = autossh-$(AUTOSSH_VERSION).tgz
AUTOSSH_LICENSE = Modified BSD
AUTOSSH_LICENSE_FILES = autossh.c

I forgot to add a comment here. Should be something like

Quoted 1 line

# Fix AC_ARG_WITH code generation for --with-ssh

Committed after adding this comment, thanks.

Signature · 1 line
Bye, Peter Korsgaard