Compare commits
No commits in common. "rawhide" and "libprelude-1_0_0-1_fc14" have entirely different histories.
rawhide
...
libprelude
19
.cvsignore
Normal file
19
.cvsignore
Normal file
@ -0,0 +1,19 @@
|
||||
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
1
.gitignore
vendored
@ -1 +0,0 @@
|
||||
/libprelude-5.2.0.tar.gz
|
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# 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)
|
@ -1,13 +0,0 @@
|
||||
--- 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
|
@ -1,28 +0,0 @@
|
||||
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
|
@ -1,17 +0,0 @@
|
||||
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");
|
@ -1,53 +0,0 @@
|
||||
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
|
||||
%}
|
||||
|
@ -1,20 +0,0 @@
|
||||
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.
|
@ -1,13 +0,0 @@
|
||||
--- ./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>
|
@ -1,28 +0,0 @@
|
||||
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 {
|
@ -1,12 +0,0 @@
|
||||
--- ./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);
|
@ -1,120 +0,0 @@
|
||||
--- ./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)
|
@ -1,31 +0,0 @@
|
||||
--- ./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;
|
@ -1,246 +0,0 @@
|
||||
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"
|
@ -1,58 +0,0 @@
|
||||
--- ./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));
|
@ -1,14 +0,0 @@
|
||||
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/ ) {
|
@ -1,11 +0,0 @@
|
||||
--- 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 */
|
@ -1,11 +0,0 @@
|
||||
--- ./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; }
|
@ -1,82 +0,0 @@
|
||||
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;
|
670
libprelude.spec
670
libprelude.spec
@ -1,461 +1,285 @@
|
||||
%global major 28
|
||||
%global cppmajor 12
|
||||
%{!?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"] ')}
|
||||
|
||||
# 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: 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)
|
||||
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)
|
||||
|
||||
%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
|
||||
BuildRequires: gnutls-devel, python-devel, ruby, ruby-devel, lua-devel
|
||||
BuildRequires: swig chrpath
|
||||
|
||||
%description
|
||||
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.
|
||||
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.
|
||||
|
||||
%package 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}
|
||||
Summary: Header files and libraries for libprelude development
|
||||
Group: System Environment/Libraries
|
||||
Requires: libprelude = %{version}-%{release}, automake, gnutls-devel
|
||||
|
||||
%description devel
|
||||
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.
|
||||
Libraries, include files, etc you can use to develop Prelude IDS
|
||||
sensors using the Prelude Library.
|
||||
|
||||
%package -n prelude-tools
|
||||
Summary: Command-line tools for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%package python
|
||||
Summary: Python bindings for libprelude
|
||||
Group: System Environment/Libraries
|
||||
Requires: libprelude = %{version}-%{release}
|
||||
|
||||
%description -n prelude-tools
|
||||
Provides a convenient interface for sending alerts to Prelude
|
||||
Manager.
|
||||
%description python
|
||||
Python bindings for libprelude.
|
||||
|
||||
%package -n python3-prelude
|
||||
Summary: Python 3 bindings for prelude
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%{?python_provide:%python_provide python3-prelude}
|
||||
%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))
|
||||
|
||||
%description -n python3-prelude
|
||||
Provides python 3 bindings for prelude.
|
||||
%description perl
|
||||
Perl bindings for libprelude.
|
||||
|
||||
%package -n perl-prelude
|
||||
Summary: Perl bindings for prelude
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%package ruby
|
||||
Summary: Ruby bindings for libprelude
|
||||
Group: System Environment/Libraries
|
||||
Requires: libprelude = %{version}-%{release}
|
||||
Requires: ruby(abi) = 1.8
|
||||
|
||||
%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.
|
||||
%description ruby
|
||||
Ruby bindings for libprelude.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%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
|
||||
%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}
|
||||
|
||||
%install
|
||||
%make_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
|
||||
|
||||
#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
|
||||
# Fix time stamp for both 32 and 64 bit libraries
|
||||
touch -r ./configure.in %{buildroot}%{_sysconfdir}/prelude/default/*
|
||||
|
||||
find %{buildroot} -name '*.la' -delete
|
||||
find %{buildroot} -name 'perllocal.pod' -delete
|
||||
find %{buildroot} -name '.packlist' -delete
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
patch -d %{buildroot}%{_includedir}/libprelude/ -p0 < %SOURCE1
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
# Enable test again after fixing #1629893
|
||||
#%check
|
||||
#make check
|
||||
|
||||
%ldconfig_scriptlets -n %{name}
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%{_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
|
||||
%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}/*
|
||||
|
||||
%files devel
|
||||
%{_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
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/libprelude-config
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/libprelude.pc
|
||||
%dir %{_includedir}/libprelude/
|
||||
%{_includedir}/libprelude/*
|
||||
%{_datadir}/aclocal/libprelude.m4
|
||||
|
||||
%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 python
|
||||
%defattr(-,root,root)
|
||||
%{python_sitearch}/*
|
||||
|
||||
%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 perl
|
||||
%defattr(0755,root,root)
|
||||
%attr(0644,root,root) %{perl_vendorarch}/Prelude*.pm
|
||||
%{perl_vendorarch}/auto/Prelude*/
|
||||
|
||||
%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
|
||||
%files ruby
|
||||
%defattr(-,root,root)
|
||||
%{ruby_sitearch}/PreludeEasy.so
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
* Mon Mar 22 2010 Steve Grubb <sgrubb@redhat.com> - 1.0.0-1
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user