aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Kekäläinen <otto@debian.org>2024-08-20 21:56:25 -0700
committerOtto Kekäläinen <otto@debian.org>2024-08-20 22:05:22 -0700
commit756a7491aeed32016ba9b4bd2502e5410f0c7c4e (patch)
tree3031595838f2b4156704529a534ef6c82d5816e5
parenta6235aff3ff1e9597c8e81b6c73f60bf1b5a9ca9 (diff)
downloadpam-756a7491aeed32016ba9b4bd2502e5410f0c7c4e.tar.gz
pam-756a7491aeed32016ba9b4bd2502e5410f0c7c4e.tar.bz2
pam-756a7491aeed32016ba9b4bd2502e5410f0c7c4e.zip
Fix man page environment.5 link to man5/pam_env.conf.5
-rw-r--r--debian/patches/man-environment-so-link.patch13
-rw-r--r--debian/patches/series1
2 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/man-environment-so-link.patch b/debian/patches/man-environment-so-link.patch
new file mode 100644
index 00000000..c82c54cd
--- /dev/null
+++ b/debian/patches/man-environment-so-link.patch
@@ -0,0 +1,13 @@
+From: Otto Kekäläinen <otto@debian.org>
+Date: Tue Aug 20 21:56:25 2024 -0700
+Subject: Fix man page environment.5 link to man5/pam_env.conf.5
+
+Fix Lintian error:
+
+ E: libpam-modules-bin: bad-so-link-within-manual-page [usr/share/man/man5/environment.5.gz]
+
+--- a/modules/pam_env/environment.5
++++ b/modules/pam_env/environment.5
+@@ -1 +1 @@
+-.so pam_env.conf.5
++.so man5/pam_env.conf.5
diff --git a/debian/patches/series b/debian/patches/series
index 590e2847..f351cdfe 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -21,3 +21,4 @@ nullok_secure-compat.patch
pam_mkhomedir_stat_before_opendir
pam_namespace_o_directory
ftbfs-implicit-function-declaration
+man-environment-so-link.patch