Mailinglist Archive: opensuse-commit (1426 mails)
| < Previous | Next > |
commit libol
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Mon, 05 Mar 2007 15:48:37 +0100
- Message-id: <20070305144838.20311678183@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package libol
checked in at Mon Mar 5 15:48:37 CET 2007.
--------
--- libol/libol.changes 2006-09-01 12:39:48.000000000 +0200
+++ /mounts/work_src_done/STABLE/libol/libol.changes 2007-03-03 15:10:23.000000000 +0100
@@ -1,0 +2,7 @@
+Sat Mar 3 15:08:06 CET 2007 - mt@xxxxxxx
+
+- Bug #205209: Fixed to use socklen_t instead of size_t, that has
+ caused logging of own instead of the remote hostname on s390/64.
+ New patch file: libol-0.3.18_recv_socklen.dif
+
+-------------------------------------------------------------------
New:
----
libol-0.3.18_recv_socklen.dif
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libol.spec ++++++
--- /var/tmp/diff_new_pack.Y11886/_old 2007-03-05 15:48:32.000000000 +0100
+++ /var/tmp/diff_new_pack.Y11886/_new 2007-03-05 15:48:32.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libol (Version 0.3.18)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -12,8 +12,8 @@
Name: libol
Version: 0.3.18
-Release: 1
-License: GPL
+Release: 25
+License: GNU General Public License (GPL)
Group: System/Libraries
Autoreqprov: on
Summary: Support Library for syslog-ng
@@ -21,6 +21,7 @@
Source0: http://www.balabit.com/downloads/libol/0.3/%{name}-%{version}.tar.gz
Source1: http://www.balabit.com/downloads/libol/0.3/%{name}-%{version}.tar.gz.asc
Patch0: %{name}-%{version}.dif
+Patch1: %{name}-%{version}_recv_socklen.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -53,6 +54,7 @@
%prep
%setup
%patch0 -p0
+%patch1 -p0
%{?suse_update_config:%{suse_update_config -f}}
%build
@@ -92,7 +94,11 @@
%_libdir/libol.la
%_libdir/libol.so
-%changelog -n libol
+%changelog
+* Sat Mar 03 2007 - mt@xxxxxxx
+- Bug #205209: Fixed to use socklen_t instead of size_t, that has
+ caused logging of own instead of the remote hostname on s390/64.
+ New patch file: libol-0.3.18_recv_socklen.dif
* Fri Sep 01 2006 - mt@xxxxxxx
- updated to version 0.3.18 as required by syslog-ng-1.6.11
* Wed Jan 25 2006 - mls@xxxxxxx
++++++ libol-0.3.18_recv_socklen.dif ++++++
--- src/abstract_io.h
+++ src/abstract_io.h 2007/03/03 13:32:54
@@ -48,7 +48,7 @@
(name abstract_read)
(vars
(read indirect-method int "UINT32 length" "UINT8 *buffer")
- (recv indirect-method int "UINT32 length" "UINT8 *buffer" "abstract_addr *addr" "size_t *addrsize")))
+ (recv indirect-method int "UINT32 length" "UINT8 *buffer" "abstract_addr *addr" "socklen_t *addrsize")))
*/
#define A_READ(f, length, buffer) (f)->read(&(f), (length), (buffer))
--- src/abstract_io.h.x
+++ src/abstract_io.h.x 2007/03/03 13:40:51
@@ -1,9 +1,10 @@
+#include <sys/socket.h>
#ifndef CLASS_DEFINE
struct abstract_read
{
struct ol_object super;
int (*(read))(struct abstract_read **self, UINT32 length, UINT8 *buffer);
- int (*(recv))(struct abstract_read **self, UINT32 length, UINT8 *buffer, abstract_addr *addr, size_t *addrsize);
+ int (*(recv))(struct abstract_read **self, UINT32 length, UINT8 *buffer, abstract_addr *addr, socklen_t *addrsize);
};
extern struct ol_class abstract_read_class;
#endif /* !CLASS_DEFINE */
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |