diff options
author | Damien Miller <djm@mindrot.org> | 2000-01-03 14:42:09 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-01-03 14:42:09 +1100 |
commit | 645c598d3c6c64f1f20de6fc43d4484033417b4d (patch) | |
tree | 23b9a60e18ccb9d7831d1140d594fe1a334fb97f | |
parent | 8beab01b493d4b9c683a2a0c5da083c2e9dfd735 (diff) |
- Add explicit make rules for files proccessed by fixpaths.
- Fix "make install" in RPM spec files. Report from Tenkou N. Hattori
<tnh@kondara.org>
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Makefile.in | 33 | ||||
-rw-r--r-- | packages/redhat/openssh.spec | 4 | ||||
-rw-r--r-- | packages/suse/openssh.spec | 4 |
4 files changed, 36 insertions, 11 deletions
@@ -1,9 +1,13 @@ | |||
1 | 20000103 | ||
2 | - Add explicit make rules for files proccessed by fixpaths. | ||
3 | - Fix "make install" in RPM spec files. Report from Tenkou N. Hattori | ||
4 | <tnh@kondara.org> | ||
5 | |||
1 | 20000102 | 6 | 20000102 |
2 | - Prevent multiple inclusion of config.h and defines.h. Suggested | 7 | - Prevent multiple inclusion of config.h and defines.h. Suggested |
3 | by Andre Lucas <andre.lucas@dial.pipex.com> | 8 | by Andre Lucas <andre.lucas@dial.pipex.com> |
4 | - Properly clean up on exit of ssh-agent. Patch from Dean Gaudet | 9 | - Properly clean up on exit of ssh-agent. Patch from Dean Gaudet |
5 | <dgaudet@arctic.org> | 10 | <dgaudet@arctic.org> |
6 | - Run fixpaths before install. (Andre Lucas) | ||
7 | 11 | ||
8 | 19991231 | 12 | 19991231 |
9 | - Fix password support on systems with a mixture of shadowed and | 13 | - Fix password support on systems with a mixture of shadowed and |
diff --git a/Makefile.in b/Makefile.in index 8c875a3c1..d04d22de2 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -54,7 +54,11 @@ SSHDOBJS= sshd.o auth-rhosts.o auth-krb4.o auth-pam.o auth-passwd.o \ | |||
54 | auth-rsa.o auth-rh-rsa.o pty.o log-server.o login.o servconf.o \ | 54 | auth-rsa.o auth-rh-rsa.o pty.o log-server.o login.o servconf.o \ |
55 | serverloop.o bsd-login.o md5crypt.o | 55 | serverloop.o bsd-login.o md5crypt.o |
56 | 56 | ||
57 | all: $(OBJS) $(TARGETS) manpages | 57 | MANPAGES=scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8 |
58 | |||
59 | CONFIGFILES=sshd_config ssh_config | ||
60 | |||
61 | all: $(OBJS) $(TARGETS) $(MANPAGES) $(CONFIGFILES) | ||
58 | 62 | ||
59 | $(OBJS): config.h | 63 | $(OBJS): config.h |
60 | 64 | ||
@@ -89,10 +93,31 @@ clean: | |||
89 | rm -f *.o $(TARGETS) config.status config.cache config.log core \ | 93 | rm -f *.o $(TARGETS) config.status config.cache config.log core \ |
90 | *.1 *.8 sshd_config ssh_config | 94 | *.1 *.8 sshd_config ssh_config |
91 | 95 | ||
92 | manpages: | 96 | scp.1: scp.1.in |
93 | $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} $(srcdir)/*.[18].in $(srcdir)/ssh*_config.in | 97 | $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} $(srcdir)/scp.1.in |
98 | |||
99 | ssh-add.1: ssh-add.1.in | ||
100 | $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} ssh-add.1.in | ||
101 | |||
102 | ssh-agent.1: ssh-agent.1.in | ||
103 | $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} ssh-agent.1.in | ||
104 | |||
105 | ssh-keygen.1: ssh-keygen.1.in | ||
106 | $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} ssh-keygen.1.in | ||
107 | |||
108 | ssh.1: ssh.1.in | ||
109 | $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} ssh.1.in | ||
110 | |||
111 | sshd.8: sshd.8.in | ||
112 | $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} sshd.8.in | ||
113 | |||
114 | sshd_config: sshd_config.in | ||
115 | $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} sshd_config.in | ||
116 | |||
117 | ssh_config: ssh_config.in | ||
118 | $(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} ssh_config.in | ||
94 | 119 | ||
95 | install: manpages all | 120 | install: $(TARGETS) |
96 | $(INSTALL) -d $(bindir) | 121 | $(INSTALL) -d $(bindir) |
97 | $(INSTALL) -d $(sbindir) | 122 | $(INSTALL) -d $(sbindir) |
98 | $(INSTALL) -d $(mandir) | 123 | $(INSTALL) -d $(mandir) |
diff --git a/packages/redhat/openssh.spec b/packages/redhat/openssh.spec index de26c467f..96ac87bd7 100644 --- a/packages/redhat/openssh.spec +++ b/packages/redhat/openssh.spec | |||
@@ -158,15 +158,13 @@ cd .. | |||
158 | 158 | ||
159 | %install | 159 | %install |
160 | rm -rf $RPM_BUILD_ROOT | 160 | rm -rf $RPM_BUILD_ROOT |
161 | make install prefix="$RPM_BUILD_ROOT/usr" | 161 | make install prefix="$RPM_BUILD_ROOT/usr" sysconfdir="$RPM_BUILD_ROOT/etc/ssh" |
162 | 162 | ||
163 | install -d $RPM_BUILD_ROOT/etc/ssh | 163 | install -d $RPM_BUILD_ROOT/etc/ssh |
164 | install -d $RPM_BUILD_ROOT/etc/pam.d/ | 164 | install -d $RPM_BUILD_ROOT/etc/pam.d/ |
165 | install -d $RPM_BUILD_ROOT/etc/rc.d/init.d | 165 | install -d $RPM_BUILD_ROOT/etc/rc.d/init.d |
166 | install -m644 packages/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd | 166 | install -m644 packages/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd |
167 | install -m755 packages/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd | 167 | install -m755 packages/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd |
168 | install -m600 ssh_config $RPM_BUILD_ROOT/etc/ssh/ssh_config | ||
169 | install -m600 sshd_config $RPM_BUILD_ROOT/etc/ssh/sshd_config | ||
170 | 168 | ||
171 | install -s x11-ssh-askpass-%{aversion}/ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/x11-ssh-askpass | 169 | install -s x11-ssh-askpass-%{aversion}/ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/x11-ssh-askpass |
172 | ln -s /usr/libexec/ssh/x11-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/ssh-askpass | 170 | ln -s /usr/libexec/ssh/x11-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/ssh-askpass |
diff --git a/packages/suse/openssh.spec b/packages/suse/openssh.spec index 6163a180b..9fdcffe5e 100644 --- a/packages/suse/openssh.spec +++ b/packages/suse/openssh.spec | |||
@@ -148,15 +148,13 @@ make | |||
148 | 148 | ||
149 | %install | 149 | %install |
150 | rm -rf $RPM_BUILD_ROOT | 150 | rm -rf $RPM_BUILD_ROOT |
151 | make install prefix="$RPM_BUILD_ROOT/usr" | 151 | make install prefix="$RPM_BUILD_ROOT/usr" sysconfdir="$RPM_BUILD_ROOT/etc/ssh" |
152 | install -d $RPM_BUILD_ROOT/etc/ssh/ | 152 | install -d $RPM_BUILD_ROOT/etc/ssh/ |
153 | install -d $RPM_BUILD_ROOT/etc/pam.d/ | 153 | install -d $RPM_BUILD_ROOT/etc/pam.d/ |
154 | install -d $RPM_BUILD_ROOT/sbin/init.d/ | 154 | install -d $RPM_BUILD_ROOT/sbin/init.d/ |
155 | install -d $RPM_BUILD_ROOT/var/adm/fillup-templates | 155 | install -d $RPM_BUILD_ROOT/var/adm/fillup-templates |
156 | install -m644 sshd.pam.generic $RPM_BUILD_ROOT/etc/pam.d/sshd | 156 | install -m644 sshd.pam.generic $RPM_BUILD_ROOT/etc/pam.d/sshd |
157 | install -m744 packages/suse/rc.sshd $RPM_BUILD_ROOT/sbin/init.d/sshd | 157 | install -m744 packages/suse/rc.sshd $RPM_BUILD_ROOT/sbin/init.d/sshd |
158 | install -m644 ssh_config $RPM_BUILD_ROOT/etc/ssh/ssh_config | ||
159 | install -m600 sshd_config $RPM_BUILD_ROOT/etc/ssh/sshd_config | ||
160 | ln -s ../../sbin/init.d/sshd $RPM_BUILD_ROOT/usr/sbin/rcsshd | 158 | ln -s ../../sbin/init.d/sshd $RPM_BUILD_ROOT/usr/sbin/rcsshd |
161 | ln -s gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/ssh-askpass | 159 | ln -s gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/ssh-askpass |
162 | install -m744 packages/suse/rc.config.sshd \ | 160 | install -m744 packages/suse/rc.config.sshd \ |