Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Apr 2015 20:16:16 +0000 (UTC)
From:      Carlo Strub <cs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383174 - in head/net-im: . xmpp-client xmpp-client/files
Message-ID:  <201504032016.t33KGGW5063318@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cs
Date: Fri Apr  3 20:16:15 2015
New Revision: 383174
URL: https://svnweb.freebsd.org/changeset/ports/383174

Log:
  xmpp-client is a simple XMPP client written in pure Go. It supports the OTR
  protocol.
  
  WWW: https://github.com/agl/xmpp-client

Added:
  head/net-im/xmpp-client/
  head/net-im/xmpp-client/Makefile   (contents, props changed)
  head/net-im/xmpp-client/distinfo   (contents, props changed)
  head/net-im/xmpp-client/files/
  head/net-im/xmpp-client/files/patch-config.go   (contents, props changed)
  head/net-im/xmpp-client/files/patch-input.go   (contents, props changed)
  head/net-im/xmpp-client/files/patch-ui.go   (contents, props changed)
  head/net-im/xmpp-client/pkg-descr   (contents, props changed)
Modified:
  head/net-im/Makefile

Modified: head/net-im/Makefile
==============================================================================
--- head/net-im/Makefile	Fri Apr  3 20:12:34 2015	(r383173)
+++ head/net-im/Makefile	Fri Apr  3 20:16:15 2015	(r383174)
@@ -180,6 +180,7 @@
     SUBDIR += uTox
     SUBDIR += vacuum-im
     SUBDIR += vqcc-gtk
+    SUBDIR += xmpp-client
     SUBDIR += yoono
     SUBDIR += zephyr
 

Added: head/net-im/xmpp-client/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/xmpp-client/Makefile	Fri Apr  3 20:16:15 2015	(r383174)
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME=	xmpp-client
+PORTVERSION=	20150208
+CATEGORIES=	net-im
+MASTER_SITES=	http://c-s.li/ports/
+DISTFILES=	${PORTNAME}-${PORTVERSION}.tar.gz \
+		xmpp-20150105.tar.gz
+
+MAINTAINER=	cs@FreeBSD.org
+COMMENT=	XMPP client with OTR support
+
+LICENSE=	BSD3CLAUSE
+
+BUILD_DEPENDS=	${LOCALBASE}/${GO_LIBDIR}/code.google.com/p/go.crypto/bcrypt.a:${PORTSDIR}/security/go.crypto \
+		${LOCALBASE}/${GO_LIBDIR}/code.google.com/p/go.net/dict.a:${PORTSDIR}/net/go.net
+
+PLIST_FILES=	bin/xmpp-client
+GO_PKGNAME=	github.com/agl/${PORTNAME}
+
+post-extract:
+	@${MKDIR} ${GO_WRKSRC:H}
+	@${LN} -sf ${WRKSRC} ${GO_WRKSRC}
+	@${LN} -sf ${WRKDIR}/xmpp-20150105 ${GO_WRKDIR_SRC}/github.com/agl/xmpp
+
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
+.include <bsd.port.post.mk>

Added: head/net-im/xmpp-client/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/xmpp-client/distinfo	Fri Apr  3 20:16:15 2015	(r383174)
@@ -0,0 +1,4 @@
+SHA256 (xmpp-client-20150208.tar.gz) = 9a2f079ee5b075d1af073e1dd566d4e2f2844d4383fa84668e94c41c33d9cba7
+SIZE (xmpp-client-20150208.tar.gz) = 23272
+SHA256 (xmpp-20150105.tar.gz) = f7b8867ebd943f859f5c98594874f282d3b6066af741e4a0eeaab7dfb1347f36
+SIZE (xmpp-20150105.tar.gz) = 12825

Added: head/net-im/xmpp-client/files/patch-config.go
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/xmpp-client/files/patch-config.go	Fri Apr  3 20:16:15 2015	(r383174)
@@ -0,0 +1,15 @@
+--- config.go.orig	2015-03-07 22:36:57.219206000 +0100
++++ config.go	2015-03-07 22:39:28.246637000 +0100
+@@ -12,9 +12,9 @@
+ 	"strings"
+ 
+ 	"github.com/agl/xmpp"
+-	"golang.org/x/crypto/otr"
+-	"golang.org/x/crypto/ssh/terminal"
+-	"golang.org/x/net/proxy"
++	"code.google.com/p/go.crypto/otr"
++	"code.google.com/p/go.crypto/ssh/terminal"
++	"code.google.com/p/go.net/proxy"
+ )
+ 
+ type Config struct {

Added: head/net-im/xmpp-client/files/patch-input.go
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/xmpp-client/files/patch-input.go	Fri Apr  3 20:16:15 2015	(r383174)
@@ -0,0 +1,11 @@
+--- input.go.orig	2015-03-07 22:39:38.830132000 +0100
++++ input.go	2015-03-07 22:39:59.824941000 +0100
+@@ -7,7 +7,7 @@
+ 	"strings"
+ 	"sync"
+ 
+-	"golang.org/x/crypto/ssh/terminal"
++	"code.google.com/p/go.crypto/ssh/terminal"
+ )
+ 
+ type uiCommand struct {

Added: head/net-im/xmpp-client/files/patch-ui.go
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/xmpp-client/files/patch-ui.go	Fri Apr  3 20:16:15 2015	(r383174)
@@ -0,0 +1,17 @@
+--- ui.go.orig	2015-03-07 22:40:10.096733000 +0100
++++ ui.go	2015-03-07 22:41:07.136470000 +0100
+@@ -22,10 +22,10 @@
+ 	"time"
+ 
+ 	"github.com/agl/xmpp"
+-	"golang.org/x/crypto/otr"
+-	"golang.org/x/crypto/ssh/terminal"
+-	"golang.org/x/net/html"
+-	"golang.org/x/net/proxy"
++	"code.google.com/p/go.crypto/otr"
++	"code.google.com/p/go.crypto/ssh/terminal"
++	"code.google.com/p/go.net/html"
++	"code.google.com/p/go.net/proxy"
+ )
+ 
+ var configFile *string = flag.String("config-file", "", "Location of the config file")

Added: head/net-im/xmpp-client/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/xmpp-client/pkg-descr	Fri Apr  3 20:16:15 2015	(r383174)
@@ -0,0 +1,4 @@
+xmpp-client is a simple XMPP client written in pure Go. It supports the OTR
+protocol.
+
+WWW: https://github.com/agl/xmpp-client



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