Bug 184180 - [NEW PORT] devel/ntopng-zmq: NTOPNG specific ZMQ library
Summary: [NEW PORT] devel/ntopng-zmq: NTOPNG specific ZMQ library
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: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-22 22:50 UTC by Muhammad Moinur Rahman
Modified: 2013-12-02 08:04 UTC (History)
0 users

See Also:


Attachments
.shar (1.96 KB, text/plain)
2013-11-22 22:50 UTC, Muhammad Moinur Rahman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-22 22:50:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

sunpoet@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 koobs 2013-11-28 16:03:09 UTC
Hi Muhammad, thank you for your submission.

The patch looks like its a pure upstream 3.x version of libzmq just with
a different name.

I recently made the following updates in FreeBSD's ZeroMQ ports:

- Moved devel/zmq-devel (3.2.4) to net/libzmq3
- Created net/libzmq4

We should avoid adding an additional port for libzmq (3.x) if its not
absolutely required, especially if it will never be upgraded or if it
duplicates what an existing port provides. It may also be that you did
not notice the existence of zmq-devel at the time you of your PR report.

Can you test ntopNG using net/libzmq3, as ZeroMQ's interfaces are
designed to be stable within a branch.

I can't imagine ntopNG will work with 3.2.3 but not 3.2.4, and if it
doesn't, its best to report that to the ntopNG authors, then workaround
it in the ports tree.
Comment 3 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2013-11-28 16:06:36 UTC
Hi,

Unfortunately it doesn't build with ZMQ 3.2.4. :( Let me talk with the Ntop
guys.


On Thu, Nov 28, 2013 at 10:03 PM, Kubilay Kocak <koobs.freebsd@gmail.com>wrote:

> Hi Muhammad, thank you for your submission.
>
> The patch looks like its a pure upstream 3.x version of libzmq just with
> a different name.
>
> I recently made the following updates in FreeBSD's ZeroMQ ports:
>
> - Moved devel/zmq-devel (3.2.4) to net/libzmq3
> - Created net/libzmq4
>
> We should avoid adding an additional port for libzmq (3.x) if its not
> absolutely required, especially if it will never be upgraded or if it
> duplicates what an existing port provides. It may also be that you did
> not notice the existence of zmq-devel at the time you of your PR report.
>
> Can you test ntopNG using net/libzmq3, as ZeroMQ's interfaces are
> designed to be stable within a branch.
>
> I can't imagine ntopNG will work with 3.2.3 but not 3.2.4, and if it
> doesn't, its best to report that to the ntopNG authors, then workaround
> it in the ports tree.
>
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-12-02 07:58:48 UTC
Author: sunpoet
Date: Mon Dec  2 07:58:39 2013
New Revision: 335454
URL: http://svnweb.freebsd.org/changeset/ports/335454

Log:
  - Add ntopng-zmq 3.2.3
  
  An open source message queue optimised for performance.
  This version is older than upstream and specific to ntopng.
  
  WWW: http://www.zeromq.org/
  
  PR:		ports/184180
  Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Dec  2 07:16:31 2013	(r335453)
+++ head/devel/Makefile	Mon Dec  2 07:58:39 2013	(r335454)
@@ -1274,6 +1274,7 @@
     SUBDIR += noweb
     SUBDIR += npth
     SUBDIR += nspr
+    SUBDIR += ntopng-zmq
     SUBDIR += nxt-python
     SUBDIR += obby
     SUBDIR += obfuscatejs

Added: head/devel/ntopng-zmq/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ntopng-zmq/Makefile	Mon Dec  2 07:58:39 2013	(r335454)
@@ -0,0 +1,28 @@
+# Created by: Muhammad Moinur Rahman <5u623l20@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	zmq
+PORTVERSION=	3.2.3
+CATEGORIES=	devel net
+MASTER_SITES=	http://download.zeromq.org/
+PKGNAMEPREFIX=	ntopng-
+DISTNAME=	zeromq-${DISTVERSION}
+
+MAINTAINER=	5u623l20@gmail.com
+COMMENT=	NTOPNG specific ZMQ library
+
+LICENSE=	LGPL3
+
+CONFIGURE_ARGS=	--disable-silent-rules --without-documentation
+GNU_CONFIGURE=	yes
+MAKE_JOBS_UNSAFE=	yes
+USE_GCC=	any
+USE_LDCONFIG=	yes
+USES=		pathfix
+
+CONFLICTS=	zmq-[0-9]*
+
+post-patch:
+	@${REINPLACE_CMD} 's/tests//' ${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>

Added: head/devel/ntopng-zmq/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ntopng-zmq/distinfo	Mon Dec  2 07:58:39 2013	(r335454)
@@ -0,0 +1,2 @@
+SHA256 (zeromq-3.2.3.tar.gz) = e134c1aaf829dd77bca9dc0fa199ba31095a581bd0d3dda5fc59523b9f401238
+SIZE (zeromq-3.2.3.tar.gz) = 2072758

Added: head/devel/ntopng-zmq/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ntopng-zmq/pkg-descr	Mon Dec  2 07:58:39 2013	(r335454)
@@ -0,0 +1,4 @@
+An open source message queue optimised for performance.
+This version is older than upstream and specific to ntopng.
+
+WWW: http://www.zeromq.org/

Added: head/devel/ntopng-zmq/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ntopng-zmq/pkg-plist	Mon Dec  2 07:58:39 2013	(r335454)
@@ -0,0 +1,7 @@
+include/zmq.h
+include/zmq_utils.h
+lib/libzmq.a
+lib/libzmq.la
+lib/libzmq.so
+lib/libzmq.so.3
+libdata/pkgconfig/libzmq.pc
_______________________________________________
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 5 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-12-02 08:04:52 UTC
State Changed
From-To: open->closed

New port added. Thanks!