From: TinfoilSubmarine <TinfoilSubmarine@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] ddclient: update to 3.11.0.
Date: Thu, 02 Nov 2023 20:50:25 +0100 [thread overview]
Message-ID: <20231102195025.vlHXAUsuc1O5dzwyqWi5nf0Mxz7IXgnPAtJCDeog-HU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46818@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1247 bytes --]
There is an updated pull request by TinfoilSubmarine against master on the void-packages repository
https://github.com/TinfoilSubmarine/void-packages update/ddclient
https://github.com/void-linux/void-packages/pull/46818
ddclient: update to 3.11.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/46818.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update/ddclient-46818.patch --]
[-- Type: text/x-diff, Size: 3439 bytes --]
From 164d49eaeb03b0dbf64b4d393f9f0b6fa0105be7 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Fri, 10 Mar 2023 15:14:30 -0500
Subject: [PATCH 1/2] ddclient: update to 3.11.1.
---
srcpkgs/ddclient/template | 34 ++++++++++++++++------------------
1 file changed, 16 insertions(+), 18 deletions(-)
diff --git a/srcpkgs/ddclient/template b/srcpkgs/ddclient/template
index ac7468606882d..09ee391a22a4a 100644
--- a/srcpkgs/ddclient/template
+++ b/srcpkgs/ddclient/template
@@ -1,38 +1,36 @@
# Template file for 'ddclient'
pkgname=ddclient
-version=3.9.1
+version=3.11.1
revision=1
-depends="perl-Data-Validate-IP perl-IO-Socket-SSL"
+build_style=gnu-configure
+configure_args="--sysconfdir=/etc/ddclient"
+hostmakedepends="automake curl"
+depends="perl-JSON curl"
+checkdepends="$depends perl-HTTP-Daemon perl-Plack perl-HTTP-Message
+ perl-Test-MockModule perl-Test-Warnings curl net-tools"
short_desc="Perl client used to update dynamic DNS"
maintainer="rogi <rogi@skylittlesystem.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/ddclient/ddclient"
+changelog="https://raw.githubusercontent.com/ddclient/ddclient/master/ChangeLog.md"
distfiles="https://github.com/ddclient/ddclient/archive/v${version}.tar.gz"
-checksum=e4969e15cc491fc52bdcd649d4c2b0e4b1bf0c9f9dba23471c634871acc52470
+checksum=5eb5ca4118f14ae219da09e82dac39e0255048518a56311b2e9ec392505edd11
conf_files="/etc/ddclient/ddclient.conf"
make_dirs="/var/cache/ddclient 0750 root root"
-do_install() {
+pre_configure() {
+ ./autogen
+}
+
+post_install() {
vdoc README.cisco
vdoc README.md
- vdoc README.ssl
- vdoc RELEASENOTE
- vdoc TODO
- vdoc UPGRADE
- vbin ddclient
vsconf sample-ddclient-wrapper.sh
vsconf sample-etc_cron.d_ddclient
- vsconf sample-etc_ddclient.conf
+ vsconf ddclient.conf
vsconf sample-etc_dhclient-exit-hooks
vsconf sample-etc_dhcpc_dhcpcd-eth0.exe
vsconf sample-etc_ppp_ip-up.local
- vsconf sample-etc_rc.d_init.d_ddclient
- vsconf sample-etc_rc.d_init.d_ddclient.lsb
- vsconf sample-etc_rc.d_init.d_ddclient.redhat
- vsconf sample-etc_rc.d_init.d_ddclient.ubuntu
- sed -e 's|daemon=300|daemon=600|' -e 's|300 seconds|600 seconds|' \
- -e '/pid=.*/d' sample-etc_ddclient.conf > void-etc_ddclient.conf
- vinstall void-etc_ddclient.conf 0600 etc/ddclient ddclient.conf
- vsv ${pkgname}
+ vsv ddclient
}
From c0c5d96514a8941d00f68f21fd6c0b62ce4f2c6b Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 2 Nov 2023 15:47:31 -0400
Subject: [PATCH 2/2] ddclient: add OPTS variable to runit service.
---
srcpkgs/ddclient/files/ddclient/run | 3 ++-
srcpkgs/ddclient/template | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/ddclient/files/ddclient/run b/srcpkgs/ddclient/files/ddclient/run
index 8b9e7a746ca9d..979092a659992 100644
--- a/srcpkgs/ddclient/files/ddclient/run
+++ b/srcpkgs/ddclient/files/ddclient/run
@@ -1,3 +1,4 @@
#!/bin/sh
exec 2>&1
-exec ddclient -foreground
+[ -r conf ] && . ./conf
+exec ddclient -foreground ${OPTS}
diff --git a/srcpkgs/ddclient/template b/srcpkgs/ddclient/template
index 09ee391a22a4a..ba35c9f3c50f9 100644
--- a/srcpkgs/ddclient/template
+++ b/srcpkgs/ddclient/template
@@ -1,7 +1,7 @@
# Template file for 'ddclient'
pkgname=ddclient
version=3.11.1
-revision=1
+revision=2
build_style=gnu-configure
configure_args="--sysconfdir=/etc/ddclient"
hostmakedepends="automake curl"
next prev parent reply other threads:[~2023-11-02 19:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-21 17:55 [PR PATCH] " TinfoilSubmarine
2023-10-25 20:24 ` [PR PATCH] [Updated] " TinfoilSubmarine
2023-11-02 19:50 ` TinfoilSubmarine [this message]
2023-11-02 19:51 ` TinfoilSubmarine
2023-11-02 19:51 ` TinfoilSubmarine
2023-11-23 15:02 ` [PR PATCH] [Updated] ddclient: update to 3.11.1 TinfoilSubmarine
2024-02-22 1:44 ` ddclient: update to 3.11.2 github-actions
2024-02-22 13:38 ` [PR PATCH] [Updated] " TinfoilSubmarine
2024-02-22 16:08 ` TinfoilSubmarine
2024-03-10 20:11 ` [PR PATCH] [Merged]: " cinerea0
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231102195025.vlHXAUsuc1O5dzwyqWi5nf0Mxz7IXgnPAtJCDeog-HU@z \
--to=tinfoilsubmarine@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).