1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 19:33:59 +02:00
Commit Graph

208 Commits

Author SHA1 Message Date
Michal Vasilek
d16d6e58d2 ddns-scripts: fix cloudflare&digitalocean provides
Fixes mistake in dbe79e409d, the
cloudflare PROVIDES got mixed up with digitalocean.

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit 001564ed83)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Remove PKG_RELEASE version bump
2022-10-18 15:52:26 +02:00
Michal Vasilek
687e137335 ddns-scripts: add PROVIDES for old package names
* ddns-scripts-services: provide ddns-scripts_service
* ddns-scripts-cloudflare: provide ddns-scripts_digitalocean.com-v2
* ddns-scripts-freedns: provide ddns-scripts_freedns_42_pl
* ddns-scripts-godaddy: provide ddns-scripts_godaddy.com-v1
* ddns-scripts-noip: provide ddns-scripts_no-ip_com
* ddns-scripts-nsupdate: provide ddns-scripts_nsupdate
* ddns-scripts-route53: provide ddns-scripts_route53-v1
* ddns-scripts-cnkuai: provide ddns-scripts_cnkuai_cn

https://github.com/openwrt/packages/pull/13509 renamed many ddns-scripts
packages, but didn't include a PROVIDES for the old package names to
make updates work well.

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit dbe79e409d)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Remove PKG_RELEASE version bump
2022-10-18 13:39:22 +02:00
Peter Gransdorfer
5d82c07163 ddns-scripts: use HTTPS for spdyn
Signed-off-by: Peter Gransdorfer <peter.gransdorfer@cattronix.com>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
- PKG_RELEASE number updated
(cherry picked from commit c0296bf25d)
2021-11-30 13:03:21 +01:00
Scott Lamb
17c4b03320
ddns-scripts: use https for google ipv6 ddns url
This matches an ipv4 change in 21f5cdd2fa and has the same rationale.
Google requires https for both ipv6 and ipv6.

Signed-off-by: Scott Lamb <slamb@slamb.org>
(cherry picked from commit e5f45b94c0)
2021-07-21 23:54:17 +02:00
Florian Eckert
1e01952ce8 ddns-scripts: get l3 device for bind network using curl
If pppoe is used for wan access. script set 'eth1' as interface for curl
call. The correct interface is however 'pppoe-wan'.

The script uses 'network_get_physdev' function to get real device for
bind_network but this is wrong. We need instead the l3_device of the the
logical interface.

In case if we don't use pppoe connection - 'l3_device' is equal to real device.

This was reported by the github user `welderpb` with P/R:
 https://github.com/openwrt/packages/pull/14431

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 036079b308)
2021-06-22 10:24:49 +02:00
Wenli Looi
99f838dd6d ddns-scripts: Fix for domains with dash
Signed-off-by: Wenli Looi <wlooi@ucalgary.ca>
(cherry picked from commit 9e2aad3fde)
2021-06-22 10:24:38 +02:00
Wenli Looi
12cd693294 ddns-scripts: Fix for wildcard subdomain
Signed-off-by: Wenli Looi <wlooi@ucalgary.ca>
(cherry picked from commit 93344aafa0)
2021-06-22 10:24:12 +02:00
Edi Turn
0e4f2b1068 ddns-scripts: make WGET_SSL executable
Signed-off-by: Edi Turn <yyxstter@gmail.com>
2021-01-27 20:40:03 +08:00
Gerald Hansen
219b0af28f ddns-scripts: Increase PKG_RELEASE
Signed-off-by: Gerald Hansen <gerald.hansen@posteo.de>
2021-01-26 11:24:08 +01:00
Gerald Hansen
937560417c ddns-scripts: Remove not working ddns provider
I checked the hostname for existing DNS A and AAAA entries and these
ones didn't have an entry.

Signed-off-by: Gerald Hansen <gerald.hansen@cloud.ionos.com>
2021-01-26 11:24:08 +01:00
Gerald Hansen
9787de80e5 ddns-scripts: Change parameter for myonlineportal
As the default uclient-fetch doesn't support authentication header
and the ddns provider myonlineportal.net support also username and
passwort as url parameter this can be changed.

Signed-off-by: Gerald Hansen <gerald.hansen@cloud.ionos.com>
2021-01-26 11:24:08 +01:00
Huangbin Zhan
9eab8cceda ddns-scripts: fix wget-ssl path
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2021-01-17 22:28:05 +08:00
Florian Eckert
733e6508f3 ddns-scripts: add gandi.net provider
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-28 11:07:14 +01:00
Florian Eckert
dd719e4960 ddns-scripts: update sitelutions url
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-10-22 07:44:26 +02:00
Joel Johnson
5b362932a7 ddns-scripts: use ip_source as bind_network default
Fixes: #13182 on https://github.com/openwrt/packages

Signed-off-by: Joel Johnson <mrjoel@lixil.net>
2020-10-21 08:43:18 -06:00
Johnathan Arsenault
33d6dc4027 ddns-scripts: add ipv6 capability for no-ip.com
Signed-off-by: Johnathan Arsenault <johnathan.arsenault@gmail.com>
Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
2020-10-05 16:02:26 +02:00
Florian Eckert
42eb5cc0c3 ddns-scripts: update PKG_VERSION to 2.8.1
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-28 15:28:27 +02:00
Florian Eckert
8d10cdda08 ddns-scripts: also read providers from custom directory
The provider could also be read from the custom directory. To get always
the latest version of the provider config json file, we read first the custom
directory and after that we also check the default directory, if we could not
find the provider file

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-28 15:28:27 +02:00
Florian Eckert
8be604072c ddns-scripts: move all json files to default
Since we can also install custom ddns services, the name for the default
services is not optimally chosen. To emphasize this the folder with the
standard services for the package feed will be renamed to default.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-28 14:47:37 +02:00
Florian Eckert
b67240f7ce ddns-scripts: add dependency for ddns-scripts-services on ddns-scripts
If we install ddns-scripts we also install the default
ddns-scripts-services package. So the behabviour for the user does not
change.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-28 14:36:20 +02:00
Florian Eckert
3ec59622e9 ddns-scripts: change install path of custom service providers
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-28 09:53:46 +02:00
Florian Eckert
cde01dc150 ddns-scripts: remove list file from ddns-scripts install
This is not needed. The file get installed on demand with the new ddns
script.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-28 09:32:30 +02:00
Florian Eckert
b985835748 ddns-scripts: remove special service json files from ddns-scripts-servies package
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-28 09:32:30 +02:00
Florian Eckert
2290df3aa8 ddns-scripts: rename cnkuai package
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-28 09:12:58 +02:00
Florian Eckert
b036c506cc ddns-scripts: rename route53 package
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-28 09:11:48 +02:00
Florian Eckert
c2ccf8aff6 ddns-scripts: rename nsupdate package
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-28 09:11:00 +02:00
Florian Eckert
c3c269c48b ddns-scripts: rename noip package
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-28 09:10:08 +02:00
Florian Eckert
9a1341b530 ddns-scripts: rename digitalocean package
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-28 09:08:58 +02:00
Florian Eckert
e81929eeb1 ddns-scripts: rename godaddy package
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-28 09:07:47 +02:00
Florian Eckert
a01c6fa139 ddns-scripts: rename freedns package
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-28 09:06:22 +02:00
Florian Eckert
5e0836a538 ddns-scripts: rename cloudflare package
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-28 09:05:09 +02:00
Florian Eckert
a05030b9ca ddns-scripts: rename ddns-scripts_service package to ddns-scripts-services
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-28 09:03:43 +02:00
Florian Eckert
a3308e4175 ddns-scripts: update PKG_VERSION to 2.8.0
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-22 11:56:35 +02:00
Florian Eckert
f184fdf44c ddns-scripts: add ddns script to manage the providers
Redmine-patch-id: 5298
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-22 11:56:35 +02:00
Florian Eckert
30234fcb55 ddns-scripts: add service list file
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
42696aa162 ddns-scripts: and new ddns-scripts_service package
Move all ddns service description into the package to shrik the size of
the ddns-scripts base package.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
b4e74b6646 ddns-scripts: chmod 644 Makefile
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
1d20c59fc3 ddns-scripts: update dynamic_dns_*.sh installation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
88f6bc8d7b ddns-scripts: update init installation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
dd9633977c ddns-scripts: update hotplug installation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
63804b7358 ddns-scripts: update config installation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
0c983efec5 ddns-scripts: remove PKG_BUILD_DIR installation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
f5c7271ff1 ddns-scripts: write version string during installation into file
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
4f6614c41d ddns-scripts: remove not needed prinst script
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
41e0f3b6c0 ddns-scripts: cleanup prerm scripts
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
02c435a7cb ddns-scripts: remove not needed preinst and postinst scripts
Since we no longer need to edit the service and serive_ipv6 files during
installation, the preinst and postinst script can be removed. They are
not neede anymore.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
87b106cc9f ddns-scripts: cleanup postinst script
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
7855caff9e ddns-scripts: remove old and unmaintainded uci defaults scripts
From my point of view there are several reasons why this uci default
script should be deleted.

- This script is no longer maintained and there was no significant
change since the old stable release openwrt-18.06.

- The script is installed with every additional package. Which is kind
of funny. It would be better to maintain a separate uci default upgrade
script for each package. So uci default tasks that are no longer needed
can simply be deleted without having to watch and test the whole scirpt.

- The script is also not so easy to maintain, because the code is not
easy to read.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
37045562d9 ddns-scripts: cleanup prerm script
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert
ac0e0feac1 ddns-scripts: update makefile package descriptions
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00