2 # Copyright (C) 2006-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
15 PKG_SOURCE_URL
:=https
://www.harding.motd.ca
/autossh
/
16 PKG_HASH
:=5fc3cee3361ca1615af862364c480593171d0c54ec156de79fc421e31ae21277
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/autossh
25 URL
:=https
://www.harding.motd.ca
/autossh
/
26 MAINTAINER
:=Christian Beier
<cb@shoutrlabs.com
>
31 ac_cv_path_ssh
=/usr
/bin
/ssh
33 define Package
/autossh
/install
34 $(INSTALL_DIR
) $(1)/usr
/sbin
35 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/autossh
$(1)/usr
/sbin
/
36 $(INSTALL_DIR
) $(1)/etc
/init.d
37 $(INSTALL_BIN
) .
/files
/autossh.init
$(1)/etc
/init.d
/autossh
38 $(INSTALL_DIR
) $(1)/etc
/config
39 $(INSTALL_DATA
) .
/files
/autossh.config
$(1)/etc
/config
/autossh
40 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/iface
41 $(INSTALL_DATA
) .
/files
/autossh.hotplug
$(1)/etc
/hotplug.d
/iface
/20-autossh
44 define Package
/autossh
/conffiles
48 $(eval
$(call BuildPackage
,autossh
))