Compare commits

...

96 Commits

Author SHA1 Message Date
Gwyn Ciesla bda9392484 migrated to SPDX license 2023-03-01 12:06:32 -06:00
Fedora Release Engineering 9880f739da Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 17:11:54 +00:00
Jitka Plesnikova a5246ba51d Remove perl(MODULE_COMPAT), it will be replaced by generators 2023-01-13 09:44:54 +01:00
Mamoru TASAKA 79e815a139 Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.2 2023-01-04 14:12:11 +09:00
Florian Weimer 31ab3c50c9 Port configure script to C99 (#2148366)
Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2022-11-25 09:48:56 +01:00
Fedora Release Engineering 844835bb0d Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 18:43:14 +00:00
Python Maint 46ff8b1d87 Rebuilt for Python 3.11 2022-06-13 17:13:24 +02:00
Jitka Plesnikova ad3a3f2419 Perl 5.36 rebuild 2022-05-31 08:09:59 +02:00
Mamoru TASAKA a21e1f5895 F-36: rebuild against ruby31 2022-01-27 15:09:48 +09:00
Fedora Release Engineering c164d4d1c3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 17:00:31 +00:00
Thomas Andrejak 4ff57fb387 Fix BZ 1973946 2021-08-14 00:52:08 +02:00
Gwyn Ciesla 800b316a17 Fix 1908783 2021-08-05 12:31:26 -05:00
Gwyn Ciesla e6e93b464e Fix rpath. 2021-08-05 10:14:17 -05:00
Fedora Release Engineering bab1a4255a - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 12:08:26 +00:00
Python Maint 480068bb18 Rebuilt for Python 3.10 2021-06-04 20:09:49 +02:00
Jitka Plesnikova d352ea9278 Perl 5.34 rebuild 2021-05-22 00:25:35 +02:00
Fedora Release Engineering 5d904e28d7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 17:47:34 +00:00
Mamoru TASAKA dabb1264f1 F-34: rebuild against ruby 3.0 2021-01-07 10:38:52 +09:00
Tom Stellard dee07d4f7e Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-06 02:24:57 +00:00
Thomas Andrejak 87731763ea Add patch to remove unneeded libraries from libprelude-config --libs
Thanks to Orion Poplawski
bz#1830473
2020-09-20 10:36:23 +02:00
Thomas Andrejak bd30c80994 Fix Release in .spec 2020-09-19 09:36:53 +02:00
Thomas Andrejak 04cbec5685 Bump version 5.2.0 2020-09-17 23:09:58 +02:00
Fedora Release Engineering d2e9c86625 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 05:22:34 +00:00
Miro Hrončok 0ec1e44f5b Replace Python version glob with macro (needed for Python 3.10+)
See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PQIGCQCRNBYNXBX2ICWEM3PLDLNOG2ZT/

Co-authored-by: Tomas Hrnciar <thrnciar@redhat.com>
2020-07-13 21:04:22 +02:00
Jitka Plesnikova 495e087f41 Perl 5.32 rebuild 2020-06-23 12:08:50 +02:00
Miro Hrončok de91f14137 Rebuilt for Python 3.9 2020-05-26 02:51:07 +02:00
Fedora Release Engineering 67b56a9bc6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 10:06:15 +00:00
Mamoru TASAKA 6190f8ea87 Add a minimum patch to support ruby 2.7 2020-01-19 20:24:41 +09:00
Thomas Andrejak f8a3584fc3 Add missing patches 2019-11-10 14:02:06 +01:00
Thomas Andrejak 192790dac0 Bump version 5.1.1 2019-11-09 15:47:25 +01:00
Miro Hrončok 838cac4c64 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 13:55:56 +02:00
Miro Hrončok 006fbb479c Rebuilt for Python 3.8 2019-08-19 10:18:20 +02:00
Fedora Release Engineering ec3e21e45b - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 14:10:06 +00:00
Thomas Andrejak 8413eb0a67 Fix FTBFS with awk 5
Fix FTBFS with Python 3.8 (#1706042)
2019-07-12 09:45:28 +02:00
Jitka Plesnikova 3f38511222 Perl 5.30 rebuild 2019-05-31 06:59:15 +02:00
Jitka Plesnikova e273a237b4 Fixed build with SWIG 4.0.0 (#1707412) 2019-05-21 13:25:49 +02:00
Thomas Andrejak b71c0d24ad Bump version 5.0.0 2019-02-28 07:34:10 +01:00
Fedora Release Engineering 7c08f314b0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 07:59:59 +00:00
Igor Gnatenko 7d71a26482 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:12 +01:00
Igor Gnatenko 8074d48aa8
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:40:02 +01:00
Vít Ondruch 489bdc88df Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.6 2019-01-21 15:18:54 +01:00
Thomas Andrejak e68e72e0e7 Remove Python2 package
https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal

Also disable test, need to fix #1629893 before enable again
2018-09-23 16:42:33 +02:00
Thomas Andrejak bafd5e5017 Fix FTBFS, #1604644 2018-07-24 23:00:48 +02:00
Igor Gnatenko d14f78f8d9
Add missing BuildRequires on gcc
configure: error: no acceptable C compiler found in $PATH

References: https://bugzilla.redhat.com/show_bug.cgi?id=1604644
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-24 16:45:22 +02:00
Fedora Release Engineering 1a84119916 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 08:40:52 +00:00
Petr Písař b9912962e9 Perl 5.28 rebuild 2018-07-03 12:35:57 +02:00
Jitka Plesnikova 3a2c4aa0ee Perl 5.28 rebuild 2018-06-28 05:05:25 +02:00
Miro Hrončok 6ec4851e7c Rebuilt for Python 3.7 2018-06-19 10:46:17 +02:00
Thomas Andrejak e7fb27d0a9 Missing Require in libprelude-devel, see #1508816 2018-03-11 14:26:58 +01:00
Thomas Andrejak 4826a503f7 Bump version 4.1.0 2018-03-10 15:14:26 +01:00
Fedora Release Engineering 68d21418eb - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 23:04:46 +00:00
Mamoru TASAKA 59f8be03d8 F-28: rebuild for ruby25 2018-01-05 16:27:03 +09:00
Rex Dieter 5160d91b3f -devel: drop bogus Provides: libprelude%{?_isa}-devel 2017-12-06 16:03:07 -06:00
Thomas Andrejak 4f606d3c97 Fix compatibility with GnuTLS 3.6 2017-10-09 11:39:03 +02:00
Thomas Andrejak 7ce1b54c0b Fix compatibility with gtk-doc-1.26 2017-09-29 12:37:04 +02:00
Thomas Andrejak 7357bfc3c3 Bump version 4.0.0 2017-09-18 12:12:19 +02:00
Fedora Release Engineering 362c6b2e97 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 02:06:24 +00:00
Fedora Release Engineering 467b9e4f82 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 19:33:02 +00:00
Jitka Plesnikova 7b6dddb09f Perl 5.26 rebuild 2017-06-04 06:32:11 +02:00
Thomas Andrejak fe29c65e19 Fix prelude timer tests 2017-05-16 08:24:30 +02:00
Thomas Andrejak bb7bcec4fc Fix libprelude build on all archs
Disable gnulib test lock because it's a known bug by gnulib
2017-05-14 19:14:43 +02:00
Thomas Andrejak 76842a9c21 Fix GnuTLS patch 2017-02-06 20:21:51 +01:00
Mamoru TASAKA 54914bf0bf F-26: again rebuild for ruby24 2017-01-15 01:43:06 +09:00
Mamoru TASAKA 6f62b8eba5 F-26: rebuild for ruby24 2017-01-12 15:59:28 +09:00
Miro Hrončok 05a1c27f8f Rebuild for Python 3.6 2016-12-22 13:08:41 +01:00
Thomas Andrejak b07b343fb9 Initial import (#1386938). 2016-12-05 22:45:15 +01:00
Steve 245366323e Upstream has been dead for over a year 2013-07-08 10:15:36 -04:00
Steve 52c1b2ceed Rebuild with new gnutls 2013-03-10 09:28:42 -04:00
Steve ec1b25773b Rebuild with new gnutls 2013-03-08 17:39:21 -05:00
Steve c77091e51e Rebuild with new gnutls 2013-03-08 15:30:23 -05:00
Steve 721e8fb096 Rebuild with new gnutls 2013-03-08 13:52:53 -05:00
Steve fd9225ed13 Fix bogus dates 2013-03-07 11:14:54 -05:00
Tomas Mraz 99287b2c07 Add libtool to buildrequires. 2013-03-07 08:34:59 +01:00
Tomas Mraz b8afc221ce Rebuild with new gnutls 2013-03-07 08:23:10 +01:00
Dennis Gilmore f43d51884f - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 23:06:23 -06:00
Steve 9cdeabb222 Add provides bundled gnulib 2012-09-06 09:22:24 -04:00
Petr Písař 244f41da4e Fix building with glibc-2.16.6 2012-08-08 14:26:21 +02:00
Dennis Gilmore f2c490066f - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 15:55:33 -05:00
Petr Písař 89d1270e83 Perl 5.16 rebuild 2012-06-07 23:35:19 +02:00
Steve 22b808fec1 Drop support for ruby 2012-03-13 13:11:59 -04:00
Steve 3ee91005c2 Rebuilt for http://fedoraproject.org/wiki/Features/Ruby_1.9.3 2012-02-09 14:26:42 -05:00
Dennis Gilmore 3cc021e8ff - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 02:18:36 -06:00
Marcela Mašláňová 6404a85b4d Perl mass rebuild 2011-07-19 13:13:27 +02:00
Steve 5632c94779 Fix gcc 4.6 C++ bug (#715983) 2011-06-24 14:07:59 -04:00
Steve Grubb 8537811310 Fix gcc 4.6 C++ bug (#715983) 2011-06-24 13:44:28 -04:00
Marcela Mašláňová 5238595129 Perl mass rebuild 2011-06-17 11:48:05 +02:00
Marcela Mašláňová 1d60597b0a Perl 5.14 mass rebuild 2011-06-09 17:04:45 +02:00
Dennis Gilmore dd2dfb8a07 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 14:44:42 -06:00
Fedora Release Engineering 7b8c00cf3c dist-git conversion 2010-07-28 21:29:38 +00:00
dmalcolm d6c9d078bf - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-22 02:16:42 +00:00
Marcela Mašláňová 3c41edc939 - Mass rebuild with perl-5.12.0 2010-06-01 18:27:49 +00:00
Steve Grubb 693f6873c7 - Fix requires statements 2010-05-02 13:29:55 +00:00
Steve Grubb c063581cb9 - Fix requires statements 2010-05-02 13:28:52 +00:00
Steve Grubb 3871958b4c - New upstream release 2010-04-30 15:02:55 +00:00
Steve Grubb 88813ee0f1 - New upstream release 2010-04-30 15:02:16 +00:00
Steve Grubb 72738802fb - New upstream release 2010-04-30 15:01:30 +00:00
21 changed files with 1182 additions and 288 deletions

View File

@ -1,19 +0,0 @@
libprelude-0.9.13.tar.gz
libprelude-0.9.16.1.tar.gz
libprelude-0.9.16.2.tar.gz
libprelude-0.9.17.1.tar.gz
libprelude-0.9.17.2.tar.gz
libprelude-0.9.18.1.tar.gz
libprelude-0.9.19.tar.gz
libprelude-0.9.20.tar.gz
libprelude-0.9.20.1.tar.gz
libprelude-0.9.20.2.tar.gz
libprelude-0.9.21.tar.gz
libprelude-0.9.21.1.tar.gz
libprelude-0.9.21.2.tar.gz
libprelude-0.9.22.tar.gz
libprelude-0.9.23.tar.gz
libprelude-0.9.24.tar.gz
libprelude-0.9.25.tar.gz
libprelude-1.0.0rc1.tar.gz
libprelude-1.0.0.tar.gz

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/libprelude-5.2.0.tar.gz

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: libprelude
# $Id: Makefile,v 1.1 2006/12/30 13:18:12 tscherf Exp $
NAME := libprelude
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

13
config.h.patch Normal file
View File

@ -0,0 +1,13 @@
--- prelude-inttypes.h~ 2021-08-05 09:52:17.002556351 -0500
+++ prelude-inttypes.h 2021-08-05 12:09:26.446094909 -0500
@@ -48,10 +48,6 @@
#define __PRELUDE_UINT64_SUFFIX(x) x ##ULL
#endif
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
#ifdef __PRELUDE_HAVE_STDINT_H
# include <stdint.h>
#endif

View File

@ -0,0 +1,28 @@
Description: Remove unneeded libraries from libprelude-config --libs
Author: Orion Poplawski <orion@nwra.com>
Last-Update: 2020-18-09
diff -up libprelude-5.2.0/libprelude-config.in.config libprelude-5.2.0/libprelude-config.in
--- libprelude-5.2.0/libprelude-config.in.config 2020-09-09 08:30:32.658000000 -0600
+++ libprelude-5.2.0/libprelude-config.in 2020-09-18 19:10:11.786743848 -0600
@@ -104,7 +104,10 @@ fi
if test $want_libs = yes; then
- libdirs=-L@libdir@
+ libdirs=
+ if test @libdir@ != /usr/lib -a @libdir@ != /usr/lib64 ; then
+ libdirs=-L@libdir@
+ fi
cpplibs=""
if test $cpp_set = yes; then
cpplibs="$libdirs -lpreludecpp"
@@ -116,7 +119,7 @@ if test $want_libs = yes; then
thrlibs="@LTLIBTHREAD@"
fi
- echo $cpplibs $libdirs -lprelude @LIBPRELUDE_LIBS@ @LIBLTDL_DECL@ @LIBADD_DL@ $thrlibs @GETADDRINFO_LIB@ @GETHOSTNAME_LIB@ @HOSTENT_LIB@ @INET_NTOP_LIB@ @INET_PTON_LIB@ @LIBSOCKET@ @LIB_POLL@ @LIB_SELECT@ @LTLIBINTL@ @SERVENT_LIB@
+ echo $cpplibs $libdirs -lprelude $thrlibs @GETADDRINFO_LIB@ @GETHOSTNAME_LIB@ @HOSTENT_LIB@ @INET_NTOP_LIB@ @INET_PTON_LIB@ @LIBSOCKET@ @LIB_POLL@ @LIB_SELECT@ @LTLIBINTL@ @SERVENT_LIB@
fi
exit 0

View File

@ -0,0 +1,17 @@
Description: Disable test-poll test in libmissing on kfreebsd
Author: Thomas Andrejak <thomas.andrejak@gmail.com>
Last-Update: 2017-06-22
--- libprelude-3.1.0/libmissing/tests/test-poll.c 2016-09-15 02:49:10.775000884 -0400
+++ libprelude-3.1.0/libmissing/tests/test-poll.c 2017-06-25 12:18:46.997120157 -0400
@@ -370,6 +370,10 @@
{
int result;
+#if defined(__FreeBSD_kernel__) && defined(__GLIBC__)
+ exit(77);
+#endif
+
#ifdef INTERACTIVE
printf ("Please press Enter\n");
test (test_tty, "TTY");

View File

@ -0,0 +1,53 @@
Description: Fix PyIOBase_Type
Author: Thomas Andrejak <thomas.andrejak@gmail.com>
Last-Update: 2021-08-13
--- libprelude-5.2.0/bindings/python/libpreludecpp-python.i 2020-09-09 16:30:32.510000000 +0200
+++ libprelude-5.2.0/bindings/python/libpreludecpp-python.i 2021-08-13 23:20:11.672221930 +0200
@@ -163,6 +163,26 @@
$1 = _cb_python_log;
};
+%{
+static PyObject *PyIOBase_TypeObj;
+
+static int init_file_emulator(void)
+{
+ PyObject *io = PyImport_ImportModule("_io");
+ if (io == NULL)
+ return -1;
+ PyIOBase_TypeObj = PyObject_GetAttrString(io, "_IOBase");
+ if (PyIOBase_TypeObj == NULL)
+ return -1;
+ return 0;
+}
+%}
+
+%init %{
+if (init_file_emulator() < 0) {
+ return NULL;
+}
+%}
/* tell swig not to cast void * value */
%typemap(in) void *nocast_file_p %{
@@ -172,8 +192,7 @@
}
#else
- extern PyTypeObject PyIOBase_Type;
- if ( ! PyObject_IsInstance((PyObject *) $input, (PyObject *) &PyIOBase_Type) ) {
+ if ( ! PyObject_IsInstance((PyObject *) $input, PyIOBase_TypeObj) ) {
SWIG_exception_fail(SWIG_RuntimeError, "Argument is not a file object");
}
#endif
@@ -186,8 +205,7 @@
#if PY_VERSION_HEX < 0x03000000
$1 = PyFile_Check((PyObject *) $input);
#else
- extern PyTypeObject PyIOBase_Type;
- $1 = PyObject_IsInstance((PyObject *) $input, (PyObject *) &PyIOBase_Type);
+ $1 = PyObject_IsInstance((PyObject *) $input, PyIOBase_TypeObj);
#endif
%}

View File

@ -0,0 +1,20 @@
Description: Fix test-rwlock1 when --as-needed is the default.
Author: Michael Hudson-Doyle <michael.hudson@ubuntu.com>
Forwarded: no
Last-Update: 2018-07-25
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/libmissing/tests/test-rwlock1.c
+++ b/libmissing/tests/test-rwlock1.c
@@ -54,7 +54,10 @@
#define SUCCEED() exit (0)
#define FAILURE() exit (1)
-#define UNEXPECTED(n) (fprintf (stderr, "Unexpected outcome %d\n", n), abort ())
+/* The pointless reference to errno below is to ensure that the test binary
+ * gets a DT_NEEDED for libpthread even if the link is done with --as-needed
+ * (which is the default in Ubuntu) */
+#define UNEXPECTED(n) (fprintf (stderr, "Unexpected outcome %d errno %d\n", n, errno), abort ())
/* The main thread creates the waiting writer and the requesting reader threads
in the default way; this guarantees that they have the same priority.

View File

@ -0,0 +1,13 @@
--- ./docs/api/libprelude-docs.xml 2019-09-14 18:27:52.635435171 -0400
+++ ./docs/api/libprelude-docs.xml 2019-09-15 03:25:47.491163135 -0400
@@ -51,10 +51,6 @@
<xi:include href="xml/idmef-value.xml"/>
</chapter>
- <chapter id="object-tree">
- <title>Object Hierarchy</title>
- <xi:include href="xml/tree_index.sgml"/>
- </chapter>
<index id="api-index-full">
<title>API Index</title>
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>

View File

@ -0,0 +1,28 @@
Description: Fix libprelude-error compilation on hurd-i386
Author: Thomas Andrejak <thomas.andrejak@gmail.com>
Last-Update: 2017-06-22
Forwarded: https://www.prelude-siem.org/issues/893
--- libprelude-3.1.0/src/libprelude-error/mkerrcodes.awk 2016-09-15 02:49:10.806000884 -0400
+++ libprelude-3.1.0/src/libprelude-error/mkerrcodes.awk 2017-06-24 10:17:40.419430220 -0400
@@ -62,7 +62,7 @@
/^#/ { next; }
header {
- if ($0 ~ /^[ \t]*[0-9]+/)
+ if ($0 ~ /^[ \t]*[0-9]+/ || $0 ~ /^[ \t]*[(].*[)][ \tA-Za-z_0-9]*$/)
{
header = 0;
@@ -84,7 +84,10 @@
if (/^$/)
next;
- print " { " $1 ", \"" $2 "\" },";
+ nfbak=$NF;
+ $NF="";
+
+ print " { " $0 ", \"" nfbak "\" },";
}
END {

View File

@ -0,0 +1,12 @@
--- ./tests/prelude-timer.c 2016-09-15 08:49:10.810000884 +0200
+++ ./tests/prelude-timer.c 2017-05-16 07:18:40.763829280 +0200
@@ -31,7 +31,8 @@
test_timer_t *timer = data;
unsigned int elapsed = time(NULL) - timer->start_time;
- assert(elapsed == prelude_timer_get_expire(&timer->timer));
+ assert(elapsed >= prelude_timer_get_expire(&timer->timer));
+ assert(elapsed <= prelude_timer_get_expire(&timer->timer)+1);
prelude_timer_destroy(&timer->timer);
free(timer);

View File

@ -0,0 +1,120 @@
--- ./prelude-admin/Makefile.am 2016-09-15 08:49:10.785000884 +0200
+++ ./prelude-admin/Makefile.am 2017-04-25 23:55:55.141482528 +0200
@@ -7,7 +7,7 @@
$(top_builddir)/src/variable.lo \
$(top_builddir)/src/libprelude.la \
@PRELUDE_ADMIN_LIBS@ \
- ../libmissing/libmissing.la $(GETADDRINFO_LIB) $(GETHOSTNAME_LIB) $(HOSTENT_LIB) $(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET) $(LIB_POLL) $(LIB_SELECT) $(LTLIBINTL) $(LTLIBTHREAD) $(SERVENT_LIB)
+ ../libmissing/libmissing.la $(GETADDRINFO_LIB) $(GETHOSTNAME_LIB) $(HOSTENT_LIB) $(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET) $(LIB_POLL) $(LIB_SELECT) $(LTLIBINTL) $(LTLIBMULTITHREAD) $(SERVENT_LIB)
prelude_admin_SOURCES = \
--- ./src/libprelude-error/Makefile.am 2016-09-15 08:49:10.805000884 +0200
+++ ./src/libprelude-error/Makefile.am 2017-04-25 23:57:02.636949645 +0200
@@ -14,7 +14,7 @@
nodist_include_HEADERS = prelude-error.h
noinst_LTLIBRARIES = libprelude-error.la
-libprelude_error_la_LIBADD = @LTLIBTHREAD@
+libprelude_error_la_LIBADD = $(LTLIBMULTITHREAD)
libprelude_error_la_LDFLAGS = -no-undefined
libprelude_error_la_SOURCES = prelude-error.h prelude-error.c strsource.c strerror.c
--- ./src/Makefile.am 2018-12-23 21:59:17.870000000 +0100
+++ ./src/Makefile.am 2019-02-26 23:49:47.973788402 +0100
@@ -9,7 +9,7 @@
libpreludeincludedir = $(includedir)/
libprelude_la_LIBADD = @LIBPRELUDE_LIBS@ $(LIBLTDL) $(top_builddir)/libmissing/libmissing.la libprelude-error/libprelude-error.la
-libprelude_la_LDFLAGS = $(GETADDRINFO_LIB) $(GETHOSTNAME_LIB) $(HOSTENT_LIB) $(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET) $(LIB_POLL) $(LIB_PTHREAD_SIGMASK) $(LIB_SELECT) $(LTLIBINTL) $(LTLIBTHREAD) $(SERVENT_LIB) -no-undefined -version-info @LIBPRELUDE_SONAME@ -export-symbols-regex "^(idmef|_?prelude)_"
+libprelude_la_LDFLAGS = $(GETADDRINFO_LIB) $(GETHOSTNAME_LIB) $(HOSTENT_LIB) $(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET) $(LIB_POLL) $(LIB_PTHREAD_SIGMASK) $(LIB_SELECT) $(LTLIBINTL) $(LTLIBMULTITHREAD) $(SERVENT_LIB) -no-undefined -version-info @LIBPRELUDE_SONAME@ -export-symbols-regex "^(idmef|_?prelude)_" -Wl,-u,pthread_atfork
lib_LTLIBRARIES = libprelude.la
BUILT_SOURCES = $(LTDLDEPS)
--- ./src/Makefile.in 2018-12-23 22:01:04.767000000 +0100
+++ ./src/Makefile.in 2019-02-26 23:56:08.385091987 +0100
@@ -1132,7 +1132,7 @@
LIBS = @LIBS@
LIBSOCKET = @LIBSOCKET@
LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@
-LIBTHREAD = @LIBTHREAD@
+LIBMULTITHREAD = @LIBMULTITHREAD@
LIBTOOL = @LIBTOOL@
LIB_NANOSLEEP = @LIB_NANOSLEEP@
LIB_POLL = @LIB_POLL@
@@ -1156,7 +1156,7 @@
LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
LTLIBOBJS = @LTLIBOBJS@
LTLIBPTH = @LTLIBPTH@
-LTLIBTHREAD = @LTLIBTHREAD@
+LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
LT_CONFIG_H = @LT_CONFIG_H@
LT_DLLOADERS = @LT_DLLOADERS@
LT_DLPREOPEN = @LT_DLPREOPEN@
@@ -1553,7 +1553,7 @@
DISTCLEANFILES = $(pkgconfig_DATA) idmef-criteria-string.yac.h idmef-criteria-string.lex.c idmef-criteria-string.yac.c
libpreludeincludedir = $(includedir)/
libprelude_la_LIBADD = @LIBPRELUDE_LIBS@ $(LIBLTDL) $(top_builddir)/libmissing/libmissing.la libprelude-error/libprelude-error.la
-libprelude_la_LDFLAGS = $(GETADDRINFO_LIB) $(GETHOSTNAME_LIB) $(HOSTENT_LIB) $(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET) $(LIB_POLL) $(LIB_PTHREAD_SIGMASK) $(LIB_SELECT) $(LTLIBINTL) $(LTLIBTHREAD) $(SERVENT_LIB) -no-undefined -version-info @LIBPRELUDE_SONAME@ -export-symbols-regex "^(idmef|_?prelude)_"
+libprelude_la_LDFLAGS = $(GETADDRINFO_LIB) $(GETHOSTNAME_LIB) $(HOSTENT_LIB) $(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET) $(LIB_POLL) $(LIB_PTHREAD_SIGMASK) $(LIB_SELECT) $(LTLIBINTL) $(LTLIBMULTITHREAD) $(SERVENT_LIB) -no-undefined -version-info @LIBPRELUDE_SONAME@ -export-symbols-regex "^(idmef|_?prelude)_" -Wl,-u,pthread_atfork
lib_LTLIBRARIES = libprelude.la
BUILT_SOURCES = $(LTDLDEPS)
AM_YFLAGS = -d
--- ./prelude-admin/Makefile.in 2019-02-26 23:58:08.154668826 +0100
+++ ./prelude-admin/Makefile.in 2019-02-26 23:57:12.940785905 +0100
@@ -1062,7 +1062,7 @@
LIBS = @LIBS@
LIBSOCKET = @LIBSOCKET@
LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@
+LIBMULTITHREAD = @LIBMULTITHREAD@
-LIBTHREAD = @LIBTHREAD@
LIBTOOL = @LIBTOOL@
LIB_NANOSLEEP = @LIB_NANOSLEEP@
LIB_POLL = @LIB_POLL@
@@ -1086,7 +1086,7 @@
LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
LTLIBOBJS = @LTLIBOBJS@
LTLIBPTH = @LTLIBPTH@
+LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
-LTLIBTHREAD = @LTLIBTHREAD@
LT_CONFIG_H = @LT_CONFIG_H@
LT_DLLOADERS = @LT_DLLOADERS@
LT_DLPREOPEN = @LT_DLPREOPEN@
@@ -1480,7 +1480,7 @@
$(top_builddir)/src/variable.lo \
$(top_builddir)/src/libprelude.la \
@PRELUDE_ADMIN_LIBS@ \
+ ../libmissing/libmissing.la $(GETADDRINFO_LIB) $(GETHOSTNAME_LIB) $(HOSTENT_LIB) $(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET) $(LIB_POLL) $(LIB_SELECT) $(LTLIBINTL) $(LTLIBMULTITHREAD) $(SERVENT_LIB)
- ../libmissing/libmissing.la $(GETADDRINFO_LIB) $(GETHOSTNAME_LIB) $(HOSTENT_LIB) $(INET_NTOP_LIB) $(INET_PTON_LIB) $(LIBSOCKET) $(LIB_POLL) $(LIB_SELECT) $(LTLIBINTL) $(LTLIBTHREAD) $(SERVENT_LIB)
prelude_admin_SOURCES = \
prelude-admin.c \
--- ./src/libprelude-error/Makefile.in 2018-12-23 22:01:05.090000000 +0100
+++ ./src/libprelude-error/Makefile.in 2019-02-27 00:00:34.842539289 +0100
@@ -1053,7 +1053,7 @@
LIBS = @LIBS@
LIBSOCKET = @LIBSOCKET@
LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@
-LIBTHREAD = @LIBTHREAD@
+LIBMULTITHREAD = @LIBMULTITHREAD@
LIBTOOL = @LIBTOOL@
LIB_NANOSLEEP = @LIB_NANOSLEEP@
LIB_POLL = @LIB_POLL@
@@ -1077,7 +1077,7 @@
LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
LTLIBOBJS = @LTLIBOBJS@
LTLIBPTH = @LTLIBPTH@
-LTLIBTHREAD = @LTLIBTHREAD@
+LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
LT_CONFIG_H = @LT_CONFIG_H@
LT_DLLOADERS = @LT_DLLOADERS@
LT_DLPREOPEN = @LT_DLPREOPEN@
@@ -1477,7 +1477,7 @@
nodist_include_HEADERS = prelude-error.h
noinst_LTLIBRARIES = libprelude-error.la
-libprelude_error_la_LIBADD = @LTLIBTHREAD@
+libprelude_error_la_LIBADD = @LTLIBMULTITHREAD@
libprelude_error_la_LDFLAGS = -no-undefined
libprelude_error_la_SOURCES = prelude-error.h prelude-error.c strsource.c strerror.c
all: $(BUILT_SOURCES)

View File

@ -0,0 +1,31 @@
--- ./src/idmef-criterion-value.c 2016-12-04 22:36:21.364349964 +0100
+++ ./src/idmef-criterion-value.c 2016-12-04 22:37:40.770573582 +0100
@@ -194,22 +194,22 @@
/*
* Apply mask
*/
- if ( comp.tm_sec < 0 ) lt.tm_sec = -1;
+ if ( comp.tm_sec < 0 ) comp.tm_sec = lt.tm_sec;
else need_full_compare = TRUE;
- if ( comp.tm_min < 0 ) lt.tm_min = -1;
+ if ( comp.tm_min < 0 ) comp.tm_min = lt.tm_min;
else need_full_compare = TRUE;
- if ( comp.tm_mon < 0 ) lt.tm_mon = -1;
+ if ( comp.tm_mon < 0 ) comp.tm_mon = lt.tm_mon;
else need_full_compare = TRUE;
- if ( comp.tm_hour < 0 ) lt.tm_hour = -1;
+ if ( comp.tm_hour < 0 ) comp.tm_hour = lt.tm_hour;
else need_full_compare = TRUE;
- if ( comp.tm_mday < 0 ) lt.tm_mday = -1;
+ if ( comp.tm_mday < 0 ) comp.tm_mday = lt.tm_mday;
else need_full_compare = TRUE;
- if ( comp.tm_year < 0 ) lt.tm_year = -1;
+ if ( comp.tm_year < 0 ) comp.tm_year = lt.tm_year;
else need_full_compare = TRUE;
if ( comp.tm_wday < 0 ) lt.tm_wday = -1;

View File

@ -0,0 +1,246 @@
diff -ru ./src/libprelude-error/err-codes.h ./src/libprelude-error/err-codes.h
--- ./src/libprelude-error/err-codes.h 2016-09-15 08:51:51.964000884 +0200
+++ ./src/libprelude-error/err-codes.h 2016-12-02 07:37:52.786070647 +0100
@@ -15,10 +15,9 @@
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 Lesser General Public
- License along with libgpg-error; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
/* The purpose of this complex string table is to produce
diff -ru ./src/libprelude-error/err-codes.h.in ./src/libprelude-error/err-codes.h.in
--- ./src/libprelude-error/err-codes.h.in 2016-09-15 08:49:10.805000884 +0200
+++ ./src/libprelude-error/err-codes.h.in 2016-12-02 07:38:08.252722176 +0100
@@ -14,10 +14,9 @@
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 Lesser General Public
- License along with libgpg-error; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
# Everything up to the first line that starts with a number in the
# first column is copied into the output verbatim. Then, empty lines
diff -ru ./src/libprelude-error/errnos.in ./src/libprelude-error/errnos.in
--- ./src/libprelude-error/errnos.in 2016-09-15 08:49:10.806000884 +0200
+++ ./src/libprelude-error/errnos.in 2016-12-02 07:38:23.777372399 +0100
@@ -14,10 +14,9 @@
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 Lesser General Public
- License along with libgpg-error; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
# Everything up to the first line that starts with a number in the
# first column is copied into the output verbatim. Then, empty lines
diff -ru ./src/libprelude-error/err-sources.h ./src/libprelude-error/err-sources.h
--- ./src/libprelude-error/err-sources.h 2016-09-15 08:51:51.961000884 +0200
+++ ./src/libprelude-error/err-sources.h 2016-12-02 07:38:32.605173508 +0100
@@ -15,10 +15,9 @@
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 Lesser General Public
- License along with libgpg-error; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
/* The purpose of this complex string table is to produce
diff -ru ./src/libprelude-error/err-sources.h.in ./src/libprelude-error/err-sources.h.in
--- ./src/libprelude-error/err-sources.h.in 2016-09-15 08:49:10.806000884 +0200
+++ ./src/libprelude-error/err-sources.h.in 2016-12-02 07:39:14.072239231 +0100
@@ -14,10 +14,9 @@
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 Lesser General Public
- License along with libgpg-error; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
# Everything up to the first line that starts with a number in the
# first column is copied into the output verbatim. Then, empty lines
diff -ru ./src/libprelude-error/mkerrcodes1.awk ./src/libprelude-error/mkerrcodes1.awk
--- ./src/libprelude-error/mkerrcodes1.awk 2016-09-15 08:49:10.806000884 +0200
+++ ./src/libprelude-error/mkerrcodes1.awk 2016-12-02 07:40:41.671265585 +0100
@@ -11,9 +11,9 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# As a special exception, g10 Code GmbH gives unlimited permission to
# copy, distribute and modify the C source files that are the output
diff -ru ./src/libprelude-error/mkerrcodes2.awk ./src/libprelude-error/mkerrcodes2.awk
--- ./src/libprelude-error/mkerrcodes2.awk 2016-09-15 08:49:10.806000884 +0200
+++ ./src/libprelude-error/mkerrcodes2.awk 2016-12-02 07:40:57.327912836 +0100
@@ -11,9 +11,9 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# As a special exception, g10 Code GmbH gives unlimited permission to
# copy, distribute and modify the C source files that are the output
diff -ru ./src/libprelude-error/mkerrcodes.awk ./src/libprelude-error/mkerrcodes.awk
--- ./src/libprelude-error/mkerrcodes.awk 2016-09-15 08:49:10.806000884 +0200
+++ ./src/libprelude-error/mkerrcodes.awk 2016-12-02 07:41:21.451369320 +0100
@@ -11,9 +11,9 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# As a special exception, g10 Code GmbH gives unlimited permission to
# copy, distribute and modify the C source files that are the output
diff -ru ./src/libprelude-error/mkerrcodes.c ./src/libprelude-error/mkerrcodes.c
--- ./src/libprelude-error/mkerrcodes.c 2016-09-15 08:49:10.806000884 +0200
+++ ./src/libprelude-error/mkerrcodes.c 2016-12-02 07:42:27.668877410 +0100
@@ -13,10 +13,9 @@
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 Lesser General Public
- License along with libgpg-error; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
/* This file must not include config.h, as that is for the host
system, while this file will be run on the build system. */
@@ -40,10 +39,9 @@
" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n"
" Lesser General Public License for more details.\n"
"\n"
-" You should have received a copy of the GNU Lesser General Public\n"
-" License along with libgpg-error; if not, write to the Free\n"
-" Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA\n"
-" 02111-1307, USA. */\n"
+" You should have received a copy of the GNU General Public License along\n"
+" with this program; if not, write to the Free Software Foundation,\n"
+" Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */\n"
"\n";
int
diff -ru ./src/libprelude-error/mkerrnos.awk ./src/libprelude-error/mkerrnos.awk
--- ./src/libprelude-error/mkerrnos.awk 2016-09-15 08:49:10.806000884 +0200
+++ ./src/libprelude-error/mkerrnos.awk 2016-12-02 07:42:46.332456910 +0100
@@ -11,9 +11,9 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# As a special exception, g10 Code GmbH gives unlimited permission to
# copy, distribute and modify the C source files that are the output
diff -ru ./src/libprelude-error/mkheader.awk ./src/libprelude-error/mkheader.awk
--- ./src/libprelude-error/mkheader.awk 2016-09-15 08:49:10.806000884 +0200
+++ ./src/libprelude-error/mkheader.awk 2016-12-02 07:42:59.250165869 +0100
@@ -11,9 +11,9 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# As a special exception, g10 Code GmbH gives unlimited permission to
# copy, distribute and modify the C source files that are the output
diff -ru ./src/libprelude-error/mkstrtable.awk ./src/libprelude-error/mkstrtable.awk
--- ./src/libprelude-error/mkstrtable.awk 2016-09-15 08:49:10.806000884 +0200
+++ ./src/libprelude-error/mkstrtable.awk 2016-12-02 07:43:08.552956273 +0100
@@ -11,9 +11,9 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# As a special exception, g10 Code GmbH gives unlimited permission to
# copy, distribute and modify the C source files that are the output
diff -ru ./src/libprelude-error/strerror.c ./src/libprelude-error/strerror.c
--- ./src/libprelude-error/strerror.c 2016-09-15 08:49:10.806000884 +0200
+++ ./src/libprelude-error/strerror.c 2016-12-02 07:44:11.256543536 +0100
@@ -13,10 +13,9 @@
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 Lesser General Public
- License along with libgpg-error; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
#include "config.h"
diff -ru ./src/libprelude-error/strsource.c ./src/libprelude-error/strsource.c
--- ./src/libprelude-error/strsource.c 2016-09-15 08:49:10.806000884 +0200
+++ ./src/libprelude-error/strsource.c 2016-12-02 07:44:26.455201104 +0100
@@ -13,10 +13,9 @@
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 Lesser General Public
- License along with libgpg-error; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
#include "config.h"

View File

@ -0,0 +1,58 @@
--- ./prelude-admin/server.c 2016-09-15 08:49:10.785000884 +0200
+++ ./prelude-admin/server.c 2017-02-05 10:29:25.051965998 +0100
@@ -152,9 +152,9 @@
#endif
#ifdef GNUTLS_SRP_ENABLED
- const char *pstring = "NORMAL:+SRP:+SRP-DSS:+SRP-RSA:" TLS_DH_STR;
+ const char *pstring = "@SYSTEM:+SRP:+SRP-DSS:+SRP-RSA:" TLS_DH_STR;
#else
- const char *pstring = "NORMAL:" TLS_DH_STR;
+ const char *pstring = "@SYSTEM:" TLS_DH_STR;
#endif
gnutls_init(&session, GNUTLS_SERVER);
--- ./prelude-admin/prelude-admin.c 2016-09-15 08:49:10.785000884 +0200
+++ ./prelude-admin/prelude-admin.c 2017-02-05 10:30:02.507127046 +0100
@@ -897,9 +897,9 @@
#endif
#ifdef GNUTLS_SRP_ENABLED
- const char *pstring = "NORMAL:+SRP:+SRP-DSS:+SRP-RSA:" TLS_DH_STR;
+ const char *pstring = "@SYSTEM:+SRP:+SRP-DSS:+SRP-RSA:" TLS_DH_STR;
#else
- const char *pstring = "NORMAL:" TLS_DH_STR;
+ const char *pstring = "@SYSTEM:" TLS_DH_STR;
#endif
gnutls_init(&session, GNUTLS_CLIENT);
--- ./client.conf.in 2016-09-15 08:49:10.732000884 +0200
+++ ./client.conf.in 2017-02-05 10:32:07.132334930 +0100
@@ -58,7 +58,7 @@
# Sets priorities for the ciphers, key exchange methods, macs and
# compression methods.
#
-# "NORMAL" option enables all "secure" ciphersuites. The 256-bit
+# "@SYSTEM" option enables all "secure" ciphersuites. The 256-bit
# ciphers are included as a fallback only. The ciphers are sorted by
# security margin.
#
@@ -77,5 +77,5 @@
# Note that much more settings might be enabled or disabled using this
# option: please see gnutls_priority_init(3) for more details.
#
-# The default settings is "NORMAL".
-# tls-options = NORMAL
+# The default settings is "@SYSTEM".
+# tls-options = @SYSTEM
--- ./src/tls-auth.c 2016-09-15 08:49:10.809000884 +0200
+++ ./src/tls-auth.c 2017-02-05 10:31:14.194521137 +0100
@@ -232,7 +232,7 @@
int ret;
const char *errptr;
- ret = gnutls_priority_init(&tls_priority, (tlsopts) ? tlsopts : "NORMAL", &errptr);
+ ret = gnutls_priority_init(&tls_priority, (tlsopts) ? tlsopts : "@SYSTEM", &errptr);
if ( ret < 0 )
return prelude_error_verbose_make(PRELUDE_ERROR_SOURCE_CLIENT, PRELUDE_ERROR_TLS,
"TLS options '%s': %s", errptr, gnutls_strerror(ret));

View File

@ -0,0 +1,14 @@
diff -up ./bindings/perl/Makefile.PL.in.orig ./bindings/perl/Makefile.PL.in
--- ./bindings/perl/Makefile.PL.in.orig 2016-10-16 17:13:27.006400921 +0300
+++ ./bindings/perl/Makefile.PL.in 2016-10-16 17:14:39.521628420 +0300
@@ -26,8 +26,8 @@ use Cwd "abs_path";
my %attributs = (NAME => 'Prelude',
INC => '-I@top_builddir@ -I@top_builddir@/src/include -I@top_srcdir@/src/include -I@top_builddir@/src/libprelude-error -I@top_srcdir@/bindings/c++/include',
- LIBS => ["-L@top_builddir@/src/.libs -lprelude -L@top_builddir@/bindings/c++/.libs -lpreludecpp", "-L$ENV{LIBDIR} -lprelude @LIBPRELUDE_LIBS@ @LIBADD_DL@ @LTLIBTHREAD@" ],
- LDDLFLAGS => "-L@top_builddir@/src/.libs $Config{lddlflags} @LDFLAGS@,-rpath");
+ LIBS => ["-L@top_builddir@/src/.libs -lprelude -L@top_builddir@/bindings/c++/.libs -lpreludecpp -L$ENV{LIBDIR} -lstdc++ -lm @LIBPRELUDE_LIBS@ @LIBADD_DL@ @LTLIBTHREAD@" ],
+ LDDLFLAGS => "-L@top_builddir@/src/.libs $Config{lddlflags} @LDFLAGS@");
if ( abs_path("@top_srcdir@") ne abs_path("@top_builddir@") ) {
foreach my $filename ( qw/Prelude.cxx Prelude.pm/ ) {

View File

@ -0,0 +1,11 @@
--- libprelude-5.1.1/bindings/ruby/Prelude.cxx.ruby27 2019-10-15 05:33:03.117000000 +0900
+++ libprelude-5.1.1/bindings/ruby/Prelude.cxx 2020-01-19 20:13:37.324557838 +0900
@@ -1260,7 +1260,7 @@ SWIGRUNTIME void SWIG_RubyInitializeTrac
swig_ruby_trackings = (st_table*)NUM2SWIG(trackings_value);
}
- rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", swig_ruby_trackings_count, NULL);
+ rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", swig_ruby_trackings_count, (rb_gvar_setter_t *)NULL);
}
/* Add a Tracking from a C/C++ struct to a Ruby object */

View File

@ -0,0 +1,11 @@
--- ./configure 2016-09-15 08:51:15.490000884 +0200
+++ ./configure.new 2016-10-31 20:01:06.731235733 +0100
@@ -21874,7 +21874,7 @@
if ${am_cv_ruby_rbexecdir+:} false; then :
$as_echo_n "(cached) " >&6
else
- am_cv_ruby_rbexecdir=`$RUBY -rrbconfig -e "drive = File::PATH_SEPARATOR == ';' ? /\A\w:/ : /\A/; prefix = Regexp.new('\\A' + Regexp.quote(RbConfig::CONFIG['prefix'])); \\$prefix = RbConfig::CONFIG['prefix'].sub(drive, ''); \\$sitearchdir = RbConfig::CONFIG['sitearchdir'].sub(prefix, '\\$(prefix)').sub(drive, ''); print \\$sitearchdir;" 2>/dev/null || echo "${RUBY_EXEC_PREFIX}/local/lib/site_ruby/${RUBY_VERSION}/${RUBY_PLATFORM}"`
+ am_cv_ruby_rbexecdir=`$RUBY -rrbconfig -e "drive = File::PATH_SEPARATOR == ';' ? /\A\w:/ : /\A/; prefix = Regexp.new('\\A' + Regexp.quote(RbConfig::CONFIG['prefix'])); \\$prefix = RbConfig::CONFIG['prefix'].sub(drive, ''); \\$sitearchdir = RbConfig::CONFIG['vendorarchdir'].sub(prefix, '\\$(prefix)').sub(drive, ''); print \\$sitearchdir;" 2>/dev/null || echo "${RUBY_EXEC_PREFIX}/local/lib/site_ruby/${RUBY_VERSION}/${RUBY_PLATFORM}"`
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ruby_rbexecdir" >&5
$as_echo "$am_cv_ruby_rbexecdir" >&6; }

View File

@ -0,0 +1,82 @@
Add missing include files to avoid implicit function declarations.
diff --git a/configure b/configure
index 3dd46a982bc30af1..0fd5bd685c32f3cd 100755
--- a/configure
+++ b/configure
@@ -22292,6 +22292,7 @@ else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdarg.h>
+ #include <stdlib.h>
void f (int i, ...) {
va_list args1, args2;
va_start (args1, i);
@@ -22325,6 +22326,7 @@ else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdarg.h>
+ #include <stdlib.h>
void f (int i, ...) {
va_list args1, args2;
va_start (args1, i);
@@ -22377,6 +22379,7 @@ else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdarg.h>
+ #include <stdlib.h>
void f (int i, ...) {
va_list args1, args2;
va_start (args1, i);
@@ -48608,6 +48611,9 @@ else
#if HAVE_LANGINFO_CODESET
# include <langinfo.h>
#endif
+#if HAVE_WCTYPE_H
+# include <wctype.h>
+#endif
#include <stdlib.h>
#include <string.h>
struct tm t;
diff --git a/configure.ac b/configure.ac
index eb506e7d2af0afee..e268386180b5e524 100644
--- a/configure.ac
+++ b/configure.ac
@@ -344,6 +344,7 @@ dnl all results in config.log for bug reports.
AC_CACHE_CHECK([for an implementation of va_copy()],prelude_cv_va_copy,[
AC_LINK_IFELSE([AC_LANG_SOURCE([#include <stdarg.h>
+ #include <stdlib.h>
void f (int i, ...) {
va_list args1, args2;
va_start (args1, i);
@@ -361,6 +362,7 @@ AC_CACHE_CHECK([for an implementation of va_copy()],prelude_cv_va_copy,[
])
AC_CACHE_CHECK([for an implementation of __va_copy()],prelude_cv___va_copy,[
AC_LINK_IFELSE([AC_LANG_SOURCE([#include <stdarg.h>
+ #include <stdlib.h>
void f (int i, ...) {
va_list args1, args2;
va_start (args1, i);
@@ -390,6 +392,7 @@ fi
AC_CACHE_CHECK([whether va_lists can be copied by value],prelude_cv_va_val_copy,[
AC_TRY_RUN([#include <stdarg.h>
+ #include <stdlib.h>
void f (int i, ...) {
va_list args1, args2;
va_start (args1, i);
diff --git a/libmissing/m4/locale-tr.m4 b/libmissing/m4/locale-tr.m4
index 2f2cf47892d505a5..c2683e53b8574f6d 100644
--- a/libmissing/m4/locale-tr.m4
+++ b/libmissing/m4/locale-tr.m4
@@ -19,6 +19,9 @@ changequote(,)dnl
#if HAVE_LANGINFO_CODESET
# include <langinfo.h>
#endif
+#if HAVE_WCTYPE_H
+# include <wctype.h>
+#endif
#include <stdlib.h>
#include <string.h>
struct tm t;

View File

@ -1,285 +1,461 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] ')}
%global major 28
%global cppmajor 12
# Notes about rpmlint
# - crypto-policy-non-compliance-gnutls-{1,2} fixed with patch
# libprelude-5.2.0-gnutls_priority_set_direct.patch
Name: libprelude
Version: 1.0.0
Release: 1%{?dist}
Summary: The prelude library
Group: System Environment/Libraries
License: GPLv2+
URL: http://prelude-ids.org/
Source0: http://www.prelude-ids.org/download/releases/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Name: libprelude
Version: 5.2.0
Release: 18%{?dist}
Summary: Secure Connections between all Sensors and the Prelude Manager
License: LGPL-2.1-or-later
URL: https://www.prelude-siem.org/
Source0: https://www.prelude-siem.org/pkg/src/5.2.0/%{name}-%{version}.tar.gz
# See BZ 1908783
Source1: config.h.patch
# https://www.prelude-siem.org/issues/860
Patch0: libprelude-5.2.0-ruby_vendorarchdir.patch
# https://www.prelude-siem.org/issues/862
Patch1: libprelude-5.2.0-gnutls_priority_set_direct.patch
# https://www.prelude-siem.org/issues/863
Patch2: libprelude-5.2.0-fsf_address.patch
# https://www.prelude-siem.org/issues/865
Patch3: libprelude-5.2.0-fix_timegm.patch
# https://www.prelude-siem.org/issues/885
Patch4: libprelude-5.2.0-fix_pthread_atfork.patch
# https://www.prelude-siem.org/issues/887
Patch5: libprelude-5.2.0-fix_prelude_tests_timer.patch
Patch6: libprelude-5.2.0-fix_gtkdoc_1.32.patch
Patch7: libprelude-5.2.0-linking.patch
Patch8: libprelude-5.2.0-fix_libprelude-error_on_gnu.patch
Patch9: libprelude-5.2.0-disable_test-poll_on_kfreebsd.patch
Patch10: libprelude-5.2.0-fix-test_rwlock1.patch
# https://github.com/swig/swig/issues/1689
# https://github.com/swig/swig/pull/1692
# For now, add a minimum patch to support ruby2.7
Patch11: libprelude-5.2.0-ruby27.patch
# Remove unneded libraries from libprelude-config --libs (bz#1830473)
Patch12: libprelude-5.2.0-clean_libprelude-config.patch
# #1973946
Patch13: libprelude-5.2.0-fix-PyIOBase_Type.patch
Patch14: libprelude-configure-c99.patch
BuildRequires: make
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: bison
BuildRequires: chrpath
BuildRequires: flex
BuildRequires: gtk-doc
BuildRequires: glib2-devel
BuildRequires: swig
BuildRequires: libgpg-error-devel
BuildRequires: libtool-ltdl-devel
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: python3-devel
BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(lua) >= 5.2
BuildRequires: pkgconfig(ruby)
BuildRequires: pkgconfig(zlib)
BuildRequires: gnutls-devel, python-devel, ruby, ruby-devel, lua-devel
BuildRequires: swig chrpath
%ifnarch s390 ppc64 ppc64le
BuildRequires: valgrind
%endif
# Upstream do not use explicit version of gnulib, just checkout
# and update files. In libprelude 5.2.0, the checkout has been done
# on 2018-09-03
Provides: bundled(gnulib) = 20180903
%description
Libprelude is a library that guarantees secure connections between
all sensors and the Prelude Manager. Libprelude provides an
Application Programming Interface (API) for the communication with
Prelude sub-systems, it supplies the necessary functionality for
generating and emitting IDMEF events with Prelude and automates the
saving and re-transmission of data in times of temporary interruption
of one of the components of the system.
Libprelude is a collection of generic functions providing communication
between all Sensors, like IDS (Intrusion Detection System), and the Prelude
Manager. It provides a convenient interface for sending and receiving IDMEF
(Information and Event Message Exchange Format) alerts to Prelude Manager with
transparent SSL, fail-over and replication support, asynchronous events and
timer interfaces, an abstracted configuration API (hooking at the command-line,
the configuration line, or wide configuration, available from the Manager), and
a generic plugin API. It allows you to easily turn your favorite security
program into a Prelude sensor.
%package devel
Summary: Header files and libraries for libprelude development
Group: System Environment/Libraries
Requires: libprelude = %{version}-%{release}, automake, gnutls-devel
Summary: Libraries and headers for developing Prelude sensors
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: libtool-ltdl-devel
Requires: pkgconfig(gnutls)
Provides: prelude-devel = %{version}-%{release}
%description devel
Libraries, include files, etc you can use to develop Prelude IDS
sensors using the Prelude Library.
Libraries and headers you can use to develop Prelude sensors using the Prelude
Library. Libprelude is a collection of generic functions providing
communication between all Sensors, like IDS (Intrusion Detection System),
and the Prelude Manager. It provides a convenient interface for sending and
receiving IDMEF (Information and Event Message Exchange Format) alerts to
Prelude Manager with transparent SSL, fail-over and replication support,
asynchronous events and timer interfaces, an abstracted configuration API
(hooking at the command-line, the configuration line, or wide configuration,
available from the Manager), and a generic plugin API. It allows you to easily
turn your favorite security program into a Prelude sensor.
%package python
Summary: Python bindings for libprelude
Group: System Environment/Libraries
Requires: libprelude = %{version}-%{release}
%package -n prelude-tools
Summary: Command-line tools for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description python
Python bindings for libprelude.
%description -n prelude-tools
Provides a convenient interface for sending alerts to Prelude
Manager.
%package perl
Summary: Perl bindings for libprelude
Group: System Environment/Libraries
%if 0%{?rhel} && 0%{?rhel} <= 5
BuildRequires: perl
%else
BuildRequires: perl-devel
%endif
Requires: libprelude = %{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%package -n python3-prelude
Summary: Python 3 bindings for prelude
Requires: %{name}%{?_isa} = %{version}-%{release}
%{?python_provide:%python_provide python3-prelude}
%description perl
Perl bindings for libprelude.
%description -n python3-prelude
Provides python 3 bindings for prelude.
%package ruby
Summary: Ruby bindings for libprelude
Group: System Environment/Libraries
Requires: libprelude = %{version}-%{release}
Requires: ruby(abi) = 1.8
%package -n perl-prelude
Summary: Perl bindings for prelude
Requires: %{name}%{?_isa} = %{version}-%{release}
%description ruby
Ruby bindings for libprelude.
%description -n perl-prelude
Provides perl bindings for prelude.
%package -n ruby-prelude
Summary: Ruby bindings for prelude
Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n ruby-prelude
Provides ruby bindings for prelude.
%package -n lua-prelude
Summary: Lua bindings for prelude
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: lua
%description -n lua-prelude
Provides Lua bindings for prelude generated by SWIG.
%package doc
Summary: Documentation for prelude
BuildArch: noarch
%description doc
Provides documentation for prelude generated by gtk-doc.
%prep
%setup -q
%autosetup -p1
%build
%configure --disable-static \
--with-html-dir=%{_defaultdocdir}/%{name}-%{version}/html \
--with-perl-installdirs=vendor \
--enable-easy-bindings
# removing rpath
sed -i.rpath -e 's|LD_RUN_PATH=""||' bindings/Makefile.in
sed -i.rpath -e 's|^sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/%{_lib} %{_libdir}|' libtool
make %{?_smp_mflags}
%configure \
--without-included-ltdl \
--disable-static \
--enable-shared \
--with-swig \
--without-python2 \
--with-python3 \
--with-ruby \
--with-lua \
--with-perl-installdirs=vendor \
--without-included-regex \
--includedir=%{_includedir}/%{name} \
--enable-gtk-doc \
--disable-rpath \
--with-html-dir=%{_docdir}/%{name}-devel
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
%make_build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}
mkdir -p %{buildroot}%{perl_vendorarch}
make install DESTDIR=%{buildroot} INSTALL="%{__install} -c -p"
cp -p AUTHORS ChangeLog README NEWS COPYING LICENSE.README HACKING.README \
%{buildroot}%{_defaultdocdir}/%{name}-%{version}
rm -f %{buildroot}/%{_libdir}/libprelude.la
chmod 755 %{buildroot}%{python_sitearch}/_prelude.so
find %{buildroot} -type f \( -name .packlist -o -name perllocal.pod \) -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
rm -f %{buildroot}%{_libdir}/*.la
rm -f %{buildroot}%{ruby_sitearch}/PreludeEasy.la
chmod +w %{buildroot}%{perl_vendorarch}/auto/Prelude/Prelude.so
chrpath -d %{buildroot}%{perl_vendorarch}/auto/Prelude/Prelude.so
chmod -w %{buildroot}%{perl_vendorarch}/auto/Prelude/Prelude.so
%make_install
# Fix time stamp for both 32 and 64 bit libraries
touch -r ./configure.in %{buildroot}%{_sysconfdir}/prelude/default/*
#chrpath -d %{buildroot}%{_libdir}/*.so.*
chmod 755 %{buildroot}%{_libdir}/perl5/vendor_perl/auto/Prelude/Prelude.so
chrpath -d %{buildroot}%{_libdir}/perl5/vendor_perl/auto/Prelude/Prelude.so
%clean
rm -rf %{buildroot}
find %{buildroot} -name '*.la' -delete
find %{buildroot} -name 'perllocal.pod' -delete
find %{buildroot} -name '.packlist' -delete
%post -p /sbin/ldconfig
patch -d %{buildroot}%{_includedir}/libprelude/ -p0 < %SOURCE1
%postun -p /sbin/ldconfig
# Enable test again after fixing #1629893
#%check
#make check
%ldconfig_scriptlets -n %{name}
%files
%defattr(-,root,root)
%{_bindir}/prelude-admin
%{_bindir}/prelude-adduser
%{_libdir}/*.so.*
%{_mandir}/man1/prelude-admin.1.gz
%config(noreplace) %{_sysconfdir}/*
%{_localstatedir}/spool/*
%dir %{_defaultdocdir}/%{name}-%{version}/
%doc %{_defaultdocdir}/%{name}-%{version}/*
%{_libdir}/%{name}.so.%{major}
%{_libdir}/%{name}.so.%{major}.*
%{_libdir}/%{name}cpp.so.%{cppmajor}
%{_libdir}/%{name}cpp.so.%{cppmajor}.*
%license COPYING LICENSE.README HACKING.README
%doc AUTHORS README NEWS
%files devel
%defattr(-,root,root)
%{_bindir}/libprelude-config
%{_libdir}/*.so
%{_libdir}/pkgconfig/libprelude.pc
%dir %{_includedir}/libprelude/
%{_includedir}/libprelude/*
%{_datadir}/aclocal/libprelude.m4
%{_datadir}/%{name}
%{_bindir}/%{name}-config
%{_libdir}/%{name}.so
%{_libdir}/%{name}cpp.so
%{_libdir}/pkgconfig/%{name}.pc
%{_includedir}/%{name}
%{_datadir}/aclocal/%{name}.m4
%{_mandir}/man1/%{name}-config.1.gz
%files python
%defattr(-,root,root)
%{python_sitearch}/*
%files -n prelude-tools
# Force default attrs because libprelude force others
%defattr(- , root, root, 755)
%{_bindir}/prelude-adduser
%{_bindir}/prelude-admin
%{_mandir}/man1/prelude-admin.1.gz
%dir %{_sysconfdir}/prelude
%dir %{_sysconfdir}/prelude/default
%dir %{_sysconfdir}/prelude/profile
%config(noreplace) %{_sysconfdir}/prelude/default/client.conf
%config(noreplace) %{_sysconfdir}/prelude/default/global.conf
%config(noreplace) %{_sysconfdir}/prelude/default/idmef-client.conf
%config(noreplace) %{_sysconfdir}/prelude/default/tls.conf
%dir %{_var}/spool/prelude
%files perl
%defattr(0755,root,root)
%attr(0644,root,root) %{perl_vendorarch}/Prelude*.pm
%{perl_vendorarch}/auto/Prelude*/
%files -n python3-prelude
%{python3_sitearch}/_prelude.*so
%{python3_sitearch}/__pycache__/prelude.cpython-%{python3_version_nodots}.*pyc
%{python3_sitearch}/prelude-%{version}-py%{python3_version}.egg-info
%{python3_sitearch}/prelude.py
%files ruby
%defattr(-,root,root)
%{ruby_sitearch}/PreludeEasy.so
%files -n perl-prelude
%{perl_vendorarch}/Prelude.pm
%dir %{perl_vendorarch}/auto/Prelude
# Force attrs because libprelude set it to 555
%attr(755, root, root) %{perl_vendorarch}/auto/Prelude/Prelude.so
%files -n ruby-prelude
%{ruby_vendorarchdir}/Prelude.so
%files -n lua-prelude
%{_libdir}/lua/*/prelude.so
%files doc
%{_docdir}/%{name}-devel
%license COPYING LICENSE.README HACKING.README
%doc AUTHORS ChangeLog README NEWS
%changelog
* Mon Mar 22 2010 Steve Grubb <sgrubb@redhat.com> - 1.0.0-1
* Wed Mar 01 2023 Gwyn Ciesla <gwync@protonmail.com> - 5.2.0-18
- migrated to SPDX license
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Jan 04 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.2.0-16
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.2
* Fri Nov 25 2022 Florian Weimer <fweimer@redhat.com> - 5.2.0-15
- Port configure script to C99 (#2148366)
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 5.2.0-13
- Rebuilt for Python 3.11
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 5.2.0-12
- Perl 5.36 rebuild
* Thu Jan 27 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.2.0-11
- F-36: rebuild against ruby31
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Aug 13 2021 Thomas Andrejak <thomas.andrejak@gmail.com> - 5.2.0-9
- Fix BZ 1973946
* Thu Aug 05 2021 Gwyn Ciesla <gwync@protonmail.com> - 5.2.0-8
- Fix BZ 1908783
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 5.2.0-6
- Rebuilt for Python 3.10
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 5.2.0-5
- Perl 5.34 rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Jan 07 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.2.0-3
- F-34: rebuild against ruby 3.0
* Fri Sep 18 2020 Orion Poplawski <orion@nwra.com> - 5.2.0-2
- Add patch to remove unneeded libraries from libprelude-config --libs (bz#1830473)
* Thu Sep 17 2020 Thomas Andrejak <thomas.andrejak@gmail.com> - 5.2.0-1
- Bump version 5.2.0
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 5.1.1-6
- Perl 5.32 rebuild
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 5.1.1-5
- Rebuilt for Python 3.9
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Jan 19 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 5.1.1-3
- Add a minimum patch to support ruby 2.7
* Sun Nov 10 2019 Thomas Andrejak <thomas.andrejak@gmail.com> - 5.1.1-2
- Add missing patches
* Fri Nov 08 2019 Thomas Andrejak <thomas.andrejak@gmail.com> - 5.1.1-1
- Bump version 5.1.1
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 5.0.0-7
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 5.0.0-6
- Rebuilt for Python 3.8
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Jul 12 2019 Thomas Andrejak <thomas.andrejak@gmail.com> - 5.0.0-4
- Fix FTBFS with awk 5
- Fix FTBFS with Python 3.8 (#1706042)
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 5.0.0-3
- Perl 5.30 rebuild
* Tue May 21 2019 Jitka Plesnikova <jplesnik@redhat.com> - 5.0.0-2
- Fix build with SWIG 4.0.0 (#1707412)
* Tue Feb 26 2019 Thomas Andrejak <thomas.andrejak@gmail.com> - 5.0.0-1
- Bump version 5.0.0, Fixing #1629893
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 21 2019 Vít Ondruch <vondruch@redhat.com> - 4.1.0-9
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.6
* Sun Sep 23 2018 Thomas Andrejak <thomas.andrejak@gmail.com> - 4.1.0-8
- Remove Python2 packages
* Tue Jul 24 2018 Thomas Andrejak <thomas.andrejak@gmail.com> - 4.1.0-7
- Fix FTBFS, #1604644
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jul 03 2018 Petr Pisar <ppisar@redhat.com> - 4.1.0-5
- Perl 5.28 rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 4.1.0-4
- Perl 5.28 rebuild
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 4.1.0-3
- Rebuilt for Python 3.7
* Sun Mar 11 2018 Thomas Andrejak <thomas.andrejak@gmail.com> - 4.1.0-2
- Missing Require in libprelude-devel, see #1508816
* Sat Mar 10 2018 Thomas Andrejak <thomas.andrejak@gmail.com> - 4.1.0-1
- Bump version 4.1.0
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Jan 05 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4.0.0-5
- F-28: rebuild for ruby25
* Wed Dec 06 2017 Rex Dieter <rdieter@fedoraproject.org> - 4.0.0-4
- -devel: drop bogus Provides: libprelude%%{?_isa}-devel
* Mon Oct 9 2017 Thomas Andrejak <thomas.andrejak@gmail.com> - 4.0.0-3
- Fix compatibility with GnuTLS 3.6
* Wed Sep 27 2017 Thomas Andrejak <thomas.andrejak@gmail.com> - 4.0.0-2
- Fix compatibility with gtk-doc-1.26
* Sat Sep 16 2017 Thomas Andrejak <thomas.andrejak@gmail.com> - 4.0.0-1
- Bump version 4.0.0
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.1.0-32
- Perl 5.26 rebuild
* Thu Feb 02 2017 Thomas Andrejak <thomas.andrejak@gmail.com> - 3.1.0-30
- Fix GnuTLS patch
* Sat Jan 14 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.1.0-29
- F-26: again rebuild for ruby24
* Thu Jan 12 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.1.0-28
- F-26: rebuild for ruby24
* Thu Dec 22 2016 Miro Hrončok <mhroncok@redhat.com> - 3.1.0-27
- Rebuild for Python 3.6
* Wed Oct 19 2016 Thomas Andrejak <thomas.andrejak@gmail.com> - 3.1.0-26
- Bump version
* Sun Mar 10 2013 Steve Grubb <sgrubb@redhat.com> - 1:1.0.0-17
- Rebuild with new gnutls
* Thu Sep 06 2012 Steve Grubb <sgrubb@redhat.com> - 1:1.0.0-16
- Add provides bundled gnulib
* Wed Aug 08 2012 Petr Pisar <ppisar@redhat.com> - 1:1.0.0-15
- Fix building with glibc-2.16.6 (bug #839602)
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Jun 07 2012 Petr Pisar <ppisar@redhat.com> - 1:1.0.0-13
- Perl 5.16 rebuild
* Tue Mar 13 2012 Steve Grubb <sgrubb@redhat.com> - 1:1.0.0-12
- Drop support for ruby
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Jul 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.0.0-10
- Perl mass rebuild
* Fri Jun 24 2011 Steve Grubb <sgrubb@redhat.com> - 1:1.0.0-9
- Fix gcc 4.6 C++ bug (#715983)
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.0.0-8
- Perl mass rebuild
* Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.0.0-7
- Perl 5.14 mass rebuild
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1:1.0.0-5
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.0.0-4
- Mass rebuild with perl-5.12.0
* Sun May 02 2010 Steve Grubb <sgrubb@redhat.com> - 1.0.0-3
- Fix requires statements
* Fri Apr 30 2010 Steve Grubb <sgrubb@redhat.com> - 1.0.0-2
- New upstream release
* Sat Jan 30 2010 Steve Grubb <sgrubb@redhat.com> - 1.0.0rc1-1
- New upstream release
* Mon Jan 11 2010 Steve Grubb <sgrubb@redhat.com> - 0.9.25-1
- New upstream release
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.9.24.1-2
- rebuild against perl 5.10.1
* Tue Sep 29 2009 Steve Grubb <sgrubb@redhat.com> - 0.9.24.1-1
- New upstream release
* Sat Aug 8 2009 Manuel "lonely wolf" Wolfshant <wolfy@fedoraproject.org> - 0.9.24-3
- adjust to build in EL-5
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.24-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Jul 09 2009 Steve Grubb <sgrubb@redhat.com> - 0.9.24-1
- New upstream release
* Mon Jun 08 2009 Steve Grubb <sgrubb@redhat.com> - 0.9.23-1
- New upstream release
* Wed Apr 29 2009 Steve Grubb <sgrubb@redhat.com> - 0.9.22-1
- New upstream release
* Fri Apr 03 2009 Steve Grubb <sgrubb@redhat.com> 0.9.21.2-9
- remove check section, doesn't work on anything except x86 anyways
* Fri Mar 13 2009 Karsten Hopp <karsten@redhat.com> 0.9.21.2-8
- don't buildrequire valgrind on s390x, similar to ppc
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.21.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat Jan 24 2009 Steve Grubb <sgrubb@redhat.com> - 0.9.21.2-6
- Rebuild for MySQL 5.1.30
* Fri Dec 05 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.21.2-5
- Rebuild _again_ for Python 2.6
* Thu Dec 4 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 0.9.21.2-4
- Include /usr/include/libpreludecpp directory.
* Tue Dec 02 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.21.2-3
- Disable check target
- Rebuild for Python 2.6
* Mon Oct 13 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.21.2-1
- New upstream bugfix release
* Mon Oct 06 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.21.1-1
- New upstream bugfix release
- resolves: #465228 - prelude-admin is looking for tls.conf in /usr
* Fri Sep 19 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.21-1
- New upstream bugfix release
* Tue Sep 09 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.20.2-1
- New upstream bugfix release
* Fri Sep 05 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.20.1-1
- New upstream bugfix release
- Get rid of rpath and enable test suite except on PPC
* Wed Sep 03 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.20-1
- New upstream release
* Tue Aug 05 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.19-1
- New upstream release with ruby bindings
* Mon Jul 21 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.18.1-1
- New upstream version
* Fri Jul 04 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.17.2-1
- Update to latest upstream and update perl bindings generation (#453932)
* Wed Jun 25 2008 Tomas Mraz <tmraz@redhat.com> - 0.9.17.1-2
- fixed build of perl bindings
* Tue Jun 24 2008 Steve Grubb <sgrubb@redhat.com>
- rebuild for new gnutls
* Fri May 02 2008 Steve Grubb <sgrubb@redhat.com> 0.9.17.1-1
- New upstream version
* Thu Apr 24 2008 Steve Grubb <sgrubb@redhat.com> 0.9.17-1
- New upstream version
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.16.2-2
- Autorebuild for GCC 4.3
* Wed Jan 23 2008 Steve Grubb <sgrubb@redhat.com> 0.9.16.2-1
- New upstream version
* Mon Jan 14 2008 Steve Grubb <sgrubb@redhat.com> 0.9.16.1-1
- moved to new upstream version 0.9.16.1
* Tue Feb 20 2007 Thorsten Scherf <tscherf@redhat.com> 0.9.13-1
- moved to new upstream version 0.9.13-1
* Fri Jan 05 2007 Thorsten Scherf <tscherf@redhat.com> 0.9.12.1-1
- moved to new upstream version 0.9.12.1
* Tue Dec 30 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.12-6
- fixed x86_86 arch problem
* Tue Dec 30 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.12-5
- added ExcludeArch
* Tue Dec 29 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.12-4
- resolved permission problems
- added new docs
* Tue Dec 25 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.12-3
- changed dir owner and preserved timestamps when building the package
- resolved rpath problems
* Fri Dec 22 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.12-2
- moved perl_sidearch into perl_vendorarch
- minor corrections in the spec file
* Fri Dec 22 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.12-1
- upgrade to latest upstream version 0.9.12
- minor corrections in the spec file
* Wed Dec 20 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.11-4
- removing smp-flag to debug perl- and python-problems
- added perl-bindings again
* Wed Dec 20 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.11-3
- disabled perl-bindings
* Mon Nov 20 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.11-2
- Some minor fixes in requirements
* Tue Oct 24 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.11-1
- New Fedora build based on release 0.9.11

View File

@ -1 +1 @@
a5bb76538d240e5fac5f6ab0b7fabfe5 libprelude-1.0.0.tar.gz
SHA512 (libprelude-5.2.0.tar.gz) = e0dc0d7c06a4c250a5a12c5cddd8aa8db33d94f8afd85b1afdb264717d674e0dc0b4dc8a5336860df74ffe408023cc7a5356e3acc3c96876099659e33ce04dd0