[packages/pound/pound-4] - updated to 4.16

qboosh qboosh at pld-linux.org
Sun May 18 21:46:18 CEST 2025


commit 97f7ec68eb547be420fd5608e67aea06329c1a1d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun May 18 21:40:55 2025 +0200

    - updated to 4.16

 pound-hash-UL.patch | 20 --------------------
 pound-info.patch    | 16 ++++++++++++++++
 pound.spec          | 10 +++++++---
 3 files changed, 23 insertions(+), 23 deletions(-)
---
diff --git a/pound.spec b/pound.spec
index d7306f4..4b83745 100644
--- a/pound.spec
+++ b/pound.spec
@@ -9,24 +9,25 @@
 Summary:	Pound - reverse-proxy and load-balancer
 Summary(pl.UTF-8):	Pound - odwrotne proxy i load-balancer
 Name:		pound
-Version:	4.6
+Version:	4.16
 Release:	1
 License:	GPL v3
 Group:		Networking/Daemons
 #Source0Download: https://github.com/graygnuorg/pound/releases
 Source0:	https://github.com/graygnuorg/pound/releases/download/v%{version}/pound-%{version}.tar.gz
-# Source0-md5:	4f77be83122a3e45cfd2487e4b4947ba
+# Source0-md5:	b1b5a11e5480b611c5561125cab3600f
 Source1:	%{name}.cfg
 Source2:	%{name}.init
 Source3:	%{name}.sysconfig
 Source5:	%{name}.tmpfiles
 Patch0:		%{name}-man.patch
-Patch1:		%{name}-hash-UL.patch
+Patch1:		%{name}-info.patch
 URL:		https://github.com/graygnuorg/pound
 %{?with_tcmalloc:BuildRequires:	libtcmalloc-devel}
 BuildRequires:	openssl-devel >= 1.1
 BuildRequires:	pcre-devel >= 7.8
 BuildRequires:	rpmbuild(macros) >= 1.644
+BuildRequires:	texinfo
 Requires(post,preun):	/sbin/chkconfig
 Requires(postun):	/usr/sbin/groupdel
 Requires(postun):	/usr/sbin/userdel
@@ -98,6 +99,7 @@ rm -rf $RPM_BUILD_ROOT
 %useradd -u 200 -d /var/lib/%{name} -g %{name} -c "Pound Daemon" %{name}
 
 %post
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c /usr/share/info > /dev/null 2>&1
 /sbin/chkconfig --add %{name}
 %service %{name} restart "Pound Daemon"
 
@@ -108,6 +110,7 @@ if [ "$1" = "0" ]; then
 fi
 
 %postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c /usr/share/info > /dev/null 2>&1
 if [ "$1" = "0" ]; then
 	%userremove %{name}
 	%groupremove %{name}
@@ -123,6 +126,7 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pound.cfg
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
+%{_infodir}/pound.info*
 %{_mandir}/man5/poundctl.tmpl.5*
 %{_mandir}/man8/pound.8*
 %{_mandir}/man8/poundctl.8*
diff --git a/pound-hash-UL.patch b/pound-hash-UL.patch
deleted file mode 100644
index 7e48b25..0000000
--- a/pound-hash-UL.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- pound-4.6/src/svc.c.orig	2023-03-06 19:44:39.000000000 +0100
-+++ pound-4.6/src/svc.c	2023-04-08 17:28:27.899930763 +0200
-@@ -31,7 +31,7 @@ session_hash (const SESSION *e)
-   char *k;
- 
-   k = e->key;
--  res = 2166136261;
-+  res = 2166136261UL;
-   while (*k)
-     res = ((res ^ *k++) * 16777619) & 0xFFFFFFFF;
-   return res;
-@@ -526,7 +526,7 @@ hash_backend (BACKEND_HEAD *head, int ab
-   BACKEND *res, *tb;
-   int pri;
- 
--  hv = 2166136261;
-+  hv = 2166136261UL;
-   while (*key)
-     hv = ((hv ^ *key++) * 16777619) & 0xFFFFFFFF;
-   pri = hv % abs_pri;
diff --git a/pound-info.patch b/pound-info.patch
new file mode 100644
index 0000000..70f6006
--- /dev/null
+++ b/pound-info.patch
@@ -0,0 +1,16 @@
+--- pound-4.16/doc/pound.texi.orig	2025-01-02 13:46:53.000000000 +0100
++++ pound-4.16/doc/pound.texi	2025-05-18 21:31:59.280221077 +0200
+@@ -35,10 +35,10 @@
+ @end macro
+ 
+ @ifinfo
+- at dircategory Network applications
++ at dircategory Net utilities:
+ @direntry
+-* pound: (pound).        Light-weight proxy server.
+-* poundctl: (pound).     Pound proxy server runtime control.
++* pound: (pound).			Light-weight proxy server
++* poundctl: (pound).			Pound proxy server runtime control
+ @end direntry
+ @end ifinfo
+ @c %**end of header
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pound.git/commitdiff/97f7ec68eb547be420fd5608e67aea06329c1a1d



More information about the pld-cvs-commit mailing list