diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/clean | 1 | ||||
-rw-r--r-- | debian/openssh-server.sshd.pam.in (renamed from debian/openssh-server.sshd.pam) | 4 | ||||
-rwxr-xr-x | debian/rules | 9 |
4 files changed, 12 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog index 66d8c7a3c..cdf177bc0 100644 --- a/debian/changelog +++ b/debian/changelog | |||
@@ -1,6 +1,7 @@ | |||
1 | openssh (1:6.6p1-6) UNRELEASED; urgency=medium | 1 | openssh (1:6.6p1-6) UNRELEASED; urgency=medium |
2 | 2 | ||
3 | * Upgrade to debhelper v9. | 3 | * Upgrade to debhelper v9. |
4 | * Only use pam_keyinit on Linux architectures (closes: #747245). | ||
4 | 5 | ||
5 | -- Colin Watson <cjwatson@debian.org> Mon, 26 May 2014 09:23:51 +0100 | 6 | -- Colin Watson <cjwatson@debian.org> Mon, 26 May 2014 09:23:51 +0100 |
6 | 7 | ||
diff --git a/debian/clean b/debian/clean index 5da17f8eb..fcd68b77e 100644 --- a/debian/clean +++ b/debian/clean | |||
@@ -1 +1,2 @@ | |||
1 | config.log | 1 | config.log |
2 | debian/openssh-server.sshd.pam | ||
diff --git a/debian/openssh-server.sshd.pam b/debian/openssh-server.sshd.pam.in index 7978b0c64..bbc3dba97 100644 --- a/debian/openssh-server.sshd.pam +++ b/debian/openssh-server.sshd.pam.in | |||
@@ -21,8 +21,8 @@ session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_ | |||
21 | # Set the loginuid process attribute. | 21 | # Set the loginuid process attribute. |
22 | session required pam_loginuid.so | 22 | session required pam_loginuid.so |
23 | 23 | ||
24 | # Create a new session keyring. | 24 | @IF_KEYINIT@# Create a new session keyring. |
25 | session optional pam_keyinit.so force revoke | 25 | @IF_KEYINIT@session optional pam_keyinit.so force revoke |
26 | 26 | ||
27 | # Standard Un*x session setup and teardown. | 27 | # Standard Un*x session setup and teardown. |
28 | @include common-session | 28 | @include common-session |
diff --git a/debian/rules b/debian/rules index b85a8bc7e..f4d010377 100755 --- a/debian/rules +++ b/debian/rules | |||
@@ -200,7 +200,14 @@ override_dh_systemd_enable: | |||
200 | override_dh_installinit: | 200 | override_dh_installinit: |
201 | dh_installinit -R --name ssh | 201 | dh_installinit -R --name ssh |
202 | 202 | ||
203 | override_dh_installpam: | 203 | debian/openssh-server.sshd.pam: debian/openssh-server.sshd.pam.in |
204 | ifeq ($(DEB_HOST_ARCH_OS),linux) | ||
205 | sed 's/^@IF_KEYINIT@//' $< > $@ | ||
206 | else | ||
207 | sed '/^@IF_KEYINIT@/d' $< > $@ | ||
208 | endif | ||
209 | |||
210 | override_dh_installpam: debian/openssh-server.sshd.pam | ||
204 | dh_installpam --name sshd | 211 | dh_installpam --name sshd |
205 | 212 | ||
206 | override_dh_fixperms: | 213 | override_dh_fixperms: |