Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2015 02:26:47 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r387456 - in head/net: . syncthing-inotify
Message-ID:  <201505260226.t4Q2QlNI025007@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Tue May 26 02:26:46 2015
New Revision: 387456
URL: https://svnweb.freebsd.org/changeset/ports/387456

Log:
  net/syncthing-inotify: add port
  
  Provides inotify/kqueue support for Syncthing
  
  WWW: https://github.com/syncthing/syncthing-inotify

Added:
  head/net/syncthing-inotify/
  head/net/syncthing-inotify/Makefile   (contents, props changed)
  head/net/syncthing-inotify/distinfo   (contents, props changed)
  head/net/syncthing-inotify/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Tue May 26 01:46:16 2015	(r387455)
+++ head/net/Makefile	Tue May 26 02:26:46 2015	(r387456)
@@ -1193,6 +1193,7 @@
     SUBDIR += syncthing
     SUBDIR += syncthing-cli
     SUBDIR += syncthing-discosrv
+    SUBDIR += syncthing-inotify
     SUBDIR += tableutil
     SUBDIR += tac_plus4
     SUBDIR += tapidbus

Added: head/net/syncthing-inotify/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/syncthing-inotify/Makefile	Tue May 26 02:26:46 2015	(r387456)
@@ -0,0 +1,42 @@
+# $FreeBSD$
+
+PORTNAME=	syncthing-inotify
+PORTVERSION=	0.6.3
+DISTVERSIONPREFIX=	v
+CATEGORIES=	net
+MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/archive/${GH_TAGNAME}.tar.gz?dummy=/:group1 \
+		https://github.com/cenkalti/backoff/archive/6c45d6bc1e78d94431dff8fc28a99f20bafa355a.tar.gz?dummy=/:group2 \
+		https://github.com/zillode/notify/archive/f06b1e3b795091f2e1414067b08e5f07332cdb05.tar.gz?dummy=/:group3
+DISTFILES=	syncthing-syncthing-inotify-v${PORTVERSION}.tar.gz:group1 \
+		cenkalti_backoff_6c45d6bc1e78d94431dff8fc28a99f20bafa355a.tar.gz:group2 \
+		zillode_notify_f06b1e3b795091f2e1414067b08e5f07332cdb05.tar.gz:group3
+
+MAINTAINER=	swills@FreeBSD.org
+COMMENT=	Syncthing inotify monitor
+
+BUILD_DEPENDS=	${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	syncthing
+GH_PROJECT=	syncthing-inotify
+
+STRIP=		# stripping can break go binaries
+
+PLIST_FILES=	bin/syncthing-inotify
+
+post-patch:
+	@${MKDIR} ${WRKSRC}/src/github.com/cenkalti
+	@${MKDIR} ${WRKSRC}/src/github.com/zillode
+	@${MV} ${WRKDIR}/backoff-6c45d6bc1e78d94431dff8fc28a99f20bafa355a \
+		${WRKSRC}/src/github.com/cenkalti/backoff
+	@${MV} ${WRKDIR}/notify-f06b1e3b795091f2e1414067b08e5f07332cdb05 \
+		${WRKSRC}/src/github.com/zillode/notify
+
+do-build:
+	@cd ${WRKSRC} ; ${SETENV} GOPATH=${WRKSRC} go build
+	@${MV} ${WRKSRC}/syncthing-inotify-${PORTVERSION} ${WRKSRC}/syncthing-inotify
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/syncthing-inotify ${STAGEDIR}${PREFIX}/bin/
+
+.include <bsd.port.mk>

Added: head/net/syncthing-inotify/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/syncthing-inotify/distinfo	Tue May 26 02:26:46 2015	(r387456)
@@ -0,0 +1,6 @@
+SHA256 (syncthing-syncthing-inotify-v0.6.3.tar.gz) = d3af7c233c132660cdc752605ae7830b8cb56ba5f2426a11e461ef0046847ab1
+SIZE (syncthing-syncthing-inotify-v0.6.3.tar.gz) = 16930
+SHA256 (cenkalti_backoff_6c45d6bc1e78d94431dff8fc28a99f20bafa355a.tar.gz) = 486c047121493a6c88f66d2aa3c73a96b5c734175c07de078c79caaaedf82761
+SIZE (cenkalti_backoff_6c45d6bc1e78d94431dff8fc28a99f20bafa355a.tar.gz) = 6406
+SHA256 (zillode_notify_f06b1e3b795091f2e1414067b08e5f07332cdb05.tar.gz) = 49b33a1f7b27f1b3f5efbe64e74708dec1f2acd81b44dd226ae807bf66509f91
+SIZE (zillode_notify_f06b1e3b795091f2e1414067b08e5f07332cdb05.tar.gz) = 49678

Added: head/net/syncthing-inotify/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/syncthing-inotify/pkg-descr	Tue May 26 02:26:46 2015	(r387456)
@@ -0,0 +1,3 @@
+Provides inotify/kqueue support for Syncthing
+
+WWW: https://github.com/syncthing/syncthing-inotify



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505260226.t4Q2QlNI025007>