pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

dpbox: update to 6.1.1



Module Name:	pkgsrc-wip
Committed By:	Chris Maness <christopher.maness%gmail.com@localhost>
Pushed By:	kq6up
Date:		Tue Jul 7 12:23:38 2026 -0700
Changeset:	32d0f644c492ce2b65086e3cac2347eeba2ce12e

Modified Files:
	dpbox/Makefile
	dpbox/distinfo
Removed Files:
	dpbox/patches/patch-ba
	dpbox/patches/patch-bj

Log Message:
dpbox: update to 6.1.1

Upstream rolled the version-string change (patch-bj) and the fixes
for the optimization-triggered crash into the v6.1.1 tag, so both
patches are removed. patch-ba (-O0 workaround) is no longer needed:
the crash root cause was undefined behavior in format specifiers,
fixed upstream, and the package now builds at the stock -O2/-O3.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=32d0f644c492ce2b65086e3cac2347eeba2ce12e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 dpbox/Makefile         |  8 ++++----
 dpbox/distinfo         |  8 +++-----
 dpbox/patches/patch-ba | 33 ---------------------------------
 dpbox/patches/patch-bj | 32 --------------------------------
 4 files changed, 7 insertions(+), 74 deletions(-)

diffs:
diff --git a/dpbox/Makefile b/dpbox/Makefile
index c94ec488bf..bd20228e11 100644
--- a/dpbox/Makefile
+++ b/dpbox/Makefile
@@ -1,9 +1,9 @@
 # $NetBSD$
 #
 
-DISTNAME=	dpbox-6.1.0
+DISTNAME=	dpbox-6.1.1
 CATEGORIES=	ham
-MASTER_SITES=	-https://github.com/kq6up/dpbox/archive/refs/tags/v6.1.0.tar.gz
+MASTER_SITES=	-https://github.com/kq6up/dpbox/archive/refs/tags/v6.1.1.tar.gz
 DIST_SUBDIR=	dpbox
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
@@ -11,7 +11,7 @@ HOMEPAGE=	https://github.com/kq6up/dpbox
 COMMENT=	Multi-Protocol Amateur Packet Radio BBS
 LICENSE=	gnu-gpl-v2
 
-WRKSRC=		${WRKDIR}/dpbox-6.1.0/source
+WRKSRC=		${WRKDIR}/dpbox-6.1.1/source
 USE_TOOLS+=	gmake
 MAKE_FILE=	Makefile.netbsd
 
@@ -72,6 +72,6 @@ CONF_FILES=	${EGDIR}/dpbox.ini ${PKG_SYSCONFDIR}/dpbox.ini \
 
 post-build:
 	${SED} -e 's#@prefix@#${PREFIX}#g' \
-	< ${FILESDIR}/dpbox.ini > ${WRKDIR}/dpbox-6.1.0/dpbox.ini
+	< ${FILESDIR}/dpbox.ini > ${WRKDIR}/dpbox-6.1.1/dpbox.ini
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/dpbox/distinfo b/dpbox/distinfo
index 027d52cf22..8834cd0cc2 100644
--- a/dpbox/distinfo
+++ b/dpbox/distinfo
@@ -1,7 +1,5 @@
 $NetBSD$
 
-BLAKE2s (dpbox/dpbox-6.1.0.tar.gz) = fd2aa7818d04ca3eda6d06b27c8a785244bee7d3dceea9343e6a5a611bd64a02
-SHA512 (dpbox/dpbox-6.1.0.tar.gz) = 4019f9b398b4afc52182ebd4098d3b6d3b67ca5955ecf8ce93b0b1c84ae058cfa225c070dceb428c309bddc775374c9add5a76c6b2220b9deb3e9d1936383200
-Size (dpbox/dpbox-6.1.0.tar.gz) = 954105 bytes
-SHA1 (patch-ba) = 19782db36dee8c6ad3f184d16b8bbfe05c75634d
-SHA1 (patch-bj) = 66d47f3f65f90db3f931de24b5572c4927436138
+BLAKE2s (dpbox/dpbox-6.1.1.tar.gz) = 496fbddaf713a6536ca14037299648e9a22b730abd8e388563a2fbb0920d2409
+SHA512 (dpbox/dpbox-6.1.1.tar.gz) = 3dcae72a4ab3649647e60827bd0d3f6aab6aef9b04bda262644fc51b1a40faf88ee6a29a850f7a2299f3bbb5cb02b69369e72fc67bd24fbf2522de53bf735a52
+Size (dpbox/dpbox-6.1.1.tar.gz) = 954098 bytes
diff --git a/dpbox/patches/patch-ba b/dpbox/patches/patch-ba
deleted file mode 100644
index 9202a25f06..0000000000
--- a/dpbox/patches/patch-ba
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD$
-
-Workaround optimization-triggered crash in dpbox on NetBSD.
-
-There is no active upstream maintainer and no upstream bug tracker.
-The original source is available via pkgsrc ham/dpbox.
-
-* source/Makefile.netbsd: Reduce optimization level from -O2/-O3 to
-  -O0 and add -g debug symbols as a workaround for a crash that occurs
-  with optimization enabled on 64-bit NetBSD.  The root cause has not
-  yet been identified; this change allows the package to run correctly
-  while investigation continues.  Remove -s (strip) from LDFLAGS to
-  allow debug symbols to be retained in the binary for diagnosis.
-
-  NOTE: This patch should be removed once the root cause of the
-  optimization crash is identified and fixed.
-
---- Makefile.netbsd.orig	2026-05-26 03:08:33.749067175 +0000
-+++ Makefile.netbsd	2026-05-26 03:08:33.765721049 +0000
-@@ -35,10 +35,10 @@
- DEFS		= $(SYSTEM) $(NOSHELL)
- CC		= gcc
- CPP		= $(CC) -E
--CFLAGS		= -Wall -O2 -funsigned-char -fomit-frame-pointer -fno-strength-reduce
--CRAWLERCFLAGS	= -Wall -O3 -funsigned-char -fomit-frame-pointer -fno-strength-reduce
-+CFLAGS		= -Wall -O0 -g -funsigned-char -fomit-frame-pointer -fno-strength-reduce
-+CRAWLERCFLAGS	= -Wall -O0 -g -funsigned-char -fomit-frame-pointer -fno-strength-reduce
- LD		= $(CC)
--LDFLAGS		= -s
-+LDFLAGS		= 
- LIBS		= -lm
- 
- HDRS		= filesys.h box.h box_file.h box_mem.h box_send.h box_sf.h \
diff --git a/dpbox/patches/patch-bj b/dpbox/patches/patch-bj
deleted file mode 100644
index 3eda43af51..0000000000
--- a/dpbox/patches/patch-bj
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD$
-
-Update version strings to reflect 64-bit modernization fork v6.1.1.
-
-There is no active upstream maintainer and no upstream bug tracker.
-The original source is available via pkgsrc ham/dpbox.
-
-* source/main.c: Update DP_VNR from "6.00" to "6.11" to reflect the
-  new release. Update DP_VNR_SUB from ".00" to " KQ6UP" to identify
-  the maintainer of this fork. Update DP_DATE from "27.04.2000" to
-  "2026" to reflect the year of the 64-bit modernization work.
-
-  This produces:
-  SID:     [DP-6.11-...]
-  VERSION: dpbox (NetBSD) v6.11 KQ6UP
-  Console: DigiPoint Box v6.11 KQ6UP 2026 (NetBSD) successfully started
-
---- main.c.orig	2026-05-29 13:54:02.379471743 +0000
-+++ main.c	2026-05-29 13:54:22.019413618 +0000
-@@ -8,9 +8,9 @@
- 
- /* definition of version-number */
- 
--#define DP_DATE		"27.04.2000"
--#define DP_VNR		"6.00"
--#define DP_VNR_SUB	".00"
-+#define DP_DATE		"2026"
-+#define DP_VNR		"6.11"
-+#define DP_VNR_SUB	" KQ6UP"
- 
- 
- #ifdef __macos__


Home | Main Index | Thread Index | Old Index