summaryrefslogtreecommitdiff
path: root/net/tnftp
AgeCommit message (Collapse)AuthorFilesLines
2013-02-16LICENSE=original-bsdobache1-1/+2
2013-02-16check usability of builtin termcap if FETCH_USING=ftpobache1-1/+12
to avoid circular dependency with termcap from pkgsrc (devel/ncurses).
2012-10-31Respect user settings of not using builtin termcap/curses.asau1-2/+2
2012-10-23Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-2/+1
2012-03-04Honour MANINSTALL.joerg2-2/+6
2011-10-30Fix for PR 45495.cheusov2-6111/+3312
2011-03-12Turn off socks support via configure when option not enabled.wiz1-1/+3
From Gregoire Sutre in PR 44710.
2009-09-22rename getline to get_line as was done in src.tnn5-16/+16
No functional change, no version bump.
2009-04-09Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.joerg1-2/+1
2009-02-19Fix PR 40151 - bootstrap of pkgsrc fails on Ubuntu 8.10abs1-1/+6
- At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite() http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509 which means (void)fwrite(...) will *always* generate a warning, so set -Wno-error to bypass this in Linux.sys.mk - Ubuntu 8.1 also jumps through hoops to ensure ARG_MAX is *undefined*, so work around this in tnftp and libnbcompat
2008-08-09Enable IPv6 support by default, approved by Luke Mewburn.tron1-1/+2
2008-06-19Add a marker for bootstrap packages to allow special cases them duringjoerg1-1/+2
bulk builds.
2008-05-28Inhibit possible dependency on sysutils/checkperms to avoid circular dep.tnn1-1/+2
2008-04-29Drop clauses 3 and 4 from TNF licensesmartin24-192/+24
2008-03-06+ Remove pkgtools/pax and pkgtools/tnftp as they are no longer differentjlam3-38/+43
from archivers/pax and net/tnftp, respectively. In the past, the pkgtools version of these packages installed into ${PKG_TOOLS_BIN}, but this was changed in: pkgtools/pax/Makefile:1.15 pkgtools/tnftp/Makefile:1.3 + Get rid of archivers/pax/Makefile.common and net/tnftp/Makefile.common by merging them into their respective Makefiles. The Makefile.common files existed solely for inclusion by the pkgtools versions of these packages, but with the removal of those packages, these files are now unnecessary. + Add full DESTDIR support to archivers/pax and net/tnftp. + Modify the bootstrap to build archivers/pax and net/tnftp instead of the pkgtools versions of these packages.
2007-10-28remove empty hacks.mktnn1-1/+0
2007-10-28Fix build on OSF/1 by using the correct config.h define when settingtnn1-4/+4
sin.sin_len. No reply from lukem in ~2 weeks but I am confident this is the correct fix.
2007-09-23Rename a function argument to make it buildable on certain versions ofjoerg1-3/+3
NetBSD current. bool should be considered a keyword...
2007-08-07no need for PKGREVISION yetlukem1-2/+1
2007-08-07fix CONFIGURE_ARGS for sockslukem1-2/+2
2007-08-07update version to 20070806lukem1-2/+2
2007-08-07No support for SOCKS4 in tnftp 20070806.lukem1-6/+3
2007-08-07The UINT32_T shouldn't be necessary any more, with thelukem2-15/+2
updated configure.ac in tnftp 20070806.
2007-08-07Merge tnftp 20070806.lukem95-5908/+12249
2007-08-06Update to tnftp 20070806.lukem4-4/+4
Notable changes: - Implement '-s srcaddr' to set the local IP address for all connections. - Support '-q quittime' when waiting for server replies. - Use IEC 60027-2 "KiB", "MiB" (etc) instead of "KB", "MB", ... - Portability fixes, including for FreeBSD, Mac OS X, and Solaris.
2007-08-06Update to tnftp 20070806.lukem1-0/+13
Notable changes: - Implement '-s srcaddr' to set the local IP address for all connections. - Support '-q quittime' when waiting for server replies. - Use IEC 60027-2 "KiB", "MiB" (etc) instead of "KB", "MB", ... - Portability fixes, including for FreeBSD, Mac OS X, and Solaris.
2007-08-06Update to tnftp 20070806.lukem1-0/+372
Notable changes: - Implement '-s srcaddr' to set the local IP address for all connections. - Support '-q quittime' when waiting for server replies. - Use IEC 60027-2 "KiB", "MiB" (etc) instead of "KB", "MB", ... - Portability fixes, including for FreeBSD, Mac OS X, and Solaris.
2007-08-06Update to tnftp 20070806.lukem1-160/+8
Notable changes: - Implement '-s srcaddr' to set the local IP address for all connections. - Support '-q quittime' when waiting for server replies. - Use IEC 60027-2 "KiB", "MiB" (etc) instead of "KB", "MB", ... - Portability fixes, including for FreeBSD, Mac OS X, and Solaris.
2007-07-22Update to tnftp 20070806.lukem2-0/+3142
Notable changes: - Implement '-s srcaddr' to set the local IP address for all connections. - Support '-q quittime' when waiting for server replies. - Use IEC 60027-2 "KiB", "MiB" (etc) instead of "KB", "MB", ... - Portability fixes, including for FreeBSD, Mac OS X, and Solaris.
2007-07-22Update to tnftp 20070806.lukem1-0/+507
Notable changes: - Implement '-s srcaddr' to set the local IP address for all connections. - Support '-q quittime' when waiting for server replies. - Use IEC 60027-2 "KiB", "MiB" (etc) instead of "KB", "MB", ... - Portability fixes, including for FreeBSD, Mac OS X, and Solaris.
2007-07-11Fix an installation problem under Mac OS X on a case-insensitive filesystem.tron1-1/+2
"bmake" would always report that "`install' is up to date." because it finds "INSTALL" when searching for "install".
2006-07-24For consistency with the other tools from bootstrap, the preformattedrillig3-4/+5
manual page is installed as cat1/ftp.0 instead of cat1/ftp.1. Bumped PKGREVISION.
2006-07-14Create a separate pkgtools/tnftp package that is installed as part ofjlam2-24/+32
the bootstrap process and which may be needed by pkg_install. This is distinct from the net/tnftp package that is now a "normal" package. Modify the bootstrap script to use pkgtools/tnftp instead, and clean up some of the registration code.
2006-07-14Mark these packages as NO_MTREE as they are bootstrap packages and don'tjlam1-1/+2
need mtree to pre-generate any directories for them.
2006-04-10corrected a typo in libnetbsd/usleep.c which probably surfaces only on someschwarz3-1/+19
older OSes added a hack to support IRIX 5 (modifications done directly to the files instead of adding patch files to make them being used during bootstrapping as well; approved by reed)
2005-12-02Convert to options framework.wiz2-19/+24
2005-09-28Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,rillig1-2/+2
NO_BUILD, USE_LIBTOOL.
2005-06-25update to tnftp-20050625lukem1-2/+2
2005-06-25Merge tnftp 20050625lukem7-480/+324
2005-06-10Update to tnftp 20050610.lukem1-3/+2
Notable changes (see files/ChangeLog for full details): * Convert to use getline() instead of fgets() whenever reading user input to ensure that an overly long input line doesn't leave excess characters for the next input operation to accidentally use as input. Should fix PR 23953. * Improve method used in fileindir() to determine if `file' is in or under `dir': realpath(3) on non-NetBSD systems may fail if the target filename doesn't exist, so instead use realpath(3) on the parent directory of `file'. (The previous code was over-aggressive in preventing transfers on systems with a realpath(3) that had different semantics to NetBSD.) * Various portability fixes.
2005-06-10merge tnftp 20050610lukem62-1127/+1420
2005-06-10Import tnftp 20050610.lukem4-472/+728
Security-related bug fixes: * Convert to use getline() instead of fgets() whenever reading user input to ensure that an overly long input line doesn't leave excess characters for the next input operation to accidentally use as input. * Zero out the password & account after we've finished with it. * Consistently use getpass(3) (i.e, character echo suppressed) when reading the account data. For some reason, historically the "login" code suppressed echo for Account: yet the "user" command did not! * Improve method used in fileindir() to determine if `file' is in or under `dir': realpath(3) on non-NetBSD systems may fail if the target filename doesn't exist, so instead use realpath(3) on the parent directory of `file'. (The previous code was over-aggressive in preventing transfers on systems with a realpath(3) that had different semantics to NetBSD.) Bug fixes: * Display the hostname in the "getaddrinfo failed" warning. * Only print the "Trying <address>..." message if verbose and there's more than one struct addrinfo in the getaddrinfo() result. * formatbuf(): fix %m and %M to use the hostname, not the username. * fetch_ftp(): preserve 'anonftp' across a disconnect() so that multiple ftp auto-fetches on the same command line login automatically. * Improve bounds checking. * Update various copyright notices. Portability fixes: * Look for dirname(3), which may be in -lgen on IRIX, and replace it if not found. * Don't use non-standard: u_char, u_short, u_int, or uint. * Use uint32_t instead of u_int32_t. * Don't use register. * Helps if the definition of xconnect() matches its declaration.... * Fix some cast issues highlighted by gcc 4 on OSX.4 * Use size_t instead of int where appropriate. * Make this compile on sparc64 (size_t != int). * Printf field widths and size_t don't always mix well, so cast to int. Fixes build problem for alpha. * auto_fetch(): use an initialized volatile int to appease IRIX cc. * Don't abuse unconstify'ing a string and writing to it, because you'll core dump. Also remove extra const that gives pain to the irix compiler. * Make sure we flush after we prepare when we are unbuffered otherwise the prompt will not appear immediately. * Terminate the arglist with a NULL instead of 0. (Shuts up gcc4.x) * Use malloc(3) instead of alloca(3). * Include "src/progressbar.h" for xsignal_restart() prototype. * Ensure that fallback #define of __attribute__ is available. Fixes build problem on HP-UX with cc. * Pull in <poll.h> or <sys/poll.h> if they exist even if we're not using poll, as struct pollfd might exist in those. Fixes build problem on OSX.3. * Use NS_INADDRSZ, NS_IN6ADDRSZ and NS_INT16SZ instead of equivalents without NS_ prefix. * Use socklen_t instead of size_t where appropriate. * Separate CPPFLAGS from CFLAGS. * Use "long long" instead of "quad" in various comments & constants. * Prefer poll over select when implementing replacement usleep().
2005-05-14Fix the build on OS X.3.lukem2-12/+15
Bump PKGREVISION.
2005-05-14Update to tnftp 20050514lukem1-2/+2
2005-05-14Merge 20050514lukem9-461/+358
2005-05-11Update to tnftp-20050511.lukem1-2/+4
2005-05-11Merge tnftp 20050511.lukem45-523/+829
(Future merges should be easier as this time I froze the vendor RCSIDs)
2005-05-11Update to tnftp 20070806.lukem1-1/+1
Notable changes: - Implement '-s srcaddr' to set the local IP address for all connections. - Support '-q quittime' when waiting for server replies. - Use IEC 60027-2 "KiB", "MiB" (etc) instead of "KB", "MB", ... - Portability fixes, including for FreeBSD, Mac OS X, and Solaris.
2005-05-11Update to tnftp 20070806.lukem11-11/+11
Notable changes: - Implement '-s srcaddr' to set the local IP address for all connections. - Support '-q quittime' when waiting for server replies. - Use IEC 60027-2 "KiB", "MiB" (etc) instead of "KB", "MB", ... - Portability fixes, including for FreeBSD, Mac OS X, and Solaris.
2005-05-11Update to tnftp 20070806.lukem6-6/+6
Notable changes: - Implement '-s srcaddr' to set the local IP address for all connections. - Support '-q quittime' when waiting for server replies. - Use IEC 60027-2 "KiB", "MiB" (etc) instead of "KB", "MB", ... - Portability fixes, including for FreeBSD, Mac OS X, and Solaris.