I am uploading a NMU to DELAYED/10 in order to fix this.
The debdiff is attached.
diff -Nru cmospwd-5.0+dfsg/debian/changelog cmospwd-5.0+dfsg/debian/changelog
--- cmospwd-5.0+dfsg/debian/changelog 2010-05-10 14:55:37.000000000 +0000
+++ cmospwd-5.0+dfsg/debian/changelog 2023-09-16 11:44:58.000000000 +0000
@@ -1,3 +1,13 @@
+cmospwd (5.0+dfsg-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload
+ * Update maintainer field and unset DMUA
+ * Drop kfreebsd from Architectures and patches (Closes: #1052036)
+ * d/watch: Scan HTTPS
+ * Clean binary (Closes: #1043836)
+
+ -- Bastian Germann <b...@debian.org> Sat, 16 Sep 2023 11:44:58 +0000
+
cmospwd (5.0+dfsg-2) unstable; urgency=low
* Include fix for FTBFS on KFreeBSD (Closes: #580673)
diff -Nru cmospwd-5.0+dfsg/debian/clean cmospwd-5.0+dfsg/debian/clean
--- cmospwd-5.0+dfsg/debian/clean 1970-01-01 00:00:00.000000000 +0000
+++ cmospwd-5.0+dfsg/debian/clean 2023-09-16 11:44:58.000000000 +0000
@@ -0,0 +1 @@
+src/cmospwd
diff -Nru cmospwd-5.0+dfsg/debian/control cmospwd-5.0+dfsg/debian/control
--- cmospwd-5.0+dfsg/debian/control 2010-05-10 14:55:37.000000000 +0000
+++ cmospwd-5.0+dfsg/debian/control 2023-09-16 11:44:58.000000000 +0000
@@ -1,15 +1,14 @@
Source: cmospwd
Section: utils
Priority: optional
-Maintainer: Luke Faraone <l...@faraone.cc>
+Maintainer: Luke Faraone <lfara...@debian.org>
Build-Depends: cdbs (>= 0.4.49), debhelper (>= 7)
Standards-Version: 3.8.4
-DM-Upload-Allowed: yes
Vcs-Bzr: https://code.launchpad.net/~lfaraone/cmospwd/debian
Homepage: http://www.cgsecurity.org/wiki/CmosPwd
Package: cmospwd
-Architecture: amd64 i386 kfreebsd-amd64 kfreebsd-i386
+Architecture: amd64 i386
Depends: ${shlibs:Depends}, ${misc:Depends},
Description: decrypt BIOS passwords from CMOS
CmosPwd is a cross-platform tool to decrypt password stored in CMOS used
@@ -18,4 +17,3 @@
This application should work out of the box on most modern systems, but
some more esoteric BIOSes may not be supported or may require additional
steps.
-
diff -Nru cmospwd-5.0+dfsg/debian/patches/ftbfs_kfreebsd.patch
cmospwd-5.0+dfsg/debian/patches/ftbfs_kfreebsd.patch
--- cmospwd-5.0+dfsg/debian/patches/ftbfs_kfreebsd.patch 2010-05-10
14:55:37.000000000 +0000
+++ cmospwd-5.0+dfsg/debian/patches/ftbfs_kfreebsd.patch 1970-01-01
00:00:00.000000000 +0000
@@ -1,51 +0,0 @@
---- a/src/cmospwd.c
-+++ b/src/cmospwd.c
-@@ -37,7 +37,11 @@
- #define HAVE_SYS_IO_H 1
- #endif
-
--#ifdef __FreeBSD__
-+#if defined(__FreeBSD__) && ! defined(__FreeBSD_kernel__)
-+# define __FreeBSD_kernel__ __FreeBSD__
-+#endif
-+
-+#ifdef __FreeBSD_kernel__
- #define HAVE_CTYPE_H 1
- #endif
-
-@@ -181,7 +185,7 @@
- #define GWIOPM_PARAMCOUNT 3 // for most functions
- #define GWIOPM_PARAMCOUNT_BYTES GWIOPM_PARAMCOUNT * 4 // for most functions
-
--#elif defined(__FreeBSD__)
-+#elif defined(__FreeBSD_kernel__)
- FILE *cmos_fd;
- #endif
-
-@@ -358,7 +362,7 @@
- };
-
-
--#if
defined(__linux__)||defined(__FreeBSD__)||defined(__NetBSD__)||defined(__CYGWIN32__)||defined(__MINGW32__)
-+#if
defined(__linux__)||defined(__FreeBSD_kernel__)||defined(__NetBSD__)||defined(__CYGWIN32__)||defined(__MINGW32__)
- static __inline__ void outportb(uint16_t port,uint8_t value)
- {
- __asm__ volatile ("outb %0,%1"
-@@ -1471,7 +1475,7 @@
- perror("i386_iopl");
- exit(1);
- }
--#elif defined(__FreeBSD__)
-+#elif defined(__FreeBSD_kernel__)
- cmos_fd = fopen("/dev/io", "r");
- if(cmos_fd==NULL){
- perror("fopen /dev/io failed");
-@@ -1485,7 +1489,7 @@
- {
- #ifdef __linux__
- ioperm(PORT_CMOS_0,4*2,0);
--#elif defined(__FreeBSD__)
-+#elif defined(__FreeBSD_kernel__)
- fclose(cmos_fd);
- #endif
- }
diff -Nru cmospwd-5.0+dfsg/debian/patches/series
cmospwd-5.0+dfsg/debian/patches/series
--- cmospwd-5.0+dfsg/debian/patches/series 2010-05-10 14:55:37.000000000
+0000
+++ cmospwd-5.0+dfsg/debian/patches/series 1970-01-01 00:00:00.000000000
+0000
@@ -1 +0,0 @@
-ftbfs_kfreebsd.patch
diff -Nru cmospwd-5.0+dfsg/debian/watch cmospwd-5.0+dfsg/debian/watch
--- cmospwd-5.0+dfsg/debian/watch 2010-05-10 14:55:37.000000000 +0000
+++ cmospwd-5.0+dfsg/debian/watch 2023-09-16 11:44:58.000000000 +0000
@@ -1,3 +1,3 @@
version=3
opts=dversionmangle=s/\+dfsg$// \
-http://www.cgsecurity.org/wiki/CmosPwd
http://www.cgsecurity.org/cmospwd-(.*)\.tar\.bz2
+https://www.cgsecurity.org/wiki/CmosPwd
https://www.cgsecurity.org/cmospwd-(.*)\.tar\.bz2