summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2023-10-24 11:38:53 -0600
committerHelmut Grohne <helmut@subdivi.de>2023-10-24 11:38:53 -0600
commit6f1aa02f3e6b107bbc9545bf43962dd76e862edb (patch)
tree914d0fdd4ca14b5b1bd48d6d2186d4053ec4202e /debian
parent71662fe5ed190d4c8fca3fe4554a13259a2b05d7 (diff)
parentf08015fe8894d32b3f31e5674d95b932ad6d43bc (diff)
Record pam (1.5.2-9.1) in archive suite sid
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog13
-rwxr-xr-xdebian/rules6
2 files changed, 19 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 87e8b0a4..2a4657b3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+pam (1.5.2-9.1) unstable; urgency=medium
+
+ * Non-maintainer upload acked by Sam Hartman.
+ * Really fix quilt-related FTBFS: (Closes: #1054505)
+ pam is a 3.0 (quilt) source package and has a .pc directory after unpack
+ despite having no debian/patches. Even when setting QUILT_PATCH_DIR or
+ QUILT_PATCHES, quilt is now mislead to using the non-existent
+ debian/patches and this makes dh_quilt_unpatch fail, so we delete that
+ directory unless it corresponds to the real debian/patches-applied that we
+ want to be used.
+
+ -- Helmut Grohne <helmut@subdivi.de> Tue, 24 Oct 2023 19:38:53 +0200
+
pam (1.5.2-9) unstable; urgency=low
* Revert 1.5.2-8 upload; as far as I can tell the change is incorrect,
diff --git a/debian/rules b/debian/rules
index 73819f0c..f4881680 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,12 @@ dl = $(d)/local
%:
dh $@ --with quilt,autoreconf
+# Since this is a 3.0 (quilt) source package, it has a .pc directory pointing
+# to debian/patches after initial unpack. This misleads quilt and makes
+# dh_quilt_unpatch fail hard.
+execute_before_dh_quilt_unpatch:
+ if test "`cat .pc/.quilt_patches 2>/dev/null`" = debian/patches; then rm -Rf .pc; fi
+
# avoid libaudit-dev when bootstrapping
ifneq (,$(filter stage1,$(DEB_BUILD_PROFILES)))
CONFIGURE_OPTS += --disable-audit