summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2014-11-25 13:08:11 +0000
committerSteve Wills <swills@FreeBSD.org>2014-11-25 13:08:11 +0000
commitfbe6c942bed3dbc566a7c64b12bc9d470e31e061 (patch)
tree7539b1e66be9691e9ecaa49b39f34b73da195cb5
parentBump PORTREVISION after graphics/poppler update to 0.26.3 (diff)
net/syncthing: update to 0.10.8
-rw-r--r--net/syncthing/Makefile11
-rw-r--r--net/syncthing/distinfo4
-rw-r--r--net/syncthing/files/patch-upgrade__upgrade_supported.go10
3 files changed, 8 insertions, 17 deletions
diff --git a/net/syncthing/Makefile b/net/syncthing/Makefile
index 81aa0aad15f4..29fbe2301c01 100644
--- a/net/syncthing/Makefile
+++ b/net/syncthing/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= syncthing
-PORTVERSION= 0.10.5
+PORTVERSION= 0.10.8
CATEGORIES= net
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/archive/v${PORTVERSION}.tar.gz?dummy=/
@@ -20,19 +20,20 @@ GROUPS= syncthing
post-patch:
@cd ${WRKSRC} ; ${MKDIR} src/github.com/${PORTNAME}/${PORTNAME} ; \
- ${MV} CONTRIBUTORS Godeps LICENSE README.md build.go build.sh \
- assets cmd gui internal protocol src/github.com/${PORTNAME}/${PORTNAME}
+ ${MV} AUTHORS CONTRIBUTING.md Godeps LICENSE README.md \
+ build.go build.sh check-contrib.sh assets cmd gui internal \
+ protocol test src/github.com/${PORTNAME}/${PORTNAME}
do-build:
# timestamp here refers to source, not build time
cd ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME} ; \
- ${SETENV} GOPATH=${WRKSRC} go run build.go -version v${PORTVERSION}
+ ${SETENV} GOPATH=${WRKSRC} go run build.go -no-upgrade=true -version v${PORTVERSION}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}/bin/syncthing \
${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for x in CONTRIBUTORS LICENSE README.md
+.for x in AUTHORS CONTRIBUTING.md LICENSE README.md
${INSTALL_MAN} ${WRKSRC}/src/github.com/${PORTNAME}/${PORTNAME}/${x} \
${STAGEDIR}${DOCSDIR}
.endfor
diff --git a/net/syncthing/distinfo b/net/syncthing/distinfo
index 362d0860931e..7ab162b33703 100644
--- a/net/syncthing/distinfo
+++ b/net/syncthing/distinfo
@@ -1,2 +1,2 @@
-SHA256 (syncthing-0.10.5.tar.gz) = adaef4e63916f86f081f68615b740f39a9af08de6d4c5630876665cf229da241
-SIZE (syncthing-0.10.5.tar.gz) = 3013393
+SHA256 (syncthing-0.10.8.tar.gz) = a5ffb70c841ef333d567586c32826b9d60a27cc70c05e8a43b898e369390521d
+SIZE (syncthing-0.10.8.tar.gz) = 3061835
diff --git a/net/syncthing/files/patch-upgrade__upgrade_supported.go b/net/syncthing/files/patch-upgrade__upgrade_supported.go
deleted file mode 100644
index 4da0dcce9edc..000000000000
--- a/net/syncthing/files/patch-upgrade__upgrade_supported.go
+++ /dev/null
@@ -1,10 +0,0 @@
---- internal/upgrade/upgrade_supported.go.orig 2014-09-28 21:24:06.335428814 +0000
-+++ internal/upgrade/upgrade_supported.go 2014-09-28 21:24:59.699424791 +0000
-@@ -70,6 +70,7 @@
-
- // Returns the latest release, including prereleases or not depending on the argument
- func LatestRelease(prerelease bool) (Release, error) {
-+ return Release{}, ErrVersionUnknown
- resp, err := http.Get("https://api.github.com/repos/syncthing/syncthing/releases?per_page=10")
- if err != nil {
- return Release{}, err