Commit Graph

1744 Commits

Author SHA1 Message Date
Ferenc Wágner
72091e4be0 Libqb was re-licensed to LGPL-2.1+ in 2010
Upstream commit caecbe6.
Once at it, do some other refinements to debian/copyright, too.
2020-10-30 12:56:06 +01:00
Ferenc Wágner
73085029de The doc symlink_to_dir migration finished in stretch (now oldstable) 2020-10-30 12:24:43 +01:00
Ferenc Wágner
1f546fea3b Doxygen doesn't leave its database behind since #758975 was fixed in 1.8.9.1-5 2020-10-30 12:24:43 +01:00
Ferenc Wágner
6ed691747a Remove outdated explanations 2020-10-30 12:24:43 +01:00
Chrissie Caulfield
c2dfe66584
doxygen2man: Fix a couple of covscan-detected errors (#425)
doxygen2man: Fix a couple of covscan-detected errors

 also check for strings longer than 4096
2020-10-22 08:17:31 +01:00
Chrissie Caulfield
51f64ed233
ipcs: ftruncate is not support on WIN32 (#424)
https://github.com/microsoft/WSL/issues/902
2020-10-05 08:08:48 +01:00
Chrissie Caulfield
a52d912675
ipcs: Add missing qb_list_del when freeing server (#423)
* ipcs: Remove list not used

Thanks to minhbq for pointing this out
2020-10-05 08:08:09 +01:00
Chrissie Caulfield
680db526f6
ipc: add qb_ipcc_auth_get() API call (#418)
* ipc: addd qb_ipcc_auth_get() API call

We can't use SO_PEERCRED on the client fd when using socket IPC
becayse it's a DGRAM socket (pacemaker tries this). So provide
an API to get the server credentials that libqb has already
squirreled away for its own purposes.

Also, fix some unused-variable compiler warnings in unix.c
when building on systems without posix_fallocate().
2020-09-28 09:53:21 +01:00
wferi
6853eeaea6
doc related fixups (#421)
* Fix documentation typo in qbrb.h

* Fix section number in doxygen2man manual

* Point Doxygen to our examples

* No HTML documentation anymore
2020-09-25 08:52:36 +01:00
Chrissie Caulfield
073befc1ce
doxygen2man: Remove horrible hack (#420)
It caused \f macros to get truncated and doesn't actually affect
the groffed output anyway
2020-09-25 07:50:19 +01:00
Ferenc Wágner
7b452b42ec New patch: doxygen2man: Remove horrible hack
Thanks: Christine Caulfield
2020-09-24 17:39:00 +02:00
Ferenc Wágner
790c66a392 Split out qb-blackbox into a new libqb-tools package 2020-09-24 17:39:00 +02:00
Ferenc Wágner
4eb6f2dee7 New patch: Point Doxygen to our examples 2020-09-24 17:19:09 +02:00
Ferenc Wágner
7217ebd864 New patch: Fix section number in doxygen2man manual 2020-09-24 17:19:09 +02:00
Ferenc Wágner
e6c6a3bebb Rename library package according to new SO version 2020-09-24 17:19:09 +02:00
Ferenc Wágner
7e7e8678f7 Introduce the doxygen2man package 2020-09-24 17:19:09 +02:00
Ferenc Wágner
bdbcfe7c91 Drop the libqb-doc package
The official documentation is the man pages now, and we practically
need a full build to generate them anyway, so let's do away with all
the complexity of separate arch-independent builds.

Graphviz (dot) was needed by the HTML documentation only.
2020-09-24 17:11:04 +02:00
Ferenc Wágner
3ce05a79d2 Enable the direct journald logging feature 2020-09-24 17:11:04 +02:00
Ferenc Wágner
b21b078eb4 Run wrap-and-sort -a -b -s -t on the package 2020-09-24 17:11:04 +02:00
Chrissie Caulfield
07b59f50df
doxygen2man: Add support for @code blocks (#417)
* doxygen2man: Add support for @code blocks

Thanks Fabio for the review
2020-09-24 08:34:37 +01:00
Ferenc Wágner
22f6e4bdb3 Refresh our patches; drop an upstreamed and an obsolete one 2020-09-22 17:31:03 +02:00
Ferenc Wágner
7500b458b9 Update upstream source from tag 'upstream/2.0.1'
Update to upstream version '2.0.1'
with Debian dir a4065afef3
2020-09-22 17:01:34 +02:00
Ferenc Wágner
e06b1b88ad New upstream version 2.0.1 2020-09-22 17:01:30 +02:00
Ferenc Wágner
6bb1dd2d28 Update changelog for 1.0.6-2 release 2020-09-22 16:38:29 +02:00
Ferenc Wágner
1394afbcdd Make our autopkgtest cross-test-friendly
Closes: #968684
2020-09-22 16:35:36 +02:00
Chrissie Caulfield
cb63b5798d
man: Tidy man pages (#416)
Fix doxygen2man to add a RETURN section even if the file has
no @return stanza.
Add support for @c tags

Quote the % signs in qb_log_format_add manpage
2020-09-16 09:55:32 +01:00
Chrissie Caulfield
6d35611524
doxygen2man: Add option to read copyright line from the header file (#415)
* doxygen2man: Add option to read copyright line from the header file

This should help make builds reproducible.

I tried various methods of getting the date, using 'git' is no use as
it could be run from a tarball, using the file date doesn't work either
so this seems a reasonable compromise.

* man: Use SOURCE_EPOCH to make manpage dates reproducible

Also add build-aux/update-copyright.sh to keep header file
copyright lines up-to-date.

All code taken from knet
2020-09-09 15:06:55 +01:00
Ferenc Wágner
812cd6c378 Update changelog for 1.0.6-1 release 2020-07-30 20:32:21 +02:00
Debian Janitor
afeaa8bf53 Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, Repository-Browse.
Fixes: lintian: upstream-metadata-file-is-missing
See-also: https://lintian.debian.org/tags/upstream-metadata-file-is-missing.html


Fixes: lintian: upstream-metadata-missing-bug-tracking
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-bug-tracking.html


Fixes: lintian: upstream-metadata-missing-repository
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-repository.html
2020-07-30 20:31:35 +02:00
Debian Janitor
b43a40f4d6 debian/copyright: use spaces rather than tabs to start continuation lines.
Fixes: lintian: tab-in-license-text
See-also: https://lintian.debian.org/tags/tab-in-license-text.html
2020-07-30 20:31:35 +02:00
Ferenc Wágner
854f7837f6 Update packaging list email address 2020-07-30 20:31:35 +02:00
Ferenc Wágner
1648f7c320 New patch: Fix documentation typo in qbrb.h 2020-07-30 20:31:35 +02:00
Ferenc Wágner
a10d1a0b2d Enable rootless build 2020-07-30 20:31:35 +02:00
Ferenc Wágner
1404e241f3 Produce Autopkgtest artifacts 2020-07-30 20:31:35 +02:00
Ferenc Wágner
5528aac5db Enroll to basic Salsa CI 2020-07-30 20:31:35 +02:00
Ferenc Wágner
b736f0e259 Switch to Debhelper compat level 12 2020-07-30 18:00:24 +02:00
Ferenc Wágner
89c550094e Upgrade Standards-Version to 4.5.0 (no changes needed) 2020-07-30 18:00:24 +02:00
Ferenc Wágner
0add3e1444 Refresh our patches 2020-07-30 16:26:35 +02:00
Ferenc Wágner
5e2cfdd23f Update upstream source from tag 'upstream/1.0.6'
Update to upstream version '1.0.6'
with Debian dir 9bda6f8ae1
2020-07-30 15:38:36 +02:00
Ferenc Wágner
4d8bbd807d New upstream version 1.0.6 2020-07-30 15:38:32 +02:00
Ferenc Wágner
8819f40bef Update upstream signing key 2020-07-30 15:36:00 +02:00
Chrissie Caulfield
d01a9e0adf
tests: Remove deprecated check macros (#412)
fail_if() and fail_unless() macros are deprecated in more
recent versions of check and are buggy in 0.15, so replace
them with ck_assert() instead.
2020-07-29 14:06:22 +01:00
Christine Caulfield
416caf2b92 Bump version for 2.0.1 2020-07-29 08:28:23 +01:00
wladmis
1c6229c171
unix.c: use posix_fallocate() (#409)
Using of posix_fallocate() guarantees that, if it succeed, the
attempting to write to allocated space range does not fail because of
lack of storage space. This prevents SIGBUS when trying to write to
mmaped file and no space left.

Co-Authored-by: Ivan Zakharyaschev <imz@altlinux.org>
Reported-by: Mikhail Kulagin <m.kulagin at postgrespro dot ru>

Co-authored-by: Ivan Zakharyaschev <imz@altlinux.org>
2020-07-29 07:37:09 +01:00
Fabio M. Di Nitto
caec56b295
[doxy] fix build when more aggressive -W options are used (#410)
make[2]: Entering directory '/builddir/build/BUILD/kronosnet-1.17/man'
gcc -DHAVE_CONFIG_H -I. -I..    -O3 -ggdb3 -Werror -Wall -Wextra -Wno-unused-parameter -pthread  -I/usr/include/libxml2   -c -o doxyxml-doxyxml.o `test -f 'doxyxml.c' || echo './'`doxyxml.c
doxyxml.c: In function 'allcaps':
doxyxml.c:414:13: error: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Werror=sign-compare]
  414 |  for (i=0; i< strlen(name); i++) {
      |             ^
cc1: all warnings being treated as errors
make[2]: *** [Makefile:623: doxyxml-doxyxml.o] Error 1
make[2]: Leaving directory '/builddir/build/BUILD/kronosnet-1.17/man'
make[1]: *** [Makefile:567: all-recursive] Error 1

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2020-07-15 08:25:06 +01:00
Christine Caulfield
71a9c8c923 doxygen2man: Tidy RETURN VALUE 2020-07-02 14:04:17 +01:00
Chrissie Caulfield
d1bbe1edd3
doxygen2man - Print structure descriptions (where available) (#408)
Tidy 'description' fields (get rid of superfluous newlines)
and fix a couple of crashes
2020-07-02 10:18:33 +01:00
Fabio M. Di Nitto
20ff7bcad5
[docs] fix man page distribution (#407)
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2020-06-29 07:33:09 +01:00
Chrissie Caulfield
b19f706144
Make manpages (#405)
* man: Use doxygen2man to make the API manpages

* [build] drop unused target

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

* [build] update gitignore

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

* [docs] make build -j safe and drop unnecessary dox config files

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

* man: Use doxygen2man to generate *.h.3 man pages

so we don't need to use the awful doxygen ones

Co-authored-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2020-06-26 13:03:48 +01:00
Chrissie Caulfield
b21d9a66db
CI: Remove .travis.yml (#406)
Travis is too old to be any use. It's just ceating work for no good
reason
2020-06-26 12:52:38 +01:00