FreeBSD ports tree (read-only mirror)
Find a file
Edwin Groothuis 764e348a35 It all started when we got some new routers, which told me the
following when trying to upload configuration or download images
from it: The TFTP server doesn't support the blocksize option.

My curiousity was triggered, it took me some reading of RFCs and
other documentation to find out what was possible and what could
be done. Was plain TFTP very simple in its handshake, TFTP with
options was kind of messy because of its backwards capability: The
first packet returned could either be an acknowledgement of options,
or the first data packet.

Going through the source code of src/libexec/tftpd and going through
the code of src/usr.bin/tftp showed that there was a lot of duplicate
code, and the addition of options would only increase the amount
of duplicate code. After all, both the client and the server can
act as a sender and receiver.

At the end, it ended up with a nearly complete rewrite of the tftp
client and server. It has been tested against the following TFTP
clients and servers:

- Itself (yay!)
- The standard FreeBSD tftp client and server
- The Fedora Core 6 tftp client and server
- Cisco router tftp client
- Extreme Networks tftp client

It supports the following RFCs:

RFC1350 - THE TFTP PROTOCOL (REVISION 2)
RFC2347 - TFTP Option Extension
RFC2348 - TFTP Blocksize Option
RFC2349 - TFTP Timeout Interval and Transfer Size Options
RFC3617 - Uniform Resource Identifier (URI) Scheme and Applicability
          Statement for the Trivial File Transfer Protocol (TFTP)

It supports the following unofficial TFTP Options as described at
http://www.compuphase.com/tftp.htm:

blksize2 - Block size restricted to powers of 2, excluding protocol headers
rollover - Block counter roll-over (roll back to zero or to one)

From the tftp program point of view the following things are changed:

- New commands: "blocksize", "blocksize2", "rollover" and "options"
- Development features: "debug" and "packetdrop"

If you try this tftp/tftpd implementation, please let me know if
it works (or doesn't work) and against which implementaion so I can
get a list of confirmed working systems.

Author: Edwin Groothuis <edwin@FreeBSD.org>
2008-01-31 10:14:59 +00:00
accessibility Update to 0.4.18. 2008-01-15 10:01:50 +00:00
arabic Fix distfile location for outdated koffice-l10ns. 2007-11-08 19:12:45 +00:00
archivers - update to 1.5.2 2008-01-29 13:26:47 +00:00
astro Clean up port descriptions for unmaintained ports in `astro' category: 2008-01-26 05:16:13 +00:00
audio - Update to 0.15 2008-01-30 16:53:32 +00:00
benchmarks - Update to 3.0. 2008-01-16 22:43:01 +00:00
biology Umark BROKEN, stale distfile removed from ftp-master. 2008-01-27 11:26:35 +00:00
cad - Update to 2.0.0 2008-01-20 21:56:00 +00:00
chinese Mark BROKEN on 8.0: does not build. 2008-01-30 11:45:06 +00:00
comms Fix the plist by chase libgnomeprint update, bump the PORTREVISION. 2008-01-31 03:50:10 +00:00
converters - Update to 1.1.0 2008-01-29 10:18:27 +00:00
databases - Update to 0.6.1 2008-01-30 10:11:27 +00:00
deskutils - Chase xapian-core update 2008-01-30 18:27:43 +00:00
devel Update to 0.2.1. 2008-01-31 04:57:51 +00:00
dns Add dnswall 0.1.4, a daemon that filters out private IP addresses in DNS 2008-01-28 19:38:44 +00:00
editors Update to Vim 7.1 patchlevel 242. 2008-01-31 07:53:24 +00:00
emulators - Really remove pkg-message 2008-01-30 18:48:07 +00:00
finance - Fix plist 2008-01-30 23:42:06 +00:00
french Chase master-site's reorganization. 2008-01-18 18:34:24 +00:00
ftp - Fix plist: don't remove directories created by mtree 2008-01-30 18:52:13 +00:00
games - Fix building on 64-bit architectures (remove CPU model-specific - Pentium - 2008-01-30 21:49:45 +00:00
german - Update to 0.3 2008-01-12 14:05:27 +00:00
graphics - Mark BROKEN: does not compile on amd64 with GCC 4.2 2008-01-30 20:12:25 +00:00
hebrew Fix distfile location for outdated koffice-l10ns. 2007-11-08 19:12:45 +00:00
hungarian Update to KDE 3.5.8 2007-10-29 23:48:18 +00:00
irc - Update to 3.1.3 2008-01-30 20:45:43 +00:00
japanese Update to 9100e. 2008-01-29 14:59:50 +00:00
java Add avis 1.2.0, elvin Publish/Subscribe Message Bus server based on the 2008-01-29 14:43:28 +00:00
korean Update to 0.99.1 2008-01-22 04:09:57 +00:00
lang Mark BROKEN on 8.0: does not install 2008-01-29 22:33:33 +00:00
mail - Fix plist 2008-01-30 20:03:30 +00:00
math - Update to 1.48 2008-01-31 02:36:32 +00:00
mbone - Mark BROKEN on 7.0 2007-12-10 22:53:53 +00:00
misc - Update to 2.3.3 2008-01-22 13:45:32 +00:00
Mk - Update editors/emacs-devel to 23.0.50.20080101 snapshot. 2008-01-27 14:26:42 +00:00
multimedia - Respect without_nls 2008-01-31 05:23:42 +00:00
net It all started when we got some new routers, which told me the 2008-01-31 10:14:59 +00:00
net-im - Fix configure script 2008-01-26 03:12:25 +00:00
net-mgmt Work around a gentoo-specific version checking construct that appears to 2008-01-29 20:58:24 +00:00
net-p2p - Mark BROKEN: checksum mismatch 2008-01-30 19:27:03 +00:00
news - Update to 1.09 2008-01-04 13:34:59 +00:00
palm Mark BROKEN on 8.0: does not configure 2008-01-29 21:31:52 +00:00
polish Update to KDE 3.5.8 2007-10-29 23:48:18 +00:00
ports-mgmt Update for the 2.1 version 2008-01-30 02:59:18 +00:00
portuguese Add Adobe Reader 8.1.1 and localized versions (total 15 2008-01-04 20:22:56 +00:00
print Add a comment to remind update comm/gfax plist when PORTVERSION changes 2008-01-31 03:51:03 +00:00
russian Reset maintainer: aquatique-ports@rambler.ru bounces. 2008-01-24 08:29:49 +00:00
science - Update to 0.6.3 2008-01-30 08:47:57 +00:00
security - Update to 2.1_rc7 2008-01-31 04:46:55 +00:00
shells - Update to 2007-11-05 release 2008-01-19 13:59:28 +00:00
sysutils - Forgot to remove a patch file 2008-01-28 14:54:48 +00:00
Templates
textproc Upgrade to 0.19.0. 2008-01-30 02:05:09 +00:00
Tools Remove support for 5-exp and add 7-exp, 8 and 8-exp 2008-01-14 17:10:33 +00:00
ukrainian Update to KDE 3.5.8 2007-10-29 23:48:18 +00:00
vietnamese Use termios instead of sgtty. 2008-01-21 16:26:25 +00:00
www - Fix build 2008-01-31 09:06:07 +00:00
x11 - Mark as BROKEN on amd64, it doesn't run, got a segfault whtn try to start. 2008-01-22 15:47:59 +00:00
x11-clocks Update to KDE 3.5.8 2007-10-29 23:48:18 +00:00
x11-drivers Add glproto to USE_XORG. 2008-01-18 17:49:58 +00:00
x11-fm - Update to 2.5. 2008-01-26 13:26:14 +00:00
x11-fonts - Dependancy fix 2008-01-27 04:44:04 +00:00
x11-servers Fix xserver multiple vulnerabilities. 2008-01-23 12:18:47 +00:00
x11-themes - Mark BROKEN: checksum mismatch 2008-01-19 21:27:10 +00:00
x11-toolkits Update to 2.12.7. 2008-01-31 05:57:31 +00:00
x11-wm Deorbit x11-wm/wmii-devel' in favor of updated x11-wm/wmii'. 2008-01-29 14:33:11 +00:00
.cvsignore
CHANGES Kill EOL space, throw in a bunch of readability improvements. 2007-09-20 09:29:24 +00:00
COPYRIGHT Please welcome 2008 2007-12-31 12:35:16 +00:00
GIDs - add hobbit with id 280 2008-01-28 10:53:56 +00:00
KNOBS Add USB knob 2007-12-11 21:21:20 +00:00
LEGAL Add en entry for multimedia/vtkmpeg2encode. 2008-01-09 20:12:41 +00:00
Makefile Remove obsolete anti-foot-shooting measure that tried to force you 2007-09-27 05:36:26 +00:00
MOVED Deorbit x11-wm/wmii-devel' in favor of updated x11-wm/wmii'. 2008-01-29 14:33:11 +00:00
README
UIDs - add hobbit with id 280 2008-01-28 10:53:56 +00:00
UPDATING Update to 0.5.8.2, be sure to read in UPDATING before you run it. 2008-01-26 16:44:43 +00:00

This is the FreeBSD Ports Collection.  For an easy to use
WEB-based interface to it, please see:

	http://www.FreeBSD.org/ports

For general information on the Ports Collection, please see the
FreeBSD Handbook ports section which is available from:

	http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/ports.html
		for the latest official version
	or:
	The ports(7) manual page (man ports).

These will explain how to use ports and packages.

If you would like to search for a port, you can do so easily by
saying (in /usr/ports):


	make search name="<name>"
	or:
	make search key="<keyword>"

which will generate a list of all ports matching <name> or <keyword>.
make search also supports wildcards, such as:

	make search name="gtk*"

For information about contributing to FreeBSD ports, please see the Porter's
Handbook, available at:

	http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/porters-handbook/

NOTE:  This tree will GROW significantly in size during normal usage!
The distribution tar files can and do accumulate in /usr/ports/distfiles,
and the individual ports will also use up lots of space in their work
subdirectories unless you remember to "make clean" after you're done
building a given port.  /usr/ports/distfiles can also be periodically
cleaned without ill-effect.