rpms/thttpd/devel thttpd.spec,1.4,1.5

Matthias Saou (thias) fedora-extras-commits at redhat.com
Thu Jan 20 10:42:44 UTC 2005


Author: thias

Update of /cvs/extras/rpms/thttpd/devel
In directory cvs.fedora.redhat.com:/tmp/cvs-serv6886

Modified Files:
	thttpd.spec 
Log Message:
Fix for log files > 2GB.



Index: thttpd.spec
===================================================================
RCS file: /cvs/extras/rpms/thttpd/devel/thttpd.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- thttpd.spec	16 Nov 2004 18:49:15 -0000	1.4
+++ thttpd.spec	20 Jan 2005 10:42:42 -0000	1.5
@@ -6,7 +6,7 @@
 Summary: Tiny, turbo, throttleable lightweight http server
 Name: thttpd
 Version: 2.25b
-Release: %{?prever:0.%{prever}.}4
+Release: %{?prever:0.%{prever}.}5
 License: BSD
 Group: System Environment/Daemons
 URL: http://www.acme.com/software/thttpd/
@@ -42,7 +42,8 @@
 %{!?_with_indexes:        %{__perl} -pi -e 's/#define GENERATE_INDEXES/#undef GENERATE_INDEXES/g' config.h}
 %{!?_with_showversion:    %{__perl} -pi -e 's/#define SHOW_SERVER_VERSION/#undef SHOW_SERVER_VERSION/g' config.h}
 %{!?_with_expliciterrors: %{__perl} -pi -e 's/#define EXPLICIT_ERROR_PAGES/#undef EXPLICIT_ERROR_PAGES/g' config.h}
-%{__make} %{?_smp_mflags} WEBDIR=%{webroot}/html CGIBINDIR=%{webroot}/cgi-bin
+%{__make} %{?_smp_mflags} WEBDIR=%{webroot}/html CGIBINDIR=%{webroot}/cgi-bin \
+    CCOPT="%{optflags} -D_FILE_OFFSET_BITS=64"
 
 
 %install
@@ -140,6 +141,9 @@
 
 
 %changelog
+* Thu Jan 20 2005 Matthias Saou <http://freshrpms.net/> 2.25b-5
+- Compile with -D_FILE_OFFSET_BITS=64 to support > 2GB log files.
+
 * Tue Nov 16 2004 Matthias Saou <http://freshrpms.net/> 2.25b-4
 - Bump release to provide Extras upgrade path.
 - Re-brand Fedora where it was freshrpms previously.




More information about the fedora-extras-commits mailing list