]> git.pld-linux.org Git - packages/openssh.git/blobdiff - openssh.spec
- rel 3
[packages/openssh.git] / openssh.spec
index cb61d134c085c11ff52dac6a7704cdc513d94bb3..8e07b5c9f503a6a1c672cf2bb443afba511e8fb0 100644 (file)
@@ -22,7 +22,7 @@ Summary(ru.UTF-8):    OpenSSH - свободная реализация прото
 Summary(uk.UTF-8):     OpenSSH - вільна реалізація протоколу Secure Shell (SSH)
 Name:          openssh
 Version:       5.2p1
-Release:       2
+Release:       3
 Epoch:         2
 License:       BSD
 Group:         Applications/Networking
@@ -610,6 +610,16 @@ if [ "$1" = "0" ]; then
        %userremove sshd
 fi
 
+%post -n openldap-schema-openssh-lpk
+%openldap_schema_register %{schemadir}/openssh-lpk.schema
+%service -q ldap restart
+
+%postun -n openldap-schema-openssh-lpk
+if [ "$1" = "0" ]; then
+       %openldap_schema_unregister %{schemadir}/openssh-lpk.schema
+       %service -q ldap restart
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc *.RNG TODO README OVERVIEW CREDITS Change*
This page took 0.030192 seconds and 4 git commands to generate.