* [ptxdist] [PATCH] autossh: new package
@ 2014-06-27 21:15 jon
2014-06-30 9:00 ` Michael Olbrich
0 siblings, 1 reply; 6+ messages in thread
From: jon @ 2014-06-27 21:15 UTC (permalink / raw)
To: ptxdist; +Cc: Jon Ringle
From: Jon Ringle <jringle@gridpoint.com>
autossh will automatically restart SSH sessions and tunnels
http://www.harding.motd.ca/autossh/
Signed-off-by: Jon Ringle <jringle@gridpoint.com>
---
...l-rule-friendly-towards-packaging-with-DE.patch | 47 +++++++++++++++++++
patches/autossh-1.4c/series | 4 ++
rules/autossh.in | 7 +++
rules/autossh.make | 53 ++++++++++++++++++++++
4 files changed, 111 insertions(+)
create mode 100644 patches/autossh-1.4c/0001-Make-install-rule-friendly-towards-packaging-with-DE.patch
create mode 100644 patches/autossh-1.4c/series
create mode 100644 rules/autossh.in
create mode 100644 rules/autossh.make
diff --git a/patches/autossh-1.4c/0001-Make-install-rule-friendly-towards-packaging-with-DE.patch b/patches/autossh-1.4c/0001-Make-install-rule-friendly-towards-packaging-with-DE.patch
new file mode 100644
index 0000000..96fca56
--- /dev/null
+++ b/patches/autossh-1.4c/0001-Make-install-rule-friendly-towards-packaging-with-DE.patch
@@ -0,0 +1,47 @@
+From: Jon Ringle <jringle@gridpoint.com>
+Date: Fri, 27 Jun 2014 16:39:41 -0400
+Subject: [PATCH] Make install rule friendly towards packaging with $DESTDIR
+
+Signed-off-by: Jon Ringle <jringle@gridpoint.com>
+---
+ Makefile.in | 30 +++++++++++++++---------------
+ 1 file changed, 15 insertions(+), 15 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index fb7cc1d..a8e7a7e 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -45,18 +45,18 @@ distclean: allclean
+ - /bin/rm -f Makefile
+
+ install: $(TARGET)
+- mkdir -p -m 755 $(bindir)
+- mkdir -p -m 755 $(prefix)/share/doc/autossh
+- mkdir -p -m 755 $(datadir)/examples/autossh
+- mkdir -p -m 755 $(mandir)/man1
+- cp $(TARGET) $(bindir)
+- cp CHANGES README $(datadir)/doc/autossh
+- cp autossh.host $(datadir)/examples/autossh
+- cp rscreen $(datadir)/examples/autossh
+- cp autossh.1 $(mandir)/man1
+- chmod 755 $(bindir)/$(TARGET)
+- chmod 644 $(datadir)/doc/autossh/CHANGES
+- chmod 644 $(datadir)/doc/autossh/README
+- chmod 644 $(datadir)/examples/autossh/autossh.host
+- chmod 644 $(datadir)/examples/autossh/rscreen
+- chmod 644 $(mandir)/man1/autossh.1
++ mkdir -p -m 755 $(DESTDIR)$(bindir)
++ mkdir -p -m 755 $(DESTDIR)$(prefix)/share/doc/autossh
++ mkdir -p -m 755 $(DESTDIR)$(datadir)/examples/autossh
++ mkdir -p -m 755 $(DESTDIR)$(mandir)/man1
++ cp $(TARGET) $(DESTDIR)$(bindir)
++ cp CHANGES README $(DESTDIR)$(datadir)/doc/autossh
++ cp autossh.host $(DESTDIR)$(datadir)/examples/autossh
++ cp rscreen $(DESTDIR)$(datadir)/examples/autossh
++ cp autossh.1 $(DESTDIR)$(mandir)/man1
++ chmod 755 $(DESTDIR)$(bindir)/$(TARGET)
++ chmod 644 $(DESTDIR)$(datadir)/doc/autossh/CHANGES
++ chmod 644 $(DESTDIR)$(datadir)/doc/autossh/README
++ chmod 644 $(DESTDIR)$(datadir)/examples/autossh/autossh.host
++ chmod 644 $(DESTDIR)$(datadir)/examples/autossh/rscreen
++ chmod 644 $(DESTDIR)$(mandir)/man1/autossh.1
diff --git a/patches/autossh-1.4c/series b/patches/autossh-1.4c/series
new file mode 100644
index 0000000..29f971c
--- /dev/null
+++ b/patches/autossh-1.4c/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-Make-install-rule-friendly-towards-packaging-with-DE.patch
+# ecdd87ec5c25c56d421024daf8acf722 - git-ptx-patches magic
diff --git a/rules/autossh.in b/rules/autossh.in
new file mode 100644
index 0000000..71ebf91
--- /dev/null
+++ b/rules/autossh.in
@@ -0,0 +1,7 @@
+## SECTION=networking
+
+config AUTOSSH
+ tristate
+ prompt "autossh"
+ help
+ Automatically restart SSH sessions and tunnels
diff --git a/rules/autossh.make b/rules/autossh.make
new file mode 100644
index 0000000..38c64d3
--- /dev/null
+++ b/rules/autossh.make
@@ -0,0 +1,53 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Jon Ringle <jringle@gridpoint.com>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_AUTOSSH) += autossh
+
+#
+# Paths and names
+#
+AUTOSSH_VERSION := 1.4c
+AUTOSSH_MD5 := 26520eea934f296be0783dabe7fcfd28
+AUTOSSH := autossh-$(AUTOSSH_VERSION)
+AUTOSSH_SUFFIX := tgz
+AUTOSSH_URL := http://www.harding.motd.ca/autossh/$(AUTOSSH).$(AUTOSSH_SUFFIX)
+AUTOSSH_SOURCE := $(SRCDIR)/$(AUTOSSH).$(AUTOSSH_SUFFIX)
+AUTOSSH_DIR := $(BUILDDIR)/$(AUTOSSH)
+AUTOSSH_LICENSE := unknown
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+AUTOSSH_CONF_TOOL := autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/autossh.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, autossh)
+ @$(call install_fixup, autossh,PRIORITY,optional)
+ @$(call install_fixup, autossh,SECTION,base)
+ @$(call install_fixup, autossh,AUTHOR,"Jon Ringle <jringle@gridpoint.com>")
+ @$(call install_fixup, autossh,DESCRIPTION,missing)
+
+ @$(call install_copy, autossh, 0, 0, 0755, -, /usr/bin/autossh)
+
+ @$(call install_finish, autossh)
+
+ @$(call touch)
+
+# vim: syntax=make
--
1.8.5.4
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] [PATCH] autossh: new package
2014-06-27 21:15 [ptxdist] [PATCH] autossh: new package jon
@ 2014-06-30 9:00 ` Michael Olbrich
2014-06-30 18:15 ` Jon Ringle
0 siblings, 1 reply; 6+ messages in thread
From: Michael Olbrich @ 2014-06-30 9:00 UTC (permalink / raw)
To: ptxdist
On Fri, Jun 27, 2014 at 05:15:40PM -0400, jon@ringle.org wrote:
> From: Jon Ringle <jringle@gridpoint.com>
>
> autossh will automatically restart SSH sessions and tunnels
>
> http://www.harding.motd.ca/autossh/
>
> Signed-off-by: Jon Ringle <jringle@gridpoint.com>
> ---
> ...l-rule-friendly-towards-packaging-with-DE.patch | 47 +++++++++++++++++++
> patches/autossh-1.4c/series | 4 ++
> rules/autossh.in | 7 +++
> rules/autossh.make | 53 ++++++++++++++++++++++
> 4 files changed, 111 insertions(+)
> create mode 100644 patches/autossh-1.4c/0001-Make-install-rule-friendly-towards-packaging-with-DE.patch
> create mode 100644 patches/autossh-1.4c/series
> create mode 100644 rules/autossh.in
> create mode 100644 rules/autossh.make
>
> diff --git a/patches/autossh-1.4c/0001-Make-install-rule-friendly-towards-packaging-with-DE.patch b/patches/autossh-1.4c/0001-Make-install-rule-friendly-towards-packaging-with-DE.patch
> new file mode 100644
> index 0000000..96fca56
> --- /dev/null
> +++ b/patches/autossh-1.4c/0001-Make-install-rule-friendly-towards-packaging-with-DE.patch
> @@ -0,0 +1,47 @@
> +From: Jon Ringle <jringle@gridpoint.com>
> +Date: Fri, 27 Jun 2014 16:39:41 -0400
> +Subject: [PATCH] Make install rule friendly towards packaging with $DESTDIR
> +
> +Signed-off-by: Jon Ringle <jringle@gridpoint.com>
> +---
> + Makefile.in | 30 +++++++++++++++---------------
> + 1 file changed, 15 insertions(+), 15 deletions(-)
> +
> +diff --git a/Makefile.in b/Makefile.in
> +index fb7cc1d..a8e7a7e 100644
> +--- a/Makefile.in
> ++++ b/Makefile.in
> +@@ -45,18 +45,18 @@ distclean: allclean
> + - /bin/rm -f Makefile
> +
> + install: $(TARGET)
> +- mkdir -p -m 755 $(bindir)
> +- mkdir -p -m 755 $(prefix)/share/doc/autossh
> +- mkdir -p -m 755 $(datadir)/examples/autossh
> +- mkdir -p -m 755 $(mandir)/man1
> +- cp $(TARGET) $(bindir)
> +- cp CHANGES README $(datadir)/doc/autossh
> +- cp autossh.host $(datadir)/examples/autossh
> +- cp rscreen $(datadir)/examples/autossh
> +- cp autossh.1 $(mandir)/man1
> +- chmod 755 $(bindir)/$(TARGET)
> +- chmod 644 $(datadir)/doc/autossh/CHANGES
> +- chmod 644 $(datadir)/doc/autossh/README
> +- chmod 644 $(datadir)/examples/autossh/autossh.host
> +- chmod 644 $(datadir)/examples/autossh/rscreen
> +- chmod 644 $(mandir)/man1/autossh.1
> ++ mkdir -p -m 755 $(DESTDIR)$(bindir)
> ++ mkdir -p -m 755 $(DESTDIR)$(prefix)/share/doc/autossh
> ++ mkdir -p -m 755 $(DESTDIR)$(datadir)/examples/autossh
> ++ mkdir -p -m 755 $(DESTDIR)$(mandir)/man1
> ++ cp $(TARGET) $(DESTDIR)$(bindir)
> ++ cp CHANGES README $(DESTDIR)$(datadir)/doc/autossh
> ++ cp autossh.host $(DESTDIR)$(datadir)/examples/autossh
> ++ cp rscreen $(DESTDIR)$(datadir)/examples/autossh
> ++ cp autossh.1 $(DESTDIR)$(mandir)/man1
> ++ chmod 755 $(DESTDIR)$(bindir)/$(TARGET)
> ++ chmod 644 $(DESTDIR)$(datadir)/doc/autossh/CHANGES
> ++ chmod 644 $(DESTDIR)$(datadir)/doc/autossh/README
> ++ chmod 644 $(DESTDIR)$(datadir)/examples/autossh/autossh.host
> ++ chmod 644 $(DESTDIR)$(datadir)/examples/autossh/rscreen
> ++ chmod 644 $(DESTDIR)$(mandir)/man1/autossh.1
> diff --git a/patches/autossh-1.4c/series b/patches/autossh-1.4c/series
> new file mode 100644
> index 0000000..29f971c
> --- /dev/null
> +++ b/patches/autossh-1.4c/series
> @@ -0,0 +1,4 @@
> +# generated by git-ptx-patches
> +#tag:base --start-number 1
> +0001-Make-install-rule-friendly-towards-packaging-with-DE.patch
> +# ecdd87ec5c25c56d421024daf8acf722 - git-ptx-patches magic
> diff --git a/rules/autossh.in b/rules/autossh.in
> new file mode 100644
> index 0000000..71ebf91
> --- /dev/null
> +++ b/rules/autossh.in
> @@ -0,0 +1,7 @@
> +## SECTION=networking
> +
> +config AUTOSSH
> + tristate
> + prompt "autossh"
> + help
> + Automatically restart SSH sessions and tunnels
> diff --git a/rules/autossh.make b/rules/autossh.make
> new file mode 100644
> index 0000000..38c64d3
> --- /dev/null
> +++ b/rules/autossh.make
> @@ -0,0 +1,53 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2014 by Jon Ringle <jringle@gridpoint.com>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_AUTOSSH) += autossh
> +
> +#
> +# Paths and names
> +#
> +AUTOSSH_VERSION := 1.4c
> +AUTOSSH_MD5 := 26520eea934f296be0783dabe7fcfd28
> +AUTOSSH := autossh-$(AUTOSSH_VERSION)
> +AUTOSSH_SUFFIX := tgz
> +AUTOSSH_URL := http://www.harding.motd.ca/autossh/$(AUTOSSH).$(AUTOSSH_SUFFIX)
Connecting to www.harding.motd.ca (www.harding.motd.ca)|70.72.193.225|:80... failed: Connection timed out.
I'll try again later to see if it's only temporary.
> +AUTOSSH_SOURCE := $(SRCDIR)/$(AUTOSSH).$(AUTOSSH_SUFFIX)
> +AUTOSSH_DIR := $(BUILDDIR)/$(AUTOSSH)
> +AUTOSSH_LICENSE := unknown
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +AUTOSSH_CONF_TOOL := autoconf
Really no relevant configure options?
Michael
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/autossh.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, autossh)
> + @$(call install_fixup, autossh,PRIORITY,optional)
> + @$(call install_fixup, autossh,SECTION,base)
> + @$(call install_fixup, autossh,AUTHOR,"Jon Ringle <jringle@gridpoint.com>")
> + @$(call install_fixup, autossh,DESCRIPTION,missing)
> +
> + @$(call install_copy, autossh, 0, 0, 0755, -, /usr/bin/autossh)
> +
> + @$(call install_finish, autossh)
> +
> + @$(call touch)
> +
> +# vim: syntax=make
> --
> 1.8.5.4
>
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] [PATCH] autossh: new package
2014-06-30 9:00 ` Michael Olbrich
@ 2014-06-30 18:15 ` Jon Ringle
2014-06-30 18:22 ` Jon Ringle
0 siblings, 1 reply; 6+ messages in thread
From: Jon Ringle @ 2014-06-30 18:15 UTC (permalink / raw)
To: ptxdist
On Mon, Jun 30, 2014 at 5:00 AM, Michael Olbrich
<m.olbrich@pengutronix.de> wrote:
> On Fri, Jun 27, 2014 at 05:15:40PM -0400, jon@ringle.org wrote:
>> From: Jon Ringle <jringle@gridpoint.com>
>>
>> autossh will automatically restart SSH sessions and tunnels
>>
>> http://www.harding.motd.ca/autossh/
>>
>> Signed-off-by: Jon Ringle <jringle@gridpoint.com>
>> ---
>> ...l-rule-friendly-towards-packaging-with-DE.patch | 47 +++++++++++++++++++
>> patches/autossh-1.4c/series | 4 ++
>> rules/autossh.in | 7 +++
>> rules/autossh.make | 53 ++++++++++++++++++++++
>> 4 files changed, 111 insertions(+)
>> create mode 100644 patches/autossh-1.4c/0001-Make-install-rule-friendly-towards-packaging-with-DE.patch
>> create mode 100644 patches/autossh-1.4c/series
>> create mode 100644 rules/autossh.in
>> create mode 100644 rules/autossh.make
>>
>> diff --git a/patches/autossh-1.4c/0001-Make-install-rule-friendly-towards-packaging-with-DE.patch b/patches/autossh-1.4c/0001-Make-install-rule-friendly-towards-packaging-with-DE.patch
>> new file mode 100644
>> index 0000000..96fca56
>> --- /dev/null
>> +++ b/patches/autossh-1.4c/0001-Make-install-rule-friendly-towards-packaging-with-DE.patch
>> @@ -0,0 +1,47 @@
>> +From: Jon Ringle <jringle@gridpoint.com>
>> +Date: Fri, 27 Jun 2014 16:39:41 -0400
>> +Subject: [PATCH] Make install rule friendly towards packaging with $DESTDIR
>> +
>> +Signed-off-by: Jon Ringle <jringle@gridpoint.com>
>> +---
>> + Makefile.in | 30 +++++++++++++++---------------
>> + 1 file changed, 15 insertions(+), 15 deletions(-)
>> +
>> +diff --git a/Makefile.in b/Makefile.in
>> +index fb7cc1d..a8e7a7e 100644
>> +--- a/Makefile.in
>> ++++ b/Makefile.in
>> +@@ -45,18 +45,18 @@ distclean: allclean
>> + - /bin/rm -f Makefile
>> +
>> + install: $(TARGET)
>> +- mkdir -p -m 755 $(bindir)
>> +- mkdir -p -m 755 $(prefix)/share/doc/autossh
>> +- mkdir -p -m 755 $(datadir)/examples/autossh
>> +- mkdir -p -m 755 $(mandir)/man1
>> +- cp $(TARGET) $(bindir)
>> +- cp CHANGES README $(datadir)/doc/autossh
>> +- cp autossh.host $(datadir)/examples/autossh
>> +- cp rscreen $(datadir)/examples/autossh
>> +- cp autossh.1 $(mandir)/man1
>> +- chmod 755 $(bindir)/$(TARGET)
>> +- chmod 644 $(datadir)/doc/autossh/CHANGES
>> +- chmod 644 $(datadir)/doc/autossh/README
>> +- chmod 644 $(datadir)/examples/autossh/autossh.host
>> +- chmod 644 $(datadir)/examples/autossh/rscreen
>> +- chmod 644 $(mandir)/man1/autossh.1
>> ++ mkdir -p -m 755 $(DESTDIR)$(bindir)
>> ++ mkdir -p -m 755 $(DESTDIR)$(prefix)/share/doc/autossh
>> ++ mkdir -p -m 755 $(DESTDIR)$(datadir)/examples/autossh
>> ++ mkdir -p -m 755 $(DESTDIR)$(mandir)/man1
>> ++ cp $(TARGET) $(DESTDIR)$(bindir)
>> ++ cp CHANGES README $(DESTDIR)$(datadir)/doc/autossh
>> ++ cp autossh.host $(DESTDIR)$(datadir)/examples/autossh
>> ++ cp rscreen $(DESTDIR)$(datadir)/examples/autossh
>> ++ cp autossh.1 $(DESTDIR)$(mandir)/man1
>> ++ chmod 755 $(DESTDIR)$(bindir)/$(TARGET)
>> ++ chmod 644 $(DESTDIR)$(datadir)/doc/autossh/CHANGES
>> ++ chmod 644 $(DESTDIR)$(datadir)/doc/autossh/README
>> ++ chmod 644 $(DESTDIR)$(datadir)/examples/autossh/autossh.host
>> ++ chmod 644 $(DESTDIR)$(datadir)/examples/autossh/rscreen
>> ++ chmod 644 $(DESTDIR)$(mandir)/man1/autossh.1
>> diff --git a/patches/autossh-1.4c/series b/patches/autossh-1.4c/series
>> new file mode 100644
>> index 0000000..29f971c
>> --- /dev/null
>> +++ b/patches/autossh-1.4c/series
>> @@ -0,0 +1,4 @@
>> +# generated by git-ptx-patches
>> +#tag:base --start-number 1
>> +0001-Make-install-rule-friendly-towards-packaging-with-DE.patch
>> +# ecdd87ec5c25c56d421024daf8acf722 - git-ptx-patches magic
>> diff --git a/rules/autossh.in b/rules/autossh.in
>> new file mode 100644
>> index 0000000..71ebf91
>> --- /dev/null
>> +++ b/rules/autossh.in
>> @@ -0,0 +1,7 @@
>> +## SECTION=networking
>> +
>> +config AUTOSSH
>> + tristate
>> + prompt "autossh"
>> + help
>> + Automatically restart SSH sessions and tunnels
>> diff --git a/rules/autossh.make b/rules/autossh.make
>> new file mode 100644
>> index 0000000..38c64d3
>> --- /dev/null
>> +++ b/rules/autossh.make
>> @@ -0,0 +1,53 @@
>> +# -*-makefile-*-
>> +#
>> +# Copyright (C) 2014 by Jon Ringle <jringle@gridpoint.com>
>> +#
>> +# See CREDITS for details about who has contributed to this project.
>> +#
>> +# For further information about the PTXdist project and license conditions
>> +# see the README file.
>> +#
>> +
>> +#
>> +# We provide this package
>> +#
>> +PACKAGES-$(PTXCONF_AUTOSSH) += autossh
>> +
>> +#
>> +# Paths and names
>> +#
>> +AUTOSSH_VERSION := 1.4c
>> +AUTOSSH_MD5 := 26520eea934f296be0783dabe7fcfd28
>> +AUTOSSH := autossh-$(AUTOSSH_VERSION)
>> +AUTOSSH_SUFFIX := tgz
>> +AUTOSSH_URL := http://www.harding.motd.ca/autossh/$(AUTOSSH).$(AUTOSSH_SUFFIX)
>
> Connecting to www.harding.motd.ca (www.harding.motd.ca)|70.72.193.225|:80... failed: Connection timed out.
>
> I'll try again later to see if it's only temporary.
>
I saw it down earlier this morning as well, but it seems to be back up
again. Please try again :)
>> +AUTOSSH_SOURCE := $(SRCDIR)/$(AUTOSSH).$(AUTOSSH_SUFFIX)
>> +AUTOSSH_DIR := $(BUILDDIR)/$(AUTOSSH)
>> +AUTOSSH_LICENSE := unknown
>> +
>> +# ----------------------------------------------------------------------------
>> +# Prepare
>> +# ----------------------------------------------------------------------------
>> +
>> +AUTOSSH_CONF_TOOL := autoconf
>
> Really no relevant configure options?
It worked for me without specifying any configure options. However,
perhaps ptxdist might care about this one:
--with-ssh=ARG specify path to ssh executable
>
> Michael
>
>> +
>> +# ----------------------------------------------------------------------------
>> +# Target-Install
>> +# ----------------------------------------------------------------------------
>> +
>> +$(STATEDIR)/autossh.targetinstall:
>> + @$(call targetinfo)
>> +
>> + @$(call install_init, autossh)
>> + @$(call install_fixup, autossh,PRIORITY,optional)
>> + @$(call install_fixup, autossh,SECTION,base)
>> + @$(call install_fixup, autossh,AUTHOR,"Jon Ringle <jringle@gridpoint.com>")
>> + @$(call install_fixup, autossh,DESCRIPTION,missing)
>> +
>> + @$(call install_copy, autossh, 0, 0, 0755, -, /usr/bin/autossh)
>> +
>> + @$(call install_finish, autossh)
>> +
>> + @$(call touch)
>> +
>> +# vim: syntax=make
>> --
>> 1.8.5.4
>>
>>
>> --
>> ptxdist mailing list
>> ptxdist@pengutronix.de
>>
>
> --
> Pengutronix e.K. | |
> Industrial Linux Solutions | http://www.pengutronix.de/ |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] [PATCH] autossh: new package
2014-06-30 18:15 ` Jon Ringle
@ 2014-06-30 18:22 ` Jon Ringle
2014-06-30 18:27 ` Jon Ringle
0 siblings, 1 reply; 6+ messages in thread
From: Jon Ringle @ 2014-06-30 18:22 UTC (permalink / raw)
To: ptxdist
>>> +# ----------------------------------------------------------------------------
>>> +# Prepare
>>> +# ----------------------------------------------------------------------------
>>> +
>>> +AUTOSSH_CONF_TOOL := autoconf
>>
>> Really no relevant configure options?
>
> It worked for me without specifying any configure options. However,
> perhaps ptxdist might care about this one:
>
> --with-ssh=ARG specify path to ssh executable
However, further investigation reveals that PATH_SSH (the #define that
gets created based on --with-ssh configure option) does not get used
at all in the source code:
$ grep -r PATH_SSH .
./config.log:| #define PATH_SSH "/usr/bin/ssh"
./config.log:| #define PATH_SSH "/usr/bin/ssh"
./config.log:| #define PATH_SSH "/usr/bin/ssh"
./config.log:| #define PATH_SSH "/usr/bin/ssh"
./config.log:| #define PATH_SSH "/usr/bin/ssh"
./config.log:| #define PATH_SSH "/usr/bin/ssh"
./config.log:| #define PATH_SSH "/usr/bin/ssh"
./config.log:| #define PATH_SSH "/usr/bin/ssh"
./config.log:#define PATH_SSH "/usr/bin/ssh"
./config.status:${ac_dA}PATH_SSH${ac_dB}PATH_SSH${ac_dC}"/usr/bin/ssh"${ac_dD}
./config.status:${ac_uA}PATH_SSH${ac_uB}PATH_SSH${ac_uC}"/usr/bin/ssh"${ac_uD}
./configure:#define PATH_SSH "$ac_cv_path_ssh"
./configure.ac: PATH_SSH, "$ac_cv_path_ssh",
./config.h:#define PATH_SSH "/usr/bin/ssh"
./config.h.in:#undef PATH_SSH
Jon
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] [PATCH] autossh: new package
2014-06-30 18:22 ` Jon Ringle
@ 2014-06-30 18:27 ` Jon Ringle
2014-07-01 11:00 ` Michael Olbrich
0 siblings, 1 reply; 6+ messages in thread
From: Jon Ringle @ 2014-06-30 18:27 UTC (permalink / raw)
To: ptxdist
On Mon, Jun 30, 2014 at 2:22 PM, Jon Ringle <jon@ringle.org> wrote:
>>>> +# ----------------------------------------------------------------------------
>>>> +# Prepare
>>>> +# ----------------------------------------------------------------------------
>>>> +
>>>> +AUTOSSH_CONF_TOOL := autoconf
>>>
>>> Really no relevant configure options?
>>
>> It worked for me without specifying any configure options. However,
>> perhaps ptxdist might care about this one:
>>
>> --with-ssh=ARG specify path to ssh executable
>
> However, further investigation reveals that PATH_SSH (the #define that
> gets created based on --with-ssh configure option) does not get used
> at all in the source code:
>
> $ grep -r PATH_SSH .
> ./config.log:| #define PATH_SSH "/usr/bin/ssh"
> ./config.log:| #define PATH_SSH "/usr/bin/ssh"
> ./config.log:| #define PATH_SSH "/usr/bin/ssh"
> ./config.log:| #define PATH_SSH "/usr/bin/ssh"
> ./config.log:| #define PATH_SSH "/usr/bin/ssh"
> ./config.log:| #define PATH_SSH "/usr/bin/ssh"
> ./config.log:| #define PATH_SSH "/usr/bin/ssh"
> ./config.log:| #define PATH_SSH "/usr/bin/ssh"
> ./config.log:#define PATH_SSH "/usr/bin/ssh"
> ./config.status:${ac_dA}PATH_SSH${ac_dB}PATH_SSH${ac_dC}"/usr/bin/ssh"${ac_dD}
> ./config.status:${ac_uA}PATH_SSH${ac_uB}PATH_SSH${ac_uC}"/usr/bin/ssh"${ac_uD}
> ./configure:#define PATH_SSH "$ac_cv_path_ssh"
> ./configure.ac: PATH_SSH, "$ac_cv_path_ssh",
> ./config.h:#define PATH_SSH "/usr/bin/ssh"
> ./config.h.in:#undef PATH_SSH
>
> Jon
Oh... I see now. Makefile.in uses it:
$ grep -r path_ssh Makefile.in
SSH= @path_ssh@
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] [PATCH] autossh: new package
2014-06-30 18:27 ` Jon Ringle
@ 2014-07-01 11:00 ` Michael Olbrich
0 siblings, 0 replies; 6+ messages in thread
From: Michael Olbrich @ 2014-07-01 11:00 UTC (permalink / raw)
To: ptxdist
On Mon, Jun 30, 2014 at 02:27:18PM -0400, Jon Ringle wrote:
> On Mon, Jun 30, 2014 at 2:22 PM, Jon Ringle <jon@ringle.org> wrote:
> >>>> +# ----------------------------------------------------------------------------
> >>>> +# Prepare
> >>>> +# ----------------------------------------------------------------------------
> >>>> +
> >>>> +AUTOSSH_CONF_TOOL := autoconf
> >>>
> >>> Really no relevant configure options?
> >>
> >> It worked for me without specifying any configure options. However,
> >> perhaps ptxdist might care about this one:
> >>
> >> --with-ssh=ARG specify path to ssh executable
> >
> > However, further investigation reveals that PATH_SSH (the #define that
> > gets created based on --with-ssh configure option) does not get used
> > at all in the source code:
> >
> > $ grep -r PATH_SSH .
> > ./config.log:| #define PATH_SSH "/usr/bin/ssh"
> > ./config.log:| #define PATH_SSH "/usr/bin/ssh"
> > ./config.log:| #define PATH_SSH "/usr/bin/ssh"
> > ./config.log:| #define PATH_SSH "/usr/bin/ssh"
> > ./config.log:| #define PATH_SSH "/usr/bin/ssh"
> > ./config.log:| #define PATH_SSH "/usr/bin/ssh"
> > ./config.log:| #define PATH_SSH "/usr/bin/ssh"
> > ./config.log:| #define PATH_SSH "/usr/bin/ssh"
> > ./config.log:#define PATH_SSH "/usr/bin/ssh"
> > ./config.status:${ac_dA}PATH_SSH${ac_dB}PATH_SSH${ac_dC}"/usr/bin/ssh"${ac_dD}
> > ./config.status:${ac_uA}PATH_SSH${ac_uB}PATH_SSH${ac_uC}"/usr/bin/ssh"${ac_uD}
> > ./configure:#define PATH_SSH "$ac_cv_path_ssh"
> > ./configure.ac: PATH_SSH, "$ac_cv_path_ssh",
> > ./config.h:#define PATH_SSH "/usr/bin/ssh"
> > ./config.h.in:#undef PATH_SSH
> >
> > Jon
>
> Oh... I see now. Makefile.in uses it:
> $ grep -r path_ssh Makefile.in
> SSH= @path_ssh@
Yes, but --with-ssh= is broken and doesn't have an effect for me.. :-/ I've
added an environment with ac_cv_path_ssh=. That seems to work.
I've amended the patch and pushed it.
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-07-01 11:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-27 21:15 [ptxdist] [PATCH] autossh: new package jon
2014-06-30 9:00 ` Michael Olbrich
2014-06-30 18:15 ` Jon Ringle
2014-06-30 18:22 ` Jon Ringle
2014-06-30 18:27 ` Jon Ringle
2014-07-01 11:00 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox