Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2015 13:33:20 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383726 - in head/net: . nanomsg
Message-ID:  <201504101333.t3ADXKwj002936@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Apr 10 13:33:20 2015
New Revision: 383726
URL: https://svnweb.freebsd.org/changeset/ports/383726

Log:
  Add a new port of net/nanomsg, a ZeroMQ-like socket library in pure C.
  Currently the port does not install manual pages, as they have to be
  generated.  Probably prerequisites for manpages are not as massive as
  for HTML docs, but they are not decoupled correctly in the configure
  and Makefile.in files.
  
  While here, remove trailing whitespace in `net/Makefile'.
  
  PR:	199043

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

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Fri Apr 10 13:25:00 2015	(r383725)
+++ head/net/Makefile	Fri Apr 10 13:33:20 2015	(r383726)
@@ -392,6 +392,7 @@
     SUBDIR += mtr
     SUBDIR += mtr-nox11
     SUBDIR += nakenchat
+    SUBDIR += nanomsg
     SUBDIR += nast
     SUBDIR += nbd-server
     SUBDIR += nc
@@ -860,8 +861,8 @@
     SUBDIR += php55-soap
     SUBDIR += php55-sockets
     SUBDIR += php55-xmlrpc
-    SUBDIR += php56-ldap  
-    SUBDIR += php56-soap  
+    SUBDIR += php56-ldap
+    SUBDIR += php56-soap
     SUBDIR += php56-sockets
     SUBDIR += php56-xmlrpc
     SUBDIR += phpldapadmin

Added: head/net/nanomsg/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/nanomsg/Makefile	Fri Apr 10 13:33:20 2015	(r383726)
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME=	nanomsg
+PORTVERSION=	0.5
+CATEGORIES=	net
+MASTER_SITES=	http://download.nanomsg.org/
+DISTNAME=	${PORTNAME}-${DISTVERSION}-beta
+
+MAINTAINER=	crest@bultmann.eu
+COMMENT=	Socket library that provides several common communication patterns
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		libtool pathfix
+USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+
+.if defined(BATCH) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+=	--disable-silent-rules
+.endif
+
+PORTDOCS=	AUTHORS ChangeLog README
+
+OPTIONS_DEFINE=	DOCS
+
+post-patch:
+	@${REINPLACE_CMD} -e 's,GREP "GNU strip",EGREP "GNU|elftoolchain",' \
+		${WRKSRC}/configure
+
+post-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/net/nanomsg/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/nanomsg/distinfo	Fri Apr 10 13:33:20 2015	(r383726)
@@ -0,0 +1,2 @@
+SHA256 (nanomsg-0.5-beta.tar.gz) = 13bff7ae8f31957722ee62d50504ce1a0c590da908f8566f997e3e521abb089f
+SIZE (nanomsg-0.5-beta.tar.gz) = 623927

Added: head/net/nanomsg/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/nanomsg/pkg-descr	Fri Apr 10 13:33:20 2015	(r383726)
@@ -0,0 +1,20 @@
+nanomsg is a socket library that provides several common communication
+patterns.  It aims to make the networking layer fast, scalable, and easy
+to use.  Implemented in C, it works on a wide range of operating systems
+with no further dependencies.
+
+The communication patterns, also called "scalability protocols", are basic
+blocks for building distributed systems.  By combining them you can create
+a vast array of distributed applications.  The following scalability
+protocols are currently available:
+
+  * PAIR -- simple one-to-one communication
+  * BUS -- simple many-to-many communication
+  * REQREP -- allows to build clusters of stateless services to process
+    user requests
+  * PUBSUB -- distributes messages to large sets of interested subscribers
+  * PIPELINE -- aggregates messages from multiple sources and load balances
+    them among many destinations
+  * SURVEY -- allows to query state of multiple applications in single go
+
+WWW: http://nanomsg.org/

Added: head/net/nanomsg/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/nanomsg/pkg-plist	Fri Apr 10 13:33:20 2015	(r383726)
@@ -0,0 +1,26 @@
+bin/nanocat
+bin/nn_bus
+bin/nn_pair
+bin/nn_pub
+bin/nn_pull
+bin/nn_push
+bin/nn_rep
+bin/nn_req
+bin/nn_respondent
+bin/nn_sub
+bin/nn_surveyor
+include/nanomsg/bus.h
+include/nanomsg/inproc.h
+include/nanomsg/ipc.h
+include/nanomsg/nn.h
+include/nanomsg/pair.h
+include/nanomsg/pipeline.h
+include/nanomsg/pubsub.h
+include/nanomsg/reqrep.h
+include/nanomsg/survey.h
+include/nanomsg/tcp.h
+lib/libnanomsg.a
+lib/libnanomsg.so
+lib/libnanomsg.so.0
+lib/libnanomsg.so.0.2.1
+libdata/pkgconfig/libnanomsg.pc



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