summaryrefslogtreecommitdiff
path: root/openssh.spec
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-09 14:28:26 +1100
committerDamien Miller <djm@mindrot.org>1999-11-09 14:28:26 +1100
commit742d2cb5f869dcfdf0a356a6ff62d512a8500ff4 (patch)
treeb2333241940b8f7aa5d27183aabc8c71c07e2bc8 /openssh.spec
parente0d444c4ba9e2367337685ca945615588b9fc3cb (diff)
Minor updates
Diffstat (limited to 'openssh.spec')
-rw-r--r--openssh.spec30
1 files changed, 6 insertions, 24 deletions
diff --git a/openssh.spec b/openssh.spec
index c0d45bc25..77c922109 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -20,6 +20,8 @@ up to date in terms of security and features, as well as removing all
20patented algorithms to seperate libraries (OpenSSL). 20patented algorithms to seperate libraries (OpenSSL).
21 21
22%changelog 22%changelog
23* Tue Nov 09 1999 Damien Miller <djm@ibs.com.au>
24- Use make install
23* Mon Nov 08 1999 Damien Miller <djm@ibs.com.au> 25* Mon Nov 08 1999 Damien Miller <djm@ibs.com.au>
24- Added links for slogin 26- Added links for slogin
25- Fixed perms on manpages 27- Fixed perms on manpages
@@ -39,39 +41,18 @@ patented algorithms to seperate libraries (OpenSSL).
39 41
40%build 42%build
41 43
42CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --sysconfdir=/etc/ssh 44CFLAGS="$RPM_OPT_FLAGS" \
45 ./configure --prefix=/usr --sysconfdir=/etc/ssh --enable-gnome-askpass
43 46
44%install 47%install
45rm -rf $RPM_BUILD_ROOT 48rm -rf $RPM_BUILD_ROOT
46mkdir -p $RPM_BUILD_ROOT/usr/bin 49make install prefix="$RPM_BUILD_ROOT/usr"
47mkdir -p $RPM_BUILD_ROOT/usr/sbin
48mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
49mkdir -p $RPM_BUILD_ROOT/etc/pam.d
50mkdir -p $RPM_BUILD_ROOT/etc/ssh
51mkdir -p $RPM_BUILD_ROOT/usr/man/man1
52mkdir -p $RPM_BUILD_ROOT/usr/man/man8
53 50
54install -m644 sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd 51install -m644 sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd
55install -m755 sshd.init.redhat $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd 52install -m755 sshd.init.redhat $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
56install -m600 ssh_config $RPM_BUILD_ROOT/etc/ssh/ssh_config 53install -m600 ssh_config $RPM_BUILD_ROOT/etc/ssh/ssh_config
57install -m600 sshd_config $RPM_BUILD_ROOT/etc/ssh/sshd_config 54install -m600 sshd_config $RPM_BUILD_ROOT/etc/ssh/sshd_config
58 55
59install -s -m755 sshd $RPM_BUILD_ROOT/usr/sbin
60install -s -m755 ssh $RPM_BUILD_ROOT/usr/bin
61install -s -m755 scp $RPM_BUILD_ROOT/usr/bin
62install -s -m755 ssh-agent $RPM_BUILD_ROOT/usr/bin
63install -s -m755 ssh-add $RPM_BUILD_ROOT/usr/bin
64install -s -m755 ssh-keygen $RPM_BUILD_ROOT/usr/bin
65ln -s ssh $RPM_BUILD_ROOT/usr/bin/slogin
66
67install -m644 sshd.8 $RPM_BUILD_ROOT/usr/man/man8
68install -m644 ssh.1 $RPM_BUILD_ROOT/usr/man/man1
69install -m644 scp.1 $RPM_BUILD_ROOT/usr/man/man1
70install -m644 ssh-agent.1 $RPM_BUILD_ROOT/usr/man/man1
71install -m644 ssh-add.1 $RPM_BUILD_ROOT/usr/man/man1
72install -m644 ssh-keygen.1 $RPM_BUILD_ROOT/usr/man/man1
73ln -s ssh.1 $RPM_BUILD_ROOT/usr/man/man1/slogin.1
74
75%clean 56%clean
76rm -rf $RPM_BUILD_ROOT 57rm -rf $RPM_BUILD_ROOT
77 58
@@ -103,6 +84,7 @@ fi
103%attr(0755,root,root) /usr/bin/ssh-add 84%attr(0755,root,root) /usr/bin/ssh-add
104%attr(0755,root,root) /usr/bin/scp 85%attr(0755,root,root) /usr/bin/scp
105%attr(0755,root,root) /usr/bin/slogin 86%attr(0755,root,root) /usr/bin/slogin
87%attr(0755,root,root) /usr/lib/ssh/ssh-askpass
106 88
107%attr(0644,root,root) /usr/man/man8/sshd.8 89%attr(0644,root,root) /usr/man/man8/sshd.8
108%attr(0644,root,root) /usr/man/man1/ssh.1 90%attr(0644,root,root) /usr/man/man1/ssh.1