From a6235aff3ff1e9597c8e81b6c73f60bf1b5a9ca9 Mon Sep 17 00:00:00 2001 From: Otto Kekäläinen Date: Tue, 20 Aug 2024 21:07:17 -0700 Subject: Enable Salsa CI This will help ensure easily machine detectable regressions don't slip into the code base. This also makes any future contribution process faster and more reliable, as any contributor submitting a Merge Request will get immediate feedback, and the maintainers save time by not having to point out basic mistakes. --- debian/salsa-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 debian/salsa-ci.yml (limited to 'debian') diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml new file mode 100644 index 00000000..505c7f0e --- /dev/null +++ b/debian/salsa-ci.yml @@ -0,0 +1,8 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml + +# If Salsa CI is not running at +# https://salsa.debian.org/%{project_path}/-/pipelines, ensure that +# https://salsa.debian.org/%{project_path}/-/settings/ci_cd has in field "CI/CD +# configuration file" filename "debian/salsa-ci.yml" -- cgit v1.2.3 From 756a7491aeed32016ba9b4bd2502e5410f0c7c4e Mon Sep 17 00:00:00 2001 From: Otto Kekäläinen Date: Tue, 20 Aug 2024 21:56:25 -0700 Subject: Fix man page environment.5 link to man5/pam_env.conf.5 --- debian/patches/man-environment-so-link.patch | 13 +++++++++++++ debian/patches/series | 1 + 2 files changed, 14 insertions(+) create mode 100644 debian/patches/man-environment-so-link.patch (limited to 'debian') 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 +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 -- cgit v1.2.3 From 6ca23f9c324a5241578f9d00366c0c87efab0b0c Mon Sep 17 00:00:00 2001 From: Otto Kekäläinen Date: Tue, 20 Aug 2024 22:10:06 -0700 Subject: Salsa CI: Allow piuparts to fail due to legit unix_chkpwd modifications --- debian/salsa-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'debian') diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml index 505c7f0e..cbc91f4f 100644 --- a/debian/salsa-ci.yml +++ b/debian/salsa-ci.yml @@ -2,6 +2,17 @@ include: - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml +# Piuparts currently fails on: +# ERROR: FAIL: After purging files have been modified: +# /usr/sbin/unix_chkpwd owned by: libpam-modules-bin +# Modified(user, group, mode, size, target): /usr/sbin/unix_chkpwd +# expected(root, shadow, - 100600, 43256, None) != found(root, shadow, - 102755, 43256, None) +# This is due to customizations in override_dh_fixperms which piuparts does not +# handle, thus the result should just be ignored for now. +piuparts: + extends: .test-piuparts + allow_failure: true + # If Salsa CI is not running at # https://salsa.debian.org/%{project_path}/-/pipelines, ensure that # https://salsa.debian.org/%{project_path}/-/settings/ci_cd has in field "CI/CD -- cgit v1.2.3