Browse Source

update: ftp, rsh, time, telnet

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3399 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 13 years ago
parent
commit
1e5f6b8847
4 changed files with 170 additions and 25 deletions
  1. 65 5
      f/ftp/ftp-vl.spec
  2. 51 11
      r/rsh/rsh-vl.spec
  3. 44 5
      t/telnet/telnet-vl.spec
  4. 10 4
      t/time/time-vl.spec

+ 65 - 5
f/ftp/ftp-vl.spec

@@ -1,10 +1,13 @@
+Name: ftp
 Summary: The standard UNIX FTP (File Transfer Protocol) client.
 Summary(ja): 標準的な UNIX FTP (ファイル転送プロトコル) クライアント
-Name: ftp
 Version: 0.17
-Release: 33%{?_dist_release}
-License: BSD
+Release: 34%{?_dist_release}
+
 Group: Applications/Internet
+License: BSD with advertising
+URL: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit
+
 Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit-devel/netkit-ftp-%{version}.tar.bz2
 Patch1: netkit-ftp-0.17-pre20000412.pasv-security.patch
 Patch2: netkit-ftp-0.17-acct.patch
@@ -19,6 +22,20 @@ Patch10: netkit-ftp-0.17-vsftp165083.patch
 Patch11: netkit-ftp-0.17-C-Frame121.patch
 Patch12: netkit-ftp-0.17-data.patch
 Patch13: netkit-ftp-0.17-multihome.patch
+Patch14: netkit-ftp-0.17-longnames.patch
+Patch15: netkit-ftp-0.17-multiipv6.patch
+Patch16: netkit-ftp-0.17-nodebug.patch
+Patch17: netkit-ftp-0.17-stamp.patch
+Patch18: netkit-ftp-0.17-sigseg.patch
+Patch19: netkit-ftp-0.17-size.patch
+Patch20: netkit-ftp-0.17-fdleak.patch
+Patch21: netkit-ftp-0.17-fprintf.patch
+Patch22: netkit-ftp-0.17-bitrate.patch
+Patch23: netkit-ftp-0.17-arg_max.patch
+Patch24: netkit-ftp-0.17-case.patch
+Patch25: netkit-ftp-0.17-chkmalloc.patch
+Patch26: netkit-ftp-0.17-man.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: gcc, glibc-devel, readline-devel, ncurses-devel, perl
 
@@ -54,7 +71,19 @@ file transfers.
 %patch11 -p1 -b .C-Frame121
 %patch12 -p1 -b .data
 %patch13 -p1 -b .multihome
-
+%patch14 -p1 -b .patch
+%patch15 -p1 -b .multiipv6
+%patch16 -p1 -b .nodebug
+%patch17 -p1 -b .stamp
+%patch18 -p1 -b .sigseg
+%patch19 -p1 -b .size
+%patch20 -p1 -b .fdleak
+%patch21 -p1 -b .fprintf
+%patch22 -p1 -b .bitrate
+%patch23 -p1 -b .arg_max
+%patch24 -p1 -b .case
+%patch25 -p1 -b .chkmalloc
+%patch26 -p1 -b .man
 
 %build
 sh configure --with-c-compiler=gcc --enable-ipv6
@@ -89,8 +118,39 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_mandir}/man1/pftp.*
 %{_mandir}/man5/netrc.*
 
-
 %changelog
+* Sun Apr 10 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-34
+- rebuilt with current VineSeed
+- added Patch14-26
+  * Tue Mar 29 2011 Jiri Skala <jskala@redhat.com> - 0.17-53
+  - fixes #673850 - ftp(1) manpage fixes
+  * Mon Dec 01 2008 Jiri Skala <jskala@redhat.com> - 0.17-49
+  - Resolves: #473491  unchecked malloc
+  * Wed Apr 23 2008 Martin Nagy <mnagy@redhat.com> - 0.17-48
+  - fix mget when using case
+  - Resolves: #442712
+  * Mon Apr 07 2008 Martin Nagy <mnagy@redhat.com> - 0.17-47
+  - Use sysconf to get ARG_MAX instead of a macro (#440782)
+  * Mon Jan 28 2008 Marcela Maslanova <mmaslano@redhat.com> - 0.17-45
+  - changed bitrate from 1e+03 KBytes/sec to 1000 kBytes/sec
+  - Resolves: rhbz#430457
+  * Thu Nov 15 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-44
+  - using fprintf instead of printf
+  * Mon Oct 22 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-43
+  - feature: for cmd size is switching to TYPE_I automatized
+  - bug: ftp leaks socket fds when it fails to open a file (#315241)
+  - rhbz#306191
+  * Tue Aug 07 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-41
+  - #251074 add patch from Jan Kratochvil
+  * Mon Feb  7 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-38
+  - rhbz#225774
+  * Tue Jan 30 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-35
+  - nodebug package
+  * Wed Aug 2 2006 Marcela Maslanova <mmaslano@redhat.com> - 0.17-32.1.2.4
+  - fix (#199145) patch for IPv6 multihome
+  * Thu Jul 25 2006 Marcela Maslanova <mmaslano@redhat.com> - 0.17-32.1.2.3
+  - fix (#196103) patch for long filenames
+
 * Tue Aug  5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-33
 - rebuilt with readline 5.2
 - applied new versioning policy

+ 51 - 11
r/rsh/rsh-vl.spec

@@ -2,9 +2,11 @@ Summary:     Clients for remote access commands (rsh, rlogin, rcp).
 Summary(ja): リモートアクセスコマンド (rsh, rlogin, rcp) のクライアント
 Name: rsh
 Version: 0.17
-Release: 35%{?_dist_release}
+Release: 36%{?_dist_release}
+
 License: BSD
 Group: Applications/Internet
+URL: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit
 
 Source: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-rsh-%{version}.tar.gz
 Source1: rexec.pam
@@ -16,44 +18,70 @@ Source6: rlogin-xinetd
 Source7: rexec-xinetd
 
 Patch1: netkit-rsh-0.17-sectty.patch
+# Make rexec installation process working
 Patch2: netkit-rsh-0.17-rexec.patch
 Patch3: netkit-rsh-0.10-stdarg.patch
+# Improve installation process
 Patch4: netkit-rsh-0.16-jbj.patch
-Patch5: netkit-rsh-0.16-pamfix.patch
-Patch6: netkit-rsh-0.16-jbj2.patch
-Patch7: netkit-rsh-0.16-jbj3.patch
+# Link rshd against libpam
 Patch8: netkit-rsh-0.16-jbj4.patch
 Patch9: netkit-rsh-0.16-prompt.patch
 Patch10: netkit-rsh-0.16-rlogin=rsh.patch
+# Improve documentation
 Patch11: netkit-rsh-0.16-nokrb.patch
+# Remove spurious double-reporting of errors
 Patch12: netkit-rsh-0.17-pre20000412-jbj5.patch
+# RH #42880
 Patch13: netkit-rsh-0.17-userandhost.patch
+# Don't strip binaries during installation
 Patch14: netkit-rsh-0.17-strip.patch
+# RH #67362
 Patch15: netkit-rsh-0.17-lfs.patch
+# RH #57392
 Patch16: netkit-rsh-0.17-chdir.patch
+# RH #63806
 Patch17: netkit-rsh-0.17-pam-nologin.patch
+# RH #135643
 Patch19: netkit-rsh-0.17-rexec-netrc.patch
+# RH #68590
 Patch20: netkit-rsh-0.17-pam-sess.patch
+# RH #67361
 Patch21: netkit-rsh-0.17-errno.patch
+# RH #118630
 Patch22: netkit-rsh-0.17-rexec-sig.patch
+# RH #135827
 Patch23: netkit-rsh-0.17-nohost.patch
+# RH #122315
 Patch24: netkit-rsh-0.17-ignchld.patch
+# RH #146464
 Patch25: netkit-rsh-0.17-checkdir.patch
 Patch26: netkit-rsh-0.17-pam-conv.patch
+# RH #174045
 Patch27: netkit-rsh-0.17-rcp-largefile.patch
+# RH #174146
 Patch28: netkit-rsh-0.17-pam-rhost.patch
+# RH #178916
 Patch29: netkit-rsh-0.17-rlogin-linefeed.patch
 Patch30: netkit-rsh-0.17-ipv6.patch
 Patch31: netkit-rsh-0.17-pam_env.patch
 Patch33: netkit-rsh-0.17-dns.patch
 Patch34: netkit-rsh-0.17-nohostcheck-compat.patch
+# RH #448904
 Patch35: netkit-rsh-0.17-audit.patch
 Patch36: netkit-rsh-0.17-longname.patch
+# RH #440867
 Patch37: netkit-rsh-0.17-arg_max.patch
+Patch38: netkit-rsh-0.17-rh448904.patch
+Patch39: netkit-rsh-0.17-rh461903.patch
+Patch40: netkit-rsh-0.17-rh473492.patch
+Patch41: netkit-rsh-0.17-rh650119.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildPrereq: perl
-BuildPrereq: libtermcap-devel
+BuildRequires: perl
+BuildRequires: ncurses-devel
+BuildRequires: pam-devel
+BuildRequires: audit-libs-devel
+#BuildRequires: libtermcap-devel
 
 %description
 The rsh package contains a set of programs which allow users to run
@@ -80,7 +108,7 @@ Summary(ja): リモートアクセスコマンド (rsh, rlogin, rcp) のサー
 Group: System Environment/Daemons
 #Requires: pam >= 0.59, /etc/pam.d/system-auth
 Requires: pam >= 0.72
-
+Requires: xinetd
 
 %description server
 The rsh-server package contains a set of programs which allow users
@@ -117,10 +145,6 @@ rexec という別の種類のリモートコマンド実行の為のサーバ
 %patch2 -p1 -b .rexec
 %patch3 -p1 -b .stdarg
 %patch4 -p1 -b .jbj
-# XXX patches {6,7,8} not applied
-#%patch5 -p1 -b .pamfix
-#%patch6 -p1 -b .jbj2
-#%patch7 -p1 -b .jbj3
 %patch8 -p1 -b .jbj4
 %patch9 -p1 -b .prompt
 %patch10 -p1 -b .rsh
@@ -149,6 +173,10 @@ rexec という別の種類のリモートコマンド実行の為のサーバ
 %patch35 -p1 -b .audit
 %patch36 -p1 -b .longname
 %patch37 -p1 -b .arg_max
+%patch38 -p1 -b .rh448904
+%patch39 -p1 -b .rh461903
+%patch40 -p1 -b .rh473492
+%patch41 -p1 -b .rh650119
 
 # No, I don't know what this is doing in the tarball.
 rm -f rexec/rexec
@@ -211,6 +239,18 @@ rm -rf ${RPM_BUILD_ROOT}
 
 
 %changelog
+* Sun Apr 10 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-36
+- rebuilt with current VineSeed
+- added Patch38-41 from Fedora
+  * Mon Nov 09 2010 Adam Tkac <atkac redhat com> - 0.17-64
+  - fix typo in rexec.c (#650119)
+  * Tue Jan 5 2010 Jan Gorig  <jgorig redhat com> - 0.17-62
+  - add check for return values (#473492)
+  * Thu Mar 26 2009 Adam Tkac <atkac redhat com> 0.17-53
+  - check return value from close to catch errors on NFS filesystems (#461903)
+  * Fri Oct 03 2008 Adam Tkac <atkac redhat com> 0.17-51
+  - make in.rshd working on kernels without audit support (#448904)
+
 * Sun Sep 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.17-35
 - new versioning policy, spec in UTF-8
 - import Patch3[0-7] from fedora

+ 44 - 5
t/telnet/telnet-vl.spec

@@ -4,9 +4,12 @@ Summary: The client program for the telnet remote login protocol.
 Summary(ja): リモートログインプロトコル telnet のクライアントプログラム
 Name: telnet
 Version: %{telnet_version}.x
-Release: 31%{?_dist_release}
+Release: 32%{?_dist_release}
+
 License: BSD
 Group: Applications/Internet
+URL: http://web.archive.org/web/20070819111735/www.hcs.harvard.edu/~dholland/computers/old-netkit.html
+
 Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-telnet-%{telnet_version}.tar.gz
 Source2: telnet-client.tar.gz
 Source3: telnet-xinetd
@@ -21,9 +24,17 @@ Patch10: telnet-0.17-pek.patch
 Patch11: telnet-0.17-8bit.patch
 Patch12: telnet-0.17-argv.patch
 Patch13: telnet-0.17-conf.patch
-Patch50: telnet-0.17-CAN-2005-468_469.patch
-BuildPreReq: ncurses-devel
+Patch14: telnet-0.17-cleanup_race.patch
+Patch15: telnetd-0.17-pty_read.patch
+Patch16: telnet-0.17-CAN-2005-468_469.patch
+Patch18: telnet-gethostbyname.patch
+Patch19: netkit-telnet-0.17-ipv6.diff
+Patch20: netkit-telnet-0.17-nodns.patch
+Patch21: telnet-0.17-errno_test_sys_bsd.patch
+Patch22: netkit-telnet-0.17-reallynodns.patch
+
 Buildroot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: ncurses-devel
 
 %description
 Telnet is a popular protocol for logging into remote systems over the
@@ -84,8 +95,15 @@ mv telnet telnet-NETKIT
 %patch11 -p1 -b .8bit
 %patch12 -p1 -b .argv
 %patch13 -p1 -b .confverb
-
-%patch50  -p1 -b .CAN-2005-468_469
+%patch14 -p1 -b .cleanup_race 
+%patch15 -p0 -b .pty_read
+%patch16 -p1 -b .CAN-2005-468_469
+#%patch17 -p1 -b .linemode
+%patch18 -p1 -b .gethost
+%patch19 -p1 -b .gethost2
+%patch20 -p1 -b .nodns
+%patch21 -p1 -b .errnosysbsd
+%patch22 -p1 -b .reallynodns
 
 %build
 sh configure --with-c-compiler=gcc
@@ -117,6 +135,7 @@ rm -rf ${RPM_BUILD_ROOT}
 
 %files
 %defattr(-,root,root)
+%doc README
 %{_bindir}/telnet
 %{_mandir}/man1/telnet.1*
 
@@ -129,6 +148,26 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_mandir}/man8/telnetd.8*
 
 %changelog
+* Sun Apr 10 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17.x-32
+- rebuilt with current VineSeed
+- used BuildRequires instead of BuildPrereq
+- added Patch 14, 15, 18-22 from Fedora
+  * Wed Sep 02 2009 Adam Tkac <atkac redhat com> 1:0.17-45
+  - add new option -N to disable DNS lookups (#490242)
+  * Tue Sep 25 2007 Adam Tkac <atkac redhat com> 1:0.17-41
+  - rebased "nodns" patch with patch from Bryn M. Reeves
+  * Fri Jul 14 2006 Harald Hoyer <harald@redhat.com> - 1:0.17-37
+  - added netkit-telnet-0.17-ipv6.diff from Marek Grác, 
+    which adds IPv6 support to telnetd
+  * Mon May 08 2006 Harald Hoyer <harald@redhat.com> - 1:0.17-36
+  - patch to remove gethostbyname() (bug #190296)
+  * Fri Jan 21 2005 Harald Hoyer <harald@redhat.com> - 1:0.17-33
+  - added patch telnetd-0.17-pty_read.patch, which fixes 145636
+  * Thu Jan 13 2005 Jason Vas Dias <jvdias@redhat.com> - 1:0.17-31
+  - bug 143929 / 145004 : fix race condition in telnetd on wtmp lock 
+  - when cleanup() is entered from main process and in signal
+  - handler 
+
 * Thu Apr 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.17.x-31
 - Requires: xinetd instead of inetd
 

+ 10 - 4
t/time/time-vl.spec

@@ -1,17 +1,20 @@
+Name: time
 Summary: A GNU utility for monitoring a program's use of system resources.
 Summary(ja): プログラムのシステムリソース使用をモニタする GNU ユーティリティ
-Name: time
 Version: 1.7
-Release: 22%{?_dist_release}
-License: GPLv2+
+Release: 23%{?_dist_release}
+
 Group: Applications/System
+License: GPLv2+
 URL: http://www.gnu.org/software/time/
+
 Source0: ftp://prep.ai.mit.edu/pub/gnu/%{name}/%{name}-%{version}.tar.gz
 Patch0: time-1.7-destdir.patch
 Patch1: time-1.7-verbose.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-Requires(post,preun): /sbin/install-info
+Requires(post): /sbin/install-info
+Requires(preun): /sbin/install-info
 
 %description
 The GNU time utility runs another program, collects information about
@@ -57,6 +60,9 @@ fi
 %{_infodir}/time.info*
 
 %changelog
+* Sun Apr 10 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7-23
+- rebuilt with current VineSeed
+
 * Thu Oct 23 2008 Shu KONNO <owa@bg.wakwak.com> 1.7-22
 - spec in utf-8