Jesse Keating
6c306e5767
- Autorebuild for GCC 4.3
2008-02-19 14:26:52 +00:00
Marcela Mašláňová
9ff9fdd15e
- changed bitrate from 1e+03 KBytes/sec to 1000 kBytes/sec
...
- Resolves: rhbz#430457
2008-01-28 11:07:04 +00:00
Marcela Mašláňová
59d2027bf0
Forgot add the patch.
2007-11-15 13:07:10 +00:00
Marcela Mašláňová
f648401a40
Using fprintf instead of printf.
2007-11-15 12:52:22 +00:00
Marcela Mašláňová
5c72344e72
feature: for cmd size is switching to TYPE_I automatized bug: ftp leaks
...
socket fds when it fails to open a file (#315241 )
2007-10-22 08:11:17 +00:00
Bill Nottingham
ba70335a13
makefile update to properly grab makefile.common
2007-10-15 18:46:18 +00:00
Marcela Mašláňová
9e26dc9cbc
Check license tag.
2007-08-24 07:10:45 +00:00
Marcela Mašláňová
acc2825d52
Add patch.
2007-08-07 10:54:40 +00:00
Marcela Mašláňová
2cdfed0785
Changes in spec for review.
2007-02-15 15:57:24 +00:00
Marcela Mašláňová
48803b3dd4
Change for review
2007-02-15 15:15:53 +00:00
Marcela Mašláňová
f4fdb6d5a3
Change spec.
2007-02-14 11:07:07 +00:00
Marcela Mašláňová
2c0ccf0871
Changes for review.
2007-02-14 10:26:50 +00:00
Marcela Mašláňová
c780124ca6
Change for review.
2007-02-07 10:37:08 +00:00
Marcela Mašláňová
4ed04aeab3
Change in spec file for review.
2007-02-06 12:52:18 +00:00
Marcela Mašláňová
4232a3d5c7
Changes in spec file.
2007-02-05 16:02:29 +00:00
Marcela Mašláňová
02fb0ab9c3
Removed no debug.
2007-01-30 13:25:18 +00:00
Marcela Mašláňová
012e949d58
Removed nodebug.
2007-01-30 13:24:34 +00:00
Marcela Mašláňová
cd9534f618
Change spec, add patch.
2007-01-30 13:02:14 +00:00
Marcela Mašláňová
beceefff69
Change spec file.
2006-09-13 06:37:40 +00:00
Marcela Mašláňová
0a498631ce
--- netkit-ftp-0.17/ftp/ftp.c.multiipv6 2006-08-02 15:03:26.000000000 +0200
...
netkit-ftp-0.17/ftp/ftp.c 2006-08-02 15:06:19.000000000 +0200 @@ -78,9
+78,7 @@ #include <netinet/in.h> #include <netinet/ip.h> #include
<arpa/ftp.h>
-#include <arpa/inet.h> #include <arpa/telnet.h>
- #include <stdio.h> #include <signal.h> #include <string.h> @@ -132,7
+130,7 @@ static sigjmp_buf ptabort; static int ptabflg = 0; static int
abrtflag = 0;
-struct sockaddr_in source;
struct sockaddr_storage source;
void lostpeer(int); extern int connected; @@ -154,8 +152,8 @@ char *
hookup(const char *host, const char *port) {
- int s, tos, error, alen;
- socklen_t len;
int s, tos, error;
socklen_t len, alen; static char hostnamebuf[256]; struct addrinfo hints,
*res, *res0; char hbuf[MAXHOSTNAMELEN], pbuf[NI_MAXSERV]; @@ -281,7
+279,15 @@ printf("Connected to %s (%s).\n", hostname, hbuf); alen =
sizeof(source); getsockname(s,(struct sockaddr*)&source, &alen);
- source.sin_port = 0; /* We just want the addr, not the port */
switch (source.ss_family) {
/* We just want the addr, not the port */
case AF_INET:
((struct sockaddr_in *) &source)->sin_port = 0;
break;
case AF_INET6:
((struct sockaddr_in6 *) &source)->sin6_port = 0;
break;
}
if (getreply(0) > 2) { /* read startup message from server */ if (cin) @@
-1260,11 +1266,11 @@ return(1); }
if((multihome) &&
- bind(data, (struct sockaddr*)&source, sizeof(source)) == -1) {
- close(data);
- data = -1;
- perror("ftp multihome bind");
- return(1);
bind(data, (struct sockaddr *)&source, sizeof(source)) == -1) {
close(data);
data = -1;
perror("ftp multihome bind");
return(1); }
if (options & SO_DEBUG && setsockopt(data, SOL_SOCKET, SO_DEBUG, (char
*)&on
2006-08-02 13:21:51 +00:00
Marcela Mašláňová
b46df69741
--- netkit-ftp-0.17/ftp/cmds.c.longnames 2006-07-25 11:13:55.000000000
...
+0200
netkit-ftp-0.17/ftp/cmds.c 2006-07-24 17:52:10.000000000 +0200 @@ -1057,10
+1057,9 @@ status(void) {
int i;
-
- if (connected)
if (connected) printf("Connected to %s.\n", hostname);
- else
else printf("Not connected.\n"); if (!proxy) { pswitch(1); @@ -1081,7
+1080,7 @@ onoff(runique)); printf("Case: %s; CR stripping:
%s\n",onoff(mcase),onoff(crflag)); if (ntflag) {
- printf("Ntrans: (in) %s (out) %s\n", ntin,ntout);
printf("Ntrans: (in) %s (out) %s\n",ntin,ntout); }
else { printf("Ntrans: off\n"); @@ -1948,14 +1947,14 @@ }
ntflag++; code = ntflag;
- (void) strncpy(ntin, argv[1], 16);
- ntin[16] = '\0';
(void) strncpy(ntin, argv[1], NTRANS_MAX);
ntin[NTRANS_MAX] = '\0'; if (argc == 2) { ntout[0] = '\0'; return; }
- (void) strncpy(ntout, argv[2], 16);
- ntout[16] = '\0';
(void) strncpy(ntout, argv[2], NTRANS_MAX);
ntout[NTRANS_MAX] = '\0'; }
static char * @@ -1965,10 +1964,10 @@ char *cp1, *cp2 = new; register int
i, ostop, found;
- for (ostop = 0; *(ntout + ostop) && ostop < 16; ostop++);
for (ostop = 0; *(ntout + ostop) && ostop < NTRANS_MAX; ostop++); for (cp1
= name; *cp1; cp1++) { found = 0;
- for (i = 0; *(ntin + i) && i < 16; i++) {
for (i = 0; *(ntin + i) && i < NTRANS_MAX; i++) { if (*cp1 == *(ntin + i))
{ found++; if (i < ostop) {
--- netkit-ftp-0.17/ftp/ftp.c.longnames 2006-07-25 11:13:56.000000000 +0200
netkit-ftp-0.17/ftp/ftp.c 2006-07-24 17:46:14.000000000 +0200 @@ -1656,8
+1656,8 @@ int runqe; int mcse; int ntflg;
- char nti[17];
- char nto[17];
char nti[NTRANS_MAX+1];
char nto[NTRANS_MAX+1]; int mapflg; char mi[MAXPATHLEN]; char
mo[MAXPATHLEN]; @@ -1712,11 +1712,11 @@ mcase = op->mcse; ip->ntflg =
ntflag; ntflag = op->ntflg;
- (void) strncpy(ip->nti, ntin, 16);
- (ip->nti)[16] = '\0'; /* shouldn't use strlen */
(void) strncpy(ip->nti, ntin, NTRANS_MAX);
(ip->nti)[NTRANS_MAX] = '\0'; /* shouldn't use strlen */ (void)
strcpy(ntin, op->nti);
- (void) strncpy(ip->nto, ntout, 16);
- (ip->nto)[16] = '\0';
(void) strncpy(ip->nto, ntout, NTRANS_MAX);
(ip->nto)[NTRANS_MAX] = '\0'; (void) strcpy(ntout, op->nto); ip->mapflg =
mapflag; mapflag = op->mapflg;
--- netkit-ftp-0.17/ftp/ftp_var.h.longnames 2006-07-25 11:13:56.000000000
+0200
netkit-ftp-0.17/ftp/ftp_var.h 2006-07-24 15:49:37.000000000 +0200 @@ -42,6
+42,7 @@
#include <setjmp.h> #include <sys/param.h>
#define NTRANS_MAX 64
/*
Tick counter step size. @@ -82,8 +83,8 @@ Extern char pasv[64]; /* passive
port for proxy data connection */ Extern int passivemode; /* passive
mode enabled */ Extern char *altarg; /* argv[1] with no shell-like
preprocessing */
-Extern char ntin[17]; /* input translation table */
-Extern char ntout[17]; /* output translation table */
Extern char ntin[NTRANS_MAX+1]; /* input translation table */
Extern char ntout[NTRANS_MAX+1]; /* output translation table */ Extern char
mapin[MAXPATHLEN]; /* input map template */ Extern char
mapout[MAXPATHLEN]; /* output map template */ Extern char typename[32];
/* name of file transfer type */
2006-07-26 12:56:27 +00:00
Jesse Keating
6fb4ee2955
bumped for rebuild
2006-07-12 05:52:25 +00:00
Jesse Keating
749c96f81f
bump for bug in double-long on ppc(64)
2006-02-11 02:46:57 +00:00
Jesse Keating
1e608d30de
bump for new gcc/glibc
2006-02-07 11:42:24 +00:00
praszyk
653c60b2f5
Support for multi-homed clients, see #171621
2006-01-12 10:39:59 +00:00
Jesse Keating
38c18fcd23
gcc update bump
2005-12-09 22:40:30 +00:00
praszyk
4ca5a3037c
ftp does not close socket descriptor (See #174599 )
2005-12-02 14:51:35 +00:00
praszyk
2f28aa5eb3
Comments/hints for C-Frame 121.
2005-10-26 15:03:54 +00:00
praszyk
7a3d5f4c08
Placebo, can not build.
2005-08-30 15:29:34 +00:00
praszyk
4c3f2a582a
This is a placebo commit (can not build).
2005-08-30 15:24:02 +00:00
praszyk
9ceeb4f2e5
Relativ-path removed from the patch file
2005-08-30 09:30:43 +00:00
praszyk
71a717b5c2
This 'hack' will avoid a bug in ftp-server (see #165083 ).
2005-08-30 09:13:43 +00:00
praszyk
08c5489ce8
signed overflow (printing '#' but not reading data from network)
2005-08-23 08:06:53 +00:00
Miloslav Trmac
31a01a307f
- Fix passive mode with SELinux ( #158234 , patch by Nalin Dahyabhai)
...
- Fix format string mismatch
2005-05-24 20:15:26 +00:00
jryska
c38e62c33e
rebuilt
2005-03-04 18:27:06 +00:00
Tim Waugh
9b5c10012a
- Rebuilt for new readline.
2005-01-12 15:07:34 +00:00
Tim Waugh
77f41c212d
- Call setlocale() so that readline works correctly (bug #142265 ).
2004-12-15 17:21:13 +00:00
Thomas Woerner
0c3ef1e881
[tw] - fixed mget with runique ( #79367 )
2004-12-07 14:06:14 +00:00
cvsdist
7ef7941cc3
auto-import changelog data from ftp-0.17-22.src.rpm
...
Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
Mon Jun 14 2004 Alan Cox <alan@redhat.com>
- Re-arranged some totally bogus old bezerkly code that could segfault ftp
on connection loss. (BZ #122295 )
2004-09-09 04:56:28 +00:00
cvsdist
342580c983
auto-import changelog data from ftp-0.17-19.src.rpm
...
Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
2004-09-09 04:56:20 +00:00
cvsdist
a9208281a2
auto-import changelog data from ftp-0.17-18.src.rpm
...
Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
2004-09-09 04:55:14 +00:00
cvsdist
5c0f703e8d
auto-import changelog data from ftp-0.17-17.src.rpm
...
Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
Fri Dec 13 2002 Elliot Lee <sopwith@redhat.com>
- Rebuild
2004-09-09 04:54:59 +00:00
cvsdist
c1493bd8b7
auto-import changelog data from ftp-0.17-15.src.rpm
...
Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
2004-09-09 04:54:54 +00:00
cvsdist
99894b9ff4
auto-import changelog data from ftp-0.17-14.src.rpm
...
Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
2004-09-09 04:54:51 +00:00
cvsdist
a83902c1a4
auto-import changelog data from ftp-0.17-13.src.rpm
...
Fri Apr 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.17-13
- Recompile with support for files > 2 GB
2004-09-09 04:54:45 +00:00
cvsdist
cf2800f818
auto-import changelog data from ftp-0.17-12.src.rpm
...
Mon Jun 25 2001 Bernhard Rosenkraenzer <bero@redhat.com> 0.17-12
- Add some Build dependencies (#45007 )
2004-09-09 04:54:23 +00:00
cvsdist
a197844f73
auto-import changelog data from ftp-0.17-11.src.rpm
...
Fri May 18 2001 Bernhard Rosenkraenzer <bero@redhat.com> 0.17-11
- Actually apply Patch #3
Fri May 11 2001 Bernhard Rosenkraenzer <bero@redhat.com> 0.17-10
- Rebuild with new readline
Sun Apr 15 2001 Bernhard Rosenkraenzer <bero@redhat.com>
- Add IPv6 patch (RFE #35642 )
Wed Apr 04 2001 Jakub Jelinek <jakub@redhat.com>
- don't let configure to guess compiler, it can pick up egcs
2004-09-09 04:54:20 +00:00
cvsdist
7fec8e82d9
auto-import changelog data from ftp-0.17-7.src.rpm
...
Sun Jan 21 2001 Bernhard Rosenkraenzer <bero@redhat.com>
- Update to 0.17 final
- Fix up ACCT support in netrc (Bug #17353 )
2004-09-09 04:53:56 +00:00
cvsdist
2f4f4a3395
auto-import changelog data from ftp-0.17-6.src.rpm
...
Wed Aug 16 2000 Philipp Knirsch <pknirsch@redhat.com>
- Switched the default transfer protocol from PORT to PASV as proposed on
bugzilla (#16134 )
- Fixed a small compiler warning in ftp.c line 886
Fri Jul 14 2000 Jeff Johnson <jbj@redhat.com>
- add netrc man page (#7443 ).
- fix possible buffer overflows in ftp client.
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com>
- FHS packaging.
- update to 0.17-pre20000412.
Wed Apr 05 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- rebuild with current libreadline
Fri Mar 24 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- 0.17
Fri Feb 04 2000 Bill Nottingham <notting@redhat.com>
- handle compressed man pages
Tue Jan 04 2000 Bill Nottingham <notting@redhat.com>
- the ftp client does not require inetd
Wed Dec 22 1999 Jeff Johnson <jbj@redhat.com>
- update to 0.16.
Mon Aug 30 1999 Jeff Johnson <jbj@redhat.com>
- update to 0.15.
- enable readline support (#3796 ).
Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 22)
Mon Mar 15 1999 Jeff Johnson <jbj@redhat.com>
- compile for 6.0.
Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com>
- build root
Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
2004-09-09 04:53:33 +00:00
cvsdist
11f752452a
Setup of module ftp
2004-09-09 04:53:31 +00:00