summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Lucina <mato@kotelna.sk>2010-06-30 12:31:08 +0200
committerMartin Lucina <martin@lucina.net>2012-01-23 08:53:22 +0100
commitcf026feae205bfeb7e007f6afd0e8d7b283865c8 (patch)
treec411edf7893fae55bd3498793f81254adf7130cd
parenta15854bd92db69fcd0b4444fe1b8fe3610a7acf6 (diff)
Imported Debian patch 2.0.7.dfsg-1debian/2.0.7.dfsg-1
-rw-r--r--debian/README.Debian4
-rw-r--r--debian/changelog33
-rw-r--r--debian/compat1
-rw-r--r--debian/control74
-rw-r--r--debian/copyright105
-rw-r--r--debian/libzmq-dev.install5
-rw-r--r--debian/libzmq-dev.manpages2
-rw-r--r--debian/libzmq0.docs3
-rw-r--r--debian/libzmq0.install1
-rw-r--r--debian/libzmq0.manpages5
-rwxr-xr-xdebian/rules92
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/options1
-rw-r--r--debian/zeromq-bin.install3
-rw-r--r--debian/zeromq-bin.manpages3
15 files changed, 333 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..80396ed
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,4 @@
+As of version 2.0.6, the zeromq source tarball only includes the C/C++ library;
+the other language bindings (available are at least: Java, Ruby, Python,
+Haskell, Common Lisp) are shipped separately. To my knowledge, Debian packages
+are not available.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3ef705e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,33 @@
+zeromq (2.0.7.dfsg-1) unstable; urgency=low
+
+ * New upstream version.
+ * Reformatted package description, thanks to Rhonda (closes: #577549)
+ * Added AUTHORS, NEWS and README to installed documentation.
+ * New maintainer (closes: #587505)
+
+ -- Martin Lucina <mato@kotelna.sk> Wed, 30 Jun 2010 12:31:08 +0200
+
+zeromq (2.0.6beta.dfsg-2) unstable; urgency=low
+
+ * Much improved descriptions (thanks to Martin Lucina)
+ * Rename zeromq-utils to -bin to better reflect the nature of these files.
+
+ -- Adrian von Bidder <cmot@debian.org> Mon, 22 Mar 2010 07:05:29 +0100
+
+zeromq (2.0.6beta.dfsg-1) unstable; urgency=low
+
+ * New upstream version.
+ - Source doesn't include non-C/C++ language bindings anymore.
+ - New versioning: 2.0.6 is official upstream version which is a beta.
+ * Repacked orig tar: removed non-free RFC documents (closes: #567513)
+ * Improved/corrected description and copyright file, added bzip2 build
+ dependency. Thanks to feedback from zeromq mailing list.
+ * Disable OpenPGM on non-x86 architectures (closes: #567848)
+
+ -- Adrian von Bidder <cmot@debian.org> Wed, 17 Mar 2010 10:43:40 +0100
+
+zeromq (2.0~beta2-1) unstable; urgency=low
+
+ * Initial package (closes: #566125)
+
+ -- Adrian von Bidder <cmot@debian.org> Tue, 26 Jan 2010 19:03:39 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..40e30fa
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,74 @@
+Source: zeromq
+Section: libs
+Priority: optional
+Maintainer: Martin Lucina <mato@kotelna.sk>
+Build-Depends: debhelper (>= 7), libglib2.0-dev [amd64 i386], python [amd64 i386], uuid-dev
+Standards-Version: 3.8.4
+Homepage: http://www.zeromq.org/
+
+Package: libzmq0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: zeromq-bin
+Description: The ZeroMQ messaging library
+ The 0MQ lightweight messaging kernel is a library which extends the
+ standard socket interfaces with features traditionally provided by
+ specialised messaging middleware products. 0MQ sockets provide an
+ abstraction of asynchronous message queues, multiple messaging
+ patterns, message filtering (subscriptions), seamless access to
+ multiple transport protocols and more.
+ .
+ This package contains the ZeroMQ shared library.
+
+Package: zeromq-bin
+Architecture: any
+Section: utils
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: zeromq-utils (<= 2.0.6beta.dfsg-1)
+Replaces: zeromq-utils (<= 2.0.6beta.dfsg-1)
+Description: Utilities for ZeroMQ
+ The 0MQ lightweight messaging kernel is a library which extends the
+ standard socket interfaces with features traditionally provided by
+ specialised messaging middleware products. 0MQ sockets provide an
+ abstraction of asynchronous message queues, multiple messaging
+ patterns, message filtering (subscriptions), seamless access to
+ multiple transport protocols and more.
+ .
+ This package contains the ZeroMQ devices:
+ .
+ * zmq_queue (Forwarder device for request-response messaging)
+ * zmq_forwarder (Forwarder device for publish-subscribe messaging)
+ * zmq_streamer (Streamer device for parallelized pipeline messaging)
+ .
+ These are building blocks intended to serve as intermediate nodes in
+ complex messaging topologies.
+
+Package: libzmq-dev
+Architecture: any
+Section: libdevel
+Depends: libzmq0 (= ${binary:Version}), ${misc:Depends}
+Description: Development files and static library for the ZeroMQ library
+ The 0MQ lightweight messaging kernel is a library which extends the
+ standard socket interfaces with features traditionally provided by
+ specialised messaging middleware products. 0MQ sockets provide an
+ abstraction of asynchronous message queues, multiple messaging
+ patterns, message filtering (subscriptions), seamless access to
+ multiple transport protocols and more.
+ .
+ This package contains ZeroMQ related development libraries and header files.
+
+Package: libzmq-dbg
+Architecture: any
+Priority: extra
+Section: debug
+Depends: libzmq0 (= ${binary:Version}), ${misc:Depends}
+Description: Debugging files for the ZeroMQ messaging library
+ The 0MQ lightweight messaging kernel is a library which extends the
+ standard socket interfaces with features traditionally provided by
+ specialised messaging middleware products. 0MQ sockets provide an
+ abstraction of asynchronous message queues, multiple messaging
+ patterns, message filtering (subscriptions), seamless access to
+ multiple transport protocols and more.
+ .
+ This package contains the debugging synmbols of the ZeroMQ library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c5832d8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,105 @@
+This package was debianized by
+ Adrian von Bidder <cmot@debian.org>
+ based on earlier work by Peter Busser <peter@mirabilix.nl>
+
+ The packaging scripts are ©2009-2010 by these authors and are distributed
+ under the same terms as the zeromq library (LGPL 2 or later.)
+
+
+Licensing information for 0MQ
+-----------------------------
+
+Project homepage, with original source code:
+ http://www.zeromq.org/
+
+Copyright and Upstream Authors:
+
+ Copyright © 2007-2010 iMatix Corporation
+
+License:
+
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+iMatix also offers commercial licenses for 0MQ.
+
+
+Licensing information for the included OpenPGM library
+------------------------------------------------------
+
+Project homepage, with original source code:
+ http://code.google.com/p/openpgm/
+
+Copyright and Upstream Authors:
+ Copyright © 2006-2010 Miru Limited.
+ Copyright © 1995, 1996, 2001, 2003 Free Software Foundation, Inc.
+ Copyright © 2002, 2003 Andi Kleen, SuSE Labs.
+
+License:
+ Most of OpenPGM is licensed under the terms of the GNU Lesser Public
+ License, the LGPL, see the file COPYING for details.
+
+ The ultra-high performance partial checksum & folding routines that are
+ taken from the Linux kernel and licensed under the terms of the GNU General
+ Public License, the GPL, see the file COPYING.GPL for details.
+
+ Hence you should treat the libraries libpgm, libpgmsnmp, and libpgmhttp of
+ OpenPGM as being LGPL licensed and the library libpgmplus as being GPL
+ licensed.
+
+(Packager's note: "GPL" in the context of the Linux kernel means GPL 2. 0MQ
+doesn't use those files during build or runtime, so it is not relevant for the
+license of zeromq itself.))
+
+Commercial licenses are also offered.
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+On Debian systems, the complete text of the GNU General Public
+License can be found in `/usr/share/common-licenses/GPL-2'.
+
+
+
+Licensing information for the included XMLParser library
+--------------------------------------------------------
+
+From xmlParser.hpp:
+
+ Copyright (c) 2002, Frank Vanden Berghen
+ All rights reserved.
+
+ The following license terms apply to projects that are in some way related to
+ the "ZeroMQ project", including applications
+ using "ZeroMQ project" and tools developed
+ for enhancing "ZeroMQ project". All other projects
+ (not related to "ZeroMQ project") have to use this
+ code under the Aladdin Free Public License (AFPL)
+ See the file "AFPL-license.txt" for more informations about the AFPL license.
+ (see http://www.artifex.com/downloads/doc/Public.htm for detailed AFPL terms)
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of Frank Vanden Berghen nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
diff --git a/debian/libzmq-dev.install b/debian/libzmq-dev.install
new file mode 100644
index 0000000..108aaed
--- /dev/null
+++ b/debian/libzmq-dev.install
@@ -0,0 +1,5 @@
+usr/include/*
+usr/lib/libzmq.a
+usr/lib/libzmq.la
+usr/lib/libzmq.so
+usr/lib/pkgconfig/libzmq.pc
diff --git a/debian/libzmq-dev.manpages b/debian/libzmq-dev.manpages
new file mode 100644
index 0000000..63f4dae
--- /dev/null
+++ b/debian/libzmq-dev.manpages
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/man/man3/*
+debian/tmp/usr/share/man/man7/zmq_cpp.7
diff --git a/debian/libzmq0.docs b/debian/libzmq0.docs
new file mode 100644
index 0000000..6f83607
--- /dev/null
+++ b/debian/libzmq0.docs
@@ -0,0 +1,3 @@
+AUTHORS
+NEWS
+README
diff --git a/debian/libzmq0.install b/debian/libzmq0.install
new file mode 100644
index 0000000..f63a68f
--- /dev/null
+++ b/debian/libzmq0.install
@@ -0,0 +1 @@
+usr/lib/libzmq.so.*
diff --git a/debian/libzmq0.manpages b/debian/libzmq0.manpages
new file mode 100644
index 0000000..b846209
--- /dev/null
+++ b/debian/libzmq0.manpages
@@ -0,0 +1,5 @@
+debian/tmp/usr/share/man/man7/zmq.7
+debian/tmp/usr/share/man/man7/zmq_inproc.7
+debian/tmp/usr/share/man/man7/zmq_ipc.7
+debian/tmp/usr/share/man/man7/zmq_pgm.7
+debian/tmp/usr/share/man/man7/zmq_tcp.7
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9003360
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,92 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+ifneq (,$(filter $(DEB_HOST_ARCH),i386 amd64))
+ pgm_opt := --with-pgm
+else
+ pgm_opt :=
+endif
+
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ MAKEFLAGS += -j$(NUMJOBS)
+endif
+
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+
+ ./configure $(CROSS) \
+ --prefix=/usr \
+ $(pgm_opt) \
+ CFLAGS="$(CFLAGS)" \
+ LDFLAGS="-Wl,--as-needed -Wl,-z,defs" \
+
+ touch configure-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ $(MAKE) $(MAKEFLAGS)
+
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ if [ -e Makefile ]; then make distclean; fi
+ rm -rf foreign/openpgm/libpgm-2.0.20rc5 config.log
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+
+ $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+
+binary-indep: build install
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_install -X/usr/share/man --fail-missing
+ dh_installman
+ dh_installchangelogs
+ dh_installdocs
+ dh_lintian
+ dh_link
+ dh_strip --dbg-package=libzmq-dbg
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
+
+# vim: set filetype=make
+
+
+# build depends:
+# - python[-all]-dev
+# - ruby-dev
+# -> figure out ruby-headersdir option automatically
+# - openjdk-6-jdk (or whatever)
+# -> set JAVA_HOME automatically
+# - libglib2.0-dev
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..7423a2d
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+single-debian-patch
diff --git a/debian/zeromq-bin.install b/debian/zeromq-bin.install
new file mode 100644
index 0000000..5c5566e
--- /dev/null
+++ b/debian/zeromq-bin.install
@@ -0,0 +1,3 @@
+usr/bin/zmq_forwarder
+usr/bin/zmq_queue
+usr/bin/zmq_streamer
diff --git a/debian/zeromq-bin.manpages b/debian/zeromq-bin.manpages
new file mode 100644
index 0000000..bcc9687
--- /dev/null
+++ b/debian/zeromq-bin.manpages
@@ -0,0 +1,3 @@
+debian/tmp/usr/share/man/man1/zmq_forwarder.1
+debian/tmp/usr/share/man/man1/zmq_queue.1
+debian/tmp/usr/share/man/man1/zmq_streamer.1