Репозитории ALT

S: | 0.17-alt5.1 |
4.1: | 0.17-alt2 |
4.0: | 0.17-ipl9mdk |
3.0: | 0.17-ipl9mdk |
Группа :: Сети/Удалённый доступ
Пакет: rsh
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: rsh
Version: 0.17
Release: ipl9mdk
Summary: Clients for remote access commands (rsh, rlogin, rcp)
Group: Networking/Remote access
License: BSD
Source: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-rsh-%version.tar.gz
Source1: rexec.pam
Source2: rlogin.pam
Source3: rsh.pam
Source4: http://www.tc.cornell.edu/~sadd/rexec-1.5.tar.bz2
Source5: rsh-xinetd
Source6: rlogin-xinetd
Source7: rexec-xinetd
Patch2: netkit-rsh-0.10-sectty.patch.bz2
Patch3: netkit-rsh-0.17-rexec.patch.bz2
Patch4: netkit-rsh-0.10-stdarg.patch.bz2
Patch5: netkit-rsh-0.16-jbj.patch.bz2
Patch6: netkit-rsh-0.16-pamfix.patch.bz2
Patch7: netkit-rsh-0.16-jbj2.patch.bz2
Patch8: netkit-rsh-0.16-jbj3.patch.bz2
Patch9: netkit-rsh-0.16-jbj4.patch.bz2
Patch10: netkit-rsh-0.16-prompt.patch.bz2
Patch11: netkit-rsh-0.16-rlogin=rsh.patch.bz2
Patch12: netkit-rsh-0.16-nokrb.patch.bz2
Patch13: netkit-rsh-0.17-pre20000412-jbj5.patch.bz2
Patch14: netkit-rsh-0.17-pre20000412-glibc22.patch.bz2
Patch15: netkit-rsh-0.17-alt-codefix.patch
# Automatically added by buildreq on Wed Jan 29 2003
BuildRequires: libncurses-devel libpam-devel libtinfo-devel
%description
The rsh package contains a set of programs which allow users to run
commmands on remote machines, login to other machines and copy files
between machines (rsh, rlogin and rcp). All three of these commands
use rhosts style authentication. This package contains the clients
needed for all of these services.
The rsh package should be installed to enable remote access to other
machines.
%package server
Summary: Servers for remote access commands (rsh, rlogin, rcp)
Group: System/Servers
Requires: pam >= 0.59
%description server
The rsh-server package contains a set of programs which allow users
to run commmands on remote machines, login to other machines and copy
files between machines (rsh, rlogin and rcp). All three of these
commands use rhosts style authentication. This package contains the
servers needed for all of these services. It also contains a server
for rexec, an alternate method of executing remote commands.
All of these servers are run by xinetd and configured using
/etc/xinetd.d/ and PAM. All the server is disabled by default.
%prep
%setup -q -n netkit-rsh-%version -a 4
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
# XXX patches {6,7,8} not applied
#%patch6 -p1 -b .pamfix
#%patch7 -p1 -b .jbj2
#%patch8 -p1 -b .jbj3
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
#patch14 -p1
%patch15 -p1
# No, I don't know what this is doing in the tarball.
rm -f rexec/rexec
%build
%_configure_script \
--without-shadow \
--prefix=/usr \
--installroot=%buildroot \
--binmode=0755 \
--daemonmode=0711 \
--suidmode=4711
perl -pi -e '
s,^CC=.*$,CC=cc,;
s,-O2,\$(RPM_OPT_FLAGS),;
s,^BINDIR=.*$,BINDIR=%_bindir,;
s,^MANDIR=.*$,MANDIR=%_mandir,;
s,^SBINDIR=.*$,SBINDIR=%_sbindir,;
' MCONFIG
%make_build
%install
%__mkdir_p %buildroot/%_sysconfdir/{pam.d,xinetd.d}
%__mkdir_p %buildroot/{%_bindir,%_sbindir}
%__mkdir_p %buildroot/%_mandir/{man1,man8}
%make_build INSTALLROOT=%buildroot MANDIR=%_mandir install
%__install -m 0644 %SOURCE1 %buildroot/%_sysconfdir/pam.d/rexec
%__install -m 0644 %SOURCE2 %buildroot/%_sysconfdir/pam.d/rlogin
%__install -m 0644 %SOURCE3 %buildroot/%_sysconfdir/pam.d/rsh
%__install -m 0644 %SOURCE5 %buildroot/%_sysconfdir/xinetd.d/rsh
%__install -m 0644 %SOURCE6 %buildroot/%_sysconfdir/xinetd.d/rlogin
%__install -m 0644 %SOURCE7 %buildroot/%_sysconfdir/xinetd.d/rexec
cd %buildroot/%_mandir/man8
for i in rexecd rlogind rshd; do
%__rm -f $i.8
echo ".so man8/in.$i.8" > $i.8
done
%files
%attr(4711,root,root) %_bindir/rcp
%attr(4711,root,root) %_bindir/rlogin
%attr(4711,root,root) %_bindir/rsh
%_bindir/rexec
%_mandir/man1/*
%doc README
%files server
%config(noreplace) %_sysconfdir/xinetd.d/*
%config %_sysconfdir/pam.d/rsh
%config %_sysconfdir/pam.d/rlogin
%config %_sysconfdir/pam.d/rexec
%_mandir/man8/*
%_sbindir/in.*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.17
Release: ipl9mdk
Summary: Clients for remote access commands (rsh, rlogin, rcp)
Group: Networking/Remote access
License: BSD
Source: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-rsh-%version.tar.gz
Source1: rexec.pam
Source2: rlogin.pam
Source3: rsh.pam
Source4: http://www.tc.cornell.edu/~sadd/rexec-1.5.tar.bz2
Source5: rsh-xinetd
Source6: rlogin-xinetd
Source7: rexec-xinetd
Patch2: netkit-rsh-0.10-sectty.patch.bz2
Patch3: netkit-rsh-0.17-rexec.patch.bz2
Patch4: netkit-rsh-0.10-stdarg.patch.bz2
Patch5: netkit-rsh-0.16-jbj.patch.bz2
Patch6: netkit-rsh-0.16-pamfix.patch.bz2
Patch7: netkit-rsh-0.16-jbj2.patch.bz2
Patch8: netkit-rsh-0.16-jbj3.patch.bz2
Patch9: netkit-rsh-0.16-jbj4.patch.bz2
Patch10: netkit-rsh-0.16-prompt.patch.bz2
Patch11: netkit-rsh-0.16-rlogin=rsh.patch.bz2
Patch12: netkit-rsh-0.16-nokrb.patch.bz2
Patch13: netkit-rsh-0.17-pre20000412-jbj5.patch.bz2
Patch14: netkit-rsh-0.17-pre20000412-glibc22.patch.bz2
Patch15: netkit-rsh-0.17-alt-codefix.patch
# Automatically added by buildreq on Wed Jan 29 2003
BuildRequires: libncurses-devel libpam-devel libtinfo-devel
%description
The rsh package contains a set of programs which allow users to run
commmands on remote machines, login to other machines and copy files
between machines (rsh, rlogin and rcp). All three of these commands
use rhosts style authentication. This package contains the clients
needed for all of these services.
The rsh package should be installed to enable remote access to other
machines.
%package server
Summary: Servers for remote access commands (rsh, rlogin, rcp)
Group: System/Servers
Requires: pam >= 0.59
%description server
The rsh-server package contains a set of programs which allow users
to run commmands on remote machines, login to other machines and copy
files between machines (rsh, rlogin and rcp). All three of these
commands use rhosts style authentication. This package contains the
servers needed for all of these services. It also contains a server
for rexec, an alternate method of executing remote commands.
All of these servers are run by xinetd and configured using
/etc/xinetd.d/ and PAM. All the server is disabled by default.
%prep
%setup -q -n netkit-rsh-%version -a 4
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
# XXX patches {6,7,8} not applied
#%patch6 -p1 -b .pamfix
#%patch7 -p1 -b .jbj2
#%patch8 -p1 -b .jbj3
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
#patch14 -p1
%patch15 -p1
# No, I don't know what this is doing in the tarball.
rm -f rexec/rexec
%build
%_configure_script \
--without-shadow \
--prefix=/usr \
--installroot=%buildroot \
--binmode=0755 \
--daemonmode=0711 \
--suidmode=4711
perl -pi -e '
s,^CC=.*$,CC=cc,;
s,-O2,\$(RPM_OPT_FLAGS),;
s,^BINDIR=.*$,BINDIR=%_bindir,;
s,^MANDIR=.*$,MANDIR=%_mandir,;
s,^SBINDIR=.*$,SBINDIR=%_sbindir,;
' MCONFIG
%make_build
%install
%__mkdir_p %buildroot/%_sysconfdir/{pam.d,xinetd.d}
%__mkdir_p %buildroot/{%_bindir,%_sbindir}
%__mkdir_p %buildroot/%_mandir/{man1,man8}
%make_build INSTALLROOT=%buildroot MANDIR=%_mandir install
%__install -m 0644 %SOURCE1 %buildroot/%_sysconfdir/pam.d/rexec
%__install -m 0644 %SOURCE2 %buildroot/%_sysconfdir/pam.d/rlogin
%__install -m 0644 %SOURCE3 %buildroot/%_sysconfdir/pam.d/rsh
%__install -m 0644 %SOURCE5 %buildroot/%_sysconfdir/xinetd.d/rsh
%__install -m 0644 %SOURCE6 %buildroot/%_sysconfdir/xinetd.d/rlogin
%__install -m 0644 %SOURCE7 %buildroot/%_sysconfdir/xinetd.d/rexec
cd %buildroot/%_mandir/man8
for i in rexecd rlogind rshd; do
%__rm -f $i.8
echo ".so man8/in.$i.8" > $i.8
done
%files
%attr(4711,root,root) %_bindir/rcp
%attr(4711,root,root) %_bindir/rlogin
%attr(4711,root,root) %_bindir/rsh
%_bindir/rexec
%_mandir/man1/*
%doc README
%files server
%config(noreplace) %_sysconfdir/xinetd.d/*
%config %_sysconfdir/pam.d/rsh
%config %_sysconfdir/pam.d/rlogin
%config %_sysconfdir/pam.d/rexec
%_mandir/man8/*
%_sbindir/in.*
%changelog
…
Полный changelog можно просмотреть здесь