[Bug 290983] net/spoofdpi: Update 1.0.1 => 1.0.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 13 Nov 2025 12:36:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290983

Yusuf Yaman <nxjoseph@protonmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #265379|0                           |1
        is obsolete|                            |
 Attachment #265395|                            |maintainer-approval+
              Flags|                            |

--- Comment #5 from Yusuf Yaman <nxjoseph@protonmail.com> ---
Created attachment 265395
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265395&action=edit
0001-net-spoofdpi-Update-1.0.1-1.0.2.patch

Ok, fixed after suggestions, thanks.

I think i should note that, the pkg-message for this version. 1.0.2, didn't
worked for me when i was upgrading spoofdpi from 1.0.1 to 1.0.2. I hope it
works normally but don't know why I couldn't see the results. pkg info -D
command doensn't show any message too.


diff --git a/net/spoofdpi/Makefile b/net/spoofdpi/Makefile
index 668c057e4..900d5f679 100644
--- a/net/spoofdpi/Makefile
+++ b/net/spoofdpi/Makefile
@@ -60,13 +60,13 @@ USERS=              ${PORTNAME}
 GROUPS=                ${PORTNAME}

 PLIST_FILES=   "@dir(${USERS},${GROUPS},0770) ${ETCDIR}" \
-               "@sample(${USERS},${GROUPS},0770)
${ETCDIR}/${PORTNAME}.toml.sample ${ETCDIR}/${PORTNAME}.toml" \
+               "@sample(${USERS},${GROUPS},0770)
${ETCDIR}/${PORTNAME}.toml.sample" \
                bin/${PORTNAME}

 post-patch:
        ${CP} ${FILESDIR}/modules.txt ${WRKSRC}/vendor
-       @${REINPLACE_CMD} -e '67s#/etc#${LOCALBASE}/etc/${PORTNAME}#g' \
-               -e '233s#"etc"#"${LOCALBASE}", "etc", "${PORTNAME}"#g' \
+       @${REINPLACE_CMD} -e '67s#/etc#${ETCDIR}#g' \
+               -e '233s#"etc"#"${ETCDIR}"#g' \
                ${WRKSRC}/internal/config/cli.go

-- 
You are receiving this mail because:
You are the assignee for the bug.