Update the ddclient.service to not conflicts with ipmi devices
OBS-URL: https://build.opensuse.org/package/show/network/ddclient?expand=0&rev=74
This commit is contained in:
commit
a2d706ce18
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
ddclient-3.11.2.tar.gz
Normal file
3
ddclient-3.11.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:243cd832abd3cdd2b49903e1b5ed7f450e2d9c4c0eaf8ce4fe692c244d3afd77
|
||||
size 278314
|
44
ddclient-config.patch
Normal file
44
ddclient-config.patch
Normal file
@ -0,0 +1,44 @@
|
||||
--- ddclient-3.10.0/ddclient.conf.in.bak 2022-12-27 12:41:54.160794070 +0100
|
||||
+++ ddclient-3.10.0/ddclient.conf.in 2022-12-27 12:43:39.501317859 +0100
|
||||
@@ -18,10 +18,10 @@
|
||||
######################################################################
|
||||
daemon=300 # check every 300 seconds
|
||||
syslog=yes # log update msgs to syslog
|
||||
-mail=root # mail all msgs to root
|
||||
+#mail=root # mail all msgs to root
|
||||
mail-failure=root # mail failed update msgs to root
|
||||
-pid=@runstatedir@/ddclient.pid # record PID in file.
|
||||
-ssl=yes # use ssl-support. Works with
|
||||
+pid=/run/ddclient/ddclient.pid # record PID in file.
|
||||
+ssl=no # use ssl-support. Works with
|
||||
# ssl-library
|
||||
# postscript=script # run script after updating. The
|
||||
# new IP is added as argument.
|
||||
@@ -56,6 +56,9 @@
|
||||
#
|
||||
#use=ip, ip=127.0.0.1 # via static IP's
|
||||
#use=if, if=eth0 # via interfaces
|
||||
+#use=if, if=ippp0 # when using ISDN
|
||||
+#use=if, if=ppp0 # when using DSL
|
||||
+#use=if, if=tun0 # when using tunnel device
|
||||
#use=web # via web
|
||||
#
|
||||
#protocol=dyndns2 # default protocol
|
||||
@@ -69,6 +72,17 @@
|
||||
#backupmx=yes|no # host is primary MX?
|
||||
#wildcard=yes|no # add wildcard CNAME?
|
||||
|
||||
+## selfhost dynamic addresses
|
||||
+## http://cms.selfhost.de/cgi-bin/selfhost?p=faq&show=113
|
||||
+##
|
||||
+# server=carol.selfhost.de, \
|
||||
+# protocol=dyndns2, \
|
||||
+# login=your-selfhost-login, \
|
||||
+# password=your-selfhost-password \
|
||||
+# your.selfhost.bz
|
||||
+
|
||||
+##
|
||||
+
|
||||
##
|
||||
## dyndns.org dynamic addresses
|
||||
##
|
10
ddclient-delay-main-process-for-systemd.patch
Normal file
10
ddclient-delay-main-process-for-systemd.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- ddclient-3.10.0/ddclient.in.bak 2022-12-27 12:47:57.318599529 +0100
|
||||
+++ ddclient-3.10.0/ddclient.in 2022-12-27 12:48:06.902647037 +0100
|
||||
@@ -1051,6 +1051,7 @@
|
||||
print STDERR "${program}: can not fork ($!)\n";
|
||||
exit -1;
|
||||
} elsif ($pid) {
|
||||
+ sleep(1);
|
||||
exit 0;
|
||||
}
|
||||
$SIG{'CHLD'} = 'DEFAULT';
|
11
ddclient-disable-automake-treating-warnings-as-error.patch
Normal file
11
ddclient-disable-automake-treating-warnings-as-error.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- ddclient-3.11.2/configure.ac.orig 2024-10-30 10:23:41.442181020 +0100
|
||||
+++ ddclient-3.11.2/configure.ac 2024-10-30 10:24:22.006324398 +0100
|
||||
@@ -11,7 +11,7 @@
|
||||
# tap-driver.sh, so build-aux/tap-driver.sh is checked in to keep the
|
||||
# above AC_REQUIRE_AUX_FILE line from causing configure to complain
|
||||
# about a mising file if the user has Automake 1.11.)
|
||||
-AM_INIT_AUTOMAKE([1.11 -Wall -Werror foreign subdir-objects parallel-tests])
|
||||
+AM_INIT_AUTOMAKE([1.11 -Wall foreign subdir-objects parallel-tests])
|
||||
AM_SILENT_RULES
|
||||
|
||||
AC_PROG_MKDIR_P
|
1
ddclient-tmpfiles.conf
Normal file
1
ddclient-tmpfiles.conf
Normal file
@ -0,0 +1 @@
|
||||
d /run/ddclient 0755 ddclient ddclient -
|
579
ddclient.changes
Normal file
579
ddclient.changes
Normal file
@ -0,0 +1,579 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 17:03:41 UTC 2024 - Valentin Lefebvre <valentin.lefebvre@suse.com>
|
||||
|
||||
- ddclient.service: Do not restrict access to devices, can conflicts
|
||||
with ipmi. [bsc#1232044]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 09:31:48 UTC 2024 - Andreas Vetter <vetter@physik.uni-wuerzburg.de>
|
||||
|
||||
- Add ddclient-disable-automake-treating-warnings-as-error.patch:
|
||||
Disable automake treating warnings as error, see
|
||||
https://github.com/ddclient/ddclient/pull/746/
|
||||
This makes building in OBS working again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 5 10:10:56 UTC 2024 - Michal Suchanek <msuchanek@suse.com>
|
||||
|
||||
- Use sysuser-tools to create user.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 23 17:05:39 UTC 2023 - Valentin Lefebvre <valentin.lefebvre@suse.com>
|
||||
|
||||
- Update to 3.11.2
|
||||
* 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).
|
||||
* 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.
|
||||
* 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
|
||||
* Fixed simultaneous IPv4 and IPv6 updates for provider duckdns
|
||||
* Fixed caching issues for new providers when using the old 'use' config
|
||||
parameter
|
||||
* 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.
|
||||
* 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
|
||||
- Remove fix-configure_ac.patch
|
||||
- Rebase disable-ip-test.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 1 10:41:36 UTC 2023 - munix9@googlemail.com
|
||||
|
||||
- Add curl as BuildRequires/Requires to be able to use the '-curl'
|
||||
option (eg. in DDCLIENT_OPTIONS in /etc/sysconfig/ddclient).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 27 12:40:48 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- Update to 3.10.0:
|
||||
* Added support for domaindiscount24.com
|
||||
* Added support for njal.la
|
||||
* Added support for Cloudflare API tokens
|
||||
* Added support for OVH DynHost.
|
||||
* Added support for ClouDNS.
|
||||
* Added support for dinahosting.
|
||||
* Added support for Gandi LiveDNS.
|
||||
* 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
|
||||
ip+4only.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
|
||||
* 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-validateto 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.
|
||||
* 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
|
||||
- Add fix-configure_ac.patch
|
||||
- Add disable-ip-test.patch
|
||||
- Rebase ddclient-config.patch
|
||||
- Rebase ddclient-delay-main-process-for-systemd.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 12 16:08:36 UTC 2022 - chris@computersalat.de
|
||||
|
||||
- fix for boo#1191885
|
||||
add SupplementaryGroups=maildrop to service file
|
||||
- rename ddclient-3.8.1-config.patch to ddclient-config.patch
|
||||
- rebase patch
|
||||
* ddclient-delay-main-process-for-systemd.patch (p0)
|
||||
- update ddclient-config.patch
|
||||
* fix PID file path
|
||||
- merge ddclient-replace-varrun-with-run.patch into
|
||||
ddclient-config.patc
|
||||
- merge changes file with SLES Maintained pkg
|
||||
- update Source to %{name}-%{version}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 24 07:56:20 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
- Modify the systemd service file so ddclient is run After
|
||||
network-online.target instead of just network.target, since
|
||||
running ddclient without being online is pointless.
|
||||
- Added a Wants statement for the same systemd targets as in After
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 1 12:27:43 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
- Added hardening to systemd service(s). Modified:
|
||||
* ddclient.service
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 18 14:43:16 UTC 2021 - Josef Möllers <josef.moellers@suse.com>
|
||||
|
||||
- Systemd expects the PID file to exist as soon as the main process
|
||||
exists. However, it takes quite a while until the pid file is
|
||||
created by the daemon process, so we delay the main process
|
||||
for 1 second before exit()ing.
|
||||
This gets rid of an annoying warning message in "systemctl
|
||||
status".
|
||||
[ddclient, ddclient-delay-main-process-for-systemd.patch]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 12 15:09:21 UTC 2021 - Josef Möllers <josef.moellers@suse.com>
|
||||
|
||||
- Use an extended regular expression in sed to change (/var)?/run.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 22 06:12:24 UTC 2021 - Josef Möllers <josef.moellers@suse.com>
|
||||
|
||||
- In the (sample) /etc/ddclient.conf, also replace /var/run with /run.
|
||||
[ddclient-replace-varrun-with-run.patch, bsc#1185069]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 21 12:20:55 UTC 2021 - Josef Möllers <josef.moellers@suse.com>
|
||||
|
||||
- /var/run is deprecated, replaced by /run in ddclient-tmpfiles.conf
|
||||
[ddclient-tmpfiles.conf, bsc#1185069]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 19 09:56:26 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Use %{_tmpfilesdir} instead of abusing %{_libexecdir}.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 3 14:16:09 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Use properly tmpfiles-create
|
||||
- Remove the systemd conditional
|
||||
- Fixup download url
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 2 08:26:42 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Replace pwdutils with shadow, former is gone long time ago
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 24 20:46:43 UTC 2020 - Manu Maier <mmanu84@outlook.de>
|
||||
|
||||
- Upgrade to ddclient-3.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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 31 23:19:02 UTC 2019 - chris@computersalat.de
|
||||
|
||||
- fix for boo#1127387
|
||||
* systemd-tmpfiles need updating from /var/run/* to /run/*
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 16 00:08:01 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Ensure neutrality of description.
|
||||
- Do not ignore errors from useradd.
|
||||
- Avoid %__-type macro indirection.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 1 07:26:04 UTC 2018 - obs@botter.cc
|
||||
|
||||
- Require perl-Data-Validate-IP
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 13 12:51:46 UTC 2018 - Stefan Jakobs <projects@localside.net>
|
||||
|
||||
- Upgrade to ddclient-3.9.0
|
||||
* Support IPv6 for CloudFlare
|
||||
* name cheap support https now
|
||||
* Use JSON::PP instead of the (deprecated) JSON::Any
|
||||
* Specify port number properly to 'nsupdate'
|
||||
* Adding support for freemyip.com
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 23 13:38:22 UTC 2017 - rbrown@suse.com
|
||||
|
||||
- Replace references to /var/adm/fillup-templates with new
|
||||
%_fillupdir macro (boo#1069468)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 3 08:36:33 UTC 2017 - josef.moellers@suse.com
|
||||
|
||||
- Upgrade to ddclient-3.8.3.
|
||||
* added Alpine Linux init scritp - patch send by @Tal on github.
|
||||
* adding support for nsupdate - patch send by @droe on github
|
||||
* allow log username-password combinations - patch send by @dirdi on github
|
||||
* adding support for cloudflare - patch send by @roberthawdon on github
|
||||
* adding support for duckdns - patch send by @gkranis
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 8 23:59:41 UTC 2016 - chris@computersalat.de
|
||||
|
||||
- fix for boo#903588
|
||||
- revert patch change
|
||||
- recover deleted changes (rev34)
|
||||
- systemd fix
|
||||
* conf file must be accessible only by its owner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 30 17:51:12 CEST 2014 - pth@suse.de
|
||||
|
||||
- Use perl_requires instead of harcoding a value.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 18 11:03:39 UTC 2014 - stefan.fent@suse.com
|
||||
|
||||
- fix pidfile path in /etc/ddclient.conf and set ownership to ddclient
|
||||
- create user and group ddclient (bnc#881520)
|
||||
- create /run/ddclient/ with user and group ddclient if not yet
|
||||
available in %pre
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 22 13:14:42 UTC 2014 - chris@computersalat.de
|
||||
|
||||
- update systemd stuff
|
||||
* add {?has_systemd} to fix build for Systems using init scripts
|
||||
- spec cleanup
|
||||
* add missing BuildRoot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 20 14:31:29 UTC 2014 - jsegitz@novell.com
|
||||
|
||||
- ensure proper handling of .service files with %service_add_pre
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 31 17:02:59 UTC 2013 - benoit.monin@gmx.fr
|
||||
|
||||
- update to 3.8.2
|
||||
* adding support by ChangeIP
|
||||
* sha-1 patch to allow Digest::SHA
|
||||
* allow reuse of use
|
||||
* preventing deep sleep - see bug #46
|
||||
* Fallback to iproute if ifconfig doesn't work
|
||||
- drop ddclient-3.8.1-update_nic.patch: upstream changed the "use"
|
||||
logic
|
||||
- move all sample-* to examples under the documentation directory
|
||||
- update source url on sourceforge
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 4 13:08:25 UTC 2013 - seife+obs@b1-systems.com
|
||||
|
||||
- fix the breakage from last submission:
|
||||
* service file was put into tmpfiles.d
|
||||
* tmpfiles config was put into systemd service dir
|
||||
* rcddclient link was broken (pointed to "service" file)
|
||||
- fix rpmlint warnings, also introduced by last submission:
|
||||
* service files and tmpdir config are neither config files nor
|
||||
should be executable
|
||||
- package is noarch, mark it as such
|
||||
- documentation should not have executable bit set
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 27 15:12:09 UTC 2013 - p.drouand@gmail.com
|
||||
|
||||
- Improve systemd support for openSUSE >= 12.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 16 13:23:40 UTC 2013 - seife+obs@b1-systems.com
|
||||
|
||||
- more init-script fixes:
|
||||
- startproc now needs the pidfile parameter (or it woulld look
|
||||
for "perl.pid". Sorry, should have run more tests.
|
||||
- while I'm at it, get the pidfile from the config file in case
|
||||
the user would have changed it
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 15 07:58:26 UTC 2013 - seife+obs@b1-systems.com
|
||||
|
||||
- fix init script: start ddclient with "/usr/bin/perl ddclient",
|
||||
otherwise startproc will falsely report that starting failed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 24 21:30:01 UTC 2012 - chris@computersalat.de
|
||||
|
||||
- rework config patch
|
||||
* ddclient.conf: add example for selfhost (http://selfhost.de)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 25 04:03:07 UTC 2012 - binli@opensuse.org
|
||||
|
||||
- Update ddclient-3.8.1-config.patch to check the configuraton file
|
||||
from /etc instead of /etc/ddclient (bnc#781699).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 9 15:25:09 UTC 2012 - chris@computersalat.de
|
||||
|
||||
- update to 3.8.1
|
||||
* Fixing #28: FreeDNS.afraid.org changed api slightly
|
||||
* Added dtdns-support
|
||||
* Added support for longer password
|
||||
* Added cisco-asa patch
|
||||
* Added support for LoopiaDNS
|
||||
- rebase patches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 19 15:06:08 CEST 2011 - ro@suse.de
|
||||
|
||||
- remove leftover debug line in init script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 10:34:17 CEST 2011 - ro@suse.de
|
||||
|
||||
- upgrade Suggests for perl-IO-Socket-SSL to Recommends
|
||||
(bnc#723688)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections from specfile
|
||||
(cf. packaging guidelines)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 29 15:22:47 CEST 2011 - ro@suse.de
|
||||
|
||||
- work on init-script so that start/status/stop at least work
|
||||
(bnc#267306)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 1 11:01:31 UTC 2009 - chris@computersalat.de
|
||||
|
||||
- rework config patch
|
||||
o now one patch
|
||||
o merged
|
||||
- ddclient-3.6.3-config.patch
|
||||
- ddclient-3.7.1-config.patch
|
||||
- ddclient-3.7.1-sysconfig.patch
|
||||
to ddclient-3.8.0-config.patch
|
||||
o defaults for ppp0
|
||||
- added update_nic.patch
|
||||
* opt('use') should have priority to global-defaults
|
||||
- init script
|
||||
o beautify
|
||||
o should start rp-pppoe
|
||||
o ppp0 as a "use=" default if not set in ddclient.conf
|
||||
- sysconfig
|
||||
o added argument list for DDCLIENT_OPTIONS
|
||||
- cleanup spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 30 20:12:52 CEST 2009 - coolo@novell.com
|
||||
|
||||
- use %patch0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 26 12:53:54 CEST 2009 - mls@suse.de
|
||||
|
||||
- make patch0 usage consistent
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 2 14:57:23 CET 2009 - kssingvo@suse.de
|
||||
|
||||
- made rpmlint more happy
|
||||
- removed unneccessary .orig file to avoid build issue
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 28 14:18:40 CET 2009 - kssingvo@suse.de
|
||||
|
||||
- new version 3.8.0:
|
||||
* better password handling
|
||||
* ddclient wrapper now included
|
||||
* some remarks concerning postscript in sample config file
|
||||
* support for multiple IP adresses
|
||||
* namecheap patch
|
||||
* Preventing error while reading cache when ip wasn't set correctly
|
||||
before
|
||||
* Preventing an error when trying to send a message on mail-failure
|
||||
* mail-on-kill functionality
|
||||
* documentation changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 27 18:12:39 CET 2009 - kukuk@suse.de
|
||||
|
||||
- Add PreRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 30 15:01:09 CEST 2007 - kssingvo@suse.de
|
||||
|
||||
- config file ddclient.conf now with noreplace (bugzilla#305533)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 7 11:08:19 CEST 2007 - kssingvo@suse.de
|
||||
|
||||
- upgrade to version 3.7.3:
|
||||
* fixed typo for dnspark
|
||||
* Renamed dyndns.org to dyndns.com
|
||||
* opendns support added
|
||||
* several debian/ubuntu patches included
|
||||
* Readme changes
|
||||
* signature modified
|
||||
* typo in namecheap support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 14 12:14:12 CEST 2007 - kssingvo@suse.de
|
||||
|
||||
- upgrade to version 3.7.2:
|
||||
* updated easydns support
|
||||
* fix for 'fw' in case of debug
|
||||
* ssl call changed
|
||||
* easydns.patch and eurodns.patch now included
|
||||
- enable_fw patch removed, now in upstream version included
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 3 14:26:56 CEST 2007 - kssingvo@suse.de
|
||||
|
||||
- added sysconfig file, as suggested in bugzilla#268138
|
||||
- added /var/cache/ddclient (bugzilla#268138)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 20:38:18 CEST 2007 - kssingvo@suse.de
|
||||
|
||||
- fixed issue in debug messages (bugzilla#250170)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 13 09:43:01 CET 2007 - kssingvo@suse.de
|
||||
|
||||
- disabled ssl in default config (bugzilla#232005)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 12 16:11:18 CET 2007 - kssingvo@suse.de
|
||||
|
||||
- update to version 3.7.1:
|
||||
* URL of zoneedit has changed (see bug #1558483)
|
||||
* Added initscript for Ubuntu (posted by Paolo Martinelli)
|
||||
* Added patch "Patch: Treat --daemon values as intervals"
|
||||
(submitted by James deBoer)
|
||||
* Don't send any mail when in not running daemon mode (patch
|
||||
submitted by Daniel Thaler)
|
||||
* Changed Changelog syntax
|
||||
* Applied patches submitted by Torsten:
|
||||
abuse_msg.diff: ddclient still reports the email to contact
|
||||
dyndns.org but they prefer a web form today (IIRC). This patch
|
||||
adjusts the abuse warning printed by ddclient.
|
||||
cachedir.diff: Original ddclient stores a cache file in /etc
|
||||
which would belong in /var/cache in my opinion and according
|
||||
to the FHS.
|
||||
help_nonroot.diff: Allow calling the help function as non-root.
|
||||
update-new-config.patch: Force update if config has changed
|
||||
smc-barricade-7401bra.patch: Support for SMC Barricade 7401BRA
|
||||
FW firewall
|
||||
cisco_fw.diff: Use configured hostname for firewall access with
|
||||
-use=cisco (closes: #345712). Thanks to Per Carlson for the
|
||||
patch! See http://bugs.debian.org/345712.
|
||||
maxinterval.diff: Increase max interval for updates.
|
||||
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=129370
|
||||
http://www.dyndns.com/support/services/dyndns/faq.html#q15
|
||||
- added Suggests: for perl-IO-SSL-Socket (bugzilla#232005)
|
||||
- adapted /etc config patch to new version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 8 12:31:20 CET 2007 - kssingvo@suse.de
|
||||
|
||||
- fixed checkproc in init script (bugzilla#229460)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 20 16:56:41 CEST 2006 - kssingvo@suse.de
|
||||
|
||||
- added init script (bugzilla#201548)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 28 16:46:05 CEST 2006 - kssingvo@suse.de
|
||||
|
||||
- update to version 3.7.0:
|
||||
- support of many new routers
|
||||
- fix to have a '#' char in the password
|
||||
- renamed .orig to _orig in %doc section
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:35:24 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 11 14:32:12 CET 2006 - kssingvo@suse.de
|
||||
|
||||
- update to version 3.6.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 26 15:49:56 CEST 2005 - kssingvo@suse.de
|
||||
|
||||
- update to version 3.6.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 29 14:17:01 CEST 2005 - kssingvo@suse.de
|
||||
|
||||
- fix of config directory location (bugzilla#74539)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 1 17:04:29 CET 2005 - kssingvo@suse.de
|
||||
|
||||
- new version 3.6.5: there was a bug in the linksys-ver2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 4 11:45:06 CET 2004 - kssingvo@suse.de
|
||||
|
||||
- new version 3.6.4 and now maintained at sourceforge
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 11 11:57:08 CET 2004 - adrian@suse.de
|
||||
|
||||
- fix build as user
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 13 15:22:09 CEST 2003 - kssingvo@suse.de
|
||||
|
||||
- fixed defaults (bugzilla#27701)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 24 16:13:03 CEST 2003 - kssingvo@suse.de
|
||||
|
||||
- upgraded to ddclient-3.6.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 14 17:08:21 CET 2003 - kssingvo@suse.de
|
||||
|
||||
- updated to ddclient-3.6.3beta3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 28 13:01:07 CET 2002 - kssingvo@suse.de
|
||||
|
||||
- first shot.
|
32
ddclient.service
Normal file
32
ddclient.service
Normal file
@ -0,0 +1,32 @@
|
||||
[Unit]
|
||||
Description=A Perl Client Used To Update Dynamic DNS
|
||||
After=network-online.target nss-lookup.target
|
||||
Wants=network-online.target nss-lookup.target
|
||||
|
||||
[Service]
|
||||
# added automatically, for details please see
|
||||
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
||||
ProtectSystem=full
|
||||
ProtectHome=true
|
||||
PrivateDevices=false
|
||||
DevicePolicy=closed
|
||||
DeviceAllow=char-ipmidev rw
|
||||
ProtectHostname=true
|
||||
ProtectClock=true
|
||||
ProtectKernelTunables=true
|
||||
ProtectKernelModules=true
|
||||
ProtectKernelLogs=true
|
||||
ProtectControlGroups=true
|
||||
RestrictRealtime=true
|
||||
# end of automatic additions
|
||||
User=ddclient
|
||||
Group=ddclient
|
||||
Type=forking
|
||||
PIDFile=/run/ddclient/ddclient.pid
|
||||
EnvironmentFile=-/etc/sysconfig/ddclient
|
||||
ExecStartPre=/bin/touch /var/cache/ddclient/ddclient.cache
|
||||
ExecStart=/usr/sbin/ddclient $DDCLIENT_OPTIONS
|
||||
SupplementaryGroups=maildrop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
123
ddclient.spec
Normal file
123
ddclient.spec
Normal file
@ -0,0 +1,123 @@
|
||||
#
|
||||
# spec file for package ddclient
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: ddclient
|
||||
Version: 3.11.2
|
||||
Release: 0
|
||||
Summary: A Perl Client to Update Dynamic DNS Entries
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Networking/DNS/Utilities
|
||||
URL: https://github.com/ddclient/ddclient
|
||||
Source0: https://github.com/ddclient/ddclient/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: %{name}.service
|
||||
Source2: %{name}.sysconfig
|
||||
Source3: %{name}-tmpfiles.conf
|
||||
Patch0: %{name}-config.patch
|
||||
Patch1: %{name}-delay-main-process-for-systemd.patch
|
||||
Patch2: disable-ip-test.patch
|
||||
Patch3: %{name}-disable-automake-treating-warnings-as-error.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: curl
|
||||
BuildRequires: make
|
||||
BuildRequires: sysuser-tools
|
||||
BuildRequires: perl(HTTP::Daemon)
|
||||
BuildRequires: perl(HTTP::Message::PSGI)
|
||||
BuildRequires: perl(IO::Socket::SSL)
|
||||
BuildRequires: perl(Test::MockModule)
|
||||
BuildRequires: perl(Test::Warnings)
|
||||
Requires: curl
|
||||
Requires: perl >= 5.10.1
|
||||
Requires(pre): %fillup_prereq
|
||||
Requires(pre): shadow
|
||||
Recommends: perl-IO-Socket-SSL
|
||||
BuildArch: noarch
|
||||
%{?systemd_requires}
|
||||
%sysusers_requires
|
||||
|
||||
%description
|
||||
ddclient is a client requiring only Perl. Supported
|
||||
features include daemon operation, manual and automatic updates, static
|
||||
and dynamic updates, optimized updates for multiple addresses, MX, wild
|
||||
cards, abuse avoidance, retry for failed updates, and status updates to
|
||||
syslog and through e-mail. ddclient can obtain the IP address from any
|
||||
interface, through a Web-based IP detection service, and for multiple
|
||||
routers using custom FW definitions. It also provides full support for
|
||||
DynDNS.org's NIC2 protocol. Support is also included for other dynamic
|
||||
DNS services. Comes with sample scripts for use with DHCP, PPP, and
|
||||
cron.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
rm -f sample-etc_ddclient.conf.orig
|
||||
chmod a-x sample-*
|
||||
mkdir examples
|
||||
mv sample-* examples
|
||||
echo u ddclient - '"DDClient User"' %{_localstatedir}/cache/%{name} /bin/false > system-user-ddclient.conf
|
||||
|
||||
%build
|
||||
./autogen
|
||||
%configure
|
||||
make
|
||||
%sysusers_generate_pre system-user-ddclient.conf ddclient system-user-ddclient.conf
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find examples -name *exe -delete
|
||||
mkdir -p %{buildroot}%{_sbindir}/
|
||||
mv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_sbindir}/%{name}
|
||||
sed -i -e "s,%{_localstatedir}/run/,/run/%{name}/," %{buildroot}%{_sysconfdir}/%{name}.conf
|
||||
install -D -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}.service
|
||||
install -D -m 644 %{SOURCE3} %{buildroot}%{_tmpfilesdir}/%{name}.conf
|
||||
ln -s service %{buildroot}%{_sbindir}/rc%{name}
|
||||
install -d -m 755 %{buildroot}%{_fillupdir}
|
||||
install -m 644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
||||
install -d -m 755 %{buildroot}%{_localstatedir}/cache/%{name}
|
||||
install -d -m 755 %{buildroot}/run/%{name}
|
||||
install -D -m 0644 system-user-ddclient.conf %{buildroot}%{_sysusersdir}/system-user-ddclient.conf
|
||||
|
||||
%check
|
||||
make VERBOSE=1 check
|
||||
|
||||
%pre -f ddclient.pre
|
||||
%service_add_pre %{name}.service
|
||||
|
||||
%post
|
||||
%fillup_only
|
||||
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
|
||||
%service_add_post %{name}.service
|
||||
|
||||
%preun
|
||||
%service_del_preun %{name}.service
|
||||
|
||||
%postun
|
||||
%service_del_postun %{name}.service
|
||||
|
||||
%files
|
||||
%doc COPY* README* examples
|
||||
%config(noreplace) %attr(600,%{name},root) %{_sysconfdir}/%{name}.conf
|
||||
%{_unitdir}/%{name}.service
|
||||
%{_tmpfilesdir}/ddclient.conf
|
||||
%ghost %dir %attr(755,%{name},%{name}) /run/%{name}
|
||||
%{_sbindir}/%{name}
|
||||
%{_sbindir}/rc%{name}
|
||||
%{_fillupdir}/sysconfig.%{name}
|
||||
%dir %attr(700,%{name},root) %{_localstatedir}/cache/%{name}
|
||||
%{_sysusersdir}/system-user-ddclient.conf
|
||||
|
||||
%changelog
|
31
ddclient.sysconfig
Normal file
31
ddclient.sysconfig
Normal file
@ -0,0 +1,31 @@
|
||||
## Path: Network/DNS/Utilities
|
||||
## Description: ddclient intervall option
|
||||
## Type: integer
|
||||
## Default: 300
|
||||
## ServiceRestart: ddclient
|
||||
#
|
||||
# intervall to check (in daemon mode)
|
||||
#
|
||||
DDCLIENT_INTERVALL="300"
|
||||
|
||||
## Description: ddclient start options
|
||||
## Type: string
|
||||
## Default: ""
|
||||
## ServiceRestart: ddclient
|
||||
#
|
||||
# optional per-service arguments (see below).
|
||||
#
|
||||
# -{no}retry : retry failed updates. (default: noretry).
|
||||
# -{no}force : force an update even if the update may be unnecessary (default: noforce).
|
||||
# -timeout max : wait at most 'max' seconds for the host to respond (default: 0).
|
||||
# -{no}syslog : log messages to syslog (default: nosyslog).
|
||||
# -facility {type} : log messages to syslog to facility {type} (default: daemon).
|
||||
# -priority {pri} : log messages to syslog with priority {pri} (default: notice).
|
||||
# -{no}exec : do {not} execute; just show what would be done (default: exec).
|
||||
# -{no}debug : print {no} debugging information (default: nodebug).
|
||||
# -{no}verbose : print {no} verbose information (default: noverbose).
|
||||
# -{no}quiet : print {no} messages for unnecessary updates (default: noquiet).
|
||||
# -help : this message (default: 0).
|
||||
# -{no}query : print {no} ip addresses and exit.
|
||||
#
|
||||
DDCLIENT_OPTIONS=""
|
10
disable-ip-test.patch
Normal file
10
disable-ip-test.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- ddclient-3.10.0/Makefile.am.bak 2022-12-27 13:47:28.996235989 +0100
|
||||
+++ ddclient-3.10.0/Makefile.am 2022-12-27 13:47:34.848264936 +0100
|
||||
@@ -62,7 +62,6 @@
|
||||
-I'$(abs_top_srcdir)'/t/lib \
|
||||
-MDevel::Autoflush
|
||||
handwritten_tests = \
|
||||
- t/get_ip_from_if.pl \
|
||||
t/is-and-extract-ipv4.pl \
|
||||
t/is-and-extract-ipv6.pl \
|
||||
t/is-and-extract-ipv6-global.pl \
|
Loading…
Reference in New Issue
Block a user