diff options
Diffstat (limited to 'contrib/suse/openssh.spec')
-rw-r--r-- | contrib/suse/openssh.spec | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/contrib/suse/openssh.spec b/contrib/suse/openssh.spec index 5c2e56e62..324d88aea 100644 --- a/contrib/suse/openssh.spec +++ b/contrib/suse/openssh.spec | |||
@@ -150,8 +150,9 @@ This package contains the GNOME passphrase dialog. | |||
150 | 150 | ||
151 | %build | 151 | %build |
152 | CFLAGS="$RPM_OPT_FLAGS" \ | 152 | CFLAGS="$RPM_OPT_FLAGS" \ |
153 | ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-gnome-askpass \ | 153 | ./configure --prefix=/usr --sysconfdir=/etc/ssh \ |
154 | --with-tcp-wrappers --with-ipv4-default | 154 | --libexecdir=/usr/libexec/ssh --with-gnome-askpass \ |
155 | --with-tcp-wrappers --with-ipv4-default | ||
155 | make | 156 | make |
156 | 157 | ||
157 | cd contrib | 158 | cd contrib |
@@ -167,12 +168,12 @@ install -d $RPM_BUILD_ROOT/etc/ssh/ | |||
167 | install -d $RPM_BUILD_ROOT/etc/pam.d/ | 168 | install -d $RPM_BUILD_ROOT/etc/pam.d/ |
168 | install -d $RPM_BUILD_ROOT/sbin/init.d/ | 169 | install -d $RPM_BUILD_ROOT/sbin/init.d/ |
169 | install -d $RPM_BUILD_ROOT/var/adm/fillup-templates | 170 | install -d $RPM_BUILD_ROOT/var/adm/fillup-templates |
170 | install -d $RPM_BUILD_ROOT/usr/libexec/ssh | 171 | install -d $RPM_BUILD_ROOT/usr/libexec/openssh |
171 | install -m644 sshd.pam.generic $RPM_BUILD_ROOT/etc/pam.d/sshd | 172 | install -m644 contrib/sshd.pam.generic $RPM_BUILD_ROOT/etc/pam.d/sshd |
172 | install -m744 contrib/suse/rc.sshd $RPM_BUILD_ROOT/sbin/init.d/sshd | 173 | install -m744 contrib/suse/rc.sshd $RPM_BUILD_ROOT/sbin/init.d/sshd |
173 | ln -s ../../sbin/init.d/sshd $RPM_BUILD_ROOT/usr/sbin/rcsshd | 174 | ln -s ../../sbin/init.d/sshd $RPM_BUILD_ROOT/usr/sbin/rcsshd |
174 | install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/gnome-ssh-askpass | 175 | install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/openssh/gnome-ssh-askpass |
175 | ln -s gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/ssh-askpass | 176 | ln -s gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/openssh/ssh-askpass |
176 | install -m744 contrib/suse/rc.config.sshd \ | 177 | install -m744 contrib/suse/rc.config.sshd \ |
177 | $RPM_BUILD_ROOT/var/adm/fillup-templates | 178 | $RPM_BUILD_ROOT/var/adm/fillup-templates |
178 | 179 | ||
@@ -230,7 +231,7 @@ fi | |||
230 | %attr(0644,root,root) %doc /usr/man/man1/ssh-keygen.1* | 231 | %attr(0644,root,root) %doc /usr/man/man1/ssh-keygen.1* |
231 | %attr(0644,root,root) %doc /usr/man/man1/scp.1* | 232 | %attr(0644,root,root) %doc /usr/man/man1/scp.1* |
232 | %attr(0755,root,root) %dir /etc/ssh | 233 | %attr(0755,root,root) %dir /etc/ssh |
233 | %attr(0755,root,root) %dir /usr/libexec/ssh | 234 | %attr(0755,root,root) %dir /usr/libexec/openssh |
234 | 235 | ||
235 | %files clients | 236 | %files clients |
236 | %defattr(-,root,root) | 237 | %defattr(-,root,root) |
@@ -247,7 +248,7 @@ fi | |||
247 | %files server | 248 | %files server |
248 | %defattr(-,root,root) | 249 | %defattr(-,root,root) |
249 | %attr(0755,root,root) /usr/sbin/sshd | 250 | %attr(0755,root,root) /usr/sbin/sshd |
250 | %attr(0755,root,root) /usr/libexec/ssh/sftp-server | 251 | %attr(0755,root,root) /usr/libexec/openssh/sftp-server |
251 | %attr(0644,root,root) %doc /usr/man/man8/sshd.8* | 252 | %attr(0644,root,root) %doc /usr/man/man8/sshd.8* |
252 | %attr(0644,root,root) %doc /usr/man/man8/sftp-server.8* | 253 | %attr(0644,root,root) %doc /usr/man/man8/sftp-server.8* |
253 | %attr(0600,root,root) %config /etc/ssh/sshd_config | 254 | %attr(0600,root,root) %config /etc/ssh/sshd_config |
@@ -258,6 +259,6 @@ fi | |||
258 | 259 | ||
259 | %files askpass | 260 | %files askpass |
260 | %defattr(-,root,root) | 261 | %defattr(-,root,root) |
261 | %attr(0755,root,root) /usr/libexec/ssh/ssh-askpass | 262 | %attr(0755,root,root) /usr/libexec/openssh/ssh-askpass |
262 | %attr(0755,root,root) /usr/libexec/ssh/gnome-ssh-askpass | 263 | %attr(0755,root,root) /usr/libexec/openssh/gnome-ssh-askpass |
263 | 264 | ||