Index | Thread | Search

From:
Kirill A. Korinsky <kirill@korins.ky>
Subject:
net/isc-dhcp: fix dhcp-lease-list patch
To:
OpenBSD ports <ports@openbsd.org>
Date:
Sat, 10 May 2025 18:25:32 +0200

Download raw body.

Thread
  • Kirill A. Korinsky:

    net/isc-dhcp: fix dhcp-lease-list patch

ports@,

I had noticed that our patch for dhcp-lease-list is points to wrong lease
file.

We had a discussion with naming, and seems that forgot to update the patch.

Ok?

Index: net/isc-dhcp/Makefile
===================================================================
RCS file: /home/cvs/ports/net/isc-dhcp/Makefile,v
diff -u -p -r1.68 Makefile
--- net/isc-dhcp/Makefile	9 Sep 2024 21:09:43 -0000	1.68
+++ net/isc-dhcp/Makefile	10 May 2025 16:10:39 -0000
@@ -4,7 +4,7 @@ COMMENT-omapi=	ISC DHCP OMAPI
 
 VERSION=	4.4.3-P1
 REVISION=	1
-REVISION-main=	2
+REVISION-main=	3
 
 DISTNAME=	isc-dhcp-${VERSION}
 PKGNAME-main=	isc-dhcp-server-${VERSION:S/-P/pl/}
Index: net/isc-dhcp/patches/patch-contrib_dhcp-lease-list_pl
===================================================================
RCS file: /home/cvs/ports/net/isc-dhcp/patches/patch-contrib_dhcp-lease-list_pl,v
diff -u -p -r1.1 patch-contrib_dhcp-lease-list_pl
--- net/isc-dhcp/patches/patch-contrib_dhcp-lease-list_pl	3 Mar 2024 18:15:42 -0000	1.1
+++ net/isc-dhcp/patches/patch-contrib_dhcp-lease-list_pl	10 May 2025 16:10:04 -0000
@@ -6,7 +6,7 @@ Index: contrib/dhcp-lease-list.pl
  use POSIX qw(strftime);
  
 -my @LEASES = ('/var/db/dhcpd.leases', '/var/lib/dhcp/dhcpd.leases', '/var/lib/dhcp3/dhcpd.leases');
-+my @LEASES = ('/var/db/isc-dhcpd/dhcpd.leases');
++my @LEASES = ('/var/db/isc-dhcp/dhcpd.leases');
  my @all_leases;
  my @leases;
  


-- 
wbr, Kirill