- Add explicit make rules for files proccessed by fixpaths.
- Fix "make install" in RPM spec files. Report from Tenkou N. Hattori <tnh@kondara.org>
This commit is contained in:
parent
8beab01b49
commit
645c598d3c
|
@ -1,9 +1,13 @@
|
||||||
|
20000103
|
||||||
|
- Add explicit make rules for files proccessed by fixpaths.
|
||||||
|
- Fix "make install" in RPM spec files. Report from Tenkou N. Hattori
|
||||||
|
<tnh@kondara.org>
|
||||||
|
|
||||||
20000102
|
20000102
|
||||||
- Prevent multiple inclusion of config.h and defines.h. Suggested
|
- Prevent multiple inclusion of config.h and defines.h. Suggested
|
||||||
by Andre Lucas <andre.lucas@dial.pipex.com>
|
by Andre Lucas <andre.lucas@dial.pipex.com>
|
||||||
- Properly clean up on exit of ssh-agent. Patch from Dean Gaudet
|
- Properly clean up on exit of ssh-agent. Patch from Dean Gaudet
|
||||||
<dgaudet@arctic.org>
|
<dgaudet@arctic.org>
|
||||||
- Run fixpaths before install. (Andre Lucas)
|
|
||||||
|
|
||||||
19991231
|
19991231
|
||||||
- Fix password support on systems with a mixture of shadowed and
|
- Fix password support on systems with a mixture of shadowed and
|
||||||
|
|
33
Makefile.in
33
Makefile.in
|
@ -54,7 +54,11 @@ SSHDOBJS= sshd.o auth-rhosts.o auth-krb4.o auth-pam.o auth-passwd.o \
|
||||||
auth-rsa.o auth-rh-rsa.o pty.o log-server.o login.o servconf.o \
|
auth-rsa.o auth-rh-rsa.o pty.o log-server.o login.o servconf.o \
|
||||||
serverloop.o bsd-login.o md5crypt.o
|
serverloop.o bsd-login.o md5crypt.o
|
||||||
|
|
||||||
all: $(OBJS) $(TARGETS) manpages
|
MANPAGES=scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8
|
||||||
|
|
||||||
|
CONFIGFILES=sshd_config ssh_config
|
||||||
|
|
||||||
|
all: $(OBJS) $(TARGETS) $(MANPAGES) $(CONFIGFILES)
|
||||||
|
|
||||||
$(OBJS): config.h
|
$(OBJS): config.h
|
||||||
|
|
||||||
|
@ -89,10 +93,31 @@ clean:
|
||||||
rm -f *.o $(TARGETS) config.status config.cache config.log core \
|
rm -f *.o $(TARGETS) config.status config.cache config.log core \
|
||||||
*.1 *.8 sshd_config ssh_config
|
*.1 *.8 sshd_config ssh_config
|
||||||
|
|
||||||
manpages:
|
scp.1: scp.1.in
|
||||||
$(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} $(srcdir)/*.[18].in $(srcdir)/ssh*_config.in
|
$(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} $(srcdir)/scp.1.in
|
||||||
|
|
||||||
install: manpages all
|
ssh-add.1: ssh-add.1.in
|
||||||
|
$(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} ssh-add.1.in
|
||||||
|
|
||||||
|
ssh-agent.1: ssh-agent.1.in
|
||||||
|
$(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} ssh-agent.1.in
|
||||||
|
|
||||||
|
ssh-keygen.1: ssh-keygen.1.in
|
||||||
|
$(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} ssh-keygen.1.in
|
||||||
|
|
||||||
|
ssh.1: ssh.1.in
|
||||||
|
$(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} ssh.1.in
|
||||||
|
|
||||||
|
sshd.8: sshd.8.in
|
||||||
|
$(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} sshd.8.in
|
||||||
|
|
||||||
|
sshd_config: sshd_config.in
|
||||||
|
$(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} sshd_config.in
|
||||||
|
|
||||||
|
ssh_config: ssh_config.in
|
||||||
|
$(PERL) $(FIXPATHS) -Dsysconfdir=${sysconfdir} ssh_config.in
|
||||||
|
|
||||||
|
install: $(TARGETS)
|
||||||
$(INSTALL) -d $(bindir)
|
$(INSTALL) -d $(bindir)
|
||||||
$(INSTALL) -d $(sbindir)
|
$(INSTALL) -d $(sbindir)
|
||||||
$(INSTALL) -d $(mandir)
|
$(INSTALL) -d $(mandir)
|
||||||
|
|
|
@ -158,15 +158,13 @@ cd ..
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make install prefix="$RPM_BUILD_ROOT/usr"
|
make install prefix="$RPM_BUILD_ROOT/usr" sysconfdir="$RPM_BUILD_ROOT/etc/ssh"
|
||||||
|
|
||||||
install -d $RPM_BUILD_ROOT/etc/ssh
|
install -d $RPM_BUILD_ROOT/etc/ssh
|
||||||
install -d $RPM_BUILD_ROOT/etc/pam.d/
|
install -d $RPM_BUILD_ROOT/etc/pam.d/
|
||||||
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
|
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
|
||||||
install -m644 packages/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd
|
install -m644 packages/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd
|
||||||
install -m755 packages/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
|
install -m755 packages/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
|
||||||
install -m600 ssh_config $RPM_BUILD_ROOT/etc/ssh/ssh_config
|
|
||||||
install -m600 sshd_config $RPM_BUILD_ROOT/etc/ssh/sshd_config
|
|
||||||
|
|
||||||
install -s x11-ssh-askpass-%{aversion}/ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/x11-ssh-askpass
|
install -s x11-ssh-askpass-%{aversion}/ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/x11-ssh-askpass
|
||||||
ln -s /usr/libexec/ssh/x11-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/ssh-askpass
|
ln -s /usr/libexec/ssh/x11-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/ssh-askpass
|
||||||
|
|
|
@ -148,15 +148,13 @@ make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make install prefix="$RPM_BUILD_ROOT/usr"
|
make install prefix="$RPM_BUILD_ROOT/usr" sysconfdir="$RPM_BUILD_ROOT/etc/ssh"
|
||||||
install -d $RPM_BUILD_ROOT/etc/ssh/
|
install -d $RPM_BUILD_ROOT/etc/ssh/
|
||||||
install -d $RPM_BUILD_ROOT/etc/pam.d/
|
install -d $RPM_BUILD_ROOT/etc/pam.d/
|
||||||
install -d $RPM_BUILD_ROOT/sbin/init.d/
|
install -d $RPM_BUILD_ROOT/sbin/init.d/
|
||||||
install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
|
install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
|
||||||
install -m644 sshd.pam.generic $RPM_BUILD_ROOT/etc/pam.d/sshd
|
install -m644 sshd.pam.generic $RPM_BUILD_ROOT/etc/pam.d/sshd
|
||||||
install -m744 packages/suse/rc.sshd $RPM_BUILD_ROOT/sbin/init.d/sshd
|
install -m744 packages/suse/rc.sshd $RPM_BUILD_ROOT/sbin/init.d/sshd
|
||||||
install -m644 ssh_config $RPM_BUILD_ROOT/etc/ssh/ssh_config
|
|
||||||
install -m600 sshd_config $RPM_BUILD_ROOT/etc/ssh/sshd_config
|
|
||||||
ln -s ../../sbin/init.d/sshd $RPM_BUILD_ROOT/usr/sbin/rcsshd
|
ln -s ../../sbin/init.d/sshd $RPM_BUILD_ROOT/usr/sbin/rcsshd
|
||||||
ln -s gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/ssh-askpass
|
ln -s gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/ssh-askpass
|
||||||
install -m744 packages/suse/rc.config.sshd \
|
install -m744 packages/suse/rc.config.sshd \
|
||||||
|
|
Loading…
Reference in New Issue