git: 5b5c70992202 - main - net/openrsync: Update 0.0.20200401 => 0.0.20250127 (latest commit)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 May 2025 18:56:18 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5b5c709922028b3393893ef9b72d7a0895a3b7a0
commit 5b5c709922028b3393893ef9b72d7a0895a3b7a0
Author: Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-05-08 18:37:29 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-05-08 18:51:20 +0000
net/openrsync: Update 0.0.20200401 => 0.0.20250127 (latest commit)
Commit log:
https://github.com/kristapsdz/openrsync/compare/8b61216...a257c0f
Improve port:
- split long lines,
- reduce number of run ${REINPLACE_CMD} from 12 to 4,
- add strip binary (warning from poudriere testport).
PR: 285938
Approved by: Timothy Beyer <beyert@cs.ucr.edu> (maintainer)
Co-authored-by: Herbert J. Skuhra <herbert@gojira.at>
---
net/openrsync/Makefile | 29 ++++++++++++++++++-----------
net/openrsync/distinfo | 6 +++---
2 files changed, 21 insertions(+), 14 deletions(-)
diff --git a/net/openrsync/Makefile b/net/openrsync/Makefile
index 13dfb3987f30..2e441fe26eff 100644
--- a/net/openrsync/Makefile
+++ b/net/openrsync/Makefile
@@ -1,6 +1,5 @@
PORTNAME= openrsync
-PORTVERSION= 0.0.20200401
-PORTREVISION= 1
+DISTVERSION= 0.0.20250127
CATEGORIES= net
MAINTAINER= beyert@cs.ucr.edu
@@ -12,24 +11,32 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md
USE_GITHUB= yes
GH_ACCOUNT= kristapsdz
-GH_TAGNAME= 8b61216
+GH_TAGNAME= a257c0f
HAS_CONFIGURE= yes
CONFIGURE_ARGS= MANDIR=${PREFIX}/share/man
-PLIST_FILES= bin/openrsync share/man/man1/openrsync.1.gz share/man/man5/openrsync.5.gz \
+PLIST_FILES= bin/openrsync \
+ share/man/man1/openrsync.1.gz \
+ share/man/man5/openrsync.5.gz \
share/man/man5/openrsyncd.5.gz
pre-build:
.for SUFFIX in rsync.5 rsyncd.5
${MV} ${WRKSRC}/${SUFFIX} ${WRKSRC}/open${SUFFIX}
- ${REINPLACE_CMD} 's|Nm rsync|Nm openrsync|g' ${WRKSRC}/open${SUFFIX}
- ${REINPLACE_CMD} 's|rsync 5|openrsync 5|ig' ${WRKSRC}/open${SUFFIX}
- ${REINPLACE_CMD} 's|rsyncd 5|openrsyncd 5|ig' ${WRKSRC}/open${SUFFIX}
+ ${REINPLACE_CMD} -e 's|Nm rsync|Nm openrsync|g' \
+ -e 's|rsync 5|openrsync 5|ig' \
+ -e 's|rsyncd 5|openrsyncd 5|ig' \
+ ${WRKSRC}/open${SUFFIX}
.endfor
- ${REINPLACE_CMD} 's|rsync.5|openrsync.5|g' ${WRKSRC}/Makefile
- ${REINPLACE_CMD} 's|rsyncd.5|openrsyncd.5|g' ${WRKSRC}/Makefile
- ${REINPLACE_CMD} 's|rsync 5|openrsync 5|ig' ${WRKSRC}/openrsync.1
- ${REINPLACE_CMD} 's|rsyncd 5|openrsyncd 5|ig' ${WRKSRC}/openrsync.1
+ ${REINPLACE_CMD} -e 's|rsync.5|openrsync.5|g' \
+ -e 's|rsyncd.5|openrsyncd.5|g' \
+ ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e 's|rsync 5|openrsync 5|ig' \
+ -e 's|rsyncd 5|openrsyncd 5|ig' \
+ ${WRKSRC}/openrsync.1
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/openrsync
.include <bsd.port.mk>
diff --git a/net/openrsync/distinfo b/net/openrsync/distinfo
index bb553f34da05..e8d0a24bca6a 100644
--- a/net/openrsync/distinfo
+++ b/net/openrsync/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1614736535
-SHA256 (kristapsdz-openrsync-0.0.20200401-8b61216_GH0.tar.gz) = a71bd7f448d551c68e581f9d709ecfdbfc388df394ea8f9ea674cee35a56b4c8
-SIZE (kristapsdz-openrsync-0.0.20200401-8b61216_GH0.tar.gz) = 118133
+TIMESTAMP = 1744017898
+SHA256 (kristapsdz-openrsync-0.0.20250127-a257c0f_GH0.tar.gz) = 2778abe2ecab9d9ff1655d68c1c67940c4582d52696f0773be94f2537fa8ca16
+SIZE (kristapsdz-openrsync-0.0.20250127-a257c0f_GH0.tar.gz) = 152717