inadyn: update to 2.0.

This commit is contained in:
Duncaen 2016-11-15 19:29:15 +01:00
parent f174430e02
commit 1669a87736
3 changed files with 48 additions and 26 deletions

View file

@ -1,19 +1,42 @@
syslog
# system default@dyndns.org
# ssl
# username yxxx
# password xyxx
# alias yyy
# alias zzz
# In-A-Dyn v2.0 configuration file format
# period = 300
#
# system default@no-ip.com
# username xxyx
# password xxxy
# alias yyy
# provider default@dyndns.org {
# ssl = true
# username = charlie
# password = snoopy
# hostname = { "peanuts", "woodstock" }
# }
#
# system default@tunnelbroker.net
# ssl
# username xyzzy
# password update-key-in-advanced-tab
# alias tunnel-id
# provider default@no-ip.com:1 {
# username = ian
# password = secret
# hostname = flemming.no-ip.com
# }
#
# provider default@no-ip.com:2 {
# username = james
# password = bond
# hostname = spectre.no-ip.com
# checkip-server = api.ipify.org
# }
#
# provider default@no-ip.com:3 {
# username = spaceman
# password = bowie
# hostname = spaceman.no-ip.com
# checkip-command = /sbin/ifconfig eth0 | grep 'inet6 addr'
# }
#
# provider default@tunnelbroker.net {
# ssl = true
# username = futurekid
# password = dreoadsad/+dsad21321 # update-key-in-advanced-tab
# hostname = 1234534245321 # tunnel-id
# }
#
# provider default@dynv6.com {
# username = your_token
# password = n/a
# hostname = { host1.dynv6.net, host2.dynv6.net }
# }

View file

@ -1,5 +1,6 @@
#!/bin/sh
[ -r ./conf ] && . ./conf
[ ! -d /run/inadyn ] && mkdir -p /run/inadyn
chown inadyn:inadyn /run/inadyn
exec chpst -u inadyn:inadyn inadyn $OPTS 2>&1
[ ! -d /var/cache/inadyn ] && mkdir -p /var/cache/inadyn
chown inadyn:inadyn /run/inadyn /var/cache/inadyn
exec inadyn -p inadyn:inadyn -n -s $OPTS 2>&1

View file

@ -1,17 +1,17 @@
# Template file for 'inadyn'
pkgname=inadyn
version=1.99.15
revision=3
version=2.0
revision=1
build_style=gnu-configure
configure_args="--enable-openssl"
hostmakedepends="autoconf automake"
makedepends="libressl-devel"
hostmakedepends="automake libtool pkg-config"
makedepends="confuse-devel libressl-devel libite-devel"
short_desc="Small DynDNS client with SSL/TLS support"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-2"
homepage="http://troglobit.com/inadyn.html"
distfiles="ftp://ftp.troglobit.com/inadyn/inadyn-${version}.tar.xz"
checksum=b54ed82653e9bd6624e579433907aecfd3e83bdab9ed0b3c21d6817c799ac715
checksum=f057e00d2270086682ef6af9419bd9f2b38a943b7d1f67e6c4739f31645fd59a
system_accounts="inadyn"
inadyn_homedir="/run/inadyn"
@ -20,8 +20,6 @@ conf_files="/etc/inadyn.conf"
pre_configure() {
autoreconf -fi
sed -i 's;^install:.*$;install:;g' libite/Makefile
sed -i '/#include <error.h>/d' libite/lite.h
}
post_install() {