diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-11 03:21:49 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-11 03:21:49 +0000 |
commit | ecd86b32a8f0b6be58bbb4b294ce38f1fbd7d3dc (patch) | |
tree | 11371cd9091867fc72344384665285aa7a19efd6 /net-dns/ddclient/files | |
parent | b118032096b3380de251b5de2466f5198fd2930a (diff) |
gentoo auto-resync : 11:12:2022 - 03:21:49
Diffstat (limited to 'net-dns/ddclient/files')
-rw-r--r-- | net-dns/ddclient/files/ddclient-3.9.0-use_iproute2.patch | 29 | ||||
-rw-r--r-- | net-dns/ddclient/files/ddclient.initd-r6 | 22 | ||||
-rw-r--r-- | net-dns/ddclient/files/ddclient.service-r1 | 13 | ||||
-rw-r--r-- | net-dns/ddclient/files/ddclient.tmpfiles | 3 |
4 files changed, 0 insertions, 67 deletions
diff --git a/net-dns/ddclient/files/ddclient-3.9.0-use_iproute2.patch b/net-dns/ddclient/files/ddclient-3.9.0-use_iproute2.patch deleted file mode 100644 index b57f78ba14e1..000000000000 --- a/net-dns/ddclient/files/ddclient-3.9.0-use_iproute2.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/ddclient 2018-08-09 17:58:16.000000000 +0200 -+++ b/ddclient 2018-09-01 22:35:43.000000000 +0200 -@@ -710,7 +710,7 @@ - [ "ip", "=s", "-ip address : set the IP address to 'address'" ], - "", - [ "if", "=s", "-if interface : obtain IP address from 'interface'" ], -- [ "if-skip", "=s", "-if-skip pattern : skip any IP addresses before 'pattern' in the output of ifconfig {if}" ], -+ [ "if-skip", "=s", "-if-skip pattern : skip any IP addresses before 'pattern' in the output of ip addr show {if}" ], - "", - [ "web", "=s", "-web provider|url : obtain IP address from provider's IP checking page" ], - [ "web-skip", "=s", "-web-skip pattern : skip any IP addresses before 'pattern' on the web provider|url" ], -@@ -1448,7 +1448,7 @@ - - { - local $opt{'use'} = 'if'; -- foreach my $if (grep {/^[a-zA-Z]/} `ifconfig -a`) { -+ foreach my $if (grep {/^[a-zA-Z]/} `ip addr show`) { - $if =~ s/:?\s.*//is; - local $opt{'if'} = $if; - printf "use=if, if=%s address is %s\n", opt('if'), define(get_ip('if'), 'NOT FOUND'); -@@ -2165,7 +2165,7 @@ - - } elsif ($use eq 'if') { - $skip = opt('if-skip', $h) || ''; -- $reply = `ifconfig $arg 2> /dev/null`; -+ $reply = `ip addr show $arg 2> /dev/null`; - $reply = `ip addr list dev $arg 2> /dev/null` if $?; - $reply = '' if $?; - diff --git a/net-dns/ddclient/files/ddclient.initd-r6 b/net-dns/ddclient/files/ddclient.initd-r6 deleted file mode 100644 index 7bdc433d1ed1..000000000000 --- a/net-dns/ddclient/files/ddclient.initd-r6 +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -name="DDclient" -pidfile="/run/ddclient/${RC_SVCNAME}.pid" - -command="/usr/bin/ddclient" -command_args="-pid ${pidfile}" -command_group="ddclient" -command_user="ddclient" - -depend() { - need net - use dns logger -} - -start_pre() { - checkpath -f -m 0600 -o ${command_user}:${command_group} /etc/ddclient/ddclient.conf - checkpath -d -m 0700 -o ${command_user}:${command_group} /run/ddclient - checkpath -d -m 0700 -o ${command_user}:${command_group} /var/cache/ddclient -} diff --git a/net-dns/ddclient/files/ddclient.service-r1 b/net-dns/ddclient/files/ddclient.service-r1 deleted file mode 100644 index d183b4f2a6c7..000000000000 --- a/net-dns/ddclient/files/ddclient.service-r1 +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -After=network-online.target -ConditionPathExists=/etc/ddclient/ddclient.conf -Description=DDclient - -[Service] -ExecStart=/usr/bin/ddclient --foreground -Group=ddclient -Type=simple -User=ddclient - -[Install] -WantedBy=multi-user.target diff --git a/net-dns/ddclient/files/ddclient.tmpfiles b/net-dns/ddclient/files/ddclient.tmpfiles deleted file mode 100644 index 4c6cc19ab943..000000000000 --- a/net-dns/ddclient/files/ddclient.tmpfiles +++ /dev/null @@ -1,3 +0,0 @@ -z /etc/ddclient/ddclient.conf 0600 ddclient ddclient - - -d /run/ddclient 0700 ddclient ddclient - - -d /var/cache/ddclient 0700 ddclient ddclient - - |