diff options
author | Micah Anderson <micah@riseup.net> | 2014-08-11 16:32:05 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2014-08-11 16:32:05 -0400 |
commit | 225af56ba5090552ea6f9a8bbf35bfaab97d97f1 (patch) | |
tree | 619d9973b4c43d50f68f877a7b4a0ee69b8eb250 /debian | |
parent | 686958a9db9b140c9665af8fd001e7032a37a46e (diff) |
add upstream sourceupstream
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 251 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 59 | ||||
-rw-r--r-- | debian/copyright | 113 | ||||
-rw-r--r-- | debian/gbp.conf | 7 | ||||
-rw-r--r-- | debian/libzmq3-dev.install | 5 | ||||
-rw-r--r-- | debian/libzmq3-dev.manpages | 2 | ||||
-rw-r--r-- | debian/libzmq3.docs | 2 | ||||
-rw-r--r-- | debian/libzmq3.install | 1 | ||||
-rw-r--r-- | debian/libzmq3.symbols | 52 | ||||
-rw-r--r-- | debian/repack.local | 3 | ||||
-rwxr-xr-x | debian/repack.stub | 91 | ||||
-rwxr-xr-x | debian/rules | 29 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 4 | ||||
-rw-r--r-- | debian/zmq.hpp | 566 |
16 files changed, 0 insertions, 1187 deletions
diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index 0fcd0a7..0000000 --- a/debian/changelog +++ /dev/null @@ -1,251 +0,0 @@ -zeromq3 (4.0.4+dfsg-2) unstable; urgency=low - - * Honour nocheck option in DEB_BUILD_OPTIONS . - * New maintainer (closes: #741746). - - -- Laszlo Boszormenyi (GCS) <gcs@debian.org> Thu, 20 Mar 2014 14:51:15 +0000 - -zeromq3 (4.0.4+dfsg-1) unstable; urgency=medium - - * QA upload; orphan the package - - Upload to unstable - * New upstream release - * Update repack.stub script - * Drop 02_fix-exported-symbols.patch and 03_fix-s390-rdtsc.patch - (merged upstream) - - -- Alessandro Ghedini <ghedo@debian.org> Sun, 16 Mar 2014 14:02:28 +0100 - -zeromq3 (4.0.3+dfsg-1) experimental; urgency=medium - - * New upstream release (Closes: #736353) - * Drop 01_shutdown-race.patch (merged upstream) - * Update *.symbols file - * Don't install README anymore - * Update copyright file - - -- Alessandro Ghedini <ghedo@debian.org> Wed, 05 Feb 2014 22:06:16 +0100 - -zeromq3 (3.2.4+dfsg-4) unstable; urgency=medium - - * Update Standards-Version to 3.9.5 (no changes needed) - * Add 03_fix-s390-rdtsc.patch to fix FTBFS on s390x (Closes: #734521) - * Re-enable tests on s390x - - -- Alessandro Ghedini <ghedo@debian.org> Sun, 12 Jan 2014 13:21:34 +0100 - -zeromq3 (3.2.4+dfsg-3) unstable; urgency=medium - - * Do not export C++ symbols (Closes: #732654) - * Use dh-autoreconf instead of autotools-dev - - -- Alessandro Ghedini <ghedo@debian.org> Fri, 20 Dec 2013 19:11:09 +0100 - -zeromq3 (3.2.4+dfsg-2) unstable; urgency=medium - - * Fix vcs-field-not-canonical - * Add symbols file - * Add 01_shutdown-race.patch to fix a race condition on shutdown - (Closes: #732576) - - -- Alessandro Ghedini <ghedo@debian.org> Thu, 19 Dec 2013 13:42:12 +0100 - -zeromq3 (3.2.4+dfsg-1) unstable; urgency=low - - * New upstream release - * Update the zmq.hpp C++ header - - -- Alessandro Ghedini <ghedo@debian.org> Fri, 20 Sep 2013 13:56:16 +0200 - -zeromq3 (3.2.3+dfsg-2) unstable; urgency=low - - * Make test failures non-fatal on kfreebsd and s390/s390x - - -- Alessandro Ghedini <ghedo@debian.org> Tue, 14 May 2013 15:42:02 +0200 - -zeromq3 (3.2.3+dfsg-1) unstable; urgency=low - - * New upstream release - - Change connection failure test to use an invalid hostname - (Closes: #705561) - * Fix typo in libzmq3-dbg description (Closes: #696731) - * Provide the zmq.hpp C++ header again (Closes: #697743) - * Upload to unstable - - -- Alessandro Ghedini <ghedo@debian.org> Fri, 03 May 2013 13:00:43 +0200 - -zeromq3 (3.2.2+dfsg-1) experimental; urgency=low - - * New upstream release (Closes: #694087) - * Do not mangle upstream version anymore - - -- Alessandro Ghedini <ghedo@debian.org> Sat, 24 Nov 2012 17:07:58 +0100 - -zeromq3 (3.2.1~rc2+dfsg-1) experimental; urgency=low - - * New upstream RC release (Closes: #690704) - * Bump Standards-Version to 3.9.4 (no changes needed) - - -- Alessandro Ghedini <ghedo@debian.org> Tue, 16 Oct 2012 19:49:30 +0200 - -zeromq3 (3.2.0~rc1+dfsg-1) experimental; urgency=low - - * New upstream RC release - * Use repack.{local,stub} instead of get-orig-source rule - * Add 01_fix-unused-variable-error.patch - * Remove build dependency on uuid-dev (no more needed) - * Add 02_check-ifdef-SO_NOSIGPIPE.patch to fix kfreebsd build - * Add 03_fix-test_shutdown_stress-segfault.patch - - -- Alessandro Ghedini <ghedo@debian.org> Tue, 12 Jun 2012 10:53:58 +0200 - -zeromq3 (3.1.0~beta+dfsg-2) experimental; urgency=low - - * libzmq3-dev Conflicts with libzmq-dev (Closes: #676160) - - -- Alessandro Ghedini <ghedo@debian.org> Tue, 05 Jun 2012 09:29:58 +0200 - -zeromq3 (3.1.0~beta+dfsg-1) experimental; urgency=low - - * Initial ZeroMQ v3 packaging (Closes: #661503) - - Update get-orig-source rule and watch file - - Rename binary packages to new SONAME - - Update Vcs-* headers too - - Update copyright file - - -- Alessandro Ghedini <ghedo@debian.org> Mon, 04 Jun 2012 21:21:09 +0200 - -zeromq (2.2.0+dfsg-2) unstable; urgency=low - - * Make -dev package Multi-Arch: same too (Closes: #674601) - - -- Alessandro Ghedini <ghedo@debian.org> 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 <ghedo@debian.org> 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 <martin@lucina.net> 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 <martin@lucina.net> Mon, 23 Jan 2012 11:14:23 +0100 - -zeromq (2.1.10-1) unstable; urgency=low - - * New upstream version. - - -- Martin Lucina <mato@kotelna.sk> Mon, 03 Oct 2011 17:09:06 +0200 - -zeromq (2.1.9-1) unstable; urgency=low - - * New upstream version. - - -- Martin Lucina <mato@kotelna.sk> 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 <mato@kotelna.sk> 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 <mato@kotelna.sk> 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 <mato@kotelna.sk> 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 <mato@kotelna.sk> 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 <mato@kotelna.sk> 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 <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 deleted file mode 100644 index ec63514..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/debian/control b/debian/control deleted file mode 100644 index 72274f6..0000000 --- a/debian/control +++ /dev/null @@ -1,59 +0,0 @@ -Source: zeromq3 -Section: libs -Priority: optional -Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.org> -Build-Depends: debhelper (>= 9), - dh-autoreconf, - libpgm-dev, - pkg-config -Standards-Version: 3.9.5 -Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/zeromq3.git -Vcs-Git: git://anonscm.debian.org/collab-maint/zeromq3.git -Homepage: http://www.zeromq.org/ - -Package: libzmq3 -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: libzmq3 (= ${binary:Version}), ${misc:Depends} -Conflicts: libzmq-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: libzmq3-dbg -Architecture: any -Priority: extra -Section: debug -Depends: libzmq3 (= ${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/debian/copyright b/debian/copyright deleted file mode 100644 index dd60bf2..0000000 --- a/debian/copyright +++ /dev/null @@ -1,113 +0,0 @@ -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. - -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: 2009-2010, Adrian von Bidder <cmot@debian.org> - 2009-2010, Peter Busser <peter@mirabilix.nl> - 2012, Alessandro Ghedini <ghedo@debian.org> -License: LGPL-2.0+ - -Files: debian/zmq.hpp -Copyright: 2009-2011, 250bpm s.r.o. - 2011, Botond Ballo - 2007-2013, iMatix Corporation -License: MIT -Comment: The C++ header was downloaded from https://github.com/zeromq/cppzmq - -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 <http://www.gnu.org/licenses/>. - . - 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 <http://www.gnu.org/licenses/>. - . - On Debian systems, the complete text of the GNU Lesser General - Public License can be found in "/usr/share/common-licenses/LGPL-3". - -License: MIT - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to - deal in the Software without restriction, including without limitation the - rights to use, copy, modify, merge, publish, distribute, sublicense, and/or - sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - . - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - . - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING 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/debian/gbp.conf b/debian/gbp.conf deleted file mode 100644 index ae1dc36..0000000 --- a/debian/gbp.conf +++ /dev/null @@ -1,7 +0,0 @@ -[DEFAULT] -upstream-branch = upstream -debian-branch = master -upstream-tag = upstream/%(version)s -debian-tag = debian/%(version)s -pristine-tar = True -sign-tags = True diff --git a/debian/libzmq3-dev.install b/debian/libzmq3-dev.install deleted file mode 100644 index 60bad61..0000000 --- a/debian/libzmq3-dev.install +++ /dev/null @@ -1,5 +0,0 @@ -usr/include/* -usr/lib/*/libzmq.a -usr/lib/*/libzmq.so -usr/lib/*/pkgconfig/libzmq.pc -debian/zmq.hpp usr/include diff --git a/debian/libzmq3-dev.manpages b/debian/libzmq3-dev.manpages deleted file mode 100644 index fe4ecb4..0000000 --- a/debian/libzmq3-dev.manpages +++ /dev/null @@ -1,2 +0,0 @@ -debian/tmp/usr/share/man/man3/* -debian/tmp/usr/share/man/man7/* diff --git a/debian/libzmq3.docs b/debian/libzmq3.docs deleted file mode 100644 index 3cc350b..0000000 --- a/debian/libzmq3.docs +++ /dev/null @@ -1,2 +0,0 @@ -AUTHORS -NEWS diff --git a/debian/libzmq3.install b/debian/libzmq3.install deleted file mode 100644 index f0d5ab5..0000000 --- a/debian/libzmq3.install +++ /dev/null @@ -1 +0,0 @@ -usr/lib/*/libzmq.so.* diff --git a/debian/libzmq3.symbols b/debian/libzmq3.symbols deleted file mode 100644 index fd92c4d..0000000 --- a/debian/libzmq3.symbols +++ /dev/null @@ -1,52 +0,0 @@ -libzmq.so.3 libzmq3 #MINVER# - zmq_bind@Base 3.2.3+dfsg - zmq_close@Base 3.2.3+dfsg - zmq_connect@Base 3.2.3+dfsg - zmq_ctx_destroy@Base 3.2.3+dfsg - zmq_ctx_get@Base 3.2.3+dfsg - zmq_ctx_new@Base 3.2.3+dfsg - zmq_ctx_set@Base 3.2.3+dfsg - zmq_ctx_shutdown@Base 4.0.1+dfsg - zmq_ctx_term@Base 4.0.1+dfsg - zmq_curve_keypair@Base 4.0.1+dfsg - zmq_device@Base 3.2.3+dfsg - zmq_disconnect@Base 3.2.3+dfsg - zmq_errno@Base 3.2.3+dfsg - zmq_getsockopt@Base 3.2.3+dfsg - zmq_init@Base 3.2.3+dfsg - zmq_msg_close@Base 3.2.3+dfsg - zmq_msg_copy@Base 3.2.3+dfsg - zmq_msg_data@Base 3.2.3+dfsg - zmq_msg_get@Base 3.2.3+dfsg - zmq_msg_init@Base 3.2.3+dfsg - zmq_msg_init_data@Base 3.2.3+dfsg - zmq_msg_init_size@Base 3.2.3+dfsg - zmq_msg_more@Base 3.2.3+dfsg - zmq_msg_move@Base 3.2.3+dfsg - zmq_msg_recv@Base 3.2.3+dfsg - zmq_msg_send@Base 3.2.3+dfsg - zmq_msg_set@Base 3.2.3+dfsg - zmq_msg_size@Base 3.2.3+dfsg - zmq_poll@Base 3.2.3+dfsg - zmq_proxy@Base 3.2.3+dfsg - zmq_recv@Base 3.2.3+dfsg - zmq_recviov@Base 3.2.3+dfsg - zmq_recvmsg@Base 3.2.3+dfsg - zmq_send@Base 3.2.3+dfsg - zmq_send_const@Base 4.0.1+dfsg - zmq_sendiov@Base 3.2.3+dfsg - zmq_sendmsg@Base 3.2.3+dfsg - zmq_setsockopt@Base 3.2.3+dfsg - zmq_sleep@Base 3.2.3+dfsg - zmq_socket@Base 3.2.3+dfsg - zmq_socket_monitor@Base 3.2.3+dfsg - zmq_stopwatch_start@Base 3.2.3+dfsg - zmq_stopwatch_stop@Base 3.2.3+dfsg - zmq_strerror@Base 3.2.3+dfsg - zmq_term@Base 3.2.3+dfsg - zmq_threadclose@Base 4.0.1+dfsg - zmq_threadstart@Base 4.0.1+dfsg - zmq_unbind@Base 3.2.3+dfsg - zmq_version@Base 3.2.3+dfsg - zmq_z85_decode@Base 4.0.1+dfsg - zmq_z85_encode@Base 4.0.1+dfsg diff --git a/debian/repack.local b/debian/repack.local deleted file mode 100644 index c5bb200..0000000 --- a/debian/repack.local +++ /dev/null @@ -1,3 +0,0 @@ -MANIFEST=0 -SUFFIX=+dfsg -rm foreign/openpgm/*.gz diff --git a/debian/repack.stub b/debian/repack.stub deleted file mode 100755 index 7e36f5f..0000000 --- a/debian/repack.stub +++ /dev/null @@ -1,91 +0,0 @@ -#!/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 -sourced 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 - -=head1 COPYRIGHT AND LICENSE - -Copyright 2009, Ryan Niebur <ryan@debian.org> - -This program is free software; you can redistribute it and/or modify it -under the same terms as Perl itself. - -=cut - -if [ -z "$REPACK_SH" ]; then - if [ -x /usr/share/pkg-perl-tools/repack.sh ]; then - REPACK_SH='/usr/share/pkg-perl-tools/repack.sh' - elif [ -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://anonscm.debian.org/gitweb/?p=pkg-perl/packages/pkg-perl-tools.git;a=blob_plain;f=scripts/repack.sh;hb=HEAD" - exit 1 -fi - -exec "$REPACK_SH" "$@" diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 31da045..0000000 --- a/debian/rules +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -ifeq ($(DEB_BUILD_ARCH_OS), kfreebsd) - DO_TEST = no -endif - -override_dh_auto_configure: - dh_auto_configure -- --with-system-pgm - -override_dh_auto_test: -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) -ifneq ($(DO_TEST), no) - dh_auto_test -else - -dh_auto_test -endif -endif - -override_dh_strip: - dh_strip --dbg-package=libzmq3-dbg - -%: - dh $@ --with=autoreconf - -.PHONY: override_dh_auto_configure override_dh_strip diff --git a/debian/source/format b/debian/source/format deleted file mode 100644 index 163aaf8..0000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/debian/watch b/debian/watch deleted file mode 100644 index dc23b2b..0000000 --- a/debian/watch +++ /dev/null @@ -1,4 +0,0 @@ -version=3 -options=dversionmangle=s/\+dfsg// \ -http://download.zeromq.org/zeromq-(4.*)\.tar\.gz \ -debian sh debian/repack.stub diff --git a/debian/zmq.hpp b/debian/zmq.hpp deleted file mode 100644 index 147f096..0000000 --- a/debian/zmq.hpp +++ /dev/null @@ -1,566 +0,0 @@ -/* - Copyright (c) 2009-2011 250bpm s.r.o. - Copyright (c) 2011 Botond Ballo - Copyright (c) 2007-2009 iMatix Corporation - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to - deal in the Software without restriction, including without limitation the - rights to use, copy, modify, merge, publish, distribute, sublicense, and/or - sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING 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. -*/ - -#ifndef __ZMQ_HPP_INCLUDED__ -#define __ZMQ_HPP_INCLUDED__ - -#include <zmq.h> - -#include <algorithm> -#include <cassert> -#include <cstring> -#include <string> -#include <exception> - -// Detect whether the compiler supports C++11 rvalue references. -#if (defined(__GNUC__) && (__GNUC__ > 4 || \ - (__GNUC__ == 4 && __GNUC_MINOR__ > 2)) && \ - defined(__GXX_EXPERIMENTAL_CXX0X__)) - #define ZMQ_HAS_RVALUE_REFS - #define ZMQ_DELETED_FUNCTION = delete -#elif defined(__clang__) - #if __has_feature(cxx_rvalue_references) - #define ZMQ_HAS_RVALUE_REFS - #endif - - #if __has_feature(cxx_deleted_functions) - #define ZMQ_DELETED_FUNCTION = delete - #else - #define ZMQ_DELETED_FUNCTION - #endif -#elif defined(_MSC_VER) && (_MSC_VER >= 1600) - #define ZMQ_HAS_RVALUE_REFS - #define ZMQ_DELETED_FUNCTION -#else - #define ZMQ_DELETED_FUNCTION -#endif - -#if ZMQ_VERSION >= ZMQ_MAKE_VERSION(3, 3, 0) -#define ZMQ_NEW_MONITOR_EVENT_LAYOUT -#endif - -// In order to prevent unused variable warnings when building in non-debug -// mode use this macro to make assertions. -#ifndef NDEBUG -# define ZMQ_ASSERT(expression) assert(expression) -#else -# define ZMQ_ASSERT(expression) (void)(expression) -#endif - -namespace zmq -{ - - typedef zmq_free_fn free_fn; - typedef zmq_pollitem_t pollitem_t; - - class error_t : public std::exception - { - public: - - error_t () : errnum (zmq_errno ()) {} - - virtual const char *what () const throw () - { - return zmq_strerror (errnum); - } - - int num () const - { - return errnum; - } - - private: - - int errnum; - }; - - inline int poll (zmq_pollitem_t *items_, int nitems_, long timeout_ = -1) - { - int rc = zmq_poll (items_, nitems_, timeout_); - if (rc < 0) - throw error_t (); - return rc; - } - - inline void proxy (void *frontend, void *backend, void *capture) - { - int rc = zmq_proxy (frontend, backend, capture); - if (rc != 0) - throw error_t (); - } - - inline void version (int *major_, int *minor_, int *patch_) - { - zmq_version (major_, minor_, patch_); - } - - class message_t - { - friend class socket_t; - - public: - - inline message_t () - { - int rc = zmq_msg_init (&msg); - if (rc != 0) - throw error_t (); - } - - inline explicit message_t (size_t size_) - { - int rc = zmq_msg_init_size (&msg, size_); - if (rc != 0) - throw error_t (); - } - - inline message_t (void *data_, size_t size_, free_fn *ffn_, - void *hint_ = NULL) - { - int rc = zmq_msg_init_data (&msg, data_, size_, ffn_, hint_); - if (rc != 0) - throw error_t (); - } - -#ifdef ZMQ_HAS_RVALUE_REFS - inline message_t (message_t &&rhs) : msg (rhs.msg) - { - int rc = zmq_msg_init (&rhs.msg); - if (rc != 0) - throw error_t (); - } - - inline message_t &operator = (message_t &&rhs) - { - std::swap (msg, rhs.msg); - return *this; - } -#endif - - inline ~message_t () - { - int rc = zmq_msg_close (&msg); - ZMQ_ASSERT (rc == 0); - } - - inline void rebuild () - { - int rc = zmq_msg_close (&msg); - if (rc != 0) - throw error_t (); - rc = zmq_msg_init (&msg); - if (rc != 0) - throw error_t (); - } - - inline void rebuild (size_t size_) - { - int rc = zmq_msg_close (&msg); - if (rc != 0) - throw error_t (); - rc = zmq_msg_init_size (&msg, size_); - if (rc != 0) - throw error_t (); - } - - inline void rebuild (void *data_, size_t size_, free_fn *ffn_, - void *hint_ = NULL) - { - int rc = zmq_msg_close (&msg); - if (rc != 0) - throw error_t (); - rc = zmq_msg_init_data (&msg, data_, size_, ffn_, hint_); - if (rc != 0) - throw error_t (); - } - - inline void move (message_t *msg_) - { - int rc = zmq_msg_move (&msg, &(msg_->msg)); - if (rc != 0) - throw error_t (); - } - - inline void copy (message_t *msg_) - { - int rc = zmq_msg_copy (&msg, &(msg_->msg)); - if (rc != 0) - throw error_t (); - } - - inline bool more () - { - int rc = zmq_msg_more (&msg); - return rc != 0; - } - - inline void *data () - { - return zmq_msg_data (&msg); - } - - inline const void* data () const - { - return zmq_msg_data (const_cast<zmq_msg_t*>(&msg)); - } - - inline size_t size () const - { - return zmq_msg_size (const_cast<zmq_msg_t*>(&msg)); - } - - private: - - // The underlying message - zmq_msg_t msg; - - // Disable implicit message copying, so that users won't use shared - // messages (less efficient) without being aware of the fact. - message_t (const message_t&); - void operator = (const message_t&); - }; - - class context_t - { - friend class socket_t; - - public: - inline context_t () - { - ptr = zmq_ctx_new (); - if (ptr == NULL) - throw error_t (); - } - - - inline explicit context_t (int io_threads_) - { - ptr = zmq_ctx_new (); - if (ptr == NULL) - throw error_t (); - - int rc = zmq_ctx_set (ptr, ZMQ_IO_THREADS, io_threads_); - ZMQ_ASSERT (rc == 0); - } - -#ifdef ZMQ_HAS_RVALUE_REFS - inline context_t (context_t &&rhs) : ptr (rhs.ptr) - { - rhs.ptr = NULL; - } - inline context_t &operator = (context_t &&rhs) - { - std::swap (ptr, rhs.ptr); - return *this; - } -#endif - - inline ~context_t () - { - close(); - } - - inline void close() - { - if (ptr == NULL) - return; - int rc = zmq_ctx_destroy (ptr); - ZMQ_ASSERT (rc == 0); - ptr = NULL; - } - - // Be careful with this, it's probably only useful for - // using the C api together with an existing C++ api. - // Normally you should never need to use this. - inline operator void* () - { - return ptr; - } - - private: - - void *ptr; - - context_t (const context_t&); - void operator = (const context_t&); - }; - - class socket_t - { - friend class monitor_t; - public: - - inline socket_t (context_t &context_, int type_) - { - ctxptr = context_.ptr; - ptr = zmq_socket (context_.ptr, type_); - if (ptr == NULL) - throw error_t (); - } - -#ifdef ZMQ_HAS_RVALUE_REFS - inline socket_t(socket_t&& rhs) : ptr(rhs.ptr) - { - rhs.ptr = NULL; - } - inline socket_t& operator=(socket_t&& rhs) - { - std::swap(ptr, rhs.ptr); - return *this; - } -#endif - - inline ~socket_t () - { - close(); - } - - inline operator void* () - { - return ptr; - } - - inline void close() - { - if(ptr == NULL) - // already closed - return ; - int rc = zmq_close (ptr); - ZMQ_ASSERT (rc == 0); - ptr = 0 ; - } - - inline void setsockopt (int option_, const void *optval_, - size_t optvallen_) - { - int rc = zmq_setsockopt (ptr, option_, optval_, optvallen_); - if (rc != 0) - throw error_t (); - } - - inline void getsockopt (int option_, void *optval_, - size_t *optvallen_) - { - int rc = zmq_getsockopt (ptr, option_, optval_, optvallen_); - if (rc != 0) - throw error_t (); - } - - inline void bind (const char *addr_) - { - int rc = zmq_bind (ptr, addr_); - if (rc != 0) - throw error_t (); - } - - inline void unbind (const char *addr_) - { - int rc = zmq_unbind (ptr, addr_); - if (rc != 0) - throw error_t (); - } - - inline void connect (const char *addr_) - { - int rc = zmq_connect (ptr, addr_); - if (rc != 0) - throw error_t (); - } - - inline void disconnect (const char *addr_) - { - int rc = zmq_disconnect (ptr, addr_); - if (rc != 0) - throw error_t (); - } - - inline bool connected() - { - return(ptr != NULL); - } - - inline size_t send (const void *buf_, size_t len_, int flags_ = 0) - { - int nbytes = zmq_send (ptr, buf_, len_, flags_); - if (nbytes >= 0) - return (size_t) nbytes; - if (zmq_errno () == EAGAIN) - return 0; - throw error_t (); - } - - inline bool send (message_t &msg_, int flags_ = 0) - { - int nbytes = zmq_msg_send (&(msg_.msg), ptr, flags_); - if (nbytes >= 0) - return true; - if (zmq_errno () == EAGAIN) - return false; - throw error_t (); - } - - inline size_t recv (void *buf_, size_t len_, int flags_ = 0) - { - int nbytes = zmq_recv (ptr, buf_, len_, flags_); - if (nbytes >= 0) - return (size_t) nbytes; - if (zmq_errno () == EAGAIN) - return 0; - throw error_t (); - } - - inline bool recv (message_t *msg_, int flags_ = 0) - { - int nbytes = zmq_msg_recv (&(msg_->msg), ptr, flags_); - if (nbytes >= 0) - return true; - if (zmq_errno () == EAGAIN) - return false; - throw error_t (); - } - - private: - void *ptr; - void *ctxptr; - - socket_t (const socket_t&) ZMQ_DELETED_FUNCTION; - void operator = (const socket_t&) ZMQ_DELETED_FUNCTION; - }; - - class monitor_t - { - public: - monitor_t() : socketPtr(NULL) {} - virtual ~monitor_t() {} - - void monitor(socket_t &socket, const char *addr_, int events = ZMQ_EVENT_ALL) - { - int rc = zmq_socket_monitor(socket.ptr, addr_, events); - if (rc != 0) - throw error_t (); - - socketPtr = socket.ptr; - void *s = zmq_socket (socket.ctxptr, ZMQ_PAIR); - assert (s); - - rc = zmq_connect (s, addr_); - assert (rc == 0); - - on_monitor_started(); - - while (true) { - zmq_msg_t eventMsg; - zmq_msg_init (&eventMsg); - rc = zmq_recvmsg (s, &eventMsg, 0); - if (rc == -1 && zmq_errno() == ETERM) - break; - assert (rc != -1); - zmq_event_t* event = static_cast<zmq_event_t*>(zmq_msg_data (&eventMsg)); - -#ifdef ZMQ_NEW_MONITOR_EVENT_LAYOUT - zmq_msg_t addrMsg; - zmq_msg_init (&addrMsg); - rc = zmq_recvmsg (s, &addrMsg, 0); - if (rc == -1 && zmq_errno() == ETERM) - break; - assert (rc != -1); - const char* str = static_cast<const char*>(zmq_msg_data (&addrMsg)); - std::string address(str, str + zmq_msg_size(&addrMsg)); - zmq_msg_close (&addrMsg); -#else - // Bit of a hack, but all events in the zmq_event_t union have the same layout so this will work for all event types. - std::string address = event->data.connected.addr; -#endif - -#ifdef ZMQ_EVENT_MONITOR_STOPPED - if (event->event == ZMQ_EVENT_MONITOR_STOPPED) - break; -#endif - - switch (event->event) { - case ZMQ_EVENT_CONNECTED: - on_event_connected(*event, address.c_str()); - break; - case ZMQ_EVENT_CONNECT_DELAYED: - on_event_connect_delayed(*event, address.c_str()); - break; - case ZMQ_EVENT_CONNECT_RETRIED: - on_event_connect_retried(*event, address.c_str()); - break; - case ZMQ_EVENT_LISTENING: - on_event_listening(*event, address.c_str()); - break; - case ZMQ_EVENT_BIND_FAILED: - on_event_bind_failed(*event, address.c_str()); - break; - case ZMQ_EVENT_ACCEPTED: - on_event_accepted(*event, address.c_str()); - break; - case ZMQ_EVENT_ACCEPT_FAILED: - on_event_accept_failed(*event, address.c_str()); - break; - case ZMQ_EVENT_CLOSED: - on_event_closed(*event, address.c_str()); - break; - case ZMQ_EVENT_CLOSE_FAILED: - on_event_close_failed(*event, address.c_str()); - break; - case ZMQ_EVENT_DISCONNECTED: - on_event_disconnected(*event, address.c_str()); - break; - default: - on_event_unknown(*event, address.c_str()); - break; - } - zmq_msg_close (&eventMsg); - } - zmq_close (s); - socketPtr = NULL; - } - -#ifdef ZMQ_EVENT_MONITOR_STOPPED - void abort() - { - if (socketPtr) - zmq_socket_monitor(socketPtr, NULL, 0); - } -#endif - virtual void on_monitor_started() {} - virtual void on_event_connected(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; } - virtual void on_event_connect_delayed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; } - virtual void on_event_connect_retried(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; } - virtual void on_event_listening(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; } - virtual void on_event_bind_failed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; } - virtual void on_event_accepted(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; } - virtual void on_event_accept_failed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; } - virtual void on_event_closed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; } - virtual void on_event_close_failed(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; } - virtual void on_event_disconnected(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; } - virtual void on_event_unknown(const zmq_event_t &event_, const char* addr_) { (void)event_; (void)addr_; } - private: - void* socketPtr; - }; -} - -#endif |