From 34f91e1ee027a4b813c7b05ba9503ec960afc4b9 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Fri, 10 Mar 2023 15:14:30 -0500 Subject: [PATCH] ddclient: update to 3.11.1. --- srcpkgs/ddclient/template | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/srcpkgs/ddclient/template b/srcpkgs/ddclient/template index ac7468606882d..09ee391a22a4a 100644 --- a/srcpkgs/ddclient/template +++ b/srcpkgs/ddclient/template @@ -1,38 +1,36 @@ # Template file for 'ddclient' pkgname=ddclient -version=3.9.1 +version=3.11.1 revision=1 -depends="perl-Data-Validate-IP perl-IO-Socket-SSL" +build_style=gnu-configure +configure_args="--sysconfdir=/etc/ddclient" +hostmakedepends="automake curl" +depends="perl-JSON curl" +checkdepends="$depends perl-HTTP-Daemon perl-Plack perl-HTTP-Message + perl-Test-MockModule perl-Test-Warnings curl net-tools" short_desc="Perl client used to update dynamic DNS" maintainer="rogi " license="GPL-2.0-or-later" homepage="https://github.com/ddclient/ddclient" +changelog="https://raw.githubusercontent.com/ddclient/ddclient/master/ChangeLog.md" distfiles="https://github.com/ddclient/ddclient/archive/v${version}.tar.gz" -checksum=e4969e15cc491fc52bdcd649d4c2b0e4b1bf0c9f9dba23471c634871acc52470 +checksum=5eb5ca4118f14ae219da09e82dac39e0255048518a56311b2e9ec392505edd11 conf_files="/etc/ddclient/ddclient.conf" make_dirs="/var/cache/ddclient 0750 root root" -do_install() { +pre_configure() { + ./autogen +} + +post_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 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} + vsv ddclient }