[521] | 1 | %define telnet_version 0.17 |
---|
| 2 | |
---|
| 3 | Summary: The client program for the telnet remote login protocol. |
---|
| 4 | Summary(ja): リモートログインプロトコル telnet のクライアントプログラム |
---|
| 5 | Name: telnet |
---|
| 6 | Version: %{telnet_version}.x |
---|
[3399] | 7 | Release: 32%{?_dist_release} |
---|
| 8 | |
---|
[521] | 9 | License: BSD |
---|
| 10 | Group: Applications/Internet |
---|
[3399] | 11 | URL: http://web.archive.org/web/20070819111735/www.hcs.harvard.edu/~dholland/computers/old-netkit.html |
---|
| 12 | |
---|
[521] | 13 | Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-telnet-%{telnet_version}.tar.gz |
---|
| 14 | Source2: telnet-client.tar.gz |
---|
| 15 | Source3: telnet-xinetd |
---|
| 16 | Source4: telnet.wmconfig |
---|
| 17 | Patch1: telnet-client-cvs.patch |
---|
| 18 | Patch5: telnetd-0.17.diff |
---|
| 19 | Patch6: telnet-0.17-env.patch |
---|
| 20 | Patch7: telnet-0.17-issue.patch |
---|
| 21 | Patch8: telnet-0.17-sa-01-49.patch |
---|
| 22 | Patch9: telnet-0.17-env-5x.patch |
---|
| 23 | Patch10: telnet-0.17-pek.patch |
---|
| 24 | Patch11: telnet-0.17-8bit.patch |
---|
| 25 | Patch12: telnet-0.17-argv.patch |
---|
| 26 | Patch13: telnet-0.17-conf.patch |
---|
[3399] | 27 | Patch14: telnet-0.17-cleanup_race.patch |
---|
| 28 | Patch15: telnetd-0.17-pty_read.patch |
---|
| 29 | Patch16: telnet-0.17-CAN-2005-468_469.patch |
---|
| 30 | Patch18: telnet-gethostbyname.patch |
---|
| 31 | Patch19: netkit-telnet-0.17-ipv6.diff |
---|
| 32 | Patch20: netkit-telnet-0.17-nodns.patch |
---|
| 33 | Patch21: telnet-0.17-errno_test_sys_bsd.patch |
---|
| 34 | Patch22: netkit-telnet-0.17-reallynodns.patch |
---|
| 35 | |
---|
[521] | 36 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
[3399] | 37 | BuildRequires: ncurses-devel |
---|
[521] | 38 | |
---|
| 39 | %description |
---|
| 40 | Telnet is a popular protocol for logging into remote systems over the |
---|
| 41 | Internet. The telnet package provides a command line telnet client. |
---|
| 42 | |
---|
| 43 | Install the telnet package if you want to telnet to remote machines. |
---|
| 44 | |
---|
| 45 | This version has support for IPv6. |
---|
| 46 | |
---|
| 47 | %description -l ja |
---|
| 48 | Telnet はインターネット越しにリモートシステムへログインするための非常に |
---|
| 49 | ポピュラーなプロトコルです。telnet パッケージは telnet のコマンドライン |
---|
| 50 | クライアントを提供しています。 |
---|
| 51 | |
---|
| 52 | リモートマシンへ telnet したい場合は telnet パッケージをインストールして |
---|
| 53 | ください。 |
---|
| 54 | |
---|
| 55 | このバージョンは IPv6 をサポートしています。 |
---|
| 56 | |
---|
| 57 | %package server |
---|
| 58 | Summary: The server program for the telnet remote login protocol. |
---|
| 59 | Summary(ja): リモートログインプロトコル telnet サーバトプログラム |
---|
| 60 | Requires: xinetd |
---|
| 61 | Group: System Environment/Daemons |
---|
| 62 | |
---|
| 63 | %description server |
---|
| 64 | Telnet is a popular protocol for logging into remote systems over the |
---|
| 65 | Internet. The telnet-server package a telnet daemon, which will |
---|
| 66 | support remote logins into the host machine. The telnet daemon is |
---|
| 67 | enabled by default. You may disable the telnet daemon by editing |
---|
| 68 | /etc/xinet.d/telnet |
---|
| 69 | |
---|
| 70 | Install the telnet-server package if you want to support remote logins |
---|
| 71 | to your own machine. |
---|
| 72 | |
---|
| 73 | %description -l ja server |
---|
| 74 | Telnet はインターネット越しにリモートシステムへログインするための非常に |
---|
| 75 | ポピュラーなプロトコルです。telnet-server パッケージにはホストマシンにリ |
---|
| 76 | モートログインの機能を提供する telnet デーモンが含まれています。 |
---|
| 77 | xinetd または inetd の設定を編集することで telnet デーモンを停止すること |
---|
| 78 | ができます。 |
---|
| 79 | |
---|
| 80 | あなたのマシンに外部から telnet でリモートログインできるようにするために |
---|
| 81 | は telnet-server パッケージをインストールしてください。 |
---|
| 82 | |
---|
| 83 | %prep |
---|
| 84 | %setup -q -n netkit-telnet-%{telnet_version} |
---|
| 85 | |
---|
| 86 | mv telnet telnet-NETKIT |
---|
| 87 | %setup -T -D -q -a 2 -n netkit-telnet-%{telnet_version} |
---|
| 88 | |
---|
| 89 | %patch1 -p0 -b .cvs |
---|
| 90 | %patch5 -p0 -b .fix |
---|
| 91 | %patch6 -p1 -b .env |
---|
| 92 | %patch10 -p0 -b .pek |
---|
| 93 | %patch7 -p1 -b .issue |
---|
| 94 | %patch8 -p1 -b .sa-01-49 |
---|
| 95 | %patch11 -p1 -b .8bit |
---|
| 96 | %patch12 -p1 -b .argv |
---|
| 97 | %patch13 -p1 -b .confverb |
---|
[3399] | 98 | %patch14 -p1 -b .cleanup_race |
---|
| 99 | %patch15 -p0 -b .pty_read |
---|
| 100 | %patch16 -p1 -b .CAN-2005-468_469 |
---|
| 101 | #%patch17 -p1 -b .linemode |
---|
| 102 | %patch18 -p1 -b .gethost |
---|
| 103 | %patch19 -p1 -b .gethost2 |
---|
| 104 | %patch20 -p1 -b .nodns |
---|
| 105 | %patch21 -p1 -b .errnosysbsd |
---|
| 106 | %patch22 -p1 -b .reallynodns |
---|
[521] | 107 | |
---|
| 108 | %build |
---|
| 109 | sh configure --with-c-compiler=gcc |
---|
| 110 | perl -pi -e ' |
---|
| 111 | s,^CC=.*$,CC=cc,; |
---|
| 112 | s,-O2,\$(RPM_OPT_FLAGS),; |
---|
| 113 | s,^BINDIR=.*$,BINDIR=%{_bindir},; |
---|
| 114 | s,^MANDIR=.*$,MANDIR=%{_mandir},; |
---|
| 115 | s,^SBINDIR=.*$,SBINDIR=%{_sbindir},; |
---|
| 116 | ' MCONFIG |
---|
| 117 | |
---|
| 118 | make |
---|
| 119 | |
---|
| 120 | %install |
---|
| 121 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 122 | mkdir -p ${RPM_BUILD_ROOT}%{_bindir} |
---|
| 123 | mkdir -p ${RPM_BUILD_ROOT}%{_sbindir} |
---|
| 124 | mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 |
---|
| 125 | mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man5 |
---|
| 126 | mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8 |
---|
| 127 | |
---|
| 128 | make INSTALLROOT=${RPM_BUILD_ROOT} install |
---|
| 129 | |
---|
| 130 | mkdir -p ${RPM_BUILD_ROOT}/etc/xinetd.d |
---|
| 131 | install -m644 %SOURCE3 ${RPM_BUILD_ROOT}/etc/xinetd.d/telnet |
---|
| 132 | |
---|
| 133 | %clean |
---|
| 134 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 135 | |
---|
| 136 | %files |
---|
| 137 | %defattr(-,root,root) |
---|
[3399] | 138 | %doc README |
---|
[521] | 139 | %{_bindir}/telnet |
---|
| 140 | %{_mandir}/man1/telnet.1* |
---|
| 141 | |
---|
| 142 | %{!?b5x:%files server} |
---|
| 143 | %defattr(-,root,root) |
---|
| 144 | %config(noreplace) /etc/xinetd.d/telnet |
---|
| 145 | %{_sbindir}/in.telnetd |
---|
| 146 | %{_mandir}/man5/issue.net.5* |
---|
| 147 | %{_mandir}/man8/in.telnetd.8* |
---|
| 148 | %{_mandir}/man8/telnetd.8* |
---|
| 149 | |
---|
| 150 | %changelog |
---|
[3399] | 151 | * Sun Apr 10 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17.x-32 |
---|
| 152 | - rebuilt with current VineSeed |
---|
| 153 | - used BuildRequires instead of BuildPrereq |
---|
| 154 | - added Patch 14, 15, 18-22 from Fedora |
---|
| 155 | * Wed Sep 02 2009 Adam Tkac <atkac redhat com> 1:0.17-45 |
---|
| 156 | - add new option -N to disable DNS lookups (#490242) |
---|
| 157 | * Tue Sep 25 2007 Adam Tkac <atkac redhat com> 1:0.17-41 |
---|
| 158 | - rebased "nodns" patch with patch from Bryn M. Reeves |
---|
| 159 | * Fri Jul 14 2006 Harald Hoyer <harald@redhat.com> - 1:0.17-37 |
---|
| 160 | - added netkit-telnet-0.17-ipv6.diff from Marek Grác, |
---|
| 161 | which adds IPv6 support to telnetd |
---|
| 162 | * Mon May 08 2006 Harald Hoyer <harald@redhat.com> - 1:0.17-36 |
---|
| 163 | - patch to remove gethostbyname() (bug #190296) |
---|
| 164 | * Fri Jan 21 2005 Harald Hoyer <harald@redhat.com> - 1:0.17-33 |
---|
| 165 | - added patch telnetd-0.17-pty_read.patch, which fixes 145636 |
---|
| 166 | * Thu Jan 13 2005 Jason Vas Dias <jvdias@redhat.com> - 1:0.17-31 |
---|
| 167 | - bug 143929 / 145004 : fix race condition in telnetd on wtmp lock |
---|
| 168 | - when cleanup() is entered from main process and in signal |
---|
| 169 | - handler |
---|
| 170 | |
---|
[521] | 171 | * Thu Apr 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.17.x-31 |
---|
| 172 | - Requires: xinetd instead of inetd |
---|
| 173 | |
---|
| 174 | * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 0.17.x-30vl5 |
---|
| 175 | - applied new versioning policy, spec in utf-8 |
---|
| 176 | |
---|
| 177 | * Thu Jul 06 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17.x-30vl2 |
---|
| 178 | - rebuilt for VineSeed |
---|
| 179 | |
---|
| 180 | * Fri Apr 01 2005 IKEDA Katsumi <ikeda@webmasters.gr.jp> 0.17.x-30vl1.1 |
---|
| 181 | - added a security patch for CAN-2005-0468 and CAN-2005-0469 from Fedora. |
---|
| 182 | |
---|
| 183 | * Sat Oct 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.17.x-30vl1 |
---|
| 184 | - import patches from Fedora package |
---|
| 185 | - add Japanese summaries and desctiptions. |
---|
| 186 | - add xinetd config files. |
---|
| 187 | - remove old applnk files. |
---|
| 188 | |
---|
| 189 | * Wed Nov 13 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.17.6x-23vl1 |
---|
| 190 | - merged with redhat package (patch10 for errata) |
---|
| 191 | |
---|
| 192 | * Sat Aug 18 2001 Toru Sagami <sagami@vinelinux.org> |
---|
| 193 | - 0.17.6x-18vl1: from RedHat updates |
---|
| 194 | |
---|
| 195 | * Tue Jul 31 2001 Harald Hoyer <harald@redhat.de> |
---|
| 196 | - fixed security issues (#50335) |
---|
| 197 | - patched the patches to fit the 5x version |
---|
| 198 | - one world -> one spec file for all versions ;) |
---|
| 199 | |
---|
| 200 | * Sat Jul 21 2001 Tim Powers <timp@redhat.com> |
---|
| 201 | - no applnk file, it's clutrtering the menus |
---|
| 202 | |
---|
| 203 | * Wed Jul 17 2001 Bill Nottingham <notting@redhat.com> |
---|
| 204 | - apply the patch, duh (and fix it while we're here) |
---|
| 205 | |
---|
| 206 | * Tue Jul 10 2001 Bill Nottingham <notting@redhat.com> |
---|
| 207 | - make /etc/issue.net parsing match the various gettys |
---|
| 208 | |
---|
| 209 | * Mon Jun 18 2001 Harald Hoyer <harald@redhat.de> |
---|
| 210 | - merged Jakubs and Pekka's patches |
---|
| 211 | |
---|
| 212 | * Wed Apr 4 2001 Jakub Jelinek <jakub@redhat.com> |
---|
| 213 | - don't let configure to guess compiler, it can pick up egcs |
---|
| 214 | |
---|
| 215 | * Fri Mar 9 2001 Pekka Savola <pekkas@netcore.fi> |
---|
| 216 | - update to 0.17 |
---|
| 217 | - apply latest changes from CVS to telnet client, enable IPv6 |
---|
| 218 | - BuildPreReq ncurses-devel |
---|
| 219 | |
---|
| 220 | * Mon Jan 22 2001 Helge Deller <hdeller@redhat.com> |
---|
| 221 | - added swedish & german translation to .desktop-file (#15332) |
---|
| 222 | |
---|
| 223 | * Sat Dec 30 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 224 | - mark the xinetd config file as config(noreplace) |
---|
| 225 | |
---|
| 226 | * Fri Dec 01 2000 Trond Eivind Glomsr藷?<teg@redhat.com> |
---|
| 227 | - make sure the server is turned off by default |
---|
| 228 | |
---|
| 229 | * Tue Jul 18 2000 Bill Nottingham <notting@redhat.com> |
---|
| 230 | - add description & default to xinetd file |
---|
| 231 | |
---|
| 232 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
| 233 | - automatic rebuild |
---|
| 234 | |
---|
| 235 | * Mon Jun 19 2000 Jeff Johnson <jbj@redhat.com> |
---|
| 236 | - FHS packaging. |
---|
| 237 | - update to 0.17-pre20000412. |
---|
| 238 | |
---|
| 239 | * Tue May 23 2000 Trond Eivind Glomsr藷?<teg@redhat.com> |
---|
| 240 | - moved the xinet entry to the server |
---|
| 241 | |
---|
| 242 | * Mon May 22 2000 Trond Eivind Glomsr藷?<teg@redhat.com> |
---|
| 243 | - add an entry to /etc/xinetd.d |
---|
| 244 | |
---|
| 245 | * Tue May 16 2000 Jeff Johnson <jbj@redhat.com> |
---|
| 246 | - permit telnet queries only for exported variables. |
---|
| 247 | |
---|
| 248 | * Fri Mar 24 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 249 | - 0.17 |
---|
| 250 | |
---|
| 251 | * Tue Mar 7 2000 Jeff Johnson <jbj@redhat.com> |
---|
| 252 | - rebuild for sparc baud rates > 38400. |
---|
| 253 | |
---|
| 254 | * Fri Feb 11 2000 Bill Nottingham <notting@redhat.com> |
---|
| 255 | - fix description |
---|
| 256 | |
---|
| 257 | * Mon Feb 07 2000 Preston Brown <pbrown@redhat.com> |
---|
| 258 | - wmconfig gone |
---|
| 259 | |
---|
| 260 | * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> |
---|
| 261 | - man pages are compressed |
---|
| 262 | - fix description |
---|
| 263 | |
---|
| 264 | * Tue Jan 4 2000 Bill Nottingham <notting@redhat.com> |
---|
| 265 | - split client and server |
---|
| 266 | |
---|
| 267 | * Tue Dec 21 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 268 | - update to 0.16. |
---|
| 269 | |
---|
| 270 | * Sun Oct 10 1999 Matt Wilson <msw@redhat.com> |
---|
| 271 | - corrected the Terminal setting of the .desktop (needs to be 'true' not '1') |
---|
| 272 | |
---|
| 273 | * Sat Sep 24 1999 Preston Brown <pbrown@redhat.com> |
---|
| 274 | - red hat .desktop entry |
---|
| 275 | |
---|
| 276 | * Sat Aug 21 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 277 | - rebuild for 6.1. |
---|
| 278 | |
---|
| 279 | * Wed Aug 18 1999 Bill Nottingham <notting@redhat.com> |
---|
| 280 | - don't trust random TERM variables in telnetd (#4560) |
---|
| 281 | |
---|
| 282 | * Wed Jun 2 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 283 | - fix (#3098). |
---|
| 284 | |
---|
| 285 | * Thu May 27 1999 Antti Andreimann <Antti.Andreimann@mail.ee> |
---|
| 286 | - fixed the problem with escape character (it could not be disabled) |
---|
| 287 | - changed the spec file to use %setup macro for unpacking telnet-client |
---|
| 288 | |
---|
| 289 | * Thu Apr 15 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 290 | - use glibc utmp routines. |
---|
| 291 | |
---|
| 292 | * Thu Apr 8 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 293 | - fix the fix (wrong way memcpy). |
---|
| 294 | |
---|
| 295 | * Wed Apr 7 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 296 | - fix "telnet localhost" bus error on sparc64 (alpha?). |
---|
| 297 | |
---|
| 298 | * Tue Apr 6 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 299 | - use OpenBSD telnet client (and fix minor core dump with .telnetrc #247) |
---|
| 300 | |
---|
| 301 | * Thu Mar 25 1999 Erik Troan <ewt@redhat.com> |
---|
| 302 | - use openpty in telnetd |
---|
| 303 | |
---|
| 304 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 305 | - auto rebuild in the new build environment (release 22) |
---|
| 306 | |
---|
| 307 | * Mon Mar 15 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 308 | - compile for 6.0. |
---|
| 309 | |
---|
| 310 | * Fri Apr 24 1998 Prospector System <bugs@redhat.com> |
---|
| 311 | - translations modified for de, fr, tr |
---|
| 312 | |
---|
| 313 | * Fri Apr 24 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 314 | - compile C++ code using egcs |
---|
| 315 | |
---|
| 316 | * Tue Apr 14 1998 Erik Troan <ewt@redhat.com> |
---|
| 317 | - built against new ncurses |
---|
| 318 | |
---|
| 319 | * Wed Oct 29 1997 Donnie Barnes <djb@redhat.com> |
---|
| 320 | - added wmconfig entry |
---|
| 321 | |
---|
| 322 | * Tue Jul 15 1997 Erik Troan <ewt@redhat.com> |
---|
| 323 | - initial build |
---|