inadyn: update to 2.0.
This commit is contained in:
parent
f174430e02
commit
1669a87736
3 changed files with 48 additions and 26 deletions
|
@ -1,19 +1,42 @@
|
||||||
syslog
|
# In-A-Dyn v2.0 configuration file format
|
||||||
|
# period = 300
|
||||||
# system default@dyndns.org
|
|
||||||
# ssl
|
|
||||||
# username yxxx
|
|
||||||
# password xyxx
|
|
||||||
# alias yyy
|
|
||||||
# alias zzz
|
|
||||||
#
|
#
|
||||||
# system default@no-ip.com
|
# provider default@dyndns.org {
|
||||||
# username xxyx
|
# ssl = true
|
||||||
# password xxxy
|
# username = charlie
|
||||||
# alias yyy
|
# password = snoopy
|
||||||
|
# hostname = { "peanuts", "woodstock" }
|
||||||
|
# }
|
||||||
#
|
#
|
||||||
# system default@tunnelbroker.net
|
# provider default@no-ip.com:1 {
|
||||||
# ssl
|
# username = ian
|
||||||
# username xyzzy
|
# password = secret
|
||||||
# password update-key-in-advanced-tab
|
# hostname = flemming.no-ip.com
|
||||||
# alias tunnel-id
|
# }
|
||||||
|
#
|
||||||
|
# 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 }
|
||||||
|
# }
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ -r ./conf ] && . ./conf
|
[ -r ./conf ] && . ./conf
|
||||||
[ ! -d /run/inadyn ] && mkdir -p /run/inadyn
|
[ ! -d /run/inadyn ] && mkdir -p /run/inadyn
|
||||||
chown inadyn:inadyn /run/inadyn
|
[ ! -d /var/cache/inadyn ] && mkdir -p /var/cache/inadyn
|
||||||
exec chpst -u inadyn:inadyn inadyn $OPTS 2>&1
|
chown inadyn:inadyn /run/inadyn /var/cache/inadyn
|
||||||
|
exec inadyn -p inadyn:inadyn -n -s $OPTS 2>&1
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
# Template file for 'inadyn'
|
# Template file for 'inadyn'
|
||||||
pkgname=inadyn
|
pkgname=inadyn
|
||||||
version=1.99.15
|
version=2.0
|
||||||
revision=3
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-openssl"
|
configure_args="--enable-openssl"
|
||||||
hostmakedepends="autoconf automake"
|
hostmakedepends="automake libtool pkg-config"
|
||||||
makedepends="libressl-devel"
|
makedepends="confuse-devel libressl-devel libite-devel"
|
||||||
short_desc="Small DynDNS client with SSL/TLS support"
|
short_desc="Small DynDNS client with SSL/TLS support"
|
||||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://troglobit.com/inadyn.html"
|
homepage="http://troglobit.com/inadyn.html"
|
||||||
distfiles="ftp://ftp.troglobit.com/inadyn/inadyn-${version}.tar.xz"
|
distfiles="ftp://ftp.troglobit.com/inadyn/inadyn-${version}.tar.xz"
|
||||||
checksum=b54ed82653e9bd6624e579433907aecfd3e83bdab9ed0b3c21d6817c799ac715
|
checksum=f057e00d2270086682ef6af9419bd9f2b38a943b7d1f67e6c4739f31645fd59a
|
||||||
|
|
||||||
system_accounts="inadyn"
|
system_accounts="inadyn"
|
||||||
inadyn_homedir="/run/inadyn"
|
inadyn_homedir="/run/inadyn"
|
||||||
|
@ -20,8 +20,6 @@ conf_files="/etc/inadyn.conf"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
sed -i 's;^install:.*$;install:;g' libite/Makefile
|
|
||||||
sed -i '/#include <error.h>/d' libite/lite.h
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Reference in a new issue