diff --git a/packaging/debian/changelog b/packaging/debian/changelog new file mode 100644 index 00000000..a663b878 --- /dev/null +++ b/packaging/debian/changelog @@ -0,0 +1,5 @@ +zeromq (4.2.0) UNRELEASED; urgency=low + + * Initial packaging. + + -- libzmq Developers Wed, 31 Dec 2014 00:00:00 +0000 diff --git a/packaging/debian/compat b/packaging/debian/compat new file mode 100644 index 00000000..ec635144 --- /dev/null +++ b/packaging/debian/compat @@ -0,0 +1 @@ +9 diff --git a/packaging/debian/control b/packaging/debian/control new file mode 100644 index 00000000..7a1845eb --- /dev/null +++ b/packaging/debian/control @@ -0,0 +1,61 @@ +Source: zeromq +Section: libs +Priority: optional +Maintainer: libzmq Developers +Build-Depends: debhelper (>= 9), + dh-autoreconf, + libpgm-dev, + libsodium-dev, + libunwind-dev | libunwind7-dev, + pkg-config +Standards-Version: 3.9.8 +Homepage: http://www.zeromq.org/ + +Package: libzmq5 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Pre-Depends: ${misc:Pre-Depends} +Multi-Arch: same +Description: lightweight messaging kernel (shared library) + ØMQ is a library which extends the standard socket interfaces with features + traditionally provided by specialised messaging middleware products. + . + ØMQ 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 libzmq shared library. + +Package: libzmq3-dev +Architecture: any +Section: libdevel +Depends: libzmq5 (= ${binary:Version}), ${misc:Depends} +Conflicts: libzmq-dev, libzmq5-dev +Replaces: libzmq5-dev +Provides: libzmq5-dev +Multi-Arch: same +Description: lightweight messaging kernel (development files) + ØMQ is a library which extends the standard socket interfaces with features + traditionally provided by specialised messaging middleware products. + . + ØMQ 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 development libraries and header files. + +Package: libzmq5-dbg +Architecture: any +Priority: extra +Section: debug +Depends: libzmq5 (= ${binary:Version}), ${misc:Depends} +Multi-Arch: same +Description: lightweight messaging kernel (debugging symbols) + ØMQ is a library which extends the standard socket interfaces with features + traditionally provided by specialised messaging middleware products. + . + ØMQ 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 symbols for the ZeroMQ library. diff --git a/packaging/debian/copyright b/packaging/debian/copyright new file mode 100644 index 00000000..f2928d66 --- /dev/null +++ b/packaging/debian/copyright @@ -0,0 +1,93 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ZeroMQ +Source: http://zeromq.org + +Files: * +Copyright: 2009-2011, 250bpm s.r.o + 2007-2013, iMatix Corporation + 2007-2011, Other contributors as noted in the AUTHORS file +License: LGPL-3.0+ + +Files: src/xreq.cpp + src/xpub.cpp + src/xsub.cpp + tests/test_reqrep_device.cpp + tests/test_invalid_rep.cpp +Copyright: 2010-2011, 250bpm s.r.o + 2011, VMware, Inc + 2010-2011, Other contributors as noted in the AUTHORS file +License: LGPL-3.0+ + +Files: src/msg.hpp + src/xrep.* + src/options.* + src/req.* + src/socket_base.* + src/pipe.* + src/encoder.cpp + src/lb.cpp + src/session_base.* + src/fq.cpp + include/zmq.h +Copyright: 2009-2011, 250bpm s.r.o + 2007-2013, iMatix Corporation + 2011, VMware, Inc + 2007-2011, Other contributors as noted in the AUTHORS file +License: LGPL-3.0+ + +Files: src/pgm_receiver.* + src/pgm_sender.* + src/pgm_socket.* +Copyright: 2009-2011, 250bpm s.r.o + 2007-2013, iMatix Corporation + 2010-2011, Miru Limited + 2007-2011, Other contributors as noted in the AUTHORS file +License: LGPL-3.0+ + +Files: debian/* +Copyright: 2014- , Laszlo Boszormenyi (GCS) + 2012-2014, Alessandro Ghedini + 2010-2012, Martin Lucina + 2009-2010, Adrian von Bidder + 2009-2010, Peter Busser + 2012, Alessandro Ghedini +License: LGPL-2.0+ + +License: LGPL-2.0+ + 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 General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-2". + +License: LGPL-3.0+ + 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 3 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 General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in "/usr/share/common-licenses/LGPL-3".BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. diff --git a/packaging/debian/libzmq3-dev.install b/packaging/debian/libzmq3-dev.install new file mode 100644 index 00000000..4f315b7e --- /dev/null +++ b/packaging/debian/libzmq3-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/*/libzmq.a +usr/lib/*/libzmq.so +usr/lib/*/pkgconfig/libzmq.pc diff --git a/packaging/debian/libzmq3-dev.manpages b/packaging/debian/libzmq3-dev.manpages new file mode 100644 index 00000000..fe4ecb45 --- /dev/null +++ b/packaging/debian/libzmq3-dev.manpages @@ -0,0 +1,2 @@ +debian/tmp/usr/share/man/man3/* +debian/tmp/usr/share/man/man7/* diff --git a/packaging/debian/libzmq5.docs b/packaging/debian/libzmq5.docs new file mode 100644 index 00000000..3cc350b4 --- /dev/null +++ b/packaging/debian/libzmq5.docs @@ -0,0 +1,2 @@ +AUTHORS +NEWS diff --git a/packaging/debian/libzmq5.install b/packaging/debian/libzmq5.install new file mode 100644 index 00000000..f0d5ab59 --- /dev/null +++ b/packaging/debian/libzmq5.install @@ -0,0 +1 @@ +usr/lib/*/libzmq.so.* diff --git a/packaging/debian/rules b/packaging/debian/rules new file mode 100755 index 00000000..5549b7c9 --- /dev/null +++ b/packaging/debian/rules @@ -0,0 +1,37 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export TEST_VERBOSE=1 + +ifeq ($(DEB_BUILD_ARCH_OS), kfreebsd) + DO_TEST = no +endif + +override_dh_clean: + dh_clean + find $(CURDIR) -type s -exec rm {} \; + rm -f $(CURDIR)/doc/*.xml $(CURDIR)/doc/*.3 $(CURDIR)/doc/*.7 + rm -f config.log + +override_dh_auto_configure: + dh_auto_configure -- --with-pgm --with-libsodium + +override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) +ifneq ($(DO_TEST), no) + -dh_auto_test -- VERBOSE=1 +else + -dh_auto_test -- VERBOSE=1 +endif +endif + +override_dh_strip: + dh_strip --dbg-package=libzmq5-dbg + +%: + dh $@ --with=autoreconf --parallel + +.PHONY: override_dh_auto_configure override_dh_strip diff --git a/packaging/debian/source/format b/packaging/debian/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/packaging/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/packaging/debian/zeromq.dsc.obs b/packaging/debian/zeromq.dsc.obs new file mode 100644 index 00000000..1c35fc84 --- /dev/null +++ b/packaging/debian/zeromq.dsc.obs @@ -0,0 +1,15 @@ +Format: 3.0 (quilt) +Source: zeromq +Binary: libzmq5, libzmq3-dev, libzmq5-dbg +Architecture: any +Version: 4.2.0 +Maintainer: libzmq Developers +Homepage: http://www.zeromq.org/ +Standards-Version: 3.9.8 +Build-Depends: debhelper (>= 9), dh-autoreconf, libpgm-dev, libsodium-dev, libunwind-dev | libunwind7-dev, pkg-config +Package-List: + libzmq3-dev deb libdevel optional arch=any + libzmq5 deb libs optional arch=any + libzmq5-dbg deb debug extra arch=any +Files: + e7adf4b7dbae09b28cfd10d26cd67fac 794853 zeromq.orig.tar.gz