Bug 175488 - [new port]: devel/libxs Open source lightweight messaging layer
Summary: [new port]: devel/libxs Open source lightweight messaging layer
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-21 19:30 UTC by Veniamin
Modified: 2013-02-17 14:10 UTC (History)
0 users

See Also:


Attachments
file.shar (4.16 KB, text/plain)
2013-01-21 19:30 UTC, Veniamin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Veniamin 2013-01-21 19:30:01 UTC
Crossroads I/O ("libxs") is a library for building scalable and high
performance distributed applications.  It fits between classic BSD sockets,
JMS/AMQP-style message queues, and enterprise message-oriented middleware.

Crossroads I/O extends the standard socket interfaces with features
traditionally provided by specialised messaging middleware products,
providing an abstraction of asynchronous message queues, multiple messaging
patterns, message filtering (subscriptions), seamless access to multiple
transport protocols, and more.

Crossroads I/O provides a native C API for applications.  Support for many
more languages is provided by the community through language bindings which
can be found at the Crossroads website.


This is port depended by: ports/175486
Comment 1 dfilter service freebsd_committer freebsd_triage 2013-02-17 14:08:27 UTC
Author: pawel
Date: Sun Feb 17 14:08:11 2013
New Revision: 312416
URL: http://svnweb.freebsd.org/changeset/ports/312416

Log:
  Crossroads I/O ("libxs") is a library for building scalable and high
  performance distributed applications.  It fits between classic BSD sockets,
  JMS/AMQP-style message queues, and enterprise message-oriented middleware.
  
  Crossroads I/O extends the standard socket interfaces with features
  traditionally provided by specialised messaging middleware products,
  providing an abstraction of asynchronous message queues, multiple messaging
  patterns, message filtering (subscriptions), seamless access to multiple
  transport protocols, and more.
  
  Crossroads I/O provides a native C API for applications.  Support for many
  more languages is provided by the community through language bindings which
  can be found at the Crossroads website.
  
  WWW: http://www.crossroads.io/
  
  PR:		ports/175488
  Submitted by:	Gvozdikov Veniamin <g.veniamin@googlemail.com>

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Feb 17 13:43:37 2013	(r312415)
+++ head/devel/Makefile	Sun Feb 17 14:08:11 2013	(r312416)
@@ -1110,6 +1110,7 @@
     SUBDIR += libwfut
     SUBDIR += libx86
     SUBDIR += libxalloc
+    SUBDIR += libxs
     SUBDIR += libytnef
     SUBDIR += libzrtp
     SUBDIR += libzrtpcpp

Added: head/devel/libxs/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libxs/Makefile	Sun Feb 17 14:08:11 2013	(r312416)
@@ -0,0 +1,110 @@
+# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
+# $FreeBSD$
+
+PORTNAME=	libxs
+PORTVERSION=	1.2.0
+CATEGORIES=	devel
+MASTER_SITES=	http://download.crossroads.io/
+
+MAINTAINER=	g.veniamin@googlemail.com
+COMMENT=	Open source lightweight messaging layer
+
+GNU_CONFIGURE=	yes
+USE_PKGCONFIG=	build
+USE_GNOME=	gnomehack
+USE_LDCONFIG=	yes
+
+OPTIONS_DEFINE=	DEBUG DOCS PLUGINS ZMQ
+EXTERNAL_DESC=	PGM extension from ports
+INTERNAL_DESC=	PGM extension
+PLUGINS_DESC=	Additional plugins
+ZMQ_DESC=	Compatibility with ZMQ
+OPTIONS_RADIO=		PGM
+OPTIONS_RADIO_PGM=	INTERNAL EXTERNAL
+OPTIONS_DEFAULT=PLUGINS
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDEBUG}
+CONFIGURE_ARGS+=	--enable-debug
+.endif
+
+.if ${PORT_OPTIONS:MDOCS}
+BUILD_DEPENDS=	asciidoc:${PORTSDIR}/textproc/asciidoc \
+		xmlto:${PORTSDIR}/textproc/xmlto
+
+MAN3=	\
+	xs_bind.3 \
+	xs_close.3 \
+	xs_connect.3 \
+	xs_errno.3 \
+	xs_getmsgopt.3 \
+	xs_getsockopt.3 \
+	xs_init.3 \
+	xs_msg_close.3 \
+	xs_msg_copy.3 \
+	xs_msg_data.3 \
+	xs_msg_init.3 \
+	xs_msg_init_data.3 \
+	xs_msg_init_size.3 \
+	xs_msg_move.3 \
+	xs_msg_size.3 \
+	xs_poll.3 \
+	xs_recv.3 \
+	xs_recvmsg.3 \
+	xs_send.3 \
+	xs_sendmsg.3 \
+	xs_setctxopt.3 \
+	xs_setsockopt.3 \
+	xs_shutdown.3 \
+	xs_socket.3 \
+	xs_strerror.3 \
+	xs_term.3 \
+	xs_version.3
+
+MAN7=	\
+	xs.7 \
+	xs_inproc.7 \
+	xs_ipc.7 \
+	xs_pgm.7 \
+	xs_tcp.7 \
+	xs_zmq.7
+.else
+CONFIGURE_ARGS+=	--without-documentation
+.endif
+
+.if ${PORT_OPTIONS:MINTERNAL}
+CONFIGURE_ARGS+=	--with-pgm
+USE_PERL5=		yes
+CFLAGS+=		-fPIC
+.endif
+
+.if ${PORT_OPTIONS:MEXTERNAL}
+CONFIGURE_ARGS+=	--with-system-pgm
+LIB_DEPENDS+=		pgm:${PORTSDIR}/net/openpgm
+.endif
+
+.if ${PORT_OPTIONS:MPLUGINS}
+CONFIGURE_ARGS+=	--enable-plugins=yes
+.else
+CONFIGURE_ARGS+=	--enable-plugins=no
+.endif
+
+.if ${PORT_OPTIONS:MZMQ}
+CONFIGURE_ARGS+=	--enable-libzmq
+CONFLICTS=	zmq-*
+PLIST_SUB+=	ZMQ=""
+.else
+PLIST_SUB+=	ZMQ="@comment "
+.endif
+
+pre-configure:
+# fix for clang build
+	@${REINPLACE_CMD} "/^libxs_werror=/ s|yes|no|" \
+		${WRKSRC}/configure
+.if ${PORT_OPTIONS:MEXTERNAL}
+	${REINPLACE_CMD} "s|openpgm-5.1|openpgm-5.2|g" \
+		${WRKSRC}/configure
+.endif
+
+.include <bsd.port.mk>

Added: head/devel/libxs/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libxs/distinfo	Sun Feb 17 14:08:11 2013	(r312416)
@@ -0,0 +1,2 @@
+SHA256 (libxs-1.2.0.tar.gz) = 525dc999cc6524779bc4eef510e423077b7f7ea491cb3ad6d8056ecaf99ff515
+SIZE (libxs-1.2.0.tar.gz) = 1955426

Added: head/devel/libxs/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libxs/pkg-descr	Sun Feb 17 14:08:11 2013	(r312416)
@@ -0,0 +1,15 @@
+Crossroads I/O ("libxs") is a library for building scalable and high
+performance distributed applications.  It fits between classic BSD sockets,
+JMS/AMQP-style message queues, and enterprise message-oriented middleware.
+
+Crossroads I/O extends the standard socket interfaces with features
+traditionally provided by specialised messaging middleware products,
+providing an abstraction of asynchronous message queues, multiple messaging
+patterns, message filtering (subscriptions), seamless access to multiple
+transport protocols, and more.
+
+Crossroads I/O provides a native C API for applications.  Support for many
+more languages is provided by the community through language bindings which
+can be found at the Crossroads website.
+
+WWW: http://www.crossroads.io/

Added: head/devel/libxs/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libxs/pkg-plist	Sun Feb 17 14:08:11 2013	(r312416)
@@ -0,0 +1,14 @@
+%%ZMQ%%include/zmq.h
+%%ZMQ%%include/zmq_utils.h
+%%ZMQ%%lib/libzmq.a
+%%ZMQ%%lib/libzmq.la
+%%ZMQ%%lib/libzmq.so
+%%ZMQ%%lib/libzmq.so.1
+%%ZMQ%%libdata/pkgconfig/libzmq.pc
+include/xs/xs.h
+lib/libxs.a
+lib/libxs.la
+lib/libxs.so
+lib/libxs.so.2
+libdata/pkgconfig/libxs.pc
+@dirrm include/xs
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 2 Pawel Pekala freebsd_committer freebsd_triage 2013-02-17 14:08:30 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!