7c1b4b5170
closes #6170
39 lines
1.2 KiB
Bash
39 lines
1.2 KiB
Bash
# Template file for 'ddclient'
|
|
pkgname=ddclient
|
|
version=3.9.0
|
|
revision=2
|
|
noarch=yes
|
|
hostmakedepends="unzip"
|
|
depends="perl-Data-Validate-IP perl-IO-Socket-SSL"
|
|
short_desc="Perl client used to update dynamic DNS"
|
|
maintainer="rogi <rogi@skylittlesystem.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="${SOURCEFORGE_SITE}/p/ddclient/wiki/Home/"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.zip"
|
|
checksum=b4bc907eaadb1f30ccef8a11d92a30080ee21338cde89bf76b7d3d20a4499830
|
|
|
|
make_dirs="/var/cache/ddclient 0750 root root"
|
|
|
|
do_install() {
|
|
vdoc README.cisco
|
|
vdoc README.md
|
|
vdoc README.ssl
|
|
vdoc RELEASENOTE
|
|
vdoc TODO
|
|
vdoc UPGRADE
|
|
vbin ddclient
|
|
vsconf sample-ddclient-wrapper.sh
|
|
vsconf sample-etc_cron.d_ddclient
|
|
vsconf sample-etc_ddclient.conf
|
|
vsconf sample-etc_dhclient-exit-hooks
|
|
vsconf sample-etc_dhcpc_dhcpcd-eth0.exe
|
|
vsconf sample-etc_ppp_ip-up.local
|
|
vsconf sample-etc_rc.d_init.d_ddclient
|
|
vsconf sample-etc_rc.d_init.d_ddclient.lsb
|
|
vsconf sample-etc_rc.d_init.d_ddclient.redhat
|
|
vsconf sample-etc_rc.d_init.d_ddclient.ubuntu
|
|
sed -e 's|daemon=300|daemon=600|' -e 's|300 seconds|600 seconds|' \
|
|
-e '/pid=.*/d' sample-etc_ddclient.conf > void-etc_ddclient.conf
|
|
vinstall void-etc_ddclient.conf 0600 etc/ddclient ddclient.conf
|
|
vsv ${pkgname}
|
|
}
|