diff -Naur mktemp-1.8-orig/configure.ac mktemp-1.8/configure.ac
--- mktemp-1.8-orig/configure.ac	1970-01-01 01:00:00.000000000 +0100
+++ mktemp-1.8/configure.ac	2025-09-14 10:56:08.695547740 +0200
@@ -0,0 +1,268 @@
+dnl
+dnl Process this file with GNU autoconf to produce a configure script.
+dnl
+dnl Copyright (c) 2000, 2001, 2003, 2008, 2010, 2024
+dnl	Todd C. Miller <Todd.Miller@sudo.ws>
+dnl
+AC_INIT([mktemp],[1.8])
+AC_CONFIG_HEADERS([config.h])
+dnl
+dnl Variables that get substituted in the Makefile
+dnl
+AC_SUBST(CFLAGS)dnl
+AC_SUBST(CPPFLAGS)dnl
+AC_SUBST(LDFLAGS)dnl
+AC_SUBST(LIBS)dnl
+AC_SUBST(MANTYPE)dnl
+
+dnl
+dnl Options for --with
+dnl
+
+AC_ARG_WITH(CC, [  --with-CC               C compiler to use],
+[case $with_CC in
+    yes)	AC_MSG_ERROR(["must give --with-CC an argument."])
+		;;
+    no)		AC_MSG_ERROR(["illegal argument: --without-CC."])
+		;;
+    *)		CC=$with_CC
+		;;
+esac])
+
+AC_ARG_WITH(incpath, [  --with-incpath          additional places to look for include files],
+[case $with_incpath in  
+    yes)	AC_MSG_ERROR(["must give --with-incpath an argument."])
+		;;
+    no)		AC_MSG_ERROR(["--without-incpath not supported."])
+		;;
+    *)		AC_MSG_NOTICE([Adding ${with_incpath} to CPPFLAGS])
+		for i in ${with_incpath}; do
+		    CPPFLAGS="${CPPFLAGS} -I${i}"
+		done
+		;;
+esac])
+
+AC_ARG_WITH(libpath, [  --with-libpath          additional places to look for libraries],
+[case $with_libpath in  
+    yes)	AC_MSG_ERROR(["must give --with-libpath an argument."])
+		;;
+    no)		AC_MSG_ERROR(["--without-libpath not supported."])
+		;;
+    *)		AC_MSG_NOTICE([Adding ${with_libpath} to LDFLAGS])
+		for i in ${with_libpath}; do
+		    LDFLAGS="${LDFLAGS} -L${i}"
+		done
+		;;
+esac])
+
+AC_ARG_WITH(libraries, [  --with-libraries        additional libraries to link with],
+[case $with_libraries in  
+    yes)	AC_MSG_ERROR(["must give --with-libraries an argument."])
+		;;
+    no)		AC_MSG_ERROR(["--without-libraries not supported."])
+		;;
+    *)		AC_MSG_NOTICE([Adding ${with_libraries} to LIBS])
+		for i in ${with_libraries}; do
+		    case $i in
+			-l*)	;;
+			*.a)	;;
+			*.o)	;;
+			*)	i="-l${i}";;
+		    esac
+		    LIBS="${LIBS} ${i}"
+		done
+		;;
+esac])
+
+AC_ARG_WITH(man, [  --with-man              manual page uses man macros (default)],
+[case $with_man in  
+    yes)	MANTYPE=man
+		;;
+    no)		AC_MSG_ERROR(["--without-man not supported."])
+		;;
+    *)		AC_MSG_ERROR(["ignoring unknown argument to --with-man: $with_man."])
+		;;
+esac])
+
+AC_ARG_WITH(mdoc, [  --with-mdoc             manual page uses mdoc macros],
+[case $with_mdoc in  
+    yes)	MANTYPE=mdoc
+		;;
+    no)		AC_MSG_ERROR(["--without-mdoc not supported."])
+		;;
+    *)		AC_MSG_ERROR(["ignoring unknown argument to --with-mdoc: $with_mdoc."])
+		;;
+esac])
+
+AC_ARG_WITH(random, [  --with-random=/path     path to random device],
+[case $with_random in  
+    # $with_random is checked for (and cached) below
+    yes)	with_random=
+		;;
+esac])
+
+AC_ARG_WITH(prngd, [  --with-prngd=path|port  prngd socket path or port number],
+[case $with_prngd in
+    no)		;;
+    yes)	AC_MSG_ERROR(["--with-prngd must be given a path or port number."])
+		;;
+    [0-9]*)	AC_DEFINE(PRNGD_PORT, $with_prngd, [Define to the port prngd listens on.])
+		AC_DEFINE(HAVE_PRNGD, 1, [Define to 1 if you use prngd/egd as your entropy source.])
+		;;
+    *)		AC_DEFINE_UNQUOTED(PRNGD_PATH, ["$with_prngd"], [Define to the path to prngd's socket file.])
+		AC_DEFINE(HAVE_PRNGD, 1, [Define to 1 if you use prngd/egd as your entropy source.])
+		;;
+esac])
+
+dnl
+dnl What kind of beastie are we being run on?
+dnl Barf if config.cache was generated on another host.
+dnl
+AC_CANONICAL_HOST
+if test -n "$mktemp_cv_prev_host"; then
+    if test "$mktemp_cv_prev_host" != "$host"; then
+	AC_MSG_ERROR([config.cache was created on a different host; remove it and re-run configure.])
+    else
+	AC_MSG_CHECKING(previous host type)
+	AC_CACHE_VAL(mktemp_cv_prev_host, mktemp_cv_prev_host="$host")
+	AC_MSG_RESULT([$mktemp_cv_prev_host])
+    fi
+else
+    # this will produce no output since there is no cached value
+    AC_CACHE_VAL(mktemp_cv_prev_host, mktemp_cv_prev_host="$host")
+fi
+
+dnl
+dnl Check for programs we need
+dnl
+AC_CHECK_PROG(NROFF, nroff, ["$as_dir/$ac_word"], no, [/usr/bin /usr/ucb /usr/bsd /usr/contrib/bin /usr/local/bin $PATH])
+dnl
+dnl C compiler checks
+dnl
+AC_PROG_CC
+AC_C_CONST
+dnl
+dnl Header file checks
+dnl
+AC_CHECK_HEADERS_ONCE([sys/time.h])
+
+AC_CHECK_HEADERS(paths.h sys/random.h)
+case "$host_os" in
+    linux*) AC_CHECK_HEADERS([linux/random.h]);;
+esac
+dnl
+dnl check for ssize_t type
+dnl
+AC_CHECK_TYPE(ssize_t, int)
+dnl
+dnl Function checks
+dnl
+AC_CHECK_FUNCS([arc4random], [
+    AC_REPLACE_FUNCS([arc4random_buf])
+], [
+    AC_LIBOBJ(arc4random)
+    AC_CHECK_FUNCS([getentropy], [], [
+	AC_LIBOBJ(getentropy)
+	AC_CHECK_FUNCS([getrandom])
+    ])
+])
+AC_REPLACE_FUNCS(getopt_long)
+
+dnl
+dnl Check for __progname
+dnl
+AC_MSG_CHECKING([for __progname])
+AC_CACHE_VAL(mktemp_cv_progname, [
+AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include <stdio.h>]], [[extern char *__progname; (void)puts(__progname);]])],[mktemp_cv_progname=yes],[mktemp_cv_progname=no])])
+test "$mktemp_cv_progname" = "yes" && AC_DEFINE(HAVE_PROGNAME, 1, [Define if your crt0.o defines the __progname symbol for you.])
+AC_MSG_RESULT($mktemp_cv_progname)
+dnl
+dnl Look for /dev/urandom
+dnl
+AC_MSG_CHECKING([for random device])
+test -n "$with_random" && mktemp_cv_dev_urandom="with_random=$with_random"
+AC_CACHE_VAL(mktemp_cv_dev_urandom, [
+if test -n "$with_random"; then
+    mktemp_cv_dev_urandom="with_random=$with_random"
+elif test -r /dev/urandom; then
+    mktemp_cv_dev_urandom="with_random=/dev/urandom"
+else
+    mktemp_cv_dev_urandom="with_random=no"
+fi
+])
+eval $mktemp_cv_dev_urandom
+if test "$with_random" != "no"; then
+    AC_DEFINE_UNQUOTED(_PATH_RANDOM, "$with_random", [Location of random device/stream if you have one.])
+fi
+AC_MSG_RESULT($with_random)
+dnl
+dnl Does the user want to use man or mdoc macros?
+dnl
+AC_MSG_CHECKING([which macro set to use for manual])
+test -n "$MANTYPE" && mktemp_cv_mantype="$MANTYPE"
+AC_CACHE_VAL(mktemp_cv_mantype, [
+if test -n "$MANTYPE"; then
+    mktemp_cv_mantype="$MANTYPE"
+else
+    mktemp_cv_mantype="man"
+    if test "$NROFF" != "no"; then
+	$NROFF -mdoc < /dev/null > conftest 2>&1
+	test -s conftest || mktemp_cv_mantype="mdoc"
+	rm -f conftest
+    fi
+fi
+])
+AC_MSG_RESULT($mktemp_cv_mantype)
+MANTYPE="$mktemp_cv_mantype"
+
+dnl
+dnl Set exec_prefix
+dnl
+test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)'
+
+dnl
+dnl For out of tree builds we need to use -I. to find config.h.
+dnl
+if test X"$ac_abs_srcdir" != X"$ac_abs_builddir"; then
+    CPPFLAGS="${CPPFLAGS} -I."
+fi
+
+dnl
+dnl Substitute into the Makefiles
+dnl
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
+
+dnl
+dnl Special bits for autoheader
+dnl
+AH_TOP([#ifndef _MKTEMP_CONFIG_H
+#define _MKTEMP_CONFIG_H])
+
+AH_BOTTOM([#ifndef __GNUC_PREREQ__
+# ifdef __GNUC__
+#  define __GNUC_PREREQ__(ma, mi) \
+	((__GNUC__ > (ma)) || (__GNUC__ == (ma) && __GNUC_MINOR__ >= (mi)))
+# else
+#  define __GNUC_PREREQ__(ma, mi)	0
+# endif
+#endif
+
+/* Define away __attribute__ for non-gcc or old gcc */
+#if !defined(__attribute__) && !__GNUC_PREREQ__(2, 5)
+# define __attribute__(x)
+#endif
+
+/* For indicating that a function does not return */
+#define __dead	__attribute__((__noreturn__))
+
+/* For catching format string mismatches */
+#ifndef __printflike
+# if __GNUC_PREREQ__(2, 7)
+#  define __printflike(f, v) 	__attribute__((__format__ (__printf__, f, v)))
+# else
+#  define __printflike(f, v)
+# endif
+#endif
+
+#endif /* _MKTEMP_CONFIG_H */])
diff -Naur mktemp-1.8-orig/configure.in mktemp-1.8/configure.in
--- mktemp-1.8-orig/configure.in	2025-09-14 10:54:25.834060079 +0200
+++ mktemp-1.8/configure.in	1970-01-01 01:00:00.000000000 +0100
@@ -1,267 +0,0 @@
-dnl
-dnl Process this file with GNU autoconf to produce a configure script.
-dnl
-dnl Copyright (c) 2000, 2001, 2003, 2008, 2010, 2024
-dnl	Todd C. Miller <Todd.Miller@sudo.ws>
-dnl
-AC_INIT([mktemp],[1.8])
-AC_CONFIG_HEADER(config.h)
-dnl
-dnl Variables that get substituted in the Makefile
-dnl
-AC_SUBST(CFLAGS)dnl
-AC_SUBST(CPPFLAGS)dnl
-AC_SUBST(LDFLAGS)dnl
-AC_SUBST(LIBS)dnl
-AC_SUBST(MANTYPE)dnl
-
-dnl
-dnl Options for --with
-dnl
-
-AC_ARG_WITH(CC, [  --with-CC               C compiler to use],
-[case $with_CC in
-    yes)	AC_MSG_ERROR(["must give --with-CC an argument."])
-		;;
-    no)		AC_MSG_ERROR(["illegal argument: --without-CC."])
-		;;
-    *)		CC=$with_CC
-		;;
-esac])
-
-AC_ARG_WITH(incpath, [  --with-incpath          additional places to look for include files],
-[case $with_incpath in  
-    yes)	AC_MSG_ERROR(["must give --with-incpath an argument."])
-		;;
-    no)		AC_MSG_ERROR(["--without-incpath not supported."])
-		;;
-    *)		AC_MSG_NOTICE([Adding ${with_incpath} to CPPFLAGS])
-		for i in ${with_incpath}; do
-		    CPPFLAGS="${CPPFLAGS} -I${i}"
-		done
-		;;
-esac])
-
-AC_ARG_WITH(libpath, [  --with-libpath          additional places to look for libraries],
-[case $with_libpath in  
-    yes)	AC_MSG_ERROR(["must give --with-libpath an argument."])
-		;;
-    no)		AC_MSG_ERROR(["--without-libpath not supported."])
-		;;
-    *)		AC_MSG_NOTICE([Adding ${with_libpath} to LDFLAGS])
-		for i in ${with_libpath}; do
-		    LDFLAGS="${LDFLAGS} -L${i}"
-		done
-		;;
-esac])
-
-AC_ARG_WITH(libraries, [  --with-libraries        additional libraries to link with],
-[case $with_libraries in  
-    yes)	AC_MSG_ERROR(["must give --with-libraries an argument."])
-		;;
-    no)		AC_MSG_ERROR(["--without-libraries not supported."])
-		;;
-    *)		AC_MSG_NOTICE([Adding ${with_libraries} to LIBS])
-		for i in ${with_libraries}; do
-		    case $i in
-			-l*)	;;
-			*.a)	;;
-			*.o)	;;
-			*)	i="-l${i}";;
-		    esac
-		    LIBS="${LIBS} ${i}"
-		done
-		;;
-esac])
-
-AC_ARG_WITH(man, [  --with-man              manual page uses man macros (default)],
-[case $with_man in  
-    yes)	MANTYPE=man
-		;;
-    no)		AC_MSG_ERROR(["--without-man not supported."])
-		;;
-    *)		AC_MSG_ERROR(["ignoring unknown argument to --with-man: $with_man."])
-		;;
-esac])
-
-AC_ARG_WITH(mdoc, [  --with-mdoc             manual page uses mdoc macros],
-[case $with_mdoc in  
-    yes)	MANTYPE=mdoc
-		;;
-    no)		AC_MSG_ERROR(["--without-mdoc not supported."])
-		;;
-    *)		AC_MSG_ERROR(["ignoring unknown argument to --with-mdoc: $with_mdoc."])
-		;;
-esac])
-
-AC_ARG_WITH(random, [  --with-random=/path     path to random device],
-[case $with_random in  
-    # $with_random is checked for (and cached) below
-    yes)	with_random=
-		;;
-esac])
-
-AC_ARG_WITH(prngd, [  --with-prngd=path|port  prngd socket path or port number],
-[case $with_prngd in
-    no)		;;
-    yes)	AC_MSG_ERROR(["--with-prngd must be given a path or port number."])
-		;;
-    [0-9]*)	AC_DEFINE(PRNGD_PORT, $with_prngd, [Define to the port prngd listens on.])
-		AC_DEFINE(HAVE_PRNGD, 1, [Define to 1 if you use prngd/egd as your entropy source.])
-		;;
-    *)		AC_DEFINE_UNQUOTED(PRNGD_PATH, ["$with_prngd"], [Define to the path to prngd's socket file.])
-		AC_DEFINE(HAVE_PRNGD, 1, [Define to 1 if you use prngd/egd as your entropy source.])
-		;;
-esac])
-
-dnl
-dnl What kind of beastie are we being run on?
-dnl Barf if config.cache was generated on another host.
-dnl
-AC_CANONICAL_HOST
-if test -n "$mktemp_cv_prev_host"; then
-    if test "$mktemp_cv_prev_host" != "$host"; then
-	AC_MSG_ERROR([config.cache was created on a different host; remove it and re-run configure.])
-    else
-	AC_MSG_CHECKING(previous host type)
-	AC_CACHE_VAL(mktemp_cv_prev_host, mktemp_cv_prev_host="$host")
-	AC_MSG_RESULT([$mktemp_cv_prev_host])
-    fi
-else
-    # this will produce no output since there is no cached value
-    AC_CACHE_VAL(mktemp_cv_prev_host, mktemp_cv_prev_host="$host")
-fi
-
-dnl
-dnl Check for programs we need
-dnl
-AC_CHECK_PROG(NROFF, nroff, ["$as_dir/$ac_word"], no, [/usr/bin /usr/ucb /usr/bsd /usr/contrib/bin /usr/local/bin $PATH])
-dnl
-dnl C compiler checks
-dnl
-AC_PROG_GCC_TRADITIONAL
-AC_C_CONST
-dnl
-dnl Header file checks
-dnl
-AC_HEADER_TIME
-AC_CHECK_HEADERS(paths.h sys/random.h)
-case "$host_os" in
-    linux*) AC_CHECK_HEADERS([linux/random.h]);;
-esac
-dnl
-dnl check for ssize_t type
-dnl
-AC_CHECK_TYPE(ssize_t, int)
-dnl
-dnl Function checks
-dnl
-AC_CHECK_FUNCS([arc4random], [
-    AC_REPLACE_FUNCS([arc4random_buf])
-], [
-    AC_LIBOBJ(arc4random)
-    AC_CHECK_FUNCS([getentropy], [], [
-	AC_LIBOBJ(getentropy)
-	AC_CHECK_FUNCS([getrandom])
-    ])
-])
-AC_REPLACE_FUNCS(getopt_long)
-
-dnl
-dnl Check for __progname
-dnl
-AC_MSG_CHECKING([for __progname])
-AC_CACHE_VAL(mktemp_cv_progname, [
-AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[extern char *__progname; (void)puts(__progname);]])],[mktemp_cv_progname=yes],[mktemp_cv_progname=no])])
-test "$mktemp_cv_progname" = "yes" && AC_DEFINE(HAVE_PROGNAME, 1, [Define if your crt0.o defines the __progname symbol for you.])
-AC_MSG_RESULT($mktemp_cv_progname)
-dnl
-dnl Look for /dev/urandom
-dnl
-AC_MSG_CHECKING([for random device])
-test -n "$with_random" && mktemp_cv_dev_urandom="with_random=$with_random"
-AC_CACHE_VAL(mktemp_cv_dev_urandom, [
-if test -n "$with_random"; then
-    mktemp_cv_dev_urandom="with_random=$with_random"
-elif test -r /dev/urandom; then
-    mktemp_cv_dev_urandom="with_random=/dev/urandom"
-else
-    mktemp_cv_dev_urandom="with_random=no"
-fi
-])
-eval $mktemp_cv_dev_urandom
-if test "$with_random" != "no"; then
-    AC_DEFINE_UNQUOTED(_PATH_RANDOM, "$with_random", [Location of random device/stream if you have one.])
-fi
-AC_MSG_RESULT($with_random)
-dnl
-dnl Does the user want to use man or mdoc macros?
-dnl
-AC_MSG_CHECKING([which macro set to use for manual])
-test -n "$MANTYPE" && mktemp_cv_mantype="$MANTYPE"
-AC_CACHE_VAL(mktemp_cv_mantype, [
-if test -n "$MANTYPE"; then
-    mktemp_cv_mantype="$MANTYPE"
-else
-    mktemp_cv_mantype="man"
-    if test "$NROFF" != "no"; then
-	$NROFF -mdoc < /dev/null > conftest 2>&1
-	test -s conftest || mktemp_cv_mantype="mdoc"
-	rm -f conftest
-    fi
-fi
-])
-AC_MSG_RESULT($mktemp_cv_mantype)
-MANTYPE="$mktemp_cv_mantype"
-
-dnl
-dnl Set exec_prefix
-dnl
-test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)'
-
-dnl
-dnl For out of tree builds we need to use -I. to find config.h.
-dnl
-if test X"$ac_abs_srcdir" != X"$ac_abs_builddir"; then
-    CPPFLAGS="${CPPFLAGS} -I."
-fi
-
-dnl
-dnl Substitute into the Makefiles
-dnl
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
-
-dnl
-dnl Special bits for autoheader
-dnl
-AH_TOP([#ifndef _MKTEMP_CONFIG_H
-#define _MKTEMP_CONFIG_H])
-
-AH_BOTTOM([#ifndef __GNUC_PREREQ__
-# ifdef __GNUC__
-#  define __GNUC_PREREQ__(ma, mi) \
-	((__GNUC__ > (ma)) || (__GNUC__ == (ma) && __GNUC_MINOR__ >= (mi)))
-# else
-#  define __GNUC_PREREQ__(ma, mi)	0
-# endif
-#endif
-
-/* Define away __attribute__ for non-gcc or old gcc */
-#if !defined(__attribute__) && !__GNUC_PREREQ__(2, 5)
-# define __attribute__(x)
-#endif
-
-/* For indicating that a function does not return */
-#define __dead	__attribute__((__noreturn__))
-
-/* For catching format string mismatches */
-#ifndef __printflike
-# if __GNUC_PREREQ__(2, 7)
-#  define __printflike(f, v) 	__attribute__((__format__ (__printf__, f, v)))
-# else
-#  define __printflike(f, v)
-# endif
-#endif
-
-#endif /* _MKTEMP_CONFIG_H */])
