From 22672cd52ac7f4fd5c0e82b09304cdba8a2bf3d1 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Sat, 30 Nov 2024 12:19:36 +0000 Subject: As shipped to users --- debian/changelog | 4 ++-- debian/lintian-overrides | 7 ------- debian/patches/dynamic-links | 44 +++++++++++++++++++++++++++++++++++++++++ debian/patches/series | 1 + debian/source/lintian-overrides | 3 --- 5 files changed, 47 insertions(+), 12 deletions(-) create mode 100644 debian/patches/dynamic-links (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 9d7cb6e..c2f7600 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,9 @@ -linbpq (6.0.24.51.2+repack+really.50-1~hibbian+1) UNRELEASED; urgency=medium +linbpq (6.0.24.51.3+repack+really50-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium * Build .50 under new build system * Emergency update to avoid buffer overflows - -- Dave Hibberd Sat, 30 Nov 2024 11:21:25 +0000 + -- Dave Hibberd Sat, 30 Nov 2024 11:46:27 +0000 linbpq (6.0.24.50-1~hibbian+1) bookworm-hibbian-unstable; urgency=medium diff --git a/debian/lintian-overrides b/debian/lintian-overrides index 1e12a54..468a093 100644 --- a/debian/lintian-overrides +++ b/debian/lintian-overrides @@ -1,18 +1,11 @@ # weirdness from oarc packaging linbpq: dir-or-file-in-opt [opt/oarc/] linbpq: dir-or-file-in-opt [opt/oarc/bpq/] -# these are ok, just held within the program -linbpq: embedded-library libminiupnpc [usr/sbin/linbpq] -linbpq: embedded-library libpng [usr/sbin/linbpq] # i know! linbpq: no-manual-page [usr/sbin/linbpq] -# Build fails -linbpq: hardening-no-bindnow [usr/sbin/linbpq] # Directory is populated on first run linbpq: package-contains-empty-directory [opt/oarc/bpq/] # Code convenience linbpq: spelling-error-in-binary Dont Don't [usr/sbin/linbpq] linbpq: spelling-error-in-binary Paramters Parameters [usr/sbin/linbpq] -linbpq: spelling-error-in-binary WiH With [usr/sbin/linbpq] -linbpq: spelling-error-in-binary lable label [usr/sbin/linbpq] linbpq: spelling-error-in-binary lon long [usr/sbin/linbpq] diff --git a/debian/patches/dynamic-links b/debian/patches/dynamic-links new file mode 100644 index 0000000..d097a47 --- /dev/null +++ b/debian/patches/dynamic-links @@ -0,0 +1,44 @@ +--- a/LinBPQ.c ++++ b/LinBPQ.c +@@ -717,7 +717,7 @@ + + } + +-#include "getopt.h" ++#include + + static struct option long_options[] = + { +--- a/DRATS.c ++++ b/DRATS.c +@@ -563,7 +563,7 @@ + #define ZEXPORT __stdcall + #endif + +-#include "zlib.h" ++#include + + + int doinflate(unsigned char * source, unsigned char * dest, int Len, int destlen, int * outLen) +--- a/HTTPcode.c ++++ b/HTTPcode.c +@@ -38,7 +38,7 @@ + #define ZEXPORT __stdcall + #endif + +-#include "zlib.h" ++#include + + #define CKernel + #include "httpconnectioninfo.h" +--- a/IPCode.c ++++ b/IPCode.c +@@ -97,8 +97,6 @@ + + #include "pcap.h" + +-int pcap_sendpacket(pcap_t *p, u_char *buf, int size); +- + #ifndef LINBPQ + #include "kernelresource.h" + LRESULT CALLBACK ResWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); diff --git a/debian/patches/series b/debian/patches/series index 90fc185..67af30c 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ headers.patch ftbfs-gcc14.patch spelling-errors.patch makefile +dynamic-links diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides index a39267e..e69de29 100644 --- a/debian/source/lintian-overrides +++ b/debian/source/lintian-overrides @@ -1,3 +0,0 @@ -# i don't care that much on this -linbpq source: source-contains-prebuilt-windows-binary [PG/Loop.exe] -linbpq source: source-contains-prebuilt-windows-binary [PG/PGTest.exe] -- cgit v1.2.3