On Mon, Nov 29, 2021 at 03:13:02PM +0800, Delan Azabani wrote:
> This version has some minor breaking changes, in order to accept the
> positional arguments in any order and support the @host shorthand:
> <name> now requires at least one dot or colon (e.g. “mx” → “mx.” for
> Mexico), and any leading “@” must now be escaped (e.g. “\@.example”).
> 
> Updated port attached; changes since last commit here:
> https://bitbucket.org/delan/nonymous/commits/2c817c243e716

Please sent port update as a diff.

>From 2c817c243e716b63d7ace76a3e75af79af710dc9 Mon Sep 17 00:00:00 2001
From: Delan Azabani <de...@azabani.com>
Date: Mon, 29 Nov 2021 06:07:06 +0000
Subject: [PATCH] bore: update OpenBSD package for 0.4.1

---
 bore/packages/OpenBSD/net/bore/Makefile | 6 +++---
 bore/packages/OpenBSD/net/bore/distinfo | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/bore/packages/OpenBSD/net/bore/Makefile 
b/bore/packages/OpenBSD/net/bore/Makefile
index f9a4560..514269b 100644
--- a/bore/packages/OpenBSD/net/bore/Makefile
+++ b/bore/packages/OpenBSD/net/bore/Makefile
@@ -1,8 +1,8 @@
 # $OpenBSD$
 
 COMMENT =              DNS query tool
-WRKDIST =              ${WRKDIR}/delan-nonymous-483b20757a1a
-V =                    0.3.3
+WRKDIST =              ${WRKDIR}/delan-nonymous-f13a461049f4
+V =                    0.4.1
 DISTNAME =             bore-${V}
 CATEGORIES =           net sysutils
 MAINTAINER =           Delan Azabani <de...@azabani.com>
@@ -14,7 +14,7 @@ PERMIT_PACKAGE =      Yes
 WANTLIB += c c++abi pthread
 
 MASTER_SITES =         https://bitbucket.org/delan/nonymous/get/
-DISTFILES =            bore-{}${V}${EXTRACT_SUFX}
+DISTFILES =            ${DISTNAME}${EXTRACT_SUFX}
 PATCHORIG =            .openbsd.orig
 
 MODULES =              devel/cargo
diff --git a/bore/packages/OpenBSD/net/bore/distinfo 
b/bore/packages/OpenBSD/net/bore/distinfo
index 98a5726..5eae5c2 100644
--- a/bore/packages/OpenBSD/net/bore/distinfo
+++ b/bore/packages/OpenBSD/net/bore/distinfo
@@ -1,4 +1,4 @@
-SHA256 (bore-0.3.3.tar.gz) = aUfXk4gblGpziPKVxe11vSfkUiJPeht5UPiR+muOBig=
+SHA256 (bore-0.4.1.tar.gz) = y0fsIQpJrpDMKAP6dLMtslYapjKHKzPwyuzTEwsJMWw=
 SHA256 (cargo/aho-corasick-0.7.15.tar.gz) = 
dAT+v/qkfayBqkTbpxUjydBpsb3FCnfbQRlRSeF/aOU=
 SHA256 (cargo/ansi_term-0.11.0.tar.gz) = 
7km69sthe4U6qNk79CDbI4P6tG0xRILKKAO0DV/el5s=
 SHA256 (cargo/arrayvec-0.5.2.tar.gz) = 
I7Yvxl3o5Of1JTT7UrDz7QR0auJnUZ7vKoOUHoCFBos=
@@ -80,7 +80,7 @@ SHA256 (cargo/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 
rDuHxjYgQm3ZuZHlzgMp7/V
 SHA256 (cargo/winapi-util-0.1.5.tar.gz) = 
cOxs6FuxWBUcrl5ch/lajpfSwMSwASI/M6M0485d4Xg=
 SHA256 (cargo/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 
cS4ieEHQV8HuHNL7Ivp+WlRhro5I+iynnsQs/BkxGD8=
 SHA256 (cargo/wio-0.2.2.tar.gz) = XRKZMvRkSsI5bLRWOFy/nmO1swxujcSCC9yk6wggN6U=
-SIZE (bore-0.3.3.tar.gz) = 79077
+SIZE (bore-0.4.1.tar.gz) = 92352
 SIZE (cargo/aho-corasick-0.7.15.tar.gz) = 113071
 SIZE (cargo/ansi_term-0.11.0.tar.gz) = 17087
 SIZE (cargo/arrayvec-0.5.2.tar.gz) = 27838
-- 
2.32.0


> One thing I’m unsure about though... DISTFILES no longer needs to
> prefix the filename, so now it’s just “${DISTNAME}${EXTRACT_SUFX}”,
> which I think is the default. But I can’t actually omit it, because
> cargo-module(5) adds all the dependencies to DISTFILES early on,
> preventing the usual “?=” from setting that default. Is that ok?

Yes, you need it this way due to cargo-module(5) adding things in
DISTFILES.


Regarding the port update itself, I am a bit suprised that no
MODCARGO_CRATES needs updating. There are no Cargo.lock changes
between 0.3.3 and 0.4.1 ?

Please note that the current practice is to move all MODCARGO_CRATES
lines in crates.inc file, and to use `.include "crates.inc"` in the
Makefile.

Thanks.
-- 
Sebastien Marie

Reply via email to