debian/0000755000000000000000000000000012237151453007171 5ustar debian/control0000644000000000000000000000525012236153053010573 0ustar Source: librabbitmq Priority: optional Section: libs Maintainer: Michael Fladischer Build-Depends: cmake, debhelper (>= 9), docbook-to-man, libpopt-dev, libssl-dev, libtool, python-simplejson Standards-Version: 3.9.5 Homepage: https://github.com/alanxz/rabbitmq-c Vcs-Git: git://anonscm.debian.org/collab-maint/librabbitmq.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/librabbitmq.git Package: librabbitmq-dev Section: libdevel Architecture: any Depends: librabbitmq1 (= ${binary:Version}), ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Description: AMQP client library written in C - Dev Files RabbitMQ provides robust messaging for applications. It is easy to use, fit for purpose at cloud scale and supported on all major operating systems and developer platforms. librabbitmq is a C-language AMQP client library for use with AMQP servers such as RabbitMQ speaking protocol versions 0-9-1. . This package provides the files needed for development. Package: librabbitmq-dbg Section: debug Architecture: any Priority: extra Depends: librabbitmq1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: AMQP client library written in C - Debug Files RabbitMQ provides robust messaging for applications. It is easy to use, fit for purpose at cloud scale and supported on all major operating systems and developer platforms. librabbitmq is a C-language AMQP client library for use with AMQP servers such as RabbitMQ speaking protocol versions 0-9-1. . This package provides debugging symbols. Package: librabbitmq1 Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Pre-Depends: ${misc:Pre-Depends} Description: AMQP client library written in C RabbitMQ provides robust messaging for applications. It is easy to use, fit for purpose at cloud scale and supported on all major operating systems and developer platforms. librabbitmq is a C-language AMQP client library for use with AMQP servers such as RabbitMQ speaking protocol versions 0-9-1. . This package includes the library itself. Package: amqp-tools Architecture: any Section: net Depends: librabbitmq1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Command-line utilities for interacting with AMQP servers RabbitMQ provides robust messaging for applications. It is easy to use, fit for purpose at cloud scale and supported on all major operating systems and developer platforms. librabbitmq is a C-language AMQP client library for use with AMQP servers such as RabbitMQ speaking protocol versions 0-9-1. . This package includes command line utilities. debian/changelog0000644000000000000000000000254512236153053011046 0ustar librabbitmq (0.4.1-1) unstable; urgency=low * Imported Upstream version 0.4.1 * Add libssl-dev to Build-Depends. * Update librabbitmq1.symbols. * Switch buildsystem to cmake. + Add cmake_multiarch.patch to fix multiarch installation paths for shared library files in cmake. * Add cmake to Build-Depends. * Drop dh-autoreconf from Build-Depends. * Format packaging files with wrap-and-sort. * Update d/watch file to use github releases instead of tags. * Bump Standards version to 3.9.5. -- Michael Fladischer Mon, 04 Nov 2013 20:15:55 +0100 librabbitmq (0.3.0-1) unstable; urgency=low * New upstream release. * Set myself as maintainer. * Make package multi-arch. * Update to dh 9. * Force build with autotools. * Bump SONAME to 1 for libmemcached. * Bump Standards version to 3.9.4. * Use github tags in d/watch. * Build manpages from SGML sources. * Add dh-autoreconf to B-D. * Drop get-orig-source target. * Format packaging files with wrap-and-sort. * Update Homepage field. * Update information and format in d/copyright to DEP5. -- Michael Fladischer Thu, 06 Jun 2013 21:22:35 +0200 librabbitmq (0.0.1.hg216-1) unstable; urgency=low * Initial release. (Closes: #602549) -- Monty Taylor Fri, 05 Nov 2010 11:37:32 -0700 debian/amqp-tools.manpages0000644000000000000000000000012212236153053012772 0ustar amqp-consume.1 amqp-declare-queue.1 amqp-delete-queue.1 amqp-get.1 amqp-publish.1 debian/docs0000644000000000000000000000001212236153053010032 0ustar README.md debian/copyright0000644000000000000000000001222612236153053011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: librabbitmq-c Upstream-Contact: Tony Garnock-Jones Source: https://github.com/alanxz/rabbitmq-c Files: debian/* Copyright: 2010, Monty Taylor 2013, Michael Fladischer License: MIT Files: cmake/CMakePushCheckState.cmake Copyright: 2006-2011, Alexander Neundorf License: BSD-Kitware-Insight Files: cmake/InstallMacros.cmake Copyright: 2006-2011, Mathieu Malaterre License: BSD-Author Files: librabbitmq/win32/msinttypes/stdint.h tests/win32/msinttypes/inttypes.h Copyright: 2006-2008, Alexander Chemeris License: BSD-Author Files: m4/ax_python_module.m4: Copyright: 2008, Andrew Collier License: all-permissive Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty. Files: m4/cflags.m4 m4/ldflags.m4 m4/popt.m4 Copyright: 2011-2012, Michael Steinert License: MIT Files: * Copyright: 2007-2012, VMware, Inc. 2009-2010, Tony Garnock-Jones License: MIT 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. License: BSD-Author Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: BSD-Kitware-Insight 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 names of Kitware, Inc., the Insight Software Consortium, nor the names of their contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/librabbitmq1.install0000644000000000000000000000002412236153053013123 0ustar usr/lib/*/lib*.so.* debian/watch0000644000000000000000000000037012236153053010217 0ustar version=3 opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/librabbitmq-c-$1.tar.gz/ \ https://github.com/alanxz/rabbitmq-c/releases \ /alanxz/rabbitmq-c/archive/v([\d\.]+)\.tar\.gz debian/rules0000755000000000000000000000064512236153053010253 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem=cmake .PHONY: override_dh_strip override_dh_strip: dh_strip --dbg-package=librabbitmq-dbg .PHONY: override_dh_installman override_dh_installman: set -e ; \ for doc in consume declare-queue delete-queue get publish; do \ docbook-to-man tools/doc/amqp-$$doc.xml > amqp-$$doc.1; \ done docbook-to-man tools/doc/librabbitmq-tools.xml > librabbitmq-tools.7 dh_installman debian/librabbitmq-dev.docs0000644000000000000000000000002012236153053013074 0ustar CONTRIBUTING.md debian/patches/0000755000000000000000000000000012236153053010615 5ustar debian/patches/series0000644000000000000000000000002612236153053012030 0ustar cmake_multiarch.patch debian/patches/cmake_multiarch.patch0000644000000000000000000000473012236153053014772 0ustar Description: replace hardcoded paths with values from GNUInstallDirs.cmake Upstream sets paths hardcoded relative to ${prefix} which results in shared libraries getting installed in usr/lib/ instead of the multiarch usr/lib/. This patch adds and include on GNUInstallDirs.cmake and replaces the hardcoded variables with their CMAKE_INSTALL_* equivalents. Author: Michael Fladischer Last-Update: 2013-11-04 Forwarded: https://github.com/alanxz/rabbitmq-c/pull/151 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,6 +56,7 @@ include(CheckSymbolExists) include(CheckLibraryExists) include(CMakePushCheckState) +include(GNUInstallDirs) # Detect if we need to link against a socket library: cmake_push_check_state() @@ -295,10 +296,6 @@ ) endif () -set(prefix ${CMAKE_INSTALL_PREFIX}) -set(exec_prefix "\${prefix}") -set(libdir "\${exec_prefix}/lib") -set(includedir "\${prefix}/include") set(libs_private ${SOCKET_LIBRARIES} ${LIBRT}) if (ENABLE_SSL_SUPPORT) if (SSL_ENGINE STREQUAL "OpenSSL") @@ -309,12 +306,17 @@ endif() endif() +set(prefix ${CMAKE_INSTALL_PREFIX}) +set(exec_prefix "\${prefix}") +set(libdir "\${exec_prefix}/${CMAKE_INSTALL_LIBDIR}") +set(includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}") + configure_file(cmake/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/librabbitmq/config.h) configure_file(librabbitmq.pc.in ${CMAKE_CURRENT_BINARY_DIR}/librabbitmq.pc @ONLY) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/librabbitmq.pc - DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig + DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig ) if (BUILD_SHARED_LIBS) --- a/librabbitmq/CMakeLists.txt +++ b/librabbitmq/CMakeLists.txt @@ -143,9 +143,9 @@ endif (WIN32) install(TARGETS rabbitmq - RUNTIME DESTINATION bin - LIBRARY DESTINATION lib - ARCHIVE DESTINATION lib + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ) install_pdb(rabbitmq) @@ -165,7 +165,7 @@ endif (WIN32) install(TARGETS rabbitmq-static - ARCHIVE DESTINATION lib + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ) install_pdb(rabbitmq-static) @@ -180,7 +180,7 @@ amqp_tcp_socket.h ${AMQP_SSL_SOCKET_H_PATH} ${STDINT_H_INSTALL_FILE} - DESTINATION include + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} ) set(RMQ_LIBRARY_TARGET ${RMQ_LIBRARY_TARGET} PARENT_SCOPE) debian/librabbitmq1.symbols0000644000000000000000000000605512236153053013157 0ustar librabbitmq.so.1 librabbitmq1 #MINVER# amqp_basic_ack@Base 0.3.0 amqp_basic_cancel@Base 0.3.0 amqp_basic_consume@Base 0.3.0 amqp_basic_get@Base 0.3.0 amqp_basic_publish@Base 0.3.0 amqp_basic_qos@Base 0.3.0 amqp_basic_recover@Base 0.3.0 amqp_basic_reject@Base 0.3.0 amqp_bytes_free@Base 0.3.0 amqp_bytes_malloc@Base 0.3.0 amqp_bytes_malloc_dup@Base 0.3.0 amqp_channel_close@Base 0.3.0 amqp_channel_flow@Base 0.3.0 amqp_channel_open@Base 0.3.0 amqp_confirm_select@Base 0.3.0 amqp_connection_close@Base 0.3.0 amqp_constant_is_hard_error@Base 0.3.0 amqp_constant_name@Base 0.3.0 amqp_consume_message@Base 0.4.1 amqp_cstring_bytes@Base 0.3.0 amqp_data_in_buffer@Base 0.3.0 amqp_decode_method@Base 0.3.0 amqp_decode_properties@Base 0.3.0 amqp_decode_table@Base 0.3.0 amqp_default_connection_info@Base 0.3.0 amqp_destroy_connection@Base 0.3.0 amqp_destroy_envelope@Base 0.4.1 amqp_destroy_message@Base 0.4.1 amqp_empty_array@Base 0.3.0 amqp_empty_bytes@Base 0.3.0 amqp_empty_table@Base 0.3.0 amqp_encode_method@Base 0.3.0 amqp_encode_properties@Base 0.3.0 amqp_encode_table@Base 0.3.0 amqp_error_string2@Base 0.4.1 amqp_error_string@Base 0.3.0 amqp_exchange_bind@Base 0.3.0 amqp_exchange_declare@Base 0.3.0 amqp_exchange_delete@Base 0.3.0 amqp_exchange_unbind@Base 0.3.0 amqp_frames_enqueued@Base 0.3.0 amqp_get_channel_max@Base 0.3.0 amqp_get_rpc_reply@Base 0.3.0 amqp_get_socket@Base 0.4.1 amqp_get_sockfd@Base 0.3.0 amqp_handle_input@Base 0.3.0 amqp_login@Base 0.3.0 amqp_login_with_properties@Base 0.4.1 amqp_maybe_release_buffers@Base 0.3.0 amqp_maybe_release_buffers_on_channel@Base 0.4.1 amqp_method_has_content@Base 0.3.0 amqp_method_name@Base 0.3.0 amqp_new_connection@Base 0.3.0 amqp_open_socket@Base 0.3.0 amqp_parse_url@Base 0.3.0 amqp_pool_alloc@Base 0.3.0 amqp_pool_alloc_bytes@Base 0.3.0 amqp_queue_bind@Base 0.3.0 amqp_queue_declare@Base 0.3.0 amqp_queue_delete@Base 0.3.0 amqp_queue_purge@Base 0.3.0 amqp_queue_unbind@Base 0.3.0 amqp_read_message@Base 0.4.1 amqp_release_buffers@Base 0.3.0 amqp_release_buffers_ok@Base 0.3.0 amqp_send_frame@Base 0.3.0 amqp_send_header@Base 0.3.0 amqp_send_method@Base 0.3.0 amqp_set_initialize_ssl_library@Base 0.4.1 amqp_set_sockfd@Base 0.3.0 amqp_simple_rpc@Base 0.3.0 amqp_simple_rpc_decoded@Base 0.3.0 amqp_simple_wait_frame@Base 0.3.0 amqp_simple_wait_frame_noblock@Base 0.4.1 amqp_simple_wait_method@Base 0.3.0 amqp_socket_get_sockfd@Base 0.4.1 amqp_socket_open@Base 0.4.1 amqp_socket_open_noblock@Base 0.4.1 amqp_ssl_socket_new@Base 0.4.1 amqp_ssl_socket_set_cacert@Base 0.4.1 amqp_ssl_socket_set_key@Base 0.4.1 amqp_ssl_socket_set_key_buffer@Base 0.4.1 amqp_ssl_socket_set_verify@Base 0.4.1 amqp_table_clone@Base 0.4.1 amqp_table_entry_cmp@Base 0.3.0 amqp_tcp_socket_new@Base 0.4.1 amqp_tcp_socket_set_sockfd@Base 0.4.1 amqp_tune_connection@Base 0.3.0 amqp_tx_commit@Base 0.3.0 amqp_tx_rollback@Base 0.3.0 amqp_tx_select@Base 0.3.0 amqp_version@Base 0.3.0 amqp_version_number@Base 0.4.1 empty_amqp_pool@Base 0.3.0 init_amqp_pool@Base 0.3.0 recycle_amqp_pool@Base 0.3.0 debian/librabbitmq-dev.install0000644000000000000000000000010512236153053013616 0ustar usr/include/*.h usr/lib/*/lib*.so usr/lib/*/pkgconfig/librabbitmq.pc debian/source/0000755000000000000000000000000012236153053010466 5ustar debian/source/format0000644000000000000000000000001412236153053011674 0ustar 3.0 (quilt) debian/clean0000644000000000000000000000014612236153053010174 0ustar amqp-consume.1 amqp-declare-queue.1 amqp-delete-queue.1 amqp-get.1 amqp-publish.1 librabbitmq-tools.7 debian/amqp-tools.install0000644000000000000000000000001212236153053012643 0ustar usr/bin/* debian/compat0000644000000000000000000000000212236153053010364 0ustar 9