Codebase list libmessage-passing-zeromq-perl / 276f786
migrate from CDBS to debhelper sequencer run through 'dh-make-perl refresh' and 'wrap-and-sort -ast' drop README from docs, it is a copy of the manual Damyan Ivanov 2 years ago
4 changed file(s) with 36 addition(s) and 104 deletion(s). Raw diff Collapse all Expand all
+0
-1
debian/compat less more
0 10
00 Source: libmessage-passing-zeromq-perl
1 Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
2 Uploaders:
3 Jonas Smedegaard <dr@jones.dk>,
14 Section: perl
5 Testsuite: autopkgtest-pkg-perl
26 Priority: optional
3 Build-Depends: cdbs,
4 devscripts,
7 Build-Depends:
8 debhelper-compat (= 13),
9 dh-buildinfo,
10 Build-Depends-Indep:
11 libanyevent-perl <!nocheck>,
12 libfile-pushd-perl <!nocheck>,
13 libjson-perl <!nocheck>,
14 libmessage-passing-perl <!nocheck>,
15 libmodule-install-perl,
16 libmoo-perl <!nocheck>,
17 libmoox-types-mooselike-perl <!nocheck>,
18 libnamespace-clean-perl <!nocheck>,
19 libposix-atfork-perl <!nocheck>,
20 libsub-name-perl <!nocheck>,
21 libtask-weaken-perl <!nocheck>,
22 libtest-simple-perl <!nocheck>,
23 libtry-tiny-perl <!nocheck>,
24 libzmq-ffi-perl <!nocheck>,
525 perl,
6 debhelper (>= 10~),
7 dh-buildinfo,
26 Standards-Version: 3.9.8
27 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libmessage-passing-zeromq-perl
28 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libmessage-passing-zeromq-perl.git
29 Homepage: https://metacpan.org/release/Message-Passing-ZeroMQ
30
31 Package: libmessage-passing-zeromq-perl
32 Architecture: all
33 Depends:
34 ${misc:Depends},
35 ${perl:Depends},
836 libanyevent-perl,
937 libfile-pushd-perl,
10 libjson-perl,
1138 libmessage-passing-perl,
1239 libmoo-perl,
40 libmoox-types-mooselike-perl,
41 libnamespace-clean-perl,
1342 libposix-atfork-perl,
1443 libsub-name-perl,
1544 libtask-weaken-perl,
1645 libtry-tiny-perl,
1746 libzmq-ffi-perl,
18 libnamespace-clean-perl,
19 libmoox-types-mooselike-perl,
20 libtest-simple-perl
21 Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
22 Uploaders: Jonas Smedegaard <dr@jones.dk>
23 Standards-Version: 3.9.8
24 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libmessage-passing-zeromq-perl.git
25 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libmessage-passing-zeromq-perl
26 Homepage: https://metacpan.org/release/Message-Passing-ZeroMQ
27 Testsuite: autopkgtest-pkg-perl
28
29 Package: libmessage-passing-zeromq-perl
30 Architecture: all
31 Depends: ${cdbs:Depends},
32 ${misc:Depends},
33 ${perl:Depends}
34 Recommends: ${cdbs:Recommends}
35 Suggests: ${cdbs:Suggests}
3647 Description: input and output messages to ZeroMQ
3748 Message::Passing::ZeroMQ is a ZeroMQ transport for Message::Passing.
3849 .
+0
-43
debian/control.in less more
0 Source: libmessage-passing-zeromq-perl
1 Section: perl
2 Priority: optional
3 Build-Depends: @cdbs@, debhelper (>= 10~)
4 Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
5 Uploaders: Jonas Smedegaard <dr@jones.dk>
6 Standards-Version: 3.9.8
7 Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libmessage-passing-zeromq-perl
8 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libmessage-passing-zeromq-perl.git
9 Homepage: https://metacpan.org/release/Message-Passing-ZeroMQ
10 Testsuite: autopkgtest-pkg-perl
11
12 Package: libmessage-passing-zeromq-perl
13 Architecture: all
14 Depends: ${cdbs:Depends},
15 ${misc:Depends},
16 ${perl:Depends}
17 Recommends: ${cdbs:Recommends}
18 Suggests: ${cdbs:Suggests}
19 Description: input and output messages to ZeroMQ
20 Message::Passing::ZeroMQ is a ZeroMQ transport for Message::Passing.
21 .
22 Designed for use as a log transport and aggregation mechanism for perl
23 applications, allowing you to aggregate structured and non-structured
24 log messages across the network in a non-blocking manner.
25 .
26 Clients (i.e. users of the Message::Passing::Output::ZeroMQ class)
27 connect to a server (i.e. a user of the Message::Passing::Input::ZeroMQ
28 class) via ZeroMQ's pub/sub sockets. These are setup to be lossy and
29 non-blocking, meaning that if the log-receiver process is down or slow,
30 then the application will queue a small (and configurable) amount of
31 logs on its side, and after that log messages will be dropped.
32 .
33 Whilst throwing away log messages isn't a good thing to do, or
34 something that you want to happen regularly, in many (especially web
35 application) contexts, network logging being a single point of failure
36 is not acceptable from a reliability and graceful degradation
37 standpoint.
38 .
39 The application grinding to a halt as a non-essential centralised
40 resource is unavailable (e.g. the log aggregation server) is
41 significantly less acceptable than the loss of non-essential logging
42 data.
00 #!/usr/bin/make -f
1 # -*- mode: makefile; coding: utf-8 -*-
2 # Copyright © 2013, 2016 Jonas Smedegaard <dr@jones.dk>
3 # Description: Main Debian packaging script for Message::Passing::ZeroMQ
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3, or (at your option)
8 # any later version.
9 #
10 # This program is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
171
18 include /usr/share/cdbs/1/rules/upstream-tarball.mk
19 include /usr/share/cdbs/1/rules/utils.mk
20 include /usr/share/cdbs/1/class/perl-makemaker.mk
21 include /usr/share/cdbs/1/rules/debhelper.mk
22
23 pkg = $(DEB_SOURCE_PACKAGE)
24
25 DEB_UPSTREAM_PACKAGE = Message-Passing-ZeroMQ
26 DEB_UPSTREAM_URL = http://www.cpan.org/authors/id/B/BO/BOBTFISH
27
28 # Needed by upstream build process and (always) at runtime
29 perl-deps = anyevent file-pushd message-passing moo posix-atfork
30 perl-deps += sub-name task-weaken try-tiny zmq-ffi namespace-clean
31 perl-deps += moox-types-mooselike
32 deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps))
33
34 # Needed by upstream testsuite
35 deps-test = libtest-simple-perl
36
37 CDBS_BUILD_DEPENDS += , $(deps), $(deps-test)
38 CDBS_DEPENDS_$(pkg) = $(deps)
2 %:
3 dh $@