Hello community,

here is the log from the commit of package libircclient for openSUSE:Factory 
checked in at 2012-02-21 12:20:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libircclient (Old)
 and      /work/SRC/openSUSE:Factory/.libircclient.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libircclient", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/libircclient/libircclient.changes        
2012-01-09 21:43:22.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libircclient.new/libircclient.changes   
2012-02-21 12:20:35.000000000 +0100
@@ -1,0 +2,18 @@
+Wed Feb 15 12:02:21 UTC 2012 - [email protected]
+
+- Ran spec-cleaner
+- Provide more detail about version update in last changelog entry
+
+-------------------------------------------------------------------
+Sun Feb 12 19:03:31 UTC 2012 - [email protected]
+
+- Update to version 1.6:
+  * Fixed PRIVMSG events incorrectly reported as CHANNEL (thx Dennis Bretjes)
+  * Added -fpic option for the shared library; fixed make install
+  * WIN32 macro replaced by _WIN32 (Lothar May)
+  * Fixed IPv6 and IPv4 connections being used simultaneously (Lothar May)
+  * Fixed DCC file transfer with IPv6 build (Lothar May)
+- Seperate doc package
+- Make file corrections
+
+-------------------------------------------------------------------

Old:
----
  libircclient-1.3.tar.gz
  libircclient-automake.diff

New:
----
  libircclient-1.6.tar.bz2
  libircclient-make.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libircclient.spec ++++++
--- /var/tmp/diff_new_pack.WviX47/_old  2012-02-21 12:20:37.000000000 +0100
+++ /var/tmp/diff_new_pack.WviX47/_new  2012-02-21 12:20:37.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libircclient
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,41 +16,50 @@
 #
 
 
-
 Name:           libircclient
-%define libname libircclient-1_3-0
-Version:        1.3
+%define soname 1
+Version:        1.6
 Release:        0
 Summary:        Library implementing client-server IRC protocol
-Group:          System/Libraries
 License:        LGPL-2.0+
+Group:          System/Libraries
 Url:            http://libircclient.sourceforge.net/
-Source0:        
http://downloads.sourceforge.net/project/libircclient/libircclient/%{version}/libircclient-%{version}.tar.gz
-Patch1:         libircclient-automake.diff
-Patch2:         libircclient-memory-overflow.diff
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  automake, libtool, gcc, gcc-c++
-%if 0%{?suse_version}
+Source0:        libircclient-%{version}.tar.bz2
+Patch1:         libircclient-memory-overflow.diff
+Patch2:         libircclient-make.diff
+BuildRequires:  automake
+%if 0%{?suse_version} > 1010
 BuildRequires:  fdupes
 %endif
+BuildRequires:  gcc
+BuildRequires:  gcc-c++
+BuildRequires:  libopenssl-devel
+BuildRequires:  libtool
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 It is designed to be small, fast, portable and compatible to RFC standards and 
most IRC clients.
 
-%package -n %{libname}
-Group:          Development/Libraries/C and C++
-#
+%package -n %{name}%{soname}
 Summary:        Library implementing client-server IRC protocol
+Group:          Development/Libraries/C and C++
 
-%description -n %{libname}
+%description -n %{name}%{soname}
 It is designed to be small, fast, portable and compatible to RFC standards and 
most IRC clients.
 
-%package devel
+%package -n %{name}-devel
 Summary:        Header files and libraries for compiling against libircclient
 Group:          Development/Libraries/C and C++
-Requires:       %{libname} = %version-%release
+Requires:       %{name}%{soname} = %{version}
 
-%description devel
+%description -n %{name}-devel
+It is designed to be small, fast, portable and compatible to RFC standards and 
most IRC clients.
+
+%package -n %{name}-doc
+Summary:        Documentation for libircclient
+Group:          Development/Libraries/C and C++
+
+%description -n %{name}-doc
 It is designed to be small, fast, portable and compatible to RFC standards and 
most IRC clients.
 
 %prep
@@ -59,37 +68,38 @@
 %patch2 -p1
 
 %build
-autoreconf -fi
-export CFLAGS="%optflags -fno-strict-aliasing"
+#autoreconf -fi
+export CFLAGS="%{optflags} -fno-strict-aliasing"
 export CPPFLAGS="$CFLAGS"
-%configure --enable-ipv6 --disable-static
+%configure --enable-ipv6 --enable-openssl --enable-shared
 make %{?_smp_mflags}
 
 %install
-b="%buildroot";
-make install DESTDIR="$b"
-rm -f "$b/%_libdir"/*.la
-
-mkdir -p "$b/%_mandir/man3";
-install -pm0644 doc/man/man3/*.3 "$b/%_mandir/man3/";
-%if 0%{?suse_version}
-%fdupes -s $RPM_BUILD_ROOT
+%makeinstall
+rm -f "%{buildroot}/%{_libdir}"/*.la
+mkdir -p "%{buildroot}/%{_mandir}/man3";
+install -pm0644 doc/man/man3/*.3 "%{buildroot}/%{_mandir}/man3/";
+%if 0%{?suse_version} > 1010
+%fdupes -s %{buildroot}
 %endif
 
-%post -n %{libname} -p /sbin/ldconfig
+%post -n %{name}%{soname} -p /sbin/ldconfig
 
-%postun -n %{libname} -p /sbin/ldconfig
+%postun -n %{name}%{soname} -p /sbin/ldconfig
 
-%files -n %{libname}
+%files -n %{name}%{soname}
 %defattr(-,root,root)
 %doc Changelog LICENSE README THANKS 
-%{_libdir}/libircclient-%version.so.*
+%{_libdir}/libircclient.so.%{soname}
 
-%files devel
+%files -n %{name}-devel
 %defattr(-,root,root)
-%doc doc/html examples/*.cpp examples/*.c
 %{_includedir}/*
 %{_libdir}/libircclient.so
 %{_mandir}/man3/*
 
+%files -n %{name}-doc
+%defattr(-,root,root)
+%doc doc/html examples/*.cpp examples/*.c
+
 %changelog

++++++ libircclient-1.3.tar.gz -> libircclient-1.6.tar.bz2 ++++++
++++ 21749 lines of diff (skipped)

++++++ libircclient-make.diff ++++++
diff -Naur libircclient-1.6.orig/src/Makefile.in 
libircclient-1.6/src/Makefile.in
--- libircclient-1.6.orig/src/Makefile.in       2012-01-22 23:13:17.000000000 
+0100
+++ libircclient-1.6/src/Makefile.in    2012-02-12 19:48:16.000000000 +0100
@@ -5,6 +5,7 @@
 RANLIB=@RANLIB@
 INCLUDES=-I../include
 DESTDIR=
+APIVERSION = 1
 
 OBJS = libircclient.o
 
@@ -14,19 +15,19 @@
 shared: libircclient.so
 shared_mingw: libircclient.dll
 
-install: lib
+install:
        -mkdir -p $(DESTDIR)@prefix@/include
-       -mkdir -p $(DESTDIR)@prefix@/lib
+       -mkdir -p $(DESTDIR)@libdir@
        cp ../include/libircclient.h $(DESTDIR)@prefix@/include/libircclient.h
        cp ../include/libirc_errors.h $(DESTDIR)@prefix@/include/libirc_errors.h
        cp ../include/libirc_events.h  
$(DESTDIR)@prefix@/include/libirc_events.h 
        cp ../include/libirc_options.h  
$(DESTDIR)@prefix@/include/libirc_options.h 
        cp ../include/libirc_rfcnumeric.h  
$(DESTDIR)@prefix@/include/libirc_rfcnumeric.h 
-       cp libircclient.so $(DESTDIR)@prefix@/lib/
-       cp libircclient.a $(DESTDIR)@prefix@/lib/
+       cp libircclient.so $(DESTDIR)@libdir@/libircclient.so.$(APIVERSION)
+       ln -fs libircclient.so.$(APIVERSION) $(DESTDIR)@libdir@/libircclient.so
 
 libircclient.so: libircclient.o
-       $(CC) -shared -s -o libircclient.so libircclient.o @LIBS@
+       $(CC) -shared -s -Wl,-soname,libircclient.so.$(APIVERSION) -o 
libircclient.so libircclient.o @LIBS@
 
 libircclient.dll: libircclient.o
        $(CC) -shared -s -o libircclient.dll -Wl,-out-implib,libircclient.lib 
libircclient.o libircclient.def -lkernel32 -lwsock32 @LIBS@
++++++ libircclient-memory-overflow.diff ++++++
--- /var/tmp/diff_new_pack.WviX47/_old  2012-02-21 12:20:38.000000000 +0100
+++ /var/tmp/diff_new_pack.WviX47/_new  2012-02-21 12:20:38.000000000 +0100
@@ -1,24 +1,12 @@
-
-Inlined from 'libirc_new_dcc_session' at dcc.c:532:10:
-/usr/include/bits/string3.h:52:3: warning: call to __builtin___memcpy_chk will 
always overflow destination buffer [enabled by default]
-
-With -DENABLE_IPV6, local_addr is 16 bytes, but sin_addr is just 4.
-You can't copy 16.
-
----
- src/dcc.c |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: libircclient-1.3/src/dcc.c
-===================================================================
---- libircclient-1.3.orig/src/dcc.c
-+++ libircclient-1.3/src/dcc.c
-@@ -529,7 +529,7 @@ static int libirc_new_dcc_session (irc_s
+diff -Naur libircclient-1.6.orig/src/dcc.c libircclient-1.6/src/dcc.c
+--- libircclient-1.6.orig/src/dcc.c    2012-01-22 23:39:35.000000000 +0100
++++ libircclient-1.6/src/dcc.c 2012-02-08 22:03:34.000000000 +0100
+@@ -552,7 +552,7 @@
+                       struct sockaddr_in saddr;
+                       memset (&saddr, 0, sizeof(saddr));
+                       saddr.sin_family = AF_INET;
+-                      memcpy (&saddr.sin_addr, &session->local_addr, 
sizeof(session->local_addr));
++                      memcpy (&saddr.sin_addr, &session->local_addr, 
sizeof(saddr.sin_addr));
+                       saddr.sin_port = htons (0);
  
-               memset (&saddr, 0, sizeof(saddr));
-               saddr.sin_family = AF_INET;
--              memcpy (&saddr.sin_addr, &session->local_addr, 
sizeof(session->local_addr));
-+              memcpy (&saddr.sin_addr, &session->local_addr, 
sizeof(saddr.sin_addr));
-         saddr.sin_port = htons (0);
- 
-               if ( bind (dcc->sock, (struct sockaddr *) &saddr, 
sizeof(saddr)) < 0 )
+                       if ( bind (dcc->sock, (struct sockaddr *) &saddr, 
sizeof(saddr)) < 0 )

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to