pkgsrc-WIP-changes archive

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

Add dpbox 64-bit and bug fixes



Module Name:	pkgsrc-wip
Committed By:	Chris Maness <christopher.maness%gmail.com@localhost>
Pushed By:	kq6up
Date:		Thu Jun 4 00:58:55 2026 +0000
Changeset:	cb106bb00003d1d6be011e6fa4ac10aec524d306

Added Files:
	dpbox/DESCR
	dpbox/Makefile
	dpbox/Makefile.patch
	dpbox/Makefile.rej
	dpbox/Oops.rej
	dpbox/PLIST
	dpbox/distinfo
	dpbox/files/dpbox.ini
	dpbox/patches/patch-ba
	dpbox/patches/patch-bj

Log Message:
Add dpbox 64-bit and bug fixes

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

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

diffstat:
 dpbox/DESCR            |   3 ++
 dpbox/Makefile         |  77 ++++++++++++++++++++++++++++++++
 dpbox/Makefile.patch   |  53 ++++++++++++++++++++++
 dpbox/Makefile.rej     |  33 ++++++++++++++
 dpbox/Oops.rej         |   9 ++++
 dpbox/PLIST            | 116 +++++++++++++++++++++++++++++++++++++++++++++++++
 dpbox/distinfo         |   7 +++
 dpbox/files/dpbox.ini  |  80 ++++++++++++++++++++++++++++++++++
 dpbox/patches/patch-ba |  33 ++++++++++++++
 dpbox/patches/patch-bj |  32 ++++++++++++++
 10 files changed, 443 insertions(+)

diffs:
diff --git a/dpbox/DESCR b/dpbox/DESCR
new file mode 100644
index 0000000000..0da38f5ca0
--- /dev/null
+++ b/dpbox/DESCR
@@ -0,0 +1,3 @@
+DPBOX is a multi protocol and multi user packet radio BBS. It can
+handle up to 200 simultaneous users and has the capacity of storing
+a maximum of 32767*32767 messages.
diff --git a/dpbox/Makefile b/dpbox/Makefile
new file mode 100644
index 0000000000..c94ec488bf
--- /dev/null
+++ b/dpbox/Makefile
@@ -0,0 +1,77 @@
+# $NetBSD$
+#
+
+DISTNAME=	dpbox-6.1.0
+CATEGORIES=	ham
+MASTER_SITES=	-https://github.com/kq6up/dpbox/archive/refs/tags/v6.1.0.tar.gz
+DIST_SUBDIR=	dpbox
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/kq6up/dpbox
+COMMENT=	Multi-Protocol Amateur Packet Radio BBS
+LICENSE=	gnu-gpl-v2
+
+WRKSRC=		${WRKDIR}/dpbox-6.1.0/source
+USE_TOOLS+=	gmake
+MAKE_FILE=	Makefile.netbsd
+
+MAKE_ENV+=	prefix=${PREFIX:Q}
+INSTALL_MAKE_FLAGS+=	prefix=${DESTDIR}${PREFIX}
+
+.include "../../mk/bsd.prefs.mk"
+
+PKG_SYSCONFDIR.dpbox=	${PREFIX}/share/dpbox/conf
+
+DPBOX_CONF_DIR=		${PKG_SYSCONFDIR}
+DPBOX_SPOOL_DIR=	/var/spool/dpbox
+FILES_SUBST+=	DPBOX_CONF_DIR=${DPBOX_CONF_DIR:Q} \
+		DPBOX_SPOOL_DIR=${DPBOX_SPOOL_DIR:Q}
+EGDIR=		${PREFIX}/share/examples/${PKGBASE}/conf
+
+REQD_DIRS=	${PKG_SYSCONFDIR} \
+		${PKG_SYSCONFDIR}/sf \
+		${PKG_SYSCONFDIR}/system \
+		${DPBOX_SPOOL_DIR}/crawler \
+		${DPBOX_SPOOL_DIR}/fileserv \
+		${DPBOX_SPOOL_DIR}/fileserv/incoming \
+		${DPBOX_SPOOL_DIR}/fileserv/temp7pl \
+		${DPBOX_SPOOL_DIR}/fileserv/newbin \
+		${DPBOX_SPOOL_DIR}/indexes \
+		${DPBOX_SPOOL_DIR}/infofiles \
+		${DPBOX_SPOOL_DIR}/import \
+		${DPBOX_SPOOL_DIR}/newmail \
+		${DPBOX_SPOOL_DIR}/privserv \
+		${DPBOX_SPOOL_DIR}/privserv/temp7pl \
+		${DPBOX_SPOOL_DIR}/proto \
+		${DPBOX_SPOOL_DIR}/save \
+		${DPBOX_SPOOL_DIR}/server \
+		${DPBOX_SPOOL_DIR}/stat \
+		${DPBOX_SPOOL_DIR}/stat/extusers
+
+CONF_FILES=	${EGDIR}/dpbox.ini ${PKG_SYSCONFDIR}/dpbox.ini \
+		${EGDIR}/crawler/stopwords ${DPBOX_SPOOL_DIR}/crawler/stopwords \
+		${EGDIR}/sf/db0xyz.sf ${PKG_SYSCONFDIR}/sf/db0xyz.sf \
+		${EGDIR}/system/badwords.box ${PKG_SYSCONFDIR}/system/badwords.box \
+		${EGDIR}/system/bcast.box ${PKG_SYSCONFDIR}/system/bcast.box \
+		${EGDIR}/system/beacon.box ${PKG_SYSCONFDIR}/system/beacon.box \
+		${EGDIR}/system/commands.box ${PKG_SYSCONFDIR}/system/commands.box \
+		${EGDIR}/system/config.box ${PKG_SYSCONFDIR}/system/config.box \
+		${EGDIR}/system/convlt.box ${PKG_SYSCONFDIR}/system/convlt.box \
+		${EGDIR}/system/convtit.box ${PKG_SYSCONFDIR}/system/convtit.box \
+		${EGDIR}/system/cookies.doc ${PKG_SYSCONFDIR}/system/cookies.doc \
+		${EGDIR}/system/digimap.stn ${PKG_SYSCONFDIR}/system/digimap.stn \
+		${EGDIR}/system/prefix.inf ${PKG_SYSCONFDIR}/system/prefix.inf \
+		${EGDIR}/system/prefix.sub ${PKG_SYSCONFDIR}/system/prefix.sub \
+		${EGDIR}/system/prvcalls.box ${PKG_SYSCONFDIR}/system/prvcalls.box \
+		${EGDIR}/system/reject.box ${PKG_SYSCONFDIR}/system/reject.box \
+		${EGDIR}/system/rubriken.box ${PKG_SYSCONFDIR}/system/rubriken.box \
+		${EGDIR}/system/tcpip.box ${PKG_SYSCONFDIR}/system/tcpip.box \
+		${EGDIR}/system/transfer.box ${PKG_SYSCONFDIR}/system/transfer.box \
+		${EGDIR}/system/unproto.box ${PKG_SYSCONFDIR}/system/unproto.box \
+		${EGDIR}/system/whotalks.lan ${PKG_SYSCONFDIR}/system/whotalks.box
+
+post-build:
+	${SED} -e 's#@prefix@#${PREFIX}#g' \
+	< ${FILESDIR}/dpbox.ini > ${WRKDIR}/dpbox-6.1.0/dpbox.ini
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/dpbox/Makefile.patch b/dpbox/Makefile.patch
new file mode 100644
index 0000000000..56ac59b12a
--- /dev/null
+++ b/dpbox/Makefile.patch
@@ -0,0 +1,53 @@
+--- Makefile.orig	2023-07-10 07:55:51.000000000 +0000
++++ Makefile	2026-05-28 15:20:18.076356480 +0000
+@@ -1,22 +1,21 @@
+-# $NetBSD: Makefile,v 1.20 2023/07/10 07:55:51 nia Exp $
++# $NetBSD$
+ #
+ 
+-DISTNAME=	dpbox-60000
+-PKGNAME=	dpbox-6.00.00
+-PKGREVISION=	3
++DISTNAME=	dpbox-6.1.0
+ CATEGORIES=	ham
+-MASTER_SITES=	http://home.snafu.de/wahlm/dl8hbs/
++MASTER_SITES=	-https://github.com/kq6up/dpbox/archive/refs/tags/v6.1.0.tar.gz
++DIST_SUBDIR=	dpbox
+ 
+ MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+-HOMEPAGE=	http://home.snafu.de/wahlm/dl8hbs/dpbox.html
++HOMEPAGE=	https://github.com/kq6up/dpbox
+ COMMENT=	Multi-Protocol Amateur Packet Radio BBS
+ LICENSE=	gnu-gpl-v2
+ 
+-WRKSRC=		${WRKDIR}/dpbox-6.00.00/source
++WRKSRC=		${WRKDIR}/dpbox-6.1.0/source
+ USE_TOOLS+=	gmake
+ MAKE_FILE=	Makefile.netbsd
+ 
+-MAKE_ENV+=		prefix=${PREFIX:Q}
++MAKE_ENV+=	prefix=${PREFIX:Q}
+ INSTALL_MAKE_FLAGS+=	prefix=${DESTDIR}${PREFIX}
+ 
+ .include "../../mk/bsd.prefs.mk"
+@@ -25,9 +24,9 @@
+ 
+ DPBOX_CONF_DIR=		${PKG_SYSCONFDIR}
+ DPBOX_SPOOL_DIR=	/var/spool/dpbox
+-FILES_SUBST+=		DPBOX_CONF_DIR=${DPBOX_CONF_DIR:Q} \
+-			DPBOX_SPOOL_DIR=${DPBOX_SPOOL_DIR:Q}
+-EGDIR=			${PREFIX}/share/examples/${PKGBASE}/conf
++FILES_SUBST+=	DPBOX_CONF_DIR=${DPBOX_CONF_DIR:Q} \
++		DPBOX_SPOOL_DIR=${DPBOX_SPOOL_DIR:Q}
++EGDIR=		${PREFIX}/share/examples/${PKGBASE}/conf
+ 
+ REQD_DIRS=	${PKG_SYSCONFDIR} \
+ 		${PKG_SYSCONFDIR}/sf \
+@@ -73,6 +72,6 @@
+ 
+ post-build:
+ 	${SED} -e 's#@prefix@#${PREFIX}#g' \
+-		< ${FILESDIR}/dpbox.ini > ${WRKDIR}/dpbox-6.00.00/dpbox.ini
++	< ${FILESDIR}/dpbox.ini > ${WRKDIR}/dpbox-6.1.0/dpbox.ini
+ 
+ .include "../../mk/bsd.pkg.mk"
diff --git a/dpbox/Makefile.rej b/dpbox/Makefile.rej
new file mode 100644
index 0000000000..4586666f97
--- /dev/null
+++ b/dpbox/Makefile.rej
@@ -0,0 +1,33 @@
+@@ -1,18 +1,17 @@
+-# $NetBSD: Makefile,v 1.20 2023/07/10 07:55:51 nia Exp $
++# $NetBSD$
+ #
+ 
+-DISTNAME= dpbox-60000
+-PKGNAME= dpbox-6.00.00
+-PKGREVISION= 3
++DISTNAME= dpbox-6.1.0
+ CATEGORIES= ham
+-MASTER_SITES= http://home.snafu.de/wahlm/dl8hbs/
++MASTER_SITES= -https://github.com/kq6up/dpbox/archive/refs/tags/v6.1.0.tar.gz
++DIST_SUBDIR= dpbox
+ 
+ MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+-HOMEPAGE= http://home.snafu.de/wahlm/dl8hbs/dpbox.html
++HOMEPAGE= https://github.com/kq6up/dpbox
+ COMMENT= Multi-Protocol Amateur Packet Radio BBS
+ LICENSE= gnu-gpl-v2
+ 
+-WRKSRC= ${WRKDIR}/dpbox-6.00.00/source
++WRKSRC= ${WRKDIR}/dpbox-6.1.0/source
+ USE_TOOLS+= gmake
+ MAKE_FILE= Makefile.netbsd
+ 
+@@ -73,6 +72,6 @@
+ 
+ post-build:
+ 	${SED} -e 's#@prefix@#${PREFIX}#g' \
+-	< ${FILESDIR}/dpbox.ini > ${WRKDIR}/dpbox-6.00.00/dpbox.ini
++	< ${FILESDIR}/dpbox.ini > ${WRKDIR}/dpbox-6.1.0/dpbox.ini
+ 
+ .include "../../mk/bsd.pkg.mk"
diff --git a/dpbox/Oops.rej b/dpbox/Oops.rej
new file mode 100644
index 0000000000..5cfd547654
--- /dev/null
+++ b/dpbox/Oops.rej
@@ -0,0 +1,9 @@
+@@ -11,7 +10,7 @@
+ 
+-WRKSRC=		${WRKDIR}/dpbox-6.00.00/source
++WRKSRC=		${WRKDIR}/dpbox-6.1.0/source
+ USE_TOOLS+=	gmake
+ ...
+ 
+ post-build:
+ 	${SED} -e 's#@prefix@#${PREFIX}#g' \
diff --git a/dpbox/PLIST b/dpbox/PLIST
new file mode 100644
index 0000000000..1e423e432a
--- /dev/null
+++ b/dpbox/PLIST
@@ -0,0 +1,116 @@
+@comment $NetBSD: PLIST,v 1.5 2018/01/01 22:29:38 rillig Exp $
+bin/dpcodeconv
+bin/dpgate
+bin/dphttp
+bin/dpmybbs
+bin/dpputlinks
+libexec/cgi-bin/dpbbs
+libexec/cgi-bin/dpbottom.html
+libexec/cgi-bin/dpcheck
+libexec/cgi-bin/dpcmd
+libexec/cgi-bin/dpdir
+libexec/cgi-bin/dpftr
+libexec/cgi-bin/dplist
+libexec/cgi-bin/dplist.neu
+libexec/cgi-bin/dploc
+libexec/cgi-bin/dpprefix
+libexec/cgi-bin/dpsertit
+libexec/cgi-bin/dptop.html
+libexec/cgi-bin/dpuser
+libexec/dpbox/7cor
+libexec/dpbox/7get
+libexec/dpbox/bsget
+libexec/dpbox/bsjoin
+libexec/dpbox/crawler
+libexec/dpbox/listarc
+libexec/dpbox/mkboard
+libexec/dpbox/mkreject
+libexec/dpbox/mktrans
+libexec/dpbox/new
+libexec/dpbox/search
+sbin/dpbox
+share/doc/dpbox/active_routing.txt
+share/doc/dpbox/dpbox500.html
+share/doc/dpbox/layer.gif
+share/doc/dpbox/release.500
+share/doc/dpbox/release.503
+share/doc/dpbox/release.504
+share/doc/dpbox/release.506
+share/doc/dpbox/release.507
+share/doc/dpbox/release.50708.german
+share/doc/dpbox/release.508
+share/dpbox/language/BS.ALL
+share/dpbox/language/BS.LAN
+share/dpbox/language/DL.ALL
+share/dpbox/language/DL.LAN
+share/dpbox/language/DLX.ALL
+share/dpbox/language/DLX.LAN
+share/dpbox/language/EA.ALL
+share/dpbox/language/EA.LAN
+share/dpbox/language/EY.ALL
+share/dpbox/language/EY.LAN
+share/dpbox/language/F.LAN
+share/dpbox/language/G.ALL
+share/dpbox/language/G.LAN
+share/dpbox/language/HB.ALL
+share/dpbox/language/HB.LAN
+share/dpbox/language/HELP.BS
+share/dpbox/language/HELP.DL
+share/dpbox/language/HELP.DLX
+share/dpbox/language/HELP.EA
+share/dpbox/language/HELP.EY
+share/dpbox/language/HELP.F
+share/dpbox/language/HELP.G
+share/dpbox/language/HELP.HB
+share/dpbox/language/HELP.I
+share/dpbox/language/HELP.NL
+share/dpbox/language/HELP.OE1
+share/dpbox/language/HELP.OK
+share/dpbox/language/HELP.OZ
+share/dpbox/language/HELP_SYS.BS
+share/dpbox/language/HELP_SYS.DL
+share/dpbox/language/HELP_SYS.DLX
+share/dpbox/language/HELP_SYS.EY
+share/dpbox/language/HELP_SYS.G
+share/dpbox/language/HELP_SYS.HB
+share/dpbox/language/HELP_SYS.OE1
+share/dpbox/language/I.LAN
+share/dpbox/language/NEWS.DL
+share/dpbox/language/NL.LAN
+share/dpbox/language/NLX.LAN
+share/dpbox/language/OE1.ALL
+share/dpbox/language/OE1.LAN
+share/dpbox/language/OK.LAN
+share/dpbox/language/OZ.LAN
+share/dpbox/language/SP.LAN
+share/dpbox/language/SPC.LAN
+share/dpbox/language/SW.LAN
+share/examples/dpbox/conf/crawler/stopwords
+share/examples/dpbox/conf/dpbox.ini
+share/examples/dpbox/conf/sf/db0xyz.sf
+share/examples/dpbox/conf/system/badwords.box
+share/examples/dpbox/conf/system/bcast.box
+share/examples/dpbox/conf/system/beacon.box
+share/examples/dpbox/conf/system/commands.box
+share/examples/dpbox/conf/system/config.box
+share/examples/dpbox/conf/system/convlt.box
+share/examples/dpbox/conf/system/convtit.box
+share/examples/dpbox/conf/system/cookies.doc
+share/examples/dpbox/conf/system/digimap.stn
+share/examples/dpbox/conf/system/prefix.inf
+share/examples/dpbox/conf/system/prefix.sub
+share/examples/dpbox/conf/system/prvcalls.box
+share/examples/dpbox/conf/system/reject.box
+share/examples/dpbox/conf/system/rubriken.box
+share/examples/dpbox/conf/system/tcpip.box
+share/examples/dpbox/conf/system/transfer.box
+share/examples/dpbox/conf/system/unproto.box
+share/examples/dpbox/conf/system/whotalks.lan
+share/httpd/htdocs/dpbox/boxmain.html
+share/httpd/htdocs/dpbox/boxrub.html
+share/httpd/htdocs/dpbox/dboxmain.html
+share/httpd/htdocs/dpbox/dboxrub.html
+share/httpd/htdocs/dpbox/dindex.html
+share/httpd/htdocs/dpbox/index.html
+share/httpd/htdocs/dpbox/pic/arrow1.gif
+share/httpd/htdocs/dpbox/pic/icindex.gif
diff --git a/dpbox/distinfo b/dpbox/distinfo
new file mode 100644
index 0000000000..027d52cf22
--- /dev/null
+++ b/dpbox/distinfo
@@ -0,0 +1,7 @@
+$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
diff --git a/dpbox/files/dpbox.ini b/dpbox/files/dpbox.ini
new file mode 100644
index 0000000000..7b993afd07
--- /dev/null
+++ b/dpbox/files/dpbox.ini
@@ -0,0 +1,80 @@
+# dpbox.ini
+# edited: Joachim Schurig, DL8HBS, 26.09.1999
+#
+# This is the first configuration file DPBOX will read
+# Take care, if something is missing or misconfigured,
+# DPBOX will NOT start.
+#
+# After reading this config file (it only defines the basic unix
+# setup of the system), DPBOX will read the file system/config.box
+# (and all other files in the subdirectory system/ ). Those files
+# define the amateur radio settings of DPBOX. Please check them and
+# set them up carefully.
+
+# THIS FILE CANNOT BE REREAD WHILE DPBOX IS RUNNING!
+# If you change any of the settings, you have to restart dpbox to
+# accept the changes. The configuration data in all other files
+# can be reloaded by sending a -SIGHUP to dpbox or by typing
+# RELOAD in the mailbox itself.
+
+# Unix user for DPBOX:
+# DPBOX can only change to this user if started as root...
+# If DPBOX is not started as root, please comment out the following line
+dpbox_user dpbox
+
+# own callsign (CHANGE IT TO THE CALLSIGN FOR DPBOX) :
+Console_call AN0NYM
+
+# SSID of box
+box_ssid 7
+
+# own QTH-loc:
+# put in your WW-Locator.
+myqthwwloc JO62RL
+
+# packet length:
+# 236 for TNN/NetRom networks, 255 for other
+# (not 256, the huffman compression needs a byte)
+box_paclen 236
+
+# main box directory:
+# usually, don't change it, except if you plan to start more than one DPBOX...
+boxdir /var/spool/dpbox/
+
+# directory for temporary files:
+# usually, don't change it, except if you plan to start more than one DPBOX...
+tempdir /tmp/
+
+# name of socket for interface
+# usually, don't change it, except if you plan to start more than one DPBOX...
+box_socket /var/run/dpbox
+
+#
+# system files directory
+#
+boxsysdir @prefix@/share/dpbox/conf/system/
+
+#
+# S/F directory
+#
+boxsfdir @prefix@/share/dpbox/conf/sf/
+
+#
+# language files directory
+#
+boxlanguagedir @prefix@/share/dpbox/language/
+
+#
+# run files directory
+#
+boxrundir @prefix@/libexec/dpbox/ 
+
+# directory for dpbox-pid-file
+# usually, don't change it
+boxprocdir /var/run/
+
+# filename of dpbox-pid-file
+# usually, don't change it, except if you plan to start more than one DPBOX...
+proc_file dpbox.pid
+@DPBOX_CONF_DIR@
+@DPBOX_SPOOL_DIR@
diff --git a/dpbox/patches/patch-ba b/dpbox/patches/patch-ba
new file mode 100644
index 0000000000..9202a25f06
--- /dev/null
+++ b/dpbox/patches/patch-ba
@@ -0,0 +1,33 @@
+$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
new file mode 100644
index 0000000000..3eda43af51
--- /dev/null
+++ b/dpbox/patches/patch-bj
@@ -0,0 +1,32 @@
+$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