summaryrefslogtreecommitdiff
path: root/contrib/suse
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/suse')
-rw-r--r--contrib/suse/openssh.spec16
1 files changed, 13 insertions, 3 deletions
diff --git a/contrib/suse/openssh.spec b/contrib/suse/openssh.spec
index ab16c40ba..9588173e6 100644
--- a/contrib/suse/openssh.spec
+++ b/contrib/suse/openssh.spec
@@ -1,6 +1,6 @@
1Summary: OpenSSH, a free Secure Shell (SSH) implementation 1Summary: OpenSSH, a free Secure Shell (SSH) implementation
2Name: openssh 2Name: openssh
3Version: 1.2.3pre2 3Version: 1.2.3pre3
4Release: 1 4Release: 1
5Source0: openssh-%{version}.tar.gz 5Source0: openssh-%{version}.tar.gz
6Copyright: BSD 6Copyright: BSD
@@ -99,6 +99,9 @@ patented algorithms to seperate libraries (OpenSSL).
99This package contains the GNOME passphrase dialog. 99This package contains the GNOME passphrase dialog.
100 100
101%changelog 101%changelog
102* Wed Mar 15 2000 Damien Miller <djm@ibs.com.au>
103- Updated for new location
104- Updated for new gnome-ssh-askpass build
102* Sun Dec 26 1999 Chris Saia <csaia@wtower.com> 105* Sun Dec 26 1999 Chris Saia <csaia@wtower.com>
103- Made symlink to gnome-ssh-askpass called ssh-askpass 106- Made symlink to gnome-ssh-askpass called ssh-askpass
104* Wed Nov 24 1999 Chris Saia <csaia@wtower.com> 107* Wed Nov 24 1999 Chris Saia <csaia@wtower.com>
@@ -148,6 +151,12 @@ CFLAGS="$RPM_OPT_FLAGS" \
148 --with-tcp-wrappers --with-ipv4-default 151 --with-tcp-wrappers --with-ipv4-default
149make 152make
150 153
154cd contrib
155gcc -Og `gnome-config --cflags gnome gnomeui` \
156 gnome-ssh-askpass.c -o gnome-ssh-askpass \
157 `gnome-config --libs gnome gnomeui`
158cd ..
159
151%install 160%install
152rm -rf $RPM_BUILD_ROOT 161rm -rf $RPM_BUILD_ROOT
153make install DESTDIR=$RPM_BUILD_ROOT/ 162make install DESTDIR=$RPM_BUILD_ROOT/
@@ -156,10 +165,11 @@ install -d $RPM_BUILD_ROOT/etc/pam.d/
156install -d $RPM_BUILD_ROOT/sbin/init.d/ 165install -d $RPM_BUILD_ROOT/sbin/init.d/
157install -d $RPM_BUILD_ROOT/var/adm/fillup-templates 166install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
158install -m644 sshd.pam.generic $RPM_BUILD_ROOT/etc/pam.d/sshd 167install -m644 sshd.pam.generic $RPM_BUILD_ROOT/etc/pam.d/sshd
159install -m744 packages/suse/rc.sshd $RPM_BUILD_ROOT/sbin/init.d/sshd 168install -m744 contrib/suse/rc.sshd $RPM_BUILD_ROOT/sbin/init.d/sshd
160ln -s ../../sbin/init.d/sshd $RPM_BUILD_ROOT/usr/sbin/rcsshd 169ln -s ../../sbin/init.d/sshd $RPM_BUILD_ROOT/usr/sbin/rcsshd
170install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/gnome-ssh-askpass
161ln -s gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/ssh-askpass 171ln -s gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/ssh-askpass
162install -m744 packages/suse/rc.config.sshd \ 172install -m744 contrib/suse/rc.config.sshd \
163 $RPM_BUILD_ROOT/var/adm/fillup-templates 173 $RPM_BUILD_ROOT/var/adm/fillup-templates
164 174
165%clean 175%clean