diff -Nru hurd-0.9.git20250420/debian/control hurd-0.9.git20250420/debian/control --- hurd-0.9.git20250420/debian/control 2025-04-20 15:54:12.000000000 +0200 +++ hurd-0.9.git20250420/debian/control 2025-06-11 15:52:32.000000000 +0200 @@ -29,7 +29,6 @@ uuid-dev , libblkid-dev , liblwip-dev -Rules-Requires-Root: debhelper/upstream-make-install Uploaders: Michael Banck , Samuel Thibault Homepage: https://www.gnu.org/software/hurd/hurd.html diff -Nru hurd-0.9.git20250420/debian/patches/fix-rootless-build.patch hurd-0.9.git20250420/debian/patches/fix-rootless-build.patch --- hurd-0.9.git20250420/debian/patches/fix-rootless-build.patch 1970-01-01 01:00:00.000000000 +0100 +++ hurd-0.9.git20250420/debian/patches/fix-rootless-build.patch 2025-06-11 15:52:32.000000000 +0200 @@ -0,0 +1,34 @@ +Description: fix rootless build +Instead of setting the owner and setuid bit during `make install` which +requires (fake) root, only set it in debian/rules via chown u+s + +Author: Fabian Grünbichler + +--- +Last-Update: 2025-06-18 + +--- hurd-0.9.git20250420.orig/daemons/Makefile ++++ hurd-0.9.git20250420/daemons/Makefile +@@ -31,8 +31,6 @@ HURDLIBS = fshelp ports shouldbeinlibc + OBJS = $(SRCS:.c=.o) + getty-LDLIBS = -lutil + +-INSTALL-mail.local-ops = -o root -m 4755 +- + include ../Makeconf + + rc: rc.sh +--- hurd-0.9.git20250420.orig/utils/Makefile ++++ hurd-0.9.git20250420/utils/Makefile +@@ -42,11 +42,6 @@ setauth-LDLIBS = $(and $(HAVE_LIBCRYPT), + mount-LDLIBS = $(libblkid_LIBS) + mount-CPPFLAGS = $(libblkid_CFLAGS) + +-INSTALL-login-ops = -o root -m 4755 +-INSTALL-ids-ops = -o root -m 4755 +-INSTALL-ps-ops = -o root -m 4755 +-INSTALL-w-ops = -o root -m 4755 +- + include ../Makeconf + + ps addauth rmauth setauth unsu msgport: parse.o pids.o diff -Nru hurd-0.9.git20250420/debian/patches/series hurd-0.9.git20250420/debian/patches/series --- hurd-0.9.git20250420/debian/patches/series 2025-06-11 15:52:32.000000000 +0200 +++ hurd-0.9.git20250420/debian/patches/series 2025-06-11 15:52:32.000000000 +0200 @@ -29,3 +29,4 @@ git-ENOSPC git-console-client-compose local-64b-align +fix-rootless-build.patch