You can apply this patch to debian repo and build it to get the .deb. The real patch in `debian/patches` is combined and copied from previous patch mails of this thread.
Nothing interesting. The only problem is we have to change the .install file and excluding Linux-specific things from it. This can not be given to Debian PAM maintainers. So, I wonder if Debian has a particular way to handle this kind of situations. Like `[linux-any]` in .install files? If not, what's the best way to handle this situation that different platforms will have different building outputs and installing different files. Thanks. Yuqian Yang (1): (GNU/Hurd) Add new PAM patch. debian/libpam-modules-bin.install | 3 - debian/patches/hurd-fix.patch | 276 ++++++++++++++++++++++++++++++ debian/patches/hurd_no_setfsuid | 84 --------- debian/patches/series | 3 +- 4 files changed, 277 insertions(+), 89 deletions(-) create mode 100644 debian/patches/hurd-fix.patch delete mode 100644 debian/patches/hurd_no_setfsuid -- Yuqian Yang <crup...@crupest.life>