On 2023/02/27 17:48, Nam Nguyen wrote:
> Here is a regression fix release 2.14 for net/dnscrypt-proxy. I tested
> the cloaking feature and it works with the new go 1.20.1.
>
> changelog:
> https://github.com/DNSCrypt/dnscrypt-proxy/releases/tag/2.1.4
>
> OK?
OK.
Would you mind adding this on top, so "make patch && make
update-patches" doesn't make bad changes to the patch file, and the
rm still works as expected if the default PATCHORIG is overridden?
(Or, I can commit if you're ok and prefer that).
--- Makefile.orig Tue Feb 28 16:33:49 2023
+++ Makefile Tue Feb 28 16:34:03 2023
@@ -19,7 +19,7 @@ MODGO_TYPE = bin
INSTDIR = ${PREFIX}/share/examples/dnscrypt-proxy
-post-patch:
+pre-configure:
sed -i "s;cache_file = '\(.*\)\.md';cache_file =\
'${LOCALSTATEDIR}/dnscrypt-proxy/\1.md';g" \
${MODGO_SUBDIR}/dnscrypt-proxy/example-dnscrypt-proxy.toml
@@ -34,6 +34,6 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dnscrypt-proxy/dnscrypt-proxy ${PREFIX}/bin/
${INSTALL_DATA_DIR} ${INSTDIR}
${INSTALL_DATA} ${WRKSRC}/dnscrypt-proxy/example-* ${INSTDIR}
- rm -f ${INSTDIR}/example-dnscrypt-proxy.toml.orig
+ rm -f ${INSTDIR}/example-dnscrypt-proxy.toml${PATCHORIG}
.include <bsd.port.mk>
No comments:
Post a Comment