Browse Source

ulogd2: Updated (2.0.2 -> 2.0.3)

stable/0.6
Christian Wiese 11 years ago
parent
commit
256c3a53d9
  1. 18
      network/ulogd2/0001-replace-syslog_dummy.patch
  2. 16
      network/ulogd2/ulogd2.conf
  3. 4
      network/ulogd2/ulogd2.desc

18
network/ulogd2/0001-replace-syslog_dummy.patch

@ -22,18 +22,18 @@ the application.
This means that when using musl it has to be use as a pointer like it was
intended to be used.
--- ./src/ulogd.c.orig 2013-08-29 11:45:45.175597529 +0200
+++ ./src/ulogd.c 2013-08-29 11:53:51.722856392 +0200
@@ -78,7 +78,7 @@
static FILE *logfile = NULL; /* logfile pointer */
static char *ulogd_logfile = NULL;
--- a/src/ulogd.c 2013-11-18 23:34:03.060775245 +0100
+++ b/src/ulogd.c 2013-12-15 14:04:09.354676690 +0100
@@ -83,7 +83,7 @@
static const char *ulogd_configfile = ULOGD_CONFIGFILE;
static const char *ulogd_pidfile = NULL;
static int ulogd_pidfile_fd = -1;
-static FILE syslog_dummy;
+static int use_syslog;
static int info_mode = 0;
@@ -420,7 +420,7 @@
@@ -427,7 +427,7 @@
if (level < loglevel_ce.u.value)
return;
@ -42,7 +42,7 @@ intended to be used.
/* FIXME: this omits the 'file' string */
va_start(ap, format);
vsyslog(ulogd2syslog_level(level), format, ap);
@@ -937,11 +937,12 @@
@@ -946,11 +946,12 @@
ulogd_logfile = strdup(name);
}
@ -56,7 +56,7 @@ intended to be used.
} else {
logfile = fopen(ulogd_logfile, "a");
if (!logfile) {
@@ -1070,7 +1071,7 @@
@@ -1240,7 +1241,7 @@
unload_plugins();
#endif
@ -65,7 +65,7 @@ intended to be used.
fclose(logfile);
logfile = NULL;
}
@@ -1090,7 +1091,7 @@
@@ -1262,7 +1263,7 @@
switch (signal) {
case SIGHUP:
/* reopen logfile */

16
network/ulogd2/ulogd2.conf

@ -0,0 +1,16 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../ulogd2/ulogd2.conf
# Copyright (C) 2013 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# regenerate autotools infrastructure to not depend on a particular version
hook_add preconf 5 'autoreconf -vfi'

4
network/ulogd2/ulogd2.desc

@ -29,7 +29,7 @@
[L] GPL
[S] Beta
[V] 2.0.2
[V] 2.0.3
[P] X -?---5---9 190.500
[D] 994540535 ulogd-2.0.2.tar.bz2 http://netfilter.org/projects/ulogd/files/
[D] 716666384 ulogd-2.0.3.tar.bz2 http://netfilter.org/projects/ulogd/files/

Loading…
Cancel
Save