aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-05-29 00:37:49 +0800
committermat <mat@FreeBSD.org>2015-05-29 00:37:49 +0800
commit2a3c9b387a946f95bd531df73ace72c45995cb21 (patch)
tree2d1cf16c62ab302cbdad66d3ef8b87a3e1c039c2 /net
parenta8fbbbec54adb390ede738bd1cc5e138480978c3 (diff)
downloadfreebsd-ports-gnome-2a3c9b387a946f95bd531df73ace72c45995cb21.tar.gz
freebsd-ports-gnome-2a3c9b387a946f95bd531df73ace72c45995cb21.tar.zst
freebsd-ports-gnome-2a3c9b387a946f95bd531df73ace72c45995cb21.zip
Convert a few ports to use the new multi-github framework.
With hat: portmgr Sponsored by: Absolight
Diffstat (limited to 'net')
-rw-r--r--net/syncthing-cli/Makefile24
-rw-r--r--net/syncthing-cli/distinfo12
-rw-r--r--net/syncthing-discosrv/Makefile30
-rw-r--r--net/syncthing-discosrv/distinfo12
4 files changed, 33 insertions, 45 deletions
diff --git a/net/syncthing-cli/Makefile b/net/syncthing-cli/Makefile
index ab3963cf3e46..a410b583587e 100644
--- a/net/syncthing-cli/Makefile
+++ b/net/syncthing-cli/Makefile
@@ -5,12 +5,6 @@ PORTNAME= syncthing-cli
PORTVERSION= 0.1.0.2015050601
PORTREVISION= 2
CATEGORIES= net
-MASTER_SITES= GH \
- https://github.com/syncthing/syncthing/archive/v${SYNCTHING_VER}.tar.gz?dummy=/:group2 \
- https://codeload.github.com/AudriusButkevicius/cli/legacy.tar.gz/7f561c7?dummy=/:group3
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- syncthing-${SYNCTHING_VER}${EXTRACT_SUFX}:group2 \
- AudriusButkevicius-cli-7f561c7${EXTACT_SUFX}:group3
MAINTAINER= swills@FreeBSD.org
COMMENT= Syncthing CLI
@@ -18,9 +12,9 @@ COMMENT= Syncthing CLI
BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
USE_GITHUB= yes
-GH_ACCOUNT= syncthing
-GH_PROJECT= syncthing-cli
-GH_TAGNAME= 51ec7bb30c3ccb92a3c4616ef00be3b3db739afe
+GH_ACCOUNT= syncthing AudriusButkevicius:audrius
+GH_PROJECT= syncthing:st cli:audrius
+GH_TAGNAME= 51ec7bb v${SYNCTHING_VER}:st 7f561c7:audrius
SYNCTHING_VER= 0.11.5
@@ -34,17 +28,17 @@ post-patch:
@${MKDIR} ${WRKSRC}/src/code.google.com/p
@${MKDIR} ${WRKSRC}/src/golang.org/x
@${MKDIR} ${WRKSRC}/src/github.com/bkaradzic
- @${MV} ${WRKDIR}/AudriusButkevicius-cli-7f561c7 \
+ @${MV} ${WRKSRC_audrius} \
${WRKSRC}/src/github.com/AudriusButkevicius/cli
- @${MV} ${WRKDIR}/syncthing-${SYNCTHING_VER}/Godeps/_workspace/src/golang.org/x/crypto \
+ @${MV} ${WRKSRC_st}/Godeps/_workspace/src/golang.org/x/crypto \
${WRKSRC}/src/golang.org/x
- @${MV} ${WRKDIR}/syncthing-${SYNCTHING_VER}/Godeps/_workspace/src/golang.org/x/text \
+ @${MV} ${WRKSRC_st}/Godeps/_workspace/src/golang.org/x/text \
${WRKSRC}/src/golang.org/x
- @${MV} ${WRKDIR}/syncthing-${SYNCTHING_VER}/Godeps/_workspace/src/github.com/bkaradzic/go-lz4 \
+ @${MV} ${WRKSRC_st}/Godeps/_workspace/src/github.com/bkaradzic/go-lz4 \
${WRKSRC}/src/github.com/bkaradzic
- @${MV} ${WRKDIR}/syncthing-${SYNCTHING_VER}/Godeps/_workspace/src/github.com/calmh \
+ @${MV} ${WRKSRC_st}/Godeps/_workspace/src/github.com/calmh \
${WRKSRC}/src/github.com/calmh
- @${MV} ${WRKDIR}/syncthing-${SYNCTHING_VER} \
+ @${MV} ${WRKSRC_st} \
${WRKSRC}/src/github.com/syncthing/syncthing
@${MV} ${WRKSRC}/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syncthing/protocol \
${WRKSRC}/src/github.com/syncthing/protocol
diff --git a/net/syncthing-cli/distinfo b/net/syncthing-cli/distinfo
index 90e3fcb8e3b2..5903c6ce3f03 100644
--- a/net/syncthing-cli/distinfo
+++ b/net/syncthing-cli/distinfo
@@ -1,6 +1,6 @@
-SHA256 (syncthing-syncthing-cli-0.1.0.2015050601-51ec7bb30c3ccb92a3c4616ef00be3b3db739afe_GH0.tar.gz) = aeb4e6a5588391e0b0645f23684e2fb11ccaff3a5b20abf7dea3a4a45f7d69a3
-SIZE (syncthing-syncthing-cli-0.1.0.2015050601-51ec7bb30c3ccb92a3c4616ef00be3b3db739afe_GH0.tar.gz) = 9202
-SHA256 (syncthing-0.11.5.tar.gz) = 59dd89ea64f51cc5481e59d7849dc6616286b9dbff5ac3724adc119592e09144
-SIZE (syncthing-0.11.5.tar.gz) = 3159523
-SHA256 (AudriusButkevicius-cli-7f561c7) = ad64f151c314333f714ef600f65a4fb512ce7242bc2100074775581a56ad439a
-SIZE (AudriusButkevicius-cli-7f561c7) = 14736
+SHA256 (syncthing-syncthing-cli-0.1.0.2015050601-51ec7bb_GH0.tar.gz) = c22a842d8647fca8bdfb9d48ca61f3c5bdfee3573aeec0364f3b1c0f4bd304a3
+SIZE (syncthing-syncthing-cli-0.1.0.2015050601-51ec7bb_GH0.tar.gz) = 9201
+SHA256 (AudriusButkevicius-cli-7f561c7_GH0.tar.gz) = 8d6c282b2737c5ae17c3ba4ce81037762f46aa5a05d0095c0d481639d081110c
+SIZE (AudriusButkevicius-cli-7f561c7_GH0.tar.gz) = 14722
+SHA256 (syncthing-syncthing-v0.11.5_GH0.tar.gz) = 59dd89ea64f51cc5481e59d7849dc6616286b9dbff5ac3724adc119592e09144
+SIZE (syncthing-syncthing-v0.11.5_GH0.tar.gz) = 3159523
diff --git a/net/syncthing-discosrv/Makefile b/net/syncthing-discosrv/Makefile
index 0b4ff3650fac..f74a03395ea9 100644
--- a/net/syncthing-discosrv/Makefile
+++ b/net/syncthing-discosrv/Makefile
@@ -5,11 +5,6 @@ PORTNAME= syncthing-discosrv
PORTVERSION= 0.0.0.2015022401
PORTREVISION= 3
CATEGORIES= net
-MASTER_SITES= https://github.com/syncthing/syncthing/archive/v${SYNCTHING_VER}.tar.gz?dummy=/:group2 \
- https://codeload.github.com/golang/groupcache/legacy.tar.gz/${GROUPCACHE_COMMIT}?dummy=/:group3
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- syncthing-${SYNCTHING_VER}${EXTRACT_SUFX}:group2 \
- golang-groupcache-${GROUPCACHE_COMMIT}${EXTRACT_SUFX}:group3
MAINTAINER= swills@FreeBSD.org
COMMENT= Discovery server for syncthing
@@ -17,12 +12,11 @@ COMMENT= Discovery server for syncthing
BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
USE_GITHUB= yes
-GH_ACCOUNT= syncthing
-GH_PROJECT= discosrv
-GH_TAGNAME= 4e1240a610bcc2ef8772eb2641492822b4ec4f88
+GH_ACCOUNT= syncthing golang:gc
+GH_PROJECT= discosrv syncthing:st groupcache:gc
+GH_TAGNAME= 4e1240a v${SYNCTHING_VER}:st d2a1805:gc
SYNCTHING_VER= 0.11.5
-GROUPCACHE_COMMIT= d2a1805
PLIST_FILES= bin/syncthing-discosrv
@@ -40,25 +34,25 @@ post-patch:
@${MKDIR} ${WRKSRC}/src/github.com/syncthing
@${MKDIR} ${WRKSRC}/src/github.com/syndtr
@${MKDIR} ${WRKSRC}/src/golang.org/x
- @${MV} ${WRKDIR}/syncthing-${SYNCTHING_VER}/Godeps/_workspace/src/github.com/calmh \
+ @${MV} ${WRKSRC_st}/Godeps/_workspace/src/github.com/calmh \
${WRKSRC}/src/github.com
- @${MV} ${WRKDIR}/syncthing-${SYNCTHING_VER}/Godeps/_workspace/src/github.com/bkaradzic/go-lz4 \
+ @${MV} ${WRKSRC_st}/Godeps/_workspace/src/github.com/bkaradzic/go-lz4 \
${WRKSRC}/src/github.com/bkaradzic
- @${MV} ${WRKDIR}/syncthing-${SYNCTHING_VER}/Godeps/_workspace/src/github.com/juju/ratelimit \
+ @${MV} ${WRKSRC_st}/Godeps/_workspace/src/github.com/juju/ratelimit \
${WRKSRC}/src/github.com/juju
- @${MV} ${WRKDIR}/syncthing-${SYNCTHING_VER}/Godeps/_workspace/src/github.com/syndtr/goleveldb \
+ @${MV} ${WRKSRC_st}/Godeps/_workspace/src/github.com/syndtr/goleveldb \
${WRKSRC}/src/github.com/syndtr
- @${MV} ${WRKDIR}/syncthing-${SYNCTHING_VER}/Godeps/_workspace/src/github.com/syndtr/gosnappy \
+ @${MV} ${WRKSRC_st}/Godeps/_workspace/src/github.com/syndtr/gosnappy \
${WRKSRC}/src/github.com/syndtr
- @${MV} ${WRKDIR}/syncthing-${SYNCTHING_VER}/Godeps/_workspace/src/golang.org/x/crypto \
+ @${MV} ${WRKSRC_st}/Godeps/_workspace/src/golang.org/x/crypto \
${WRKSRC}/src/golang.org/x
- @${MV} ${WRKDIR}/syncthing-${SYNCTHING_VER}/Godeps/_workspace/src/golang.org/x/text \
+ @${MV} ${WRKSRC_st}/Godeps/_workspace/src/golang.org/x/text \
${WRKSRC}/src/golang.org/x
- @${MV} ${WRKDIR}/syncthing-${SYNCTHING_VER} \
+ @${MV} ${WRKSRC_st} \
${WRKSRC}/src/github.com/syncthing/syncthing
@${MV} ${WRKSRC}/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syncthing/protocol \
${WRKSRC}/src/github.com/syncthing/protocol
- @${MV} ${WRKDIR}/golang-groupcache-${GROUPCACHE_COMMIT} \
+ @${MV} ${WRKSRC_gc} \
${WRKSRC}/src/github.com/golang/groupcache
do-build:
diff --git a/net/syncthing-discosrv/distinfo b/net/syncthing-discosrv/distinfo
index 69bec373bc8d..6564bbea6454 100644
--- a/net/syncthing-discosrv/distinfo
+++ b/net/syncthing-discosrv/distinfo
@@ -1,6 +1,6 @@
-SHA256 (syncthing-discosrv-0.0.0.2015022401-4e1240a610bcc2ef8772eb2641492822b4ec4f88_GH0.tar.gz) = 70ddebacddb8c3de9019f83e1e63cb95d36731433068480b2499d491dcdd45e7
-SIZE (syncthing-discosrv-0.0.0.2015022401-4e1240a610bcc2ef8772eb2641492822b4ec4f88_GH0.tar.gz) = 16841
-SHA256 (syncthing-0.11.5.tar.gz) = 59dd89ea64f51cc5481e59d7849dc6616286b9dbff5ac3724adc119592e09144
-SIZE (syncthing-0.11.5.tar.gz) = 3159523
-SHA256 (golang-groupcache-d2a1805.tar.gz) = be22ff0c07a589fdb4665637787a2693e685e824a4ccb2bcfe8d9811d0c822a3
-SIZE (golang-groupcache-d2a1805.tar.gz) = 24094
+SHA256 (syncthing-discosrv-0.0.0.2015022401-4e1240a_GH0.tar.gz) = a0b1865793da2a780a50ddf112515e3467ddb04741562a761437f434a453fde7
+SIZE (syncthing-discosrv-0.0.0.2015022401-4e1240a_GH0.tar.gz) = 16804
+SHA256 (golang-groupcache-d2a1805_GH0.tar.gz) = 4589876f2e8830663a2d19bb4d7ca2e3993e8e8d2710dd3c1941b6d0d5e6de34
+SIZE (golang-groupcache-d2a1805_GH0.tar.gz) = 24089
+SHA256 (syncthing-syncthing-v0.11.5_GH0.tar.gz) = 59dd89ea64f51cc5481e59d7849dc6616286b9dbff5ac3724adc119592e09144
+SIZE (syncthing-syncthing-v0.11.5_GH0.tar.gz) = 3159523