rpms/libmicrohttpd/F-10 libmicrohttpd_fix_0_4_0_testcase.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 libmicrohttpd.spec, 1.1, 1.2 sources, 1.2, 1.3

Erik van Pienbroek epienbro at fedoraproject.org
Sat Feb 14 11:09:27 UTC 2009


Author: epienbro

Update of /cvs/pkgs/rpms/libmicrohttpd/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7154

Modified Files:
	.cvsignore libmicrohttpd.spec sources 
Added Files:
	libmicrohttpd_fix_0_4_0_testcase.patch 
Log Message:
- Update to version 0.4.0
- This version introduces a API bump (which is required for
  supporting large files on 32bit environments)
- The license issues we had with version 0.3.1 of this package (as
  discussed in #457924) are resolved in this version. The license
  of this package is now changed to LGPLv2+
- Added a patch to fix two testcases on 64bit environments (upstream bug #1454)


libmicrohttpd_fix_0_4_0_testcase.patch:

--- NEW FILE libmicrohttpd_fix_0_4_0_testcase.patch ---
--- src/testcurl/daemontest_long_header.c.orig	2009-02-14 11:48:18.025431339 +0100
+++ src/testcurl/daemontest_long_header.c	2009-02-14 11:48:37.442183967 +0100
@@ -107,7 +107,7 @@
                         &ahc_echo,
                         "GET",
                         MHD_OPTION_CONNECTION_MEMORY_LIMIT,
-                        VERY_LONG / 2, MHD_OPTION_END);
+                        (size_t) VERY_LONG / 2, MHD_OPTION_END);
   if (d == NULL)
     return 1;
   c = curl_easy_init ();


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libmicrohttpd/F-10/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	3 Oct 2008 19:14:01 -0000	1.2
+++ .cvsignore	14 Feb 2009 11:08:55 -0000	1.3
@@ -1 +1 @@
-libmicrohttpd-0.3.1.tar.gz
+libmicrohttpd-0.4.0.tar.gz


Index: libmicrohttpd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libmicrohttpd/F-10/libmicrohttpd.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libmicrohttpd.spec	3 Oct 2008 19:14:01 -0000	1.1
+++ libmicrohttpd.spec	14 Feb 2009 11:08:55 -0000	1.2
@@ -1,24 +1,16 @@
 Summary: Lightweight library for embedding a webserver in applications
 Name: libmicrohttpd
-Version: 0.3.1
-Release: 3%{?dist}
+Version: 0.4.0
+Release: 1%{?dist}
 Group: Development/Libraries
-Source0: ftp://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
-
-# This project was originally GPLv2+, but was changed later to LGPLv2+
-# http://crisp.cs.du.edu/pipermail/libmicrohttpd/2007/000001.html
-#
-# However, the 0.3.1 release contains pieces of code from opencdk (GPLv2+)
-# and openpgp (GPLv3+) which are linked in the library.
-# Thus, the resulting license should be GPLv3+
-#
-# Upstream has removed from GPL code from the SVN repository, but
-# no new release has been made yet, so for now the license is GPLv3+
-# and in the next release it will be changed to LGPLv2+
-License: GPLv3+
-
+License: LGPLv2+
 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 URL: http://www.gnu.org/software/libmicrohttpd/
+Source0: ftp://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
+
+# In version 0.4.0, two of the testcases fail on 64bit environments
+# Upstream bug #1454
+Patch0: libmicrohttpd_fix_0_4_0_testcase.patch
 
 BuildRequires:	libcurl-devel
 BuildRequires:	graphviz
@@ -59,6 +51,7 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 # The doxygen file contains references to /home/grothoff/svn/libmicrohttpd/... replace these with .
 sed s/\\/home\\/grothoff\\/svn\\/libmicrohttpd/./ doc/Doxyfile > tmp
@@ -104,8 +97,8 @@
 %files
 %defattr(-,root,root,-)
 %doc COPYING
-%{_libdir}/libmicrohttpd.so.4
-%{_libdir}/libmicrohttpd.so.4.0.3
+%{_libdir}/libmicrohttpd.so.5
+%{_libdir}/libmicrohttpd.so.5.0.0
 
 %files devel
 %defattr(-,root,root,-)
@@ -121,6 +114,15 @@
 %doc html
 
 %changelog
+* Sat Feb 14 2009 Erik van Pienbroek <info at nntpgrab.nl> - 0.4.0-1
+- Update to version 0.4.0
+- This version introduces a API bump (which is required for
+  supporting large files on 32bit environments)
+- The license issues we had with version 0.3.1 of this package (as
+  discussed in #457924) are resolved in this version. The license
+  of this package is now changed to LGPLv2+
+- Added a patch to fix two testcases on 64bit environments (upstream bug #1454)
+
 * Sat Sep 6 2008 Erik van Pienbroek <info at nntpgrab.nl> - 0.3.1-3
 - Changed license to GPLv3+ and added some comments
   regarding the license issues with this package


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libmicrohttpd/F-10/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	3 Oct 2008 19:14:01 -0000	1.2
+++ sources	14 Feb 2009 11:08:55 -0000	1.3
@@ -1 +1 @@
-ae335b1f6f51488f2db3f216f71c852c  libmicrohttpd-0.3.1.tar.gz
+2e53f7b9c11474857756a72ccc29a91b  libmicrohttpd-0.4.0.tar.gz




More information about the scm-commits mailing list