Commit graph

568 commits

Author SHA1 Message Date
David Kerr
a1a078ba89 Merge branch 'master' of https://github.com/ddclient/ddclient into Initial-set-of-IPv6-settings 2020-07-03 14:37:18 -04:00
David Kerr
541e3563ca Manual sync with master 2020-07-03 14:35:09 -04:00
Sandro
f0eb0850da
Merge pull request #224 from rhansen/fedora-find
Install findutils on Fedora
2020-07-03 08:35:08 +02:00
Sandro
8cff1a6da2
Merge pull request #222 from rhansen/ci-debian
Also run tests on Debian testing, stable, oldstable
2020-07-03 08:33:40 +02:00
Richard Hansen
451bdd1086 Also run tests on Debian testing, stable, oldstable 2020-07-02 14:05:18 -04:00
Richard Hansen
a00d2cc18e Install findutils on Fedora 2020-07-02 09:58:58 -04:00
Sandro
9c6c7a2b39
Merge pull request #219 from rhansen/editor-variables
Update Vim modeline and Emacs file-local variables
2020-07-02 09:46:09 +02:00
Richard Hansen
283f609b28 Update Vim modeline and Emacs file-local variables
Both:
  * Force the file type to Perl
  * Set the tab width to 8 so that people cringe in horror at the
    sight of a tab
  * Set the line with to 99

Emacs:
  * Disable indent-tabs-mode
  * Set the indentation level to 4

Vim:
  * Highlight column 100

Addresses #206
2020-07-01 22:52:29 -04:00
Richard Hansen
5507b76d83
Merge pull request #218 from ddclient/redhat
Add redhat to ci
2020-07-01 21:50:51 -04:00
Sandro Jäckel
a23b8d558b Add redhat to ci 2020-07-01 21:48:03 -04:00
Richard Hansen
1614e62f2d
Merge pull request #221 from thorsteneb/master
Add FreeBSD; change README to use json-pp for Ubuntu
2020-07-01 12:34:41 -04:00
Thorsten Behrens
2afdf5043c Add FreeBSD; change README to use json-pp for Ubuntu 2020-07-01 12:33:21 -04:00
Richard Hansen
22e9da2d79
Merge pull request #220 from rhansen/dco
Document that contributions are subject to the DCO
2020-07-01 11:47:43 -04:00
Richard Hansen
290077dc5e Document that contributions are subject to the DCO 2020-07-01 11:46:32 -04:00
Richard Hansen
23e372d283
Merge pull request #216 from ddclient/perl-version
Explicit require version
2020-07-01 11:44:23 -04:00
Sandro Jäckel
c4f2670d8b Explicit require version
because centos does not include it at all times
2020-07-01 11:43:47 -04:00
Sandro
19813a7247
Merge pull request #195 from rhansen/config
Move per-service variables to the service definitions
2020-07-01 10:07:46 +02:00
Richard Hansen
8ed93cb576 Move per-service variables to the service definitions
Most of the entries in `%variables` are only used once. Move them down
to their respective service definitions.

Also:
  * Use idiomatic hash merging instead of `merge()`.
  * Sort the variables by name.
2020-06-30 22:14:15 -04:00
David Kerr
115c858b2f Resolve merge conflicts 2020-06-30 21:20:19 -04:00
David Kerr
aac0a11c73 remove T_IFV4 and T_IFV6 because can be the same as T_IF (+5 squashed commits)
Squashed commits:
[469890b] Spelling of deprecated
[a80f1fb] update to latest design spec
[e6193cb] Remove warning message from call to sprintf()
[8d0d168] Updates to new IPv6 settings
[76b75ce] Add all the settings proposed by the IPv6 design document

Updates to new IPv6 settings

Remove warning message from call to sprintf()

update to latest design spec

Spelling of deprecated

remove T_IFV4 and T_IFV6 because can be the same as T_IF
2020-06-30 21:20:19 -04:00
Sandro
ef566064d5
Merge pull request #215 from rhansen/verbose-tests
Recommend `VERBOSE=1` when running tests
2020-07-01 01:42:51 +02:00
Richard Hansen
c198e21c16 Recommend VERBOSE=1 when running tests
This causes Automake to output a failed test's log so that you don't
have to look at the `.log` file yourself.
2020-06-30 19:37:01 -04:00
Richard Hansen
296576d57f
Merge pull request #209 from ddclient/ci-centos
Add test for centos, use matrix for ubuntu
2020-06-30 18:57:39 -04:00
Sandro Jäckel
af718224b3 Add fedora to ci 2020-06-30 18:54:19 -04:00
Sandro Jäckel
ea840db62d Add centos 6 to ci 2020-06-30 18:51:41 -04:00
Sandro Jäckel
c4fae81053 Add centos 8 to ci 2020-06-30 18:51:41 -04:00
Richard Hansen
38d71b2efa Set VERBOSE=1 to show logs on failure 2020-06-30 18:47:22 -04:00
Sandro Jäckel
0ca6e62b67 Use matrix for ubuntu 2020-06-30 18:47:22 -04:00
Sandro
504e326274
Merge pull request #214 from rhansen/woima
Fix woima protocol implementation `for` loop
2020-07-01 00:45:31 +02:00
Richard Hansen
7a2d065a2d Fix woima protocol implementation for loop 2020-06-30 18:41:40 -04:00
Sandro
43c0581334
Merge pull request #213 from rhansen/regex-flag-compat
Remove the `/a` regex flag
2020-07-01 00:37:13 +02:00
Richard Hansen
ccc876c160 Remove the /a regex flag
This flag was added in Perl 5.14 so we can't use it.
2020-06-30 18:34:41 -04:00
Sandro
05e5759aa1
Merge pull request #212 from rhansen/automake-parallel-tests
Enable Automake's parallel-tests feature
2020-07-01 00:27:17 +02:00
Richard Hansen
65bc4cd986 Enable Automake's parallel-tests feature
Apparently it's off by default in Automake 1.11.
2020-06-30 18:22:22 -04:00
Richard Hansen
034e6501ed
Merge pull request #196 from dkerr64/Cleanup-extract_ipv4-and-is_ipv6-and-usage
Cleanup extract ipv4 and is ipv6 and usage
2020-06-30 15:54:25 -04:00
David Kerr
36d8b511b3 Move un_zero_pad into extract_ipv4, extract_ipv6
This also causes `is_ipv4` to reject IPv4 addresses with leading
zeros.
2020-06-30 15:44:24 -04:00
David Kerr
0a999577c7 Simplify the IPv4 regular expression 2020-06-30 15:43:07 -04:00
David Kerr
5da22a8a69 Implement is_ipv6 in terms of extract_ivp6 2020-06-30 15:26:40 -04:00
David Kerr
ab0a4597ce Validate the ip setting 2020-06-30 15:22:13 -04:00
David Kerr
fe513f733d Use is_ipv6, not extract_ipv6, to validate IPv6 address 2020-06-30 15:19:38 -04:00
David Kerr
af1332264f Delete unnecessary address check
`get_ip` is guaranteed to return a valid IP address or `undef`.
2020-06-30 15:16:55 -04:00
Sandro
7e0f696c87
Merge pull request #210 from rhansen/tap-driver.sh
Tell Git to ignore changes to build-aux/tap-driver.sh
2020-06-30 21:00:36 +02:00
Sandro
7c81627c92
Merge pull request #211 from rhansen/rename-template
Rename `*.template` to `*.in`
2020-06-30 20:51:32 +02:00
Richard Hansen
44eaf653f1 Rename *.template to *.in
Apparently the `.template` extension is commonly used in macOS for a
word processor template file.

See issue #206.
2020-06-30 13:27:08 -04:00
Richard Hansen
38e44ef1fb Tell Git to ignore changes to build-aux/tap-driver.sh 2020-06-30 12:27:11 -04:00
Richard Hansen
5e7683df85 Merge pull request #208 from ddclient/fix-shebang
Fix shebang
2020-06-30 11:59:27 -04:00
Sandro Jäckel
86a3294b0f Fix shebang
cause perl needs a regular shebang even when evoking the script
directly with perl
2020-06-30 11:55:11 -04:00
Sandro
06851b770e
Merge pull request #207 from rhansen/test-improvements 2020-06-30 09:08:50 +02:00
Richard Hansen
a8212a397e Add a test for unexpected warnings 2020-06-30 00:40:26 -04:00
Richard Hansen
0cc83cd5ec Simplify runtime imports in test code
Also use `BAIL_OUT` instead of `die` if `require 'ddclient'` fails.
2020-06-29 17:26:46 -04:00