pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

update syncthing-relaysrv to 0.13.5



Module Name:	pkgsrc-wip
Committed By:	Izaac <izaac%setec.org@localhost>
Pushed By:	izaac
Date:		Tue Jun 7 17:51:51 2016 -0400
Changeset:	bc103f81f4916d8fdfb5210f4fd53d63f7b67ab7

Modified Files:
	syncthing-relaysrv/Makefile
	syncthing-relaysrv/distinfo

Log Message:
update syncthing-relaysrv to 0.13.5

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bc103f81f4916d8fdfb5210f4fd53d63f7b67ab7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 syncthing-relaysrv/Makefile | 24 +++++++++++++++---------
 syncthing-relaysrv/distinfo |  8 ++++----
 2 files changed, 19 insertions(+), 13 deletions(-)

diffs:
diff --git a/syncthing-relaysrv/Makefile b/syncthing-relaysrv/Makefile
index 0dc3a2d..b0bffae 100644
--- a/syncthing-relaysrv/Makefile
+++ b/syncthing-relaysrv/Makefile
@@ -1,21 +1,22 @@
 # $NetBSD$
 
-PKGNAME=	syncthing-relaysrv-0.12.18
+PKGNAME=	syncthing-relaysrv-0.13.5
 CATEGORIES=	local
-DISTNAME=	syncthing-relaysrv-0.12.18
+DISTNAME=	syncthing-0.13.5
 MASTER_SITES=	${MASTER_SITE_GITHUB:=syncthing/}
-GITHUB_PROJECT=	relaysrv
+GITHUB_PROJECT=	syncthing
 GITHUB_TAG=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	izaac%setec.org@localhost
 HOMEPAGE=	${MASTER_SITE_GITHUB:=syncthing/relaysrv/}
-COMMENT=	syncthing relay server
+COMMENT=	Syncthing relay server
 LICENSE=	mit
 
-WRKSRC=			${WRKDIR}/relaysrv-0.12.18
+EXTRACT_USING=		bsdtar
+WRKSRC=			${WRKDIR}/syncthing-0.13.5
 BUILD_DEPENDS+=		go-[0-9]*:../../lang/go
-USE_LANGUAGES=		# go
 NO_CONFIGURE=		yes
+USE_LANGUAGES=		c # and go
 INSTALLATION_DIRS=	bin
 
 BUILD_DEFS+=			VARBASE
@@ -37,12 +38,17 @@ FILES_SUBST+=			STRELAY_GROUP=${STRELAY_GROUP}
 FILES_SUBST+=			STRELAY_USER=${STRELAY_USER}
 RCD_SCRIPTS=			strelay
 
-MAKE_ENV+=	GOPATH=${WRKSRC}/Godeps/_workspace
+MAKE_ENV+=	GOPATH=${WRKSRC}
+
+post-extract:
+	${MKDIR} ${WRKSRC}/github.com/syncthing
+	${LN} -s ../.. ${WRKSRC}/github.com/syncthing/syncthing
+	${LN} -s . ${WRKSRC}/src
 
 do-build:
-	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/go build -i -v -ldflags -w
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/go run build.go build relaysrv
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/relaysrv-0.12.18 ${DESTDIR}${PREFIX}/bin/syncthing-relaysrv
+	${INSTALL_PROGRAM} ${WRKSRC}/relaysrv ${DESTDIR}${PREFIX}/bin/syncthing-relaysrv
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/syncthing-relaysrv/distinfo b/syncthing-relaysrv/distinfo
index daf4963..4be4923 100644
--- a/syncthing-relaysrv/distinfo
+++ b/syncthing-relaysrv/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (syncthing-relaysrv-0.12.18.tar.gz) = 3315cfea060385097bac830e63c732e1377acc04
-RMD160 (syncthing-relaysrv-0.12.18.tar.gz) = 6d50606fe20f2a9f5cb02b9de7067aece9a36a3e
-SHA512 (syncthing-relaysrv-0.12.18.tar.gz) = 58f0494bc61e2d62e54535483b8ff7053d433b17a94c85a006a72a9d82d4cd454f97daa9c2648cf63ff4dd55f2fc6c3a85eb5295309cacec3ea2b8fa58d166ff
-Size (syncthing-relaysrv-0.12.18.tar.gz) = 174413 bytes
+SHA1 (syncthing-0.13.5.tar.gz) = 7e359c2bf23f24242f25c8ee566cbddb6266c827
+RMD160 (syncthing-0.13.5.tar.gz) = 431a0ff50ee3ca9db183a08318383cbf3df5a207
+SHA512 (syncthing-0.13.5.tar.gz) = a718a8a7d6a704ddadf3d8e701ce97eeba732593a1a8540a4423beb32a47c068e0d487e42a1827fc6d639ab0b3e920880e26554f009d1cd9c1d461b903a3e203
+Size (syncthing-0.13.5.tar.gz) = 4335533 bytes


Home | Main Index | Thread Index | Old Index