pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/ddclient
Module Name: pkgsrc
Committed By: abs
Date: Mon Dec 2 17:59:49 UTC 2024
Modified Files:
pkgsrc/net/ddclient: Makefile PLIST distinfo
pkgsrc/net/ddclient/files: ddclient.sh
Removed Files:
pkgsrc/net/ddclient/patches: patch-aa
Log Message:
Updated net/ddclient to 3.11.2
# ChangeLog
## 2023-11-23 v3.11.2
### Bug fixes
* Fixed simultaneous IPv4 and IPv6 updates for provider duckdns
* Fixed caching issues for new providers when using the old 'use' config parameter
## 2023-10-25 v3.11.1
### Bug fixes
* Fixed simultaneous IPv4 and IPv6 updates for provider porkbun
* Removed @PACKAGE_VERSION@ placeholder in ddclient.in for now
to allow downstream to adopt the proper build process first.
See [here](https://github.com/ddclient/ddclient/issues/579) for the discussion.
## 2023-10-21 v3.11.0
This version is the same as v3.11.0_1 (except for the updated version number in the code).
Refer to [v3.11 release plan discussions](https://github.com/ddclient/ddclient/issues/552) for the reasons.
## 2023-10-15 v3.11.0_1
### Breaking changes
* ddclient now requires curl. The Perl modules IO::Socket::IP and IO::Socket::SSL are no longer used.
* ddclient no longer ships any example files for init systems that use `/etc/init.d`.
This was done because those files where effectively unmaintained, untested by the developers and only updated by downstream distros.
If you where relying on those files, please copy them into your packaging.
* The defunct `dnsexit` protocol is removed (replaced by `dnsexit2`).
### New features
* Introduced `usev4` and `usev6` for separate IPv4/IPv6 configuration. These will replace the legacy `use` eventually.
* Added support for moving secrets out of the configuration through environment variables
* Extended postscript mechanism
* sample-get-ip-from-fritzbox: Added environment variable to override hostname
* Warn about hosts where no IP could be determined - and skip the (bogus) update.
### Provider updates:
* Added regfish
* Added domeneshop.no
* Added Mythic Beasts
* Added Porkbun
* Added Enom
* Added DigitalOcean
* Added Infomaniak
* Added DNSExit API v2
* Removed old DNSExit API
* Extended EasyDNS to support IPv6
* Extended duckdns to support IPv6
### Bug fixes
* Fixed various issues with caching
* Fixed issues with Hetzner zones
* The OVH provider now ignores extra data returned
* Merge multiple configs for the same hostname instead of use the last
## 2022-10-20 v3.10.0
### New features
* Added support for domaindiscount24.com
* Added support for njal.la
## 2022-05-15 v3.10.0_2
### Bug fixes
* Fix version number being unable to parse
## 2022-05-15 v3.10.0_1
This release contains a total of over 360 commits according to GitHub.
Many of them cleaned up and improved the code to make further maintenance easier.
ddclient also went through a major maintainer change. More help is highly appreciated
and for the time new features are unlikely to be implemented.
This is a first release candidate to hopefully catch some more bugs before the final 3.10.0 release.
Due to ddclient's nature talking to many cloud services, testing all of them is not easy
and it is necessary to rely on the community to test all of them.
### New features
* Added support for Cloudflare API tokens
* Added support for OVH DynHost.
* Added support for ClouDNS.
* Added support for dinahosting.
* Added support for Gandi LiveDNS.
* Added a build system to make it easier for distributions to package
ddclient:
```
./autogen && ./configure && make && make VERBOSE=1 check && make install
```
* The `freedns` protocol (for https://freedns.afraid.org) now supports IPv6
addresses.
* New `ssl_ca_dir` and `ssl_ca_file` options to specify the location of CA
certificates.
* New built-in IP discovery service shorthands:
- `googledomains` from https://domains.google
- `he` from https://he.net
- `ip4only.me`, `ip6only.me` from http://whatismyv6.com
- `ipify-ipv4` and `ipify-ipv6` from https://www.ipify.org
- `myonlineportal` from https://myonlineportal.net
- `noip-ipv4` and `noip-ipv6` from https://www.noip.com
- `nsupdate.info-ipv4` and `nsupdate.info-ipv6` from
https://www.nsupdate.info
- `zoneedit` from https://www.zoneedit.com
* New built-in shorthands for obtaining the IP address from the following
devices ([thanks to Geoff Simmons](https://bugs.debian.org/589980)):
- `alcatel-530`: Alcatel/Thomson SpeedTouch 530
- `siemens-ss4200`: Siemens SpeedStream 4200
- `thomson-st536v6`: Thomson SpeedTouch 536v6
- `thomson-tg782`: Thomson/Technicolor TG782
* Added option `-curl` to access network with system Curl command instead
of the Perl built-in IO::Socket classes.
* Added option `-{no}web-ssl-validate` and `-{no}fw-ssl-validate`to provide
option to disable SSL certificate validation. Note that these only apply for
network access when obtaining an IP address with `use=web` or `use=fw`
(any firewall). Network access to Dynamic DNS servers to set or retrieve
IP address will always require certificate validation.
### Bug fixes
* If multiple hosts are defined and one fails, ddclient will no longer skip
the remaining hosts.
* Minor `freedns` protocol fixes. In particular, you can now update an
address that differs from the system's own.
* Fixed a regression introduced in v3.9.0 that caused
`use=ip,ip=<ipv4-address>` to fail.
* "true" is now accepted as a boolean value.
* The `ssl` option now applies to the `web` URL.
### Compatibility and dependency changes
* Perl v5.10.1 or later is now required.
* Removed dependency on Data::Validate::IP.
* When `use=if`, iproute2's `ip` command is now attempted before falling back
to `ifconfig` (it used to be the other way around). If you set `if-skip`,
please check that your configuration still works as expected.
* Removed the `concont` protocol. If you still use this protocol, please
[file a bug report](https://github.com/ddclient/ddclient/issues) and we
will restore it.
* The `force` option no longer prevents daemonization.
* If installed as `ddclientd` (or any other name ending in `d`), the default
value for the `daemon` option is now 5 minutes instead of the previous 1
minute.
* The `pid` option is now ignored when ddclient is not daemonized.
* ddclient now gracefully exits when interrupted by Ctrl-C.
* The way ddclient chooses the default for the `use` option has changed.
Rather than rely on the default, users should explicitly set the `use`
option.
* The default `interval` changed from 1 minute to 5 minutes.
* The `fw-banlocal` option is deprecated and no longer does anything.
* The `if-skip` option is deprecated and no longer does anything.
* The default server for the `dslreports1` protocol changed from
`members.dyndns.org` to `www.dslreports.com`.
* Removed support for defunct dnsspark service
* Removed support for defunct dtdns service
* Removed support for defunct Hammernode service
## 2020-01-08 v3.9.1
* added support for Yandex.Mail for Domain DNS service
* added support for NearlyFreeSpeech.net
* added support for DNS Made Easy
* added systemd instructions
* added support for dondominio.com
* updated perl instruction
* updated fritzbox instructions
* fixed multidomain support for namecheap
* fixed support for Yandex
## 2018-08-09 v3.9.0
* new dependency: Data::Validate::IP
* added IPv6 support for cloudfare
* added suppport for freemyip
* added configurable TTL to Cloudflare
* added support for woima.fi dyndns service
* added support for google domain
### Detailed list of changes
* [r208] wimpunk: ddclient: cosmetic, remove stray space indent
* [r207] wimpunk: ddclient: Support IPv6 for CloudFlare
* [r206] wimpunk: ddclient: name cheap support https now
From name cheap it seems http is supported now. Since the password was
send on plaintext, https should be used
* [r205] wimpunk: ddclient: Use JSON::PP instead of the (deprecated)
JSON::Any
* [r204] wimpunk: ddclient: Follow expected behavior
Align ddclient behavior and documentation with namecheap's -
https://www.namecheap.com/support/knowledgebase/article.aspx/583/11/how-do-i-configure-ddclient
* [r203] wimpunk: ddclient: Specify port number properly to 'nsupdate' (#58)
If a port number is included in the 'server' configuration item, ddclient
allows a port number to be specified by appending a colon and the port
number to the server's name or IPv4 address. However, nsupdate does not
support this syntax, it requires the port number to be separated from the
server name/address by whitespace.
Signed-off-by: Kevin P. Fleming <kevin%km6g.us@localhost>
* [r202] wimpunk: README.md, README.ssl, ddclient, sample-etc_ddclient.conf,
sample-etc_rc.d_init.d_ddclient.alpine: Adding support for freemyip.com
Support provided by @Cadence-GitHub in by pull request #47
* [r195] wimpunk: ddclient, sample-etc_ddclient.conf: Merge pull request #25
from dancapper/master
Adding configurable TTL to Cloudflare
This change adds configurable TTL to cloudflare instead of just using
hardcoded value of 1 which sets "automatic" TTL any time ddclient updates
the IP address.
* [r194] wimpunk: sample-etc_ddclient.conf: Merge pull request #24 from
gkranis/master
Adding duckdns example
Duckdns example added to sample-etc_ddclient.conf
* [r193] wimpunk: README.md, sample-etc_rc.d_init.d_ddclient.ubuntu: Prevent
service to start multiple times. Added messages if trying to start/stop
already started/stopped service. Added daemon install instructions for
ubuntu.
* [r192] wimpunk: ddclient: odd-fw-patch-squashed
* [r191] wimpunk: README.md, ddclient: Added support for woima.fi dyndns
service
* [r190] wimpunk: ddclient: Cleanup: removing revision info.
Removing revision info even when it's just in the comments.
* [r189] wimpunk: ChangeLog: Adding ChangeLog
Since we are not going to fetch the changes from svn anymore, we add the
old ChangeLog again.
* [r188] wimpunk: .cvsignore, .gitignore: Cleanup: removing old ignore files
Switching to git so we don't need .cvsignore anymore
* [r187] wimpunk: COPYING: FSF address
Address for FSF was wrong, corrected
* [r186] wimpunk: Changelog.old, README.cisco, ddclient,
sample-etc_cron.d_ddclient, sample-etc_ddclient.conf,
sample-etc_dhclient-exit-hooks, sample-etc_dhcpc_dhcpcd-eth0.exe,
sample-etc_ppp_ip-up.local, sample-etc_rc.d_init.d_ddclient.lsb,
sample-etc_rc.d_init.d_ddclient.redhat: Cleanup: removing Id tags from the
files
Preparing a complete move to git. The Id tag isn't useful so removing from
the files seemed to be the best solotion
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 pkgsrc/net/ddclient/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/net/ddclient/PLIST
cvs rdiff -u -r1.14 -r1.15 pkgsrc/net/ddclient/distinfo
cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/ddclient/files/ddclient.sh
cvs rdiff -u -r1.7 -r0 pkgsrc/net/ddclient/patches/patch-aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/ddclient/Makefile
diff -u pkgsrc/net/ddclient/Makefile:1.52 pkgsrc/net/ddclient/Makefile:1.53
--- pkgsrc/net/ddclient/Makefile:1.52 Tue Jun 28 11:34:58 2022
+++ pkgsrc/net/ddclient/Makefile Mon Dec 2 17:59:49 2024
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.52 2022/06/28 11:34:58 wiz Exp $
+# $NetBSD: Makefile,v 1.53 2024/12/02 17:59:49 abs Exp $
-DISTNAME= ddclient-3.8.3
-PKGREVISION= 9
+DISTNAME= ddclient-3.11.2
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ddclient/}
-EXTRACT_SUFX= .tar.bz2
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ddclient/}
+GITHUB_TAG= v${DISTNAME:S/ddclient-//}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://ddclient.sourceforge.net/
@@ -13,42 +12,43 @@ LICENSE= gnu-gpl-v2
USE_TOOLS+= perl:run
USE_LANGUAGES= # empty
+USE_TOOLS+= autoreconf autoconf automake
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --localstatedir=${VARBASE} --sysconfdir=${PKG_SYSCONFDIR}
BUILD_DEFS+= VARBASE
DOCDIR= ${PREFIX}/share/doc/ddclient
EGDIR= ${PREFIX}/share/examples/ddclient
RCD_SCRIPTS= ddclient
-CONF_FILES_PERMS= ${EGDIR}/sample-etc_ddclient.conf \
- ${PKG_SYSCONFDIR}/ddclient.conf \
- ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0600
+CONF_FILES+= ${EGDIR}/ddclient.conf \
+ ${PKG_SYSCONFDIR}/ddclient.conf
+
+DEPENDS+= curl-[0-9]*:../../www/curl
DEPENDS+= p5-JSON-Any>=0.0:../../converters/p5-JSON-Any
REPLACE_INTERPRETER+= sh
REPLACE.sh.old= .*/bin/bash
REPLACE.sh.new= /bin/sh
REPLACE_FILES.sh= sample-ddclient-wrapper.sh
-REPLACE_FILES.sh+= sample-etc_rc.d_init.d_ddclient
+REPLACE_FILES.sh+= sample-get-ip-from-fritzbox
INSTALLATION_DIRS= sbin share/doc/ddclient share/examples/ddclient
-SUBST_CLASSES+= config
-SUBST_MESSAGE.config= Adjust variables: PKG_SYSCONFDIR VARBASE PERL5 (in patch-aa)
-SUBST_FILES.config+= ddclient
-SUBST_STAGE.config= post-patch
-SUBST_VARS.config= PKG_SYSCONFDIR VARBASE PERL5
-
-NO_CONFIGURE= yes
-NO_BUILD= yes
+pre-configure:
+ ${RUN} set -e; cd ${WRKSRC} && autoreconf -fiv
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/ddclient ${DESTDIR}${PREFIX}/sbin
+post-install:
+ ${RM} -f ${DESTDIR}${PKG_SYSCONFDIR}/ddclient.conf
+ ${INSTALL_DATA} ${WRKSRC}/ddclient.conf ${DESTDIR}${EGDIR}/ddclient.conf
${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DESTDIR}${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.ssl ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README.cisco ${DESTDIR}${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/sample-* ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample-d* ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample-e* ${DESTDIR}${EGDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/sample-get-ip-from-fritzbox \
+ ${DESTDIR}${PREFIX}/bin/get-ip-from-fritzbox
.include "options.mk"
Index: pkgsrc/net/ddclient/PLIST
diff -u pkgsrc/net/ddclient/PLIST:1.10 pkgsrc/net/ddclient/PLIST:1.11
--- pkgsrc/net/ddclient/PLIST:1.10 Tue Feb 9 12:23:37 2016
+++ pkgsrc/net/ddclient/PLIST Mon Dec 2 17:59:49 2024
@@ -1,18 +1,14 @@
-@comment $NetBSD: PLIST,v 1.10 2016/02/09 12:23:37 mef Exp $
-sbin/ddclient
+@comment $NetBSD: PLIST,v 1.11 2024/12/02 17:59:49 abs Exp $
+bin/ddclient
+bin/get-ip-from-fritzbox
share/doc/ddclient/COPYING
share/doc/ddclient/COPYRIGHT
share/doc/ddclient/README.cisco
share/doc/ddclient/README.md
-share/doc/ddclient/README.ssl
+share/examples/ddclient/ddclient.conf
share/examples/ddclient/sample-ddclient-wrapper.sh
share/examples/ddclient/sample-etc_cron.d_ddclient
-share/examples/ddclient/sample-etc_ddclient.conf
share/examples/ddclient/sample-etc_dhclient-exit-hooks
share/examples/ddclient/sample-etc_dhcpc_dhcpcd-eth0.exe
share/examples/ddclient/sample-etc_ppp_ip-up.local
-share/examples/ddclient/sample-etc_rc.d_init.d_ddclient
-share/examples/ddclient/sample-etc_rc.d_init.d_ddclient.alpine
-share/examples/ddclient/sample-etc_rc.d_init.d_ddclient.lsb
-share/examples/ddclient/sample-etc_rc.d_init.d_ddclient.redhat
-share/examples/ddclient/sample-etc_rc.d_init.d_ddclient.ubuntu
+share/examples/ddclient/sample-etc_systemd.service
Index: pkgsrc/net/ddclient/distinfo
diff -u pkgsrc/net/ddclient/distinfo:1.14 pkgsrc/net/ddclient/distinfo:1.15
--- pkgsrc/net/ddclient/distinfo:1.14 Tue Oct 26 11:05:30 2021
+++ pkgsrc/net/ddclient/distinfo Mon Dec 2 17:59:49 2024
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.14 2021/10/26 11:05:30 nia Exp $
+$NetBSD: distinfo,v 1.15 2024/12/02 17:59:49 abs Exp $
-BLAKE2s (ddclient-3.8.3.tar.bz2) = b8cab054ddbc331c3f6914d2e1a96ed1289594d4a60727e53c1152df861cdd03
-SHA512 (ddclient-3.8.3.tar.bz2) = 5f2546687faf82a44c1addf058ef23bd29efba163c7fc1e9660f236aa092e9e51d301320cfdb72b78f2e65860386c30d85773d791f7c298d4ce42ba7dcdb4d2d
-Size (ddclient-3.8.3.tar.bz2) = 49026 bytes
-SHA1 (patch-aa) = de1ae69e4b89cc4d1a4146ef3856283c21aa6d76
+BLAKE2s (ddclient-3.11.2.tar.gz) = 4448187c55cd926c797aad6744f1a367e0b86420cfad9a14759af593f2b70660
+SHA512 (ddclient-3.11.2.tar.gz) = b0d275f5ccc36cd8b532b6176de885696ff189dbdffa71bc63e9fa6db2aaf4ab5ff3290c251e318f05b2163c546dcc785eb3582388d9fb70e8439e35e5cbcd7f
+Size (ddclient-3.11.2.tar.gz) = 278314 bytes
Index: pkgsrc/net/ddclient/files/ddclient.sh
diff -u pkgsrc/net/ddclient/files/ddclient.sh:1.7 pkgsrc/net/ddclient/files/ddclient.sh:1.8
--- pkgsrc/net/ddclient/files/ddclient.sh:1.7 Sun Jan 6 16:52:17 2019
+++ pkgsrc/net/ddclient/files/ddclient.sh Mon Dec 2 17:59:49 2024
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: ddclient.sh,v 1.7 2019/01/06 16:52:17 schmonz Exp $
+# $NetBSD: ddclient.sh,v 1.8 2024/12/02 17:59:49 abs Exp $
#
# Dynamic DNS update client
#
@@ -13,7 +13,7 @@ fi
name="ddclient"
rcvar=${name}
-command="@PREFIX@/sbin/${name}"
+command="@PREFIX@/bin/${name}"
required_files="@PKG_SYSCONFDIR@/${name}.conf"
extra_commands="reload"
Home |
Main Index |
Thread Index |
Old Index