packages (ELINKS_0_11): elinks/elinks-bug517.patch, elinks/elinks.spec - up...

qboosh qboosh at pld-linux.org
Wed Jun 16 22:38:04 CEST 2010


Author: qboosh                       Date: Wed Jun 16 20:38:04 2010 GMT
Module: packages                      Tag: ELINKS_0_11
---- Log message:
- updated to 0.11.7
- updated bug517 patch

---- Files affected:
packages/elinks:
   elinks-bug517.patch (1.1 -> 1.1.2.1) , elinks.spec (1.157 -> 1.157.2.1) 

---- Diffs:

================================================================
Index: packages/elinks/elinks-bug517.patch
diff -u packages/elinks/elinks-bug517.patch:1.1 packages/elinks/elinks-bug517.patch:1.1.2.1
--- packages/elinks/elinks-bug517.patch:1.1	Wed May 16 18:25:12 2007
+++ packages/elinks/elinks-bug517.patch	Wed Jun 16 22:37:59 2010
@@ -138,11 +138,9 @@
  }
  
  static unsigned char *bzip2_extensions[] = { ".bz2", ".tbz", NULL };
-diff --git a/src/protocol/http/http.c b/src/protocol/http/http.c
-index 87d468d..6f7469f 100644
---- a/src/protocol/http/http.c
-+++ b/src/protocol/http/http.c
-@@ -720,20 +720,13 @@ http_send_header(struct socket *socket)
+--- elinks-0.11.7/src/protocol/http/http.c.orig	2009-08-22 13:15:08.000000000 +0200
++++ elinks-0.11.7/src/protocol/http/http.c	2010-06-16 09:21:27.899440584 +0200
+@@ -745,20 +745,13 @@
  #if defined(CONFIG_GZIP) || defined(CONFIG_BZIP2)
  	add_to_string(&header, "Accept-Encoding: ");
  
@@ -163,14 +161,14 @@
  	add_to_string(&header, "gzip");
  #endif
  	add_crlf_to_string(&header);
-@@ -1810,13 +1803,11 @@ #ifdef CONFIG_GZIP
- 		    && (!strcasecmp(d, "gzip") || !strcasecmp(d, "x-gzip")))
+@@ -1838,13 +1831,11 @@
+ 		    && (!c_strcasecmp(d, "gzip") || !c_strcasecmp(d, "x-gzip")))
  		    	conn->content_encoding = ENCODING_GZIP;
  #endif
 -#ifdef BUG_517
  #ifdef CONFIG_BZIP2
  		if (file_encoding != ENCODING_BZIP2
- 		    && (!strcasecmp(d, "bzip2") || !strcasecmp(d, "x-bzip2")))
+ 		    && (!c_strcasecmp(d, "bzip2") || !c_strcasecmp(d, "x-bzip2")))
  			conn->content_encoding = ENCODING_BZIP2;
  #endif
 -#endif

================================================================
Index: packages/elinks/elinks.spec
diff -u packages/elinks/elinks.spec:1.157 packages/elinks/elinks.spec:1.157.2.1
--- packages/elinks/elinks.spec:1.157	Fri Jun 27 11:44:51 2008
+++ packages/elinks/elinks.spec	Wed Jun 16 22:37:59 2010
@@ -29,13 +29,13 @@
 Summary(pl.UTF-8):	Eksperymentalny Links (tekstowa przeglądarka WWW)
 Summary(pt_BR.UTF-8):	O links é um browser para modo texto, similar ao lynx
 Name:		elinks
-Version:	0.11.4
-Release:	2
+Version:	0.11.7
+Release:	1
 Epoch:		1
-License:	GPL
+License:	GPL v2
 Group:		Applications/Networking
 Source0:	http://www.elinks.cz/download/%{name}-%{version}.tar.bz2
-# Source0-md5:	88036a518ebc4f1150a7e14b29f9d8db
+# Source0-md5:	fcd087a6d2415cd4c6fd1db53dceb646
 Source1:	%{name}.desktop
 Source2:	links.png
 Patch0:		%{name}-home_etc.patch
@@ -45,7 +45,7 @@
 Patch4:		%{name}-chunked.patch
 Patch5:		%{name}-mailcap_DISPLAY.patch
 URL:		http://www.elinks.cz/
-BuildRequires:	autoconf
+BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake
 BuildRequires:	bzip2-devel
 BuildRequires:	expat-devel
@@ -62,6 +62,7 @@
 %{?with_perl:BuildRequires:	perl-devel}
 %{?with_python:BuildRequires:	python-devel}
 %{?with_ruby:BuildRequires:	ruby-devel}
+BuildRequires:	which
 BuildRequires:	zlib-devel
 Suggests:	mailcap
 Provides:	webclient
@@ -158,15 +159,18 @@
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS BUGS ChangeLog NEWS README SITES TODO
-%doc contrib/{keybind*,wipe-out-ssl*,lua/elinks-remote}
-%doc contrib/conv/{*awk,*.pl,*.sh}
-%doc doc/html/*.html
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man*/*
-%{_desktopdir}/*.desktop
-%{_pixmapsdir}/*
-%{?with_lua:%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}}
+%doc AUTHORS BUGS ChangeLog NEWS README SITES TODO doc/html/*.html
+%doc contrib/{keybind*,wipe-out-ssl*,lua/elinks-remote} contrib/conv/{*awk,*.pl,*.sh}
+%attr(755,root,root) %{_bindir}/elinks
+%{_mandir}/man1/elinks.1*
+%{_mandir}/man5/elinks.conf.5*
+%{_mandir}/man5/elinkskeys.5*
+%{_desktopdir}/elinks.desktop
+%{_pixmapsdir}/elinks.png
+%if %{with lua}
+%dir %{_sysconfdir}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.lua
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -174,6 +178,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.157.2.1  2010/06/16 20:37:59  qboosh
+- updated to 0.11.7
+- updated bug517 patch
+
 Revision 1.157  2008/06/27 09:44:51  arekm
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/elinks/elinks-bug517.patch?r1=1.1&r2=1.1.2.1&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/elinks/elinks.spec?r1=1.157&r2=1.157.2.1&f=u



More information about the pld-cvs-commit mailing list