Hello community,
here is the log from the commit of package htdig for openSUSE:Factory
checked in at Mon Mar 9 00:19:13 CET 2009.
--------
--- htdig/htdig.changes 2008-01-09 09:11:23.000000000 +0100
+++ /mounts/work_src_done/STABLE/htdig/htdig.changes 2009-03-06 09:07:00.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Feb 26 15:44:09 CET 2009 - mseben@suse.cz
+
+- added gmtime-lastday.patch - use INT32_MAX to define last day
+ (bnc##231196), related to (bnc#343913)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
htstats-3.2-zerowordssegfault.patch
New:
----
htdig-gmtime-lastday.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ htdig.spec ++++++
--- /var/tmp/diff_new_pack.q25868/_old 2009-03-09 00:19:04.000000000 +0100
+++ /var/tmp/diff_new_pack.q25868/_new 2009-03-09 00:19:04.000000000 +0100
@@ -1,15 +1,23 @@
#
# spec file for package htdig (Version 3.2.0b6)
#
-# Copyright (c) 2008 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.
+# Copyright (c) 2009 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
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
+
Name: htdig
BuildRequires: apache2-devel gcc-c++ libapr-util1-devel libopenssl-devel pcre-devel postfix zlib-devel
%define apache_serverroot %(/usr/sbin/apxs2 -q datadir 2>/dev/null || /usr/sbin/apxs2 -q PREFIX)
@@ -18,7 +26,7 @@
Group: Productivity/Networking/Web/Utilities
AutoReqProv: on
Version: 3.2.0b6
-Release: 133
+Release: 217
Summary: WWW Index and Search System
Source: http://switch.dl.sourceforge.net/sourceforge/htdig/htdig-%{version}.tar.bz2
Source1: %{name}-README.SuSE
@@ -31,8 +39,9 @@
Patch9: %{name}-cross-site-CAN-2005-0085.patch
Patch10: %{name}-3.2.0b6-strictaliasing.diff
Patch11: htsearch-gcc41.patch
-Patch13: htstats-3.2-zerowordssegfault.patch
Patch14: %{name}-quoting.patch
+# PATCH-FIX-UPSTREAM gmtime-lastday.patch use INT32_MAX to define last day (bnc##231196), related to (bnc#343913)
+Patch15: %{name}-gmtime-lastday.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -56,6 +65,7 @@
Lachlan Andrew
%package devel
+License: GPL v2 or later
Summary: Development files for htdig
Group: Productivity/Networking/Web/Utilities
Requires: %{name} = %{version}
@@ -80,6 +90,7 @@
Lachlan Andrew
%package doc
+License: GPL v2 or later
Summary: WWW Index and Search System Documentation
Group: Productivity/Networking/Web/Utilities
Requires: %{name} = %{version}
@@ -116,6 +127,7 @@
%patch10 -p1
%patch11
%patch14 -p1
+%patch15
%build
%{?suse_update_config:%{suse_update_config -f db/dist}}
@@ -172,6 +184,10 @@
%defattr(-,root,root)
%doc %_defaultdocdir/%{name}/contrib
%doc %_defaultdocdir/%{name}/htdoc
+#disable execute permission
+%attr(644, root, root) %_defaultdocdir/%{name}/htdoc/cf_generate.pl
+#delete Makefile waste from doc
+%exclude %_defaultdocdir/%{name}/htdoc/Makefile*
%files
%defattr(-,root,root)
@@ -193,13 +209,16 @@
%_bindir/*
%changelog
-* Wed Jan 09 2008 - mskibbe@suse.de
+* Thu Feb 26 2009 mseben@suse.cz
+- added gmtime-lastday.patch - use INT32_MAX to define last day
+ (bnc##231196), related to (bnc#343913)
+* Wed Jan 09 2008 mskibbe@suse.de
- Bug 343913 - Package htdig-3.2.0b6-109: htsearch segfaults
-* Mon Nov 12 2007 - mskibbe@suse.de
+* Mon Nov 12 2007 mskibbe@suse.de
- Bug 304239 - VUL-0: XSS in htsearch / htdig
-* Tue Jul 31 2007 - mskibbe@suse.de
+* Tue Jul 31 2007 mskibbe@suse.de
- fix bug: htstat throwing SIGSEGV (#284282)
-* Fri May 11 2007 - lrupp@suse.de
+* Fri May 11 2007 lrupp@suse.de
- split htdig into -doc and -devel packages
- specfile cleanup
- build parallel
@@ -215,80 +234,80 @@
+ htdig-SSLConnection.patch (see
http://sourceforge.net/mailarchive/forum.php?thread_id=5425639&forum_id=2688
for details)
-* Fri Mar 30 2007 - ro@suse.de
+* Fri Mar 30 2007 ro@suse.de
- added zlib-devel to buildreq
-* Fri Jan 12 2007 - mskibbe@suse.de
+* Fri Jan 12 2007 mskibbe@suse.de
- htdig-3.2.0b6-45: left shift count >= width of type (#231196)
-* Wed Jan 25 2006 - mls@suse.de
+* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
-* Thu Oct 13 2005 - hvogel@suse.de
+* Thu Oct 13 2005 hvogel@suse.de
- removed some extra qualifications. Added
* htsearch-gcc41.patch
-* Tue Sep 27 2005 - mmj@suse.de
+* Tue Sep 27 2005 mmj@suse.de
- Fix strict aliasing issues
- Use %%patch to apply patches
-* Thu Jan 27 2005 - ke@suse.de
+* Thu Jan 27 2005 ke@suse.de
- Fix a cross site scripting flaw as found by Michael Krax; apply the
patch proposed by Phil Knirsch; CAN-2005-0085 [# 50238].
-* Thu Nov 11 2004 - ro@suse.de
+* Thu Nov 11 2004 ro@suse.de
- fixed filelist
-* Fri Aug 27 2004 - ke@suse.de
+* Fri Aug 27 2004 ke@suse.de
- Improve htdig-README.SuSE.
- Drop obsolete notification message [# 44355].
-* Tue Jul 06 2004 - ke@suse.de
+* Tue Jul 06 2004 ke@suse.de
- Major update to version 3.2.0b6; most Suse supplied patches look
obsolete.
-* Tue Apr 27 2004 - ro@suse.de
+* Tue Apr 27 2004 ro@suse.de
- build using apache2
-* Thu Mar 25 2004 - mmj@suse.de
+* Thu Mar 25 2004 mmj@suse.de
- Add postfix to # neededforbuild
-* Fri Mar 05 2004 - ke@suse.de
+* Fri Mar 05 2004 ke@suse.de
- Do not call 'sed -i' on directories.
-* Sat Feb 28 2004 - ro@suse.de
+* Sat Feb 28 2004 ro@suse.de
- fix requires to /usr/local/bin/perl
-* Tue Jan 13 2004 - ke@suse.de
+* Tue Jan 13 2004 ke@suse.de
- Use /usr/sbin/apxs to make it built for non root users (thanks for
hint to Peter Poeml).
-* Sat Jan 10 2004 - adrian@suse.de
+* Sat Jan 10 2004 adrian@suse.de
- add %%defattr
-* Thu Jul 17 2003 - pthomas@suse.de
+* Thu Jul 17 2003 pthomas@suse.de
- Add patch to enable passing file::/ URLs.
- Adapt configure.in of htdig and included libdb to autoconf 2.5X.
- Compile with full warnings enabled.
- Fix nearly all compiler warnings.
-* Wed Jun 11 2003 - kukuk@suse.de
+* Wed Jun 11 2003 kukuk@suse.de
- Add missing directories to filelist
-* Wed Jun 11 2003 - ke@suse.de
+* Wed Jun 11 2003 ke@suse.de
- For updating the config file use %%post instead of %%pre.
-* Tue Jun 10 2003 - ke@suse.de
+* Tue Jun 10 2003 ke@suse.de
- Move config file to /etc/htdig/htdig.conf; reported by Michal Svec
[# 27080].
- Save old config file as /etc/htdig/htdig.conf.rpmorig.
-* Wed May 28 2003 - ke@suse.de
+* Wed May 28 2003 ke@suse.de
- Fix memory problem with htnotify [# 26913]; reported by Daniele
Frijia. Apply patch provided by Martin Kraemer;
http://sourceforge.net/tracker/index.php?func=detail&aid=593091&group_id=4593&atid=304593
-* Tue Apr 29 2003 - freitag@suse.de
+* Tue Apr 29 2003 freitag@suse.de
- fixed a 64-bit problem with htsearch, see Bug #26358,
results in diff htsearch_64.patch
-* Wed Apr 16 2003 - coolo@suse.de
+* Wed Apr 16 2003 coolo@suse.de
- use BuildRoot
-* Tue Feb 11 2003 - freitag@suse.de
+* Tue Feb 11 2003 freitag@suse.de
- fixed location of the images of htdig in the conf file. They are
now relative to the document root (Bug #15500)
-* Wed Nov 06 2002 - freitag@suse.de
+* Wed Nov 06 2002 freitag@suse.de
- fixed broken patches
-* Tue Nov 05 2002 - freitag@suse.de
+* Tue Nov 05 2002 freitag@suse.de
- fixed the README file ( Bug #20062)
-* Tue Sep 17 2002 - ro@suse.de
+* Tue Sep 17 2002 ro@suse.de
- removed bogus self-provides
-* Mon Sep 09 2002 - uli@suse.de
+* Mon Sep 09 2002 uli@suse.de
- increased DB_FILE_ID_LEN in DB2 to 24 to fit 64 bit __ino_t type
on x86-64, ia64, s390x and ppc64
- enabled x86 spinlock implementation on x86-64
-* Fri Aug 02 2002 - ro@suse.de
+* Thu Aug 01 2002 ro@suse.de
- adapt server-root
-* Wed Jun 19 2002 - freitag@suse.de
+* Wed Jun 19 2002 freitag@suse.de
- update to version 3.1.6, which
* fixes some security wholes that were fixed by patches formerly
* fixes many small bugs
@@ -296,67 +315,67 @@
* adds a bunch of new keywords
The SuSE package now installs to other pathes, please read README.SuSE
for further information.
-* Tue Feb 19 2002 - freitag@suse.de
+* Tue Feb 19 2002 freitag@suse.de
- signed config files as %%conf in the spec file and fixed the
filelist (Bug #12326)
-* Wed Jan 23 2002 - schwab@suse.de
+* Wed Jan 23 2002 schwab@suse.de
- Fix for gcc3.
-* Thu Aug 16 2001 - utuerk@suse.de
+* Thu Aug 16 2001 utuerk@suse.de
- dropped 'out-of-date' notify [#6139]
- dropped unneeded dochost templates, left the originals [#9715]
-* Tue May 08 2001 - mfabian@suse.de
+* Tue May 08 2001 mfabian@suse.de
- bzip2 sources
-* Fri Feb 23 2001 - ro@suse.de
+* Fri Feb 23 2001 ro@suse.de
- changed neededforbuild <apache> to <apache apache-devel>
-* Wed Jan 31 2001 - freitag@suse.de
+* Wed Jan 31 2001 freitag@suse.de
- fixed a typo in html-files
-* Sun Jan 14 2001 - kukuk@suse.de
+* Sun Jan 14 2001 kukuk@suse.de
- Add group tag
-* Fri Sep 08 2000 - schwab@suse.de
+* Fri Sep 08 2000 schwab@suse.de
- Add ia64 support in db.
-* Thu Apr 13 2000 - ro@suse.de
+* Thu Apr 13 2000 ro@suse.de
- added mm to neededforbuild
-* Wed Mar 08 2000 - freitag@suse.de
+* Wed Mar 08 2000 freitag@suse.de
- fixing wrong links to images on localhost
-* Wed Mar 08 2000 - freitag@suse.de
+* Wed Mar 08 2000 freitag@suse.de
- fixing again some links, clearifying change losses
-* Mon Mar 06 2000 - freitag@suse.de
+* Mon Mar 06 2000 freitag@suse.de
- removed entries from /usr/local/httpsd
-* Sat Mar 04 2000 - freitag@suse.de
+* Sat Mar 04 2000 freitag@suse.de
- fixed layout on search pages
-* Tue Feb 29 2000 - freitag@suse.de
+* Tue Feb 29 2000 freitag@suse.de
- update to version 3.1.5 - Security fixes.
-* Mon Feb 21 2000 - freitag@suse.de
+* Mon Feb 21 2000 freitag@suse.de
- patches for using with kdevellop added
-* Thu Feb 10 2000 - freitag@suse.de
+* Thu Feb 10 2000 freitag@suse.de
- new version 3.1.4
-* Mon Sep 13 1999 - bs@suse.de
+* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
-* Mon Jul 12 1999 - ray@suse.de
+* Mon Jul 12 1999 ray@suse.de
- update to 3.1.2
-* Wed Mar 17 1999 - ro@suse.de
+* Wed Mar 17 1999 ro@suse.de
- diff cleanup
-* Thu Jan 28 1999 - ray@suse.de
+* Thu Jan 28 1999 ray@suse.de
- fix S.u.S.E -> SuSE ;)
-* Sat Jan 16 1999 - ray@suse.de
+* Sat Jan 16 1999 ray@suse.de
- fix /usr/local/bin/perl require
-* Mon Dec 07 1998 - ray@suse.de
+* Mon Dec 07 1998 ray@suse.de
- update docu
-* Thu Nov 05 1998 - ray@suse.de
+* Thu Nov 05 1998 ray@suse.de
- update to 3.1.0b2
-* Mon Sep 14 1998 - ro@suse.de
+* Mon Sep 14 1998 ro@suse.de
- update to 3.1.0b1
- cleanup: use original source and extra tar for suse-gif
-* Tue Jun 16 1998 - bs@suse.de
+* Tue Jun 16 1998 bs@suse.de
- fixed neededforbuild in spec file
-* Wed May 13 1998 - ray@suse.de
+* Wed May 13 1998 ray@suse.de
- fix for startpage (search.html)
-* Mon Apr 20 1998 - ro@suse.de
+* Mon Apr 20 1998 ro@suse.de
- fixed dependency for /usr/local/bin/perl
-* Mon Mar 23 1998 - ray@suse.de
+* Mon Mar 23 1998 ray@suse.de
- insert whole htdoc and contrib
-* Wed Mar 11 1998 - ray@suse.de
+* Wed Mar 11 1998 ray@suse.de
- fix (send mail to root)
-* Tue Mar 03 1998 - ray@suse.de
+* Tue Mar 03 1998 ray@suse.de
- new packages
- htdig Version 3.0.8b2
++++++ htdig-gmtime-lastday.patch ++++++
--- htsearch/Display.cc
+++ htsearch/Display.cc
@@ -1256,7 +1256,7 @@
startdate = *lt;
enddate = *lt;
- time_t eternity = ~(1<<(sizeof(time_t)*8-1)); // will be the largest value holdable by a time_t
+ time_t eternity = 0x7fffffff; // use INT32_MAX to define last day
tm endoftime; // the time_t eternity will be converted into a tm, held by this variable
time_t timet_startdate;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org