diff options
| author | Christos Longros <chris.longros@gmail.com> | 2026-09-27 11:31:10 +0000 |
|---|---|---|
| committer | Yusuf Yaman <nxjoseph@FreeBSD.org> | 2026-09-28 12:26:14 +0000 |
| commit | 021c9ada490c2bf39fe31b5740967c3e9d4eb8e5 (patch) | |
| tree | 76d68c49a540d7423effae8d5672f55894544f88 | |
| parent | 65a32d98ac8ae422546c6527c5bfcd27ffcdfbe8 (diff) | |
net/zsync: Update 0.6.6 => 0.8.0
Upstream moved to GitHub and rewrote zsync in Go.
It's recommended to check the details from changelog.
While here:
- Create a pkg-message to include this information.
- Add TESTING_UNSAFE, since it requires Apache webserver
running and have recursive directory problems.
Changelog:
https://github.com/cph6/zsync/blob/v0.8.0/NEWS
PR: 298908
Approved by: osa, vvd (Mentors, implicit)
| -rw-r--r-- | net/zsync/Makefile | 28 | ||||
| -rw-r--r-- | net/zsync/distinfo | 8 | ||||
| -rw-r--r-- | net/zsync/pkg-message | 12 |
3 files changed, 31 insertions, 17 deletions
diff --git a/net/zsync/Makefile b/net/zsync/Makefile index 08c79ee38bd6..d913c92c3ca4 100644 --- a/net/zsync/Makefile +++ b/net/zsync/Makefile @@ -1,35 +1,35 @@ PORTNAME= zsync -DISTVERSION= 0.6.6 +DISTVERSIONPREFIX= v +DISTVERSION= 0.8.0 CATEGORIES= net -MASTER_SITES= https://zsync.moria.org.uk/download/ MAINTAINER= chris.longros@gmail.com COMMENT= File transfer program -WWW= https://zsync.moria.org.uk/ +WWW= https://github.com/cph6/zsync LICENSE= ART20 -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE_FILE= ${WRKSRC}/LICENSE -USES= autoreconf ssl tar:bzip2 -GNU_CONFIGURE= yes +USES= go:modules +GO_MODULE= github.com/cph6/zsync +GO_TARGET= ./cmd/zsync \ + ./cmd/zsyncmake + +TESTING_UNSAFE= Requires Apache webserver running, recursive directory problems PLIST_FILES= bin/zsync \ bin/zsyncmake \ share/man/man1/zsync.1.gz \ share/man/man1/zsyncmake.1.gz -PORTDOCS= INSTALL NEWS README - -_MANPAGE= zsync.1 zsyncmake.1 -_BINS= zsync zsyncmake +PORTDOCS= NEWS README.md OPTIONS_DEFINE= DOCS -do-install: - ${INSTALL_PROGRAM} ${_BINS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${_MANPAGE:S,^,${WRKSRC}/doc/,} \ +post-install: + ${INSTALL_MAN} ${WRKSRC}/man/zsync.1 ${WRKSRC}/man/zsyncmake.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 -do-install-DOCS-on: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} diff --git a/net/zsync/distinfo b/net/zsync/distinfo index 92b64bd1dd75..fad06658e4b6 100644 --- a/net/zsync/distinfo +++ b/net/zsync/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1787081011 -SHA256 (zsync-0.6.6.tar.bz2) = 876df4826fd128e72a38a81a6b13f919b76d0c40ad0b67993c526f0e26d904c8 -SIZE (zsync-0.6.6.tar.bz2) = 273097 +TIMESTAMP = 1790507744 +SHA256 (go/net_zsync/zsync-v0.8.0/v0.8.0.mod) = 152e53760abc2014c78348a19d602349a227891dbfaee70a1268fc279fa8524e +SIZE (go/net_zsync/zsync-v0.8.0/v0.8.0.mod) = 112 +SHA256 (go/net_zsync/zsync-v0.8.0/v0.8.0.zip) = 9ec70adc0ed8821534a054b291b51a2c2f3bf45166e804114663b53f45cec5e1 +SIZE (go/net_zsync/zsync-v0.8.0/v0.8.0.zip) = 104335 diff --git a/net/zsync/pkg-message b/net/zsync/pkg-message new file mode 100644 index 000000000000..11e32db76c5d --- /dev/null +++ b/net/zsync/pkg-message @@ -0,0 +1,12 @@ +[ +{ type: [install, upgrade] + maximum_version: "0.8.0" + message: <<EOM +Upstream moved to GitHub and rewrote zsync in Go. +It's recommended to check the details from changelog. + +Changelog: +https://github.com/cph6/zsync/blob/v0.8.0/NEWS +EOM +} +] |
