mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 10:33:52 +01:00
Problem: no Debian packaging
Solution: import and adapt Debian's packaging code from https://packages.debian.org/source/unstable/zeromq3 As noted in packaging/debian/copyright, these files are licensed under the LGPL2+ and the copyright belongs to the authors listed in the same file.
This commit is contained in:
parent
a7ccb35c1f
commit
9c741c09a1
5
packaging/debian/changelog
Normal file
5
packaging/debian/changelog
Normal file
@ -0,0 +1,5 @@
|
||||
zeromq (4.2.0) UNRELEASED; urgency=low
|
||||
|
||||
* Initial packaging.
|
||||
|
||||
-- libzmq Developers <zeromq-dev@lists.zeromq.org> Wed, 31 Dec 2014 00:00:00 +0000
|
1
packaging/debian/compat
Normal file
1
packaging/debian/compat
Normal file
@ -0,0 +1 @@
|
||||
9
|
61
packaging/debian/control
Normal file
61
packaging/debian/control
Normal file
@ -0,0 +1,61 @@
|
||||
Source: zeromq
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Maintainer: libzmq Developers <zeromq-dev@lists.zeromq.org>
|
||||
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.
|
93
packaging/debian/copyright
Normal file
93
packaging/debian/copyright
Normal file
@ -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) <gcs@debian.org>
|
||||
2012-2014, Alessandro Ghedini <ghedo@debian.org>
|
||||
2010-2012, Martin Lucina <martin@lucina.net>
|
||||
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+
|
||||
|
||||
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".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.
|
4
packaging/debian/libzmq3-dev.install
Normal file
4
packaging/debian/libzmq3-dev.install
Normal file
@ -0,0 +1,4 @@
|
||||
usr/include/*
|
||||
usr/lib/*/libzmq.a
|
||||
usr/lib/*/libzmq.so
|
||||
usr/lib/*/pkgconfig/libzmq.pc
|
2
packaging/debian/libzmq3-dev.manpages
Normal file
2
packaging/debian/libzmq3-dev.manpages
Normal file
@ -0,0 +1,2 @@
|
||||
debian/tmp/usr/share/man/man3/*
|
||||
debian/tmp/usr/share/man/man7/*
|
2
packaging/debian/libzmq5.docs
Normal file
2
packaging/debian/libzmq5.docs
Normal file
@ -0,0 +1,2 @@
|
||||
AUTHORS
|
||||
NEWS
|
1
packaging/debian/libzmq5.install
Normal file
1
packaging/debian/libzmq5.install
Normal file
@ -0,0 +1 @@
|
||||
usr/lib/*/libzmq.so.*
|
37
packaging/debian/rules
Executable file
37
packaging/debian/rules
Executable file
@ -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
|
1
packaging/debian/source/format
Normal file
1
packaging/debian/source/format
Normal file
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
15
packaging/debian/zeromq.dsc.obs
Normal file
15
packaging/debian/zeromq.dsc.obs
Normal file
@ -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 <zeromq-dev@lists.zeromq.org>
|
||||
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
|
Loading…
Reference in New Issue
Block a user