[packages/openssh] omg, somebody put spaces/tabs before Lpk directives; workaround

glen glen at pld-linux.org
Sun Sep 2 09:33:57 CEST 2012


commit a3c4f69ae7ed9270632fcde8830c4724f183e21a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Sep 2 10:33:53 2012 +0300

    omg, somebody put spaces/tabs before Lpk directives; workaround

 openssh.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/openssh.spec b/openssh.spec
index 8cd6de4..44914e9 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -31,7 +31,7 @@ Summary(ru.UTF-8):	OpenSSH - свободная реализация прото
 Summary(uk.UTF-8):	OpenSSH - вільна реалізація протоколу Secure Shell (SSH)
 Name:		openssh
 Version:	6.0p1
-Release:	2
+Release:	3
 Epoch:		2
 License:	BSD
 Group:		Applications/Networking
@@ -709,8 +709,8 @@ if grep -qE '^(UseLPK|Lpk)' %{_sysconfdir}/sshd_config; then
 	%{__sed} -i -e '
 		# disable old configs
 		# just UseLPK/LkpLdapConf supported for now
-		s/^UseLPK/## Obsolete &/
-		s/^Lpk/## Obsolete &/
+		s/^\s*UseLPK/## Obsolete &/
+		s/^\s*Lpk/## Obsolete &/
 		# Enable new ones, assumes /etc/ldap.conf defaults, see HOWTO.ldap-keys
 		/UseLPK/iAuthorizedKeysCommand %{_libexecdir}/ssh-ldap-wrapper
 	' %{_sysconfdir}/sshd_config
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openssh.git/commitdiff/a3c4f69ae7ed9270632fcde8830c4724f183e21a



More information about the pld-cvs-commit mailing list