autossh: Add package
This commit is contained in:
parent
9c03757c06
commit
b4ea04c31a
12
packages/autossh/Makefile.in.patch
Normal file
12
packages/autossh/Makefile.in.patch
Normal file
@ -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
Normal file
10
packages/autossh/build.sh
Normal file
@ -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…
Reference in New Issue
Block a user