[Bug 281567] net-p2p/rslsync: Update to 2.8.1.1390

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 20 Sep 2024 23:53:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281567

Vladimir Druzenko <vvd@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vvd@FreeBSD.org
           Assignee|ports-bugs@FreeBSD.org      |vvd@FreeBSD.org
             Status|New                         |In Progress

--- Comment #1 from Vladimir Druzenko <vvd@FreeBSD.org> ---
1. Use DISTVERSION in MASTER_SITES.

2. Lines in do-build are too long, better to split:
do-build:
        ${WRKSRC}/rslsync --nodaemon --storage ${WRKSRC} \
                --dump-sample-config > ${WRKSRC}/rslsync.conf.sample
        ${REINPLACE_CMD} -e \
               
's;^//\([[:space:]]*"storage_path"[[:space:]]*:[[:space:]]*\)"/.*",$$;\1"/var/db/rslsync",;'
\
                ${WRKSRC}/rslsync.conf.sample
        ${REINPLACE_CMD} -e \
               
's;^//\([[:space:]]*"pid_file"[[:space:]]*:[[:space:]]*\)"/.*",$$;\1"/var/run/rslsync/rslsync.pid",;'
\
                ${WRKSRC}/rslsync.conf.sample

2. make maintainer-makesum doesn't work.
This version work correctly:
maintainer-makesum:
        for arch in ${ONLY_FOR_ARCHS}; do \
                ${MAKE} DISTINFO_FILE=/dev/stdout ARCH=$$arch makesum; \
        done | ${GREP} -v '^===> ' | ${AWK} '$$1 != "TIMESTAMP" || NR == 1' \
                > ${DISTINFO_FILE}

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