Move all to deprecated folder.

This commit is contained in:
2016-11-16 21:57:57 +01:00
parent 01738a7684
commit 05de7d6c04
9777 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
config BR2_PACKAGE_INADYN
bool "inadyn"
depends on BR2_USE_MMU # Uses fork()
depends on !BR2_STATIC_LIBS # dlopen()
help
INADYN is a free DynDNS client. It gives the possibility
to have your own fixed hostname registered on the internet,
although your IP might be changing.
https://github.com/troglobit/inadyn
comment "inadyn needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
depends on BR2_USE_MMU

View File

@@ -0,0 +1,44 @@
#!/bin/sh
#
# Start & stop the inadyn client
#
CONFIG=/etc/inadyn.conf
# check if CONFIG exists, print message & exit if it doesn't
[ ! -f $CONFIG ] && ( echo "The config file "$CONFIG" is missing...exiting now." && exit 2 )
# Allow a few customizations from a config file. Especially inadyn
# must be explicitly enabled by adding ENABLED="yes" in this file.
test -r /etc/default/inadyn && . /etc/default/inadyn
case "$1" in
start)
printf "Starting inadyn: "
if test "${ENABLED}" != "yes" ; then
echo "SKIPPED"
exit 0
fi
start-stop-daemon -b -q -S -p /var/run/inadyn.pid -x /usr/sbin/inadyn
[ $? = 0 ] && echo "OK" || echo "FAIL"
;;
stop)
printf "Stopping inadyn: "
if test "${ENABLED}" != "yes" ; then
echo "SKIPPED"
exit 0
fi
start-stop-daemon -q -K -p /var/run/inadyn.pid -x /usr/sbin/inadyn
[ $? = 0 ] && echo "OK" || echo "FAIL"
rm -f /var/run/inadyn.pid
;;
restart)
"$0" stop
"$0" start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?

View File

@@ -0,0 +1,11 @@
# Basic configuration file for inadyn
#
# /etc/inadyn.conf
pidfile /var/run/inadyn.pid
update_period_sec 600 # Check for a new IP every 600 seconds
username test # replace 'test' with your username
password test # replace 'test' with your password
dyndns_system default@dyndns.org # replace w/ your provider
alias test.homeip.net
# replace 'test.homeip.net' with yourdomainname for actual (non-test) use

View File

@@ -0,0 +1,2 @@
# From https://github.com/troglobit/inadyn/releases/download/1.99.12/inadyn-1.99.12.tar.xz.md5
md5 a620c9eab9cd31c8923e7264b08376f3 inadyn-1.99.12.tar.xz

View File

@@ -0,0 +1,41 @@
################################################################################
#
# inadyn
#
################################################################################
INADYN_VERSION = 1.99.12
INADYN_SITE = https://github.com/troglobit/inadyn/releases/download/$(INADYN_VERSION)
INADYN_SOURCE = inadyn-$(INADYN_VERSION).tar.xz
INADYN_LICENSE = GPLv2+
INADYN_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_OPENSSL),y)
INADYN_CONF_OPTS += --enable-openssl
INADYN_DEPENDENCIES += openssl
else ifeq ($(BR2_PACKAGE_GNUTLS),y)
INADYN_DEPENDENCIES += gnutls
else
INADYN_CONF_OPTS += --disable-ssl
endif
define INADYN_INSTALL_SAMPLE_CONFIG
$(INSTALL) -D -m 0600 package/inadyn/inadyn.conf \
$(TARGET_DIR)/etc/inadyn.conf
endef
INADYN_POST_INSTALL_TARGET_HOOKS += INADYN_INSTALL_SAMPLE_CONFIG
define INADYN_INSTALL_INIT_SYSV
$(INSTALL) -D -m 0755 package/inadyn/S70inadyn \
$(TARGET_DIR)/etc/init.d/S70inadyn
endef
define INADYN_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 package/inadyn/inadyn.service \
$(TARGET_DIR)/usr/lib/systemd/system/inadyn.service
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
ln -sf ../../../../usr/lib/systemd/system/inadyn.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/inadyn.service
endef
$(eval $(autotools-package))

View File

@@ -0,0 +1,10 @@
[Unit]
Description=DDNS client
After=syslog.target network.target
[Service]
ExecStart=/usr/bin/inadyn
Restart=always
[Install]
WantedBy=multi-user.target