summaryrefslogtreecommitdiffstats
path: root/patches/autossh-1.4c
diff options
context:
space:
mode:
authorJon Ringle <jringle@gridpoint.com>2014-06-27 17:15:40 -0400
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-07-01 11:30:56 +0200
commita4d729ba0cbd3905fe6e61343a03046b1f147385 (patch)
treeb493289c64ca32136ebad35f3a5bbf648db97dc1 /patches/autossh-1.4c
parent340ed9a9cac3d5e387bb660e27624dbd6105c0ba (diff)
downloadptxdist-a4d729ba0cbd3905fe6e61343a03046b1f147385.tar.gz
ptxdist-a4d729ba0cbd3905fe6e61343a03046b1f147385.tar.xz
autossh: new package
autossh will automatically restart SSH sessions and tunnels http://www.harding.motd.ca/autossh/ Signed-off-by: Jon Ringle <jringle@gridpoint.com> [mol: add AUTOSSH_CONF_ENV] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/autossh-1.4c')
-rw-r--r--patches/autossh-1.4c/0001-Make-install-rule-friendly-towards-packaging-with-DE.patch47
-rw-r--r--patches/autossh-1.4c/series4
2 files changed, 51 insertions, 0 deletions
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 000000000..96fca563a
--- /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 000000000..29f971c73
--- /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