jjelen pushed to openssh (f21). "Add tmpfiles.d entris (#1196807)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Mar 30 06:19:28 UTC 2015
>From edabae2a7165bd1b9677e287c1add9aa85f233e5 Mon Sep 17 00:00:00 2001
From: Jakub Jelen <jjelen at redhat.com>
Date: Sun, 29 Mar 2015 22:21:34 +0200
Subject: Add tmpfiles.d entris (#1196807)
diff --git a/openssh.spec b/openssh.spec
index b5adc1e..a991fcb 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -88,6 +88,7 @@ Source10: sshd.socket
Source11: sshd.service
Source12: sshd-keygen.service
Source13: sshd-keygen
+Source14: sshd.tmpfiles
# Internal debug
Patch0: openssh-5.9p1-wIm.patch
@@ -601,6 +602,7 @@ install -m644 %{SOURCE11} $RPM_BUILD_ROOT/%{_unitdir}/sshd.service
install -m644 %{SOURCE12} $RPM_BUILD_ROOT/%{_unitdir}/sshd-keygen.service
install -m755 contrib/ssh-copy-id $RPM_BUILD_ROOT%{_bindir}/
install contrib/ssh-copy-id.1 $RPM_BUILD_ROOT%{_mandir}/man1/
+install -m644 -D %{SOURCE14} $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf
%if ! %{no_gnome_askpass}
install contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/gnome-ssh-askpass
@@ -715,6 +717,7 @@ getent passwd sshd >/dev/null || \
%attr(0644,root,root) %{_unitdir}/sshd at .service
%attr(0644,root,root) %{_unitdir}/sshd.socket
%attr(0644,root,root) %{_unitdir}/sshd-keygen.service
+%attr(0644,root,root) %{_tmpfilesdir}/openssh.conf
%endif
%if %{ldap}
diff --git a/sshd.tmpfiles b/sshd.tmpfiles
new file mode 100644
index 0000000..c35a2b8
--- /dev/null
+++ b/sshd.tmpfiles
@@ -0,0 +1 @@
+d /var/empty/sshd 711 root root -
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/openssh.git/commit/?h=f21&id=edabae2a7165bd1b9677e287c1add9aa85f233e5
More information about the scm-commits
mailing list