debian/0000755000000000000000000000000012264555557007206 5ustar debian/source/0000755000000000000000000000000012264555507010501 5ustar debian/source/format0000644000000000000000000000001412264555507011707 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001267412264555507011065 0ustar zeromq (2.2.0+dfsg-5) unstable; urgency=medium * Bump Standards-Version to 3.9.5 (no changes needed) * Use dh-autoreconf instead of autotools-dev (Closes: #735094) * Make Vcs-* fields canonical -- Alessandro Ghedini Sun, 12 Jan 2014 19:13:20 +0100 zeromq (2.2.0+dfsg-4) unstable; urgency=low * Also add 02_check-for-SO_NOSIGPIPE.patch for kfreebsd FTBFS -- Alessandro Ghedini Fri, 17 May 2013 19:33:11 +0200 zeromq (2.2.0+dfsg-3) unstable; urgency=low * Use repack.{local,stub} instead of get-orig-source rule * Bump Standards-Version to 3.9.4 (no changes needed) * Fix typo in libzmq-dbg description (Closes: #696744) * Add 01_fix-kfreebsd-build.patch to fix FTBFS on kfreebsd (Closes: #637777) -- Alessandro Ghedini Fri, 17 May 2013 18:06:40 +0200 zeromq (2.2.0+dfsg-2) unstable; urgency=low * Make -dev package Multi-Arch: same too (Closes: #674601) -- Alessandro Ghedini Sun, 03 Jun 2012 13:29:40 +0200 zeromq (2.2.0+dfsg-1) unstable; urgency=low * New maintainer (Closes: #673619) * Repack upstream tarball to remove bundled openpgm tarball and xmlParser - Mangle dversion in watch file * Switch to short-form dh rules file - Use autotools-dev plugin * Bump debhelper compat level to 9 * Update copyright file using Copyright-Format 1.0 * Remove source options * Remove unused lintian overrides * Add Multi-Arch headers - Fix *.install files to use multi-arch paths * Vcs-* tags point to collab-maint repository * Fix short and long descriptions formatting * Ignore beta 3.x releases in watch file * Remove outdated and uselss README.Debian -- Alessandro Ghedini Tue, 22 May 2012 22:24:49 +0200 zeromq (2.2.0-1) unstable; urgency=low * [5661946] Imported Upstream version 2.2.0 (Closes: #672427) * [bbf467d] Bump Standards-Version to 3.9.3 with no changes * [0da0708] Add Vcs-Git and Vcs-Browser to debian/control -- Martin Lucina Sun, 20 May 2012 11:27:32 +0200 zeromq (2.1.11-1) unstable; urgency=low * [4016b65] Imported Upstream version 2.1.11 * [eaa74d0] Maintainer e-mail address changed * [9943256] Run testsuite during build (Closes: #655620) * [5ea0ff8] Remove unneeded libzmq.la from libzmq-dev (Closes: #633292) -- Martin Lucina Mon, 23 Jan 2012 11:14:23 +0100 zeromq (2.1.10-1) unstable; urgency=low * New upstream version. -- Martin Lucina Mon, 03 Oct 2011 17:09:06 +0200 zeromq (2.1.9-1) unstable; urgency=low * New upstream version. -- Martin Lucina Thu, 08 Sep 2011 16:38:46 +0200 zeromq (2.1.7-1) unstable; urgency=low * New upstream version. (closes: #619374) * --with-system-pgm is now used instead of the embedded OpenPGM library. * Added Debian watch file. -- Martin Lucina Fri, 13 May 2011 12:43:09 +0200 zeromq (2.1.4-1) experimental; urgency=low * New upstream version. * OpenPGM re-enabled for amd64 and i386, still using embedded library. -- Martin Lucina Thu, 07 Apr 2011 15:37:46 +0200 zeromq (2.1.3-1) experimental; urgency=low * New upstream version. * The zeromq-bin package has been removed, as upstream has removed the devices. * Temporarily disabled OpenPGM builds on i386 and amd64 due to changes in upstream OpenPGM intergration. -- Martin Lucina Mon, 28 Mar 2011 10:39:51 +0200 zeromq (2.0.10-1) unstable; urgency=low * New upstream version. * Upstream now uses DFSG-clean OpenPGM tarball, so dropping .dfsg from the Debian version. -- Martin Lucina Thu, 21 Oct 2010 16:21:20 +0200 zeromq (2.0.9.dfsg-1) unstable; urgency=medium * New upstream version. * Move all manpages in libzmq0 to zeromq-dev package (closes: #595890) * Updated to standards version 3.9.1. * Add lintian-overrides for spelling-error-in-copyright due to error in upstream license of xmlParser. * Use Breaks: instead of Conflicts: in zeromq-bin package, fixes conflicts-with-version from lintian. * Various other minor fixes for warnings from lintian. -- Martin Lucina Wed, 08 Sep 2010 15:25:45 +0200 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 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 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 Wed, 17 Mar 2010 10:43:40 +0100 zeromq (2.0~beta2-1) unstable; urgency=low * Initial package (closes: #566125) -- Adrian von Bidder Tue, 26 Jan 2010 19:03:39 +0100 debian/rules0000755000000000000000000000025412264555507010262 0ustar #!/usr/bin/make -f %: dh $@ --with=autoreconf override_dh_auto_configure: dh_auto_configure -- --with-system-pgm override_dh_strip: dh_strip --dbg-package=libzmq-dbg debian/libzmq1.docs0000644000000000000000000000002412264555507011426 0ustar AUTHORS NEWS README debian/repack.local0000644000000000000000000000011112264555507011453 0ustar MANIFEST=0 SUFFIX=+dfsg rm foreign/openpgm/*.gz rm -rf foreign/xmlParser debian/libzmq-dev.manpages0000644000000000000000000000010012264555507012757 0ustar debian/tmp/usr/share/man/man3/* debian/tmp/usr/share/man/man7/* debian/patches/0000755000000000000000000000000012264555507010630 5ustar debian/patches/series0000644000000000000000000000007412264555507012046 0ustar 01_fix-kfreebsd-build.patch 02_check-for-SO_NOSIGPIPE.patch debian/patches/01_fix-kfreebsd-build.patch0000644000000000000000000000701512264555507015622 0ustar Description: Fix FTBFS on kfreebsd by adjusting uuid include paths Origin: vendor Bug-Debian: http://bugs.debian.org/637777 Forwarded: no Author: Alessandro Ghedini Reviewed-by: Alessandro Ghedini Last-Update: 2013-05-17 --- a/src/uuid.cpp +++ b/src/uuid.cpp @@ -44,7 +44,8 @@ return (char*) string_buf; } -#elif defined ZMQ_HAVE_FREEBSD || defined ZMQ_HAVE_NETBSD || (defined ZMQ_HAVE_HPUX && defined HAVE_LIBDCEKT) +#elif (defined ZMQ_HAVE_FREEBSD || defined ZMQ_HAVE_NETBSD ||\ + (defined ZMQ_HAVE_HPUX && defined HAVE_LIBDCEKT)) && !defined __GLIBC__ #include #ifdef ZMQ_HAVE_HPUX @@ -79,7 +80,7 @@ } #elif defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_SOLARIS ||\ - defined ZMQ_HAVE_OSX || defined ZMQ_HAVE_CYGWIN + defined ZMQ_HAVE_OSX || defined ZMQ_HAVE_CYGWIN || defined __GLIBC__ #include --- a/src/uuid.hpp +++ b/src/uuid.hpp @@ -24,12 +24,12 @@ #include "platform.hpp" #include "stdint.hpp" -#if defined ZMQ_HAVE_FREEBSD || defined ZMQ_HAVE_NETBSD +#if (defined ZMQ_HAVE_FREEBSD || defined ZMQ_HAVE_NETBSD) && !defined __GLIBC__ #include #elif defined ZMQ_HAVE_HPUX && defined HAVE_LIBDCEKT #include #elif defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_SOLARIS ||\ - defined ZMQ_HAVE_OSX || defined ZMQ_HAVE_CYGWIN + defined ZMQ_HAVE_OSX || defined ZMQ_HAVE_CYGWIN || defined __GLIBC__ #include #elif defined ZMQ_HAVE_WINDOWS #include "windows.hpp" --- a/configure.in +++ b/configure.in @@ -123,6 +123,13 @@ fi ;; *freebsd*) + case "${host_os}" in + *kfreebsd*) + AC_CHECK_LIB(uuid, uuid_generate, , + [AC_MSG_ERROR([cannot link with -luuid, install uuid-dev.])]) + ;; + esac + # Define on FreeBSD to enable all library features CPPFLAGS="-D__BSD_VISIBLE $CPPFLAGS" AC_DEFINE(ZMQ_HAVE_FREEBSD, 1, [Have FreeBSD OS]) --- a/configure +++ b/configure @@ -17116,6 +17116,58 @@ fi ;; *freebsd*) + case "${host_os}" in + *kfreebsd*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 +$as_echo_n "checking for uuid_generate in -luuid... " >&6; } +if ${ac_cv_lib_uuid_uuid_generate+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-luuid $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char uuid_generate (); +int +main () +{ +return uuid_generate (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_uuid_uuid_generate=yes +else + ac_cv_lib_uuid_uuid_generate=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 +$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } +if test "x$ac_cv_lib_uuid_uuid_generate" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBUUID 1 +_ACEOF + + LIBS="-luuid $LIBS" + +else + as_fn_error $? "cannot link with -luuid, install uuid-dev." "$LINENO" 5 +fi + + ;; + esac + # Define on FreeBSD to enable all library features CPPFLAGS="-D__BSD_VISIBLE $CPPFLAGS" debian/patches/02_check-for-SO_NOSIGPIPE.patch0000644000000000000000000000110212264555507015741 0ustar Description: Check directly whether SO_NOSIGPIPE is available, instead of checking for the platform where it should be available. Origin: vendor Author: Alessandro Ghedini Reviewed-by: Alessandro Ghedini Last-Update: 2012-05-21 --- a/src/tcp_socket.cpp +++ b/src/tcp_socket.cpp @@ -162,7 +162,7 @@ errno_assert (rc == 0); } -#if defined ZMQ_HAVE_OSX || defined ZMQ_HAVE_FREEBSD +#ifdef SO_NOSIGPIPE int set = 1; int rc = setsockopt (s, SOL_SOCKET, SO_NOSIGPIPE, &set, sizeof (int)); errno_assert (rc == 0); debian/compat0000644000000000000000000000000212264555507010377 0ustar 9 debian/repack.stub0000755000000000000000000000325112264555507011351 0ustar #!/bin/sh : <<=cut =pod =head1 NAME repack.stub - script to repack upstream tarballs from uscan =head1 INSTRUCTIONS put this in debian/repack.stub and add "debian sh debian/repack.stub" to the end of the line in debian/watch. you will also need to add a version mangle to debian/watch. then create a debian/repack.local. this is a shell script that is sources under "set -e", so be careful to check returns codes. =head1 FUNCTIONS =over 4 =item rm rm is replaced by a function that does some magic ("rm -rv" by default), but also changes MANIFEST if $MANIFEST is 1 =item mv mv is replaced by a function that just does mv (by default), but also changes MANIFEST if $MANIFEST is 1 =item requires_version requires_version is there for future usage for requiring certain versions of the script =back =head1 VARIABLES =over 4 =item SUFFIX defaults to +dfsg what to append to the upstream version =item RM_OPTS defaults to -vrf options to pass to rm =item MANIFEST defaults to 0, set to 1 to turn on. this will manipulate MANIFEST files in CPAN tarballs. =item UP_BASE this is the directory where the upstream source is. =back =cut if [ -z "$REPACK_SH" ]; then if [ -f ../../scripts/repack.sh ]; then REPACK_SH=../../scripts/repack.sh fi if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then REPACK_SH=$(which repack.sh) fi fi if [ ! -f "$REPACK_SH" ]; then echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable" echo "You can get it from http://svn.debian.org/viewsvn/pkg-perl/scripts/repack.sh" exit 1 fi exec "$REPACK_SH" "$@" debian/control0000644000000000000000000000422012264555507010602 0ustar Source: zeromq Section: libs Priority: optional Maintainer: Alessandro Ghedini Build-Depends: debhelper (>= 9), dh-autoreconf, libpgm-dev, pkg-config, uuid-dev Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/zeromq.git Vcs-Git: git://anonscm.debian.org/collab-maint/zeromq.git Homepage: http://www.zeromq.org/ Package: libzmq1 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: libzmq-dev Architecture: any Section: libdevel Depends: libzmq1 (= ${binary:Version}), ${misc:Depends} 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: libzmq-dbg Architecture: any Priority: extra Section: debug Depends: libzmq1 (= ${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. debian/watch0000644000000000000000000000017612264555507010236 0ustar version=3 options=dversionmangle=s/\+dfsg// \ http://download.zeromq.org/zeromq-(2.*)\.tar\.gz \ debian sh debian/repack.stub debian/libzmq-dev.install0000644000000000000000000000012312264555507012637 0ustar usr/include/* usr/lib/*/libzmq.a usr/lib/*/libzmq.so usr/lib/*/pkgconfig/libzmq.pc debian/copyright0000644000000000000000000000747312264555507011147 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ZeroMQ Source: http://zeromq.org Comment: The upstream tarball has been repacked in order to remove the bundled tarball of OpenPGM (not in preferred form of modifcation) and the sources of xmlParser (not used). Files: * Copyright: 2007-2011, iMatix Corporation 2007-2011, Other contributors as noted in the AUTHORS file License: LGPL-3.0+ Files: tests/test_timeo.cpp Copyright: 2010-2011, Other contributors as noted in the AUTHORS file 2010-2011, 250bpm s.r.o License: LGPL-3.0+ Files: src/gcc_421_char_traits.hpp Copyright: 1997-2005, Free Software Foundation, Inc. License: This file is part of the GNU ISO C++ Library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. . This library 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 General Public License for more details. . You should have received a copy of the GNU General Public License along with this library; see the file COPYING. If not, write to the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. . As a special exception, you may use this file as part of a free software library without restriction. Specifically, if other files instantiate templates or use macros or inline functions from this file, or you compile this file and link it with other files to produce an executable, this file does not by itself cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. Files: src/trie.* Copyright: 2007-2011, iMatix Corporation 2007-2011 Other contributors as noted in the AUTHORS file 2011-2012, Spotify AB License: LGPL-3.0+ Files: debian/* Copyright: 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". debian/libzmq1.install0000644000000000000000000000002612264555507012146 0ustar usr/lib/*/libzmq.so.*