Browse Source

autossh: Add package

android-5
Fredrik Fornwall 9 years ago
parent
commit
b4ea04c31a
  1. 12
      packages/autossh/Makefile.in.patch
  2. 10
      packages/autossh/build.sh

12
packages/autossh/Makefile.in.patch

@ -0,0 +1,12 @@
diff -u -r ../autossh-1.4e/Makefile.in ./Makefile.in
--- ../autossh-1.4e/Makefile.in 2015-02-09 23:41:58.000000000 -0500
+++ ./Makefile.in 2016-04-16 19:45:42.679382001 -0400
@@ -31,7 +31,7 @@
$(TARGET): $(OFILES)
- $(CC) $(CPPFLAGS) -o $(TARGET) $(OFILES) $(LIBS)
+ $(CC) $(CPPFLAGS) $(LDFLAGS) -o $(TARGET) $(OFILES) $(LIBS)
clean:
- /bin/rm -f *.o *.a *.core *~

10
packages/autossh/build.sh

@ -0,0 +1,10 @@
TERMUX_PKG_HOMEPAGE=http://www.harding.motd.ca/autossh/
TERMUX_PKG_DESCRIPTION="Automatically restart SSH sessions and tunnels"
TERMUX_PKG_VERSION=1.4e
TERMUX_PKG_SRCURL=http://www.harding.motd.ca/autossh/autossh-${TERMUX_PKG_VERSION}.tgz
TERMUX_PKG_BUILD_IN_SRC="yes"
TERMUX_PKG_DEPENDS="openssh"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--mandir=$TERMUX_PREFIX/share/man ac_cv_path_ssh=$TERMUX_PREFIX/bin/ssh"
# For syslog logging:
LDFLAGS+=" -llog"
Loading…
Cancel
Save