[packages/polipo] Up to 1.1.1 (unmaintained anyway)

arekm arekm at pld-linux.org
Fri Nov 27 21:53:07 CET 2026


commit a6eb866107d3778d0620a28e14432d588d67392a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Nov 27 15:40:53 2026 +0100

    Up to 1.1.1 (unmaintained anyway)
    
    Fixes CVE-2020-36420 and CVE-2021-38614

 polipo-Makefile.patch | 20 ++++++++++----------
 polipo.spec           | 11 +++++------
 2 files changed, 15 insertions(+), 16 deletions(-)
---
diff --git a/polipo.spec b/polipo.spec
index bd66f6e..fecb9da 100644
--- a/polipo.spec
+++ b/polipo.spec
@@ -1,17 +1,16 @@
 Summary:	Polipo - a caching web proxy
 Summary(pl.UTF-8):	Polipo - mały serwer cache-proxy
 Name:		polipo
-Version:	1.0.4
-Release:	4
+Version:	1.1.1
+Release:	1
 License:	MIT
 Group:		Networking/Daemons
-Source0:	http://www.pps.jussieu.fr/~jch/software/files/polipo/%{name}-%{version}.tar.gz
-# Source0-md5:	defdce7f8002ca68705b6c2c36c4d096
+Source0:	https://www.irif.fr/~jch/software/files/polipo/%{name}-%{version}.tar.gz
+# Source0-md5:	86939e331e656f638271f578b6e3f893
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
 Patch0:		%{name}-Makefile.patch
-URL:		http://www.pps.jussieu.fr/~jch/software/polipo/
-BuildRequires:	autoconf
+URL:		https://www.irif.fr/~jch/software/polipo/
 BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	texinfo
 Requires(post,preun):	/sbin/chkconfig
diff --git a/polipo-Makefile.patch b/polipo-Makefile.patch
index 187e1a6..f57cb76 100644
--- a/polipo-Makefile.patch
+++ b/polipo-Makefile.patch
@@ -1,5 +1,5 @@
---- Makefile	2008-01-19 19:32:59.239742634 +0100
-+++ polipo-1.0.4/Makefile	2008-01-19 19:57:15.435951943 +0100
+--- a/Makefile	2026-11-27 15:40:35.396666666 +0100
++++ b/Makefile	2026-11-27 15:40:35.440492859 +0100
 @@ -1,7 +1,7 @@
  PREFIX = /usr/local
  BINDIR = $(PREFIX)/bin
@@ -10,16 +10,16 @@
  LOCAL_ROOT = /usr/share/polipo/www
  DISK_CACHE_ROOT = /var/cache/polipo
  
-@@ -13,7 +13,7 @@
+@@ -12,7 +12,7 @@
+ # To compile with GCC:
  
  # CC = gcc
- # CDEBUGFLAGS = -Os -g -Wall -std=gnu99
--CDEBUGFLAGS = -Os -g -Wall
-+# CDEBUGFLAGS = -Os -g -Wall
- # CDEBUGFLAGS = -Os -Wall
- # CDEBUGFLAGS = -g -Wall
+-CDEBUGFLAGS = -Os -g -Wall -fno-strict-aliasing
++CDEBUGFLAGS = -fno-strict-aliasing
  
-@@ -63,7 +63,7 @@
+ # To compile on a pure POSIX system:
+ 
+@@ -60,7 +60,7 @@
  
  DEFINES = $(FILE_DEFINES) $(PLATFORM_DEFINES)
  
@@ -28,7 +28,7 @@
  
  SRCS = util.c event.c io.c chunk.c atom.c object.c log.c diskcache.c main.c \
         config.c local.c http.c client.c server.c auth.c tunnel.c \
-@@ -102,7 +102,7 @@
+@@ -99,7 +99,7 @@
  	mkdir -p $(TARGET)$(INFODIR)
  	cp -f polipo.man $(TARGET)$(MANDIR)/man1/polipo.1
  	cp polipo.info $(TARGET)$(INFODIR)/
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/polipo.git/commitdiff/a6eb866107d3778d0620a28e14432d588d67392a



More information about the pld-cvs-commit mailing list