FreeBSD ports tree (read-only mirror)
Find a file
Doug Barton 14242d555c New Features
============
Expand on an idea provided by mandree@ to use 'pkg_version -I' to quickly
check what ports are out of date, and incorporate that check into the
--index option. Feedback from users seems to indicate that this is what
they expected the option to do anyway, so the minor change to the feature
does not seem to be a POLA violation, especially since INDEX support is
still relatively new. Add the --index-first option to do what --index used
to do in case anyone cares.

Bug Fixes
=========
1. Add more error checking for incompatible command line options.
   Add a new cross_idx() to handle checking the 3 --index* options, and
   consolidate some of the old tests that were all relative to -G.
2. We want to test the .bz2 version of INDEX to see if it's newer, and
   unzip it if it is.
3. For -o mode:
   Going back a long ways upg_port was (ab)used to indicate the currently
   installed version of the old port for -o. Originally this was safe since
   it's very rare to have the new port installed already, and it saved a
   little bit of code complexity. However, as more and more features were
   added that utilized the value of upg_port it became increasingly
   unsafe. Particularly, at this time there are 2 related bugs manifest.
   First the wrong information appears in the confirm list (upgrade of
   the old port vs. install of the new) and parsing the old port
   directory. The latter was (mostly) harmless, although in the case of
   an old port directory being DEPRECATED this resulted in a fatal error
   when trying to upgrade.

   So, make the following changes:
   a. Make upg_port an installed version of the new port, if it exists.
   b. Introduce ro_upg_port for the existing version of the old port.
   c. Factor out some code that was related to how to handle lack of an
      installed version of the old port (since now that's done higher up).
   d. In the stage after the build of the new port and before pkg_delete
      of the old port test for upg_port OR ro_upg_port and run the various
      features (lib backup for -w, pkg_delete, etc.) as needed for both.
   e. In install_failed() notify the user about the backup port for the old
      version.
   f. I discovered in regression testing that invoking -o for MOVED
      ports that we get to as dependencies was working, but the code to
      automatically invoke -o for a parent port was broken. The problem is
      that we can't just exec a new version if we're the parent, we have to
      cleanly shut down background fetches and other processes, delete temp
      files, etc. So split the parts of safe_exit() that relate to these
      elements into their own function, parent_exit(), and call it both
      from safe_exit() and when exec'ing a new version for -o in this case.
4. Add error checking to pm_mktemp, and the stray mktemp call. According
   to a private report from a user it can actually fail.
5. Add error-checking to parse_index() so that if we don't find a line for
   the port we return an error code; check for the error in the callers.
6. Improve the handling of various situations where there is no ORIGIN
   recorded in the +CONTENTS file. This is almost always an error in the
   package building process, and therefore usually needs to be flagged and
   handled as an error. There are (at least) 2 situations where it may not
   be an error; bsdpan ports, and when the user has added an +IGNOREME file
   (usually for 3rd party packages).

   a. Add code to origin_from_pdb() that tests to see that grep returned
      something, echos the result as before, then also returns successfully
      * If the port is a bsdpan port, return with an error code but let the
        caller handle the reporting as appropriate.
      * If there is no ORIGIN but there is an +IGNOREME file don't report
        the error unless we're using -v, then also report that the
        +IGNOREME file is there. Either way, return with an error code.
      * If there is no ORIGIN, and no +IGNOREME file, report the error and
        return with an error code.
   b. In several places this allows several lines of code where the
      function is called to be collapsed into:
      origin=`origin_from_pdb $iport` || continue
   c. In the main body where we parse the command line for what to work on
      convert the code that was individually testing the various conditions
      that are now handled in origin_from_pdb() to simply parse the return
      codes with a case statement.

   In the common case (there is an ORIGIN in +CONTENTS) this is almost
   certainly a minor optimization since the error handling code in
   origin_from_pdb() is never reached, and several places where things
   like "is it a bsdpan port?" and other error handling have been removed.
7. In check_for move some local variables down into the block where they
   are used.
2010-05-01 03:59:21 +00:00
accessibility - update to 1.4.1 2010-03-28 06:47:48 +00:00
arabic - update to 1.4.1 2010-03-28 06:47:48 +00:00
archivers - Update to 9.12 2010-04-29 06:32:50 +00:00
astro Move lawrance@ to the other side of this island. 2010-04-28 10:58:32 +00:00
audio - Update to 11.5 2010-04-30 17:07:10 +00:00
benchmarks Mark BROKEN on 9.x: does not build 2010-04-18 18:58:20 +00:00
biology - Removed BROKEN because file fetches and checksums correctly 2010-04-28 22:37:11 +00:00
cad Does not depend on Fortran any more. 2010-04-10 14:13:43 +00:00
chinese Reset bg1tpt@gmail.com due to maintainer-timeouts and no response to 2010-04-25 19:03:52 +00:00
comms - Fix to build in 9-current 2010-04-21 16:15:54 +00:00
converters - PHP 5.2 slave port 2010-04-23 22:18:48 +00:00
databases - Upgrade to 0.3.5. 2010-04-30 23:57:19 +00:00
deskutils - Release some more ports 2010-04-28 00:37:14 +00:00
devel - Upgrade to 0.5.0. 2010-04-30 23:57:04 +00:00
dns - Send my final p5- ports to perl@ 2010-04-29 17:32:08 +00:00
editors - Disable dependency on graphics/opengtl. 2010-04-30 23:34:12 +00:00
emulators - Add glew to the list of supported USE_GL variables 2010-04-27 21:58:27 +00:00
finance - Update to 1.0.1 2010-04-29 08:22:28 +00:00
french Update to 9.3.2. 2010-04-18 15:51:41 +00:00
ftp - PHP 5.2 slave port 2010-04-23 15:53:34 +00:00
games - This port needs Perl (which used to be provided by gtk12) 2010-04-30 21:32:40 +00:00
german Update to 9.3.2. 2010-04-18 15:51:41 +00:00
graphics - Mark BROKEN: does not package, many missing files 2010-04-30 21:30:17 +00:00
hebrew - update to 1.4.1 2010-03-28 06:47:48 +00:00
hungarian - update to 1.4.1 2010-03-28 06:47:48 +00:00
irc Forget to fix directory substitution... 2010-04-26 15:00:04 +00:00
japanese Update to 20100212. 2010-04-30 15:25:08 +00:00
java . Update to Update 20. 2010-04-20 03:33:35 +00:00
korean - update to 1.4.1 2010-03-28 06:47:48 +00:00
lang Actually add the patch that makes the previous commt work. 2010-04-30 16:43:50 +00:00
mail - Update to 4.17.0 2010-05-01 00:19:22 +00:00
math Update to 1.5 2010-04-30 09:08:36 +00:00
mbone - Update WWW 2010-04-07 12:07:56 +00:00
misc - Release some more ports 2010-04-28 00:37:14 +00:00
Mk - Fix incorrect errno returned by IO::write. 2010-04-28 23:59:55 +00:00
multimedia Update to 0.1.10. 2010-04-29 21:47:35 +00:00
net - Assign some ports to apache@ 2010-04-29 17:30:25 +00:00
net-im - Update to 0.2.6 2010-04-25 05:28:43 +00:00
net-mgmt - Fix problem of empty hrStorageTable when skipNFSInHostResources is set to 1 2010-05-01 01:38:48 +00:00
net-p2p - Another fix for 6.X 2010-04-26 07:15:24 +00:00
news - honor CC 2010-04-09 16:24:15 +00:00
palm - fix option WITH_PNG 2010-03-30 14:33:40 +00:00
polish Chase the ftp/curl shlib version bump. 2010-04-03 10:44:36 +00:00
ports-mgmt New Features 2010-05-01 03:59:21 +00:00
portuguese - update to 1.4.1 2010-03-28 06:47:48 +00:00
print Fix problems caused by the recent bumps in port revision 2010-04-28 10:02:20 +00:00
russian Mark as broken on powerpc. 2010-04-01 05:19:08 +00:00
science - Update to 1.0.0 2010-04-28 06:00:33 +00:00
security Update to 1.2.15 2010-04-30 08:20:05 +00:00
shells - Update to 0.9.10 2010-04-17 20:16:46 +00:00
sysutils Update to 2.01.01a78. For the changes since 2.01.01a77 see: 2010-04-30 08:08:30 +00:00
Templates
textproc Initial import of p5-Text-Match-FastAlternative 0.14 2010-04-30 05:01:28 +00:00
Tools Add a case to detect a transient problem that shows up on all package 2010-03-30 21:19:36 +00:00
ukrainian - update to 1.4.1 2010-03-28 06:47:48 +00:00
vietnamese - update to 1.4.1 2010-03-28 06:47:48 +00:00
www Do not install .orig files. 2010-04-30 14:19:33 +00:00
x11 Fix KDM vulnerability. 2010-04-28 21:02:38 +00:00
x11-clocks - update to 1.4.1 2010-03-28 06:47:48 +00:00
x11-drivers - Add port for xf86-video-rdc, X.Org driver for 2010-04-15 06:05:30 +00:00
x11-fm Chase audio/libmodplug update. 2010-04-24 09:38:46 +00:00
x11-fonts - Update to 0.5.8 2010-04-24 08:32:19 +00:00
x11-servers Given that HAL doesn't work on sparc64 and always needs to be disabled 2010-02-08 00:20:08 +00:00
x11-themes - x11-themes/qtcurve-gtk2: update to 1.3.0 release 2010-04-21 10:35:44 +00:00
x11-toolkits - This port needs Perl (which used to be provided by gtk12) 2010-04-30 21:32:40 +00:00
x11-wm - Move to USE_PERL5_BUILD 2010-04-25 07:06:03 +00:00
.cvsignore
CHANGES Bump copyright year to 2010 2010-01-02 16:29:32 +00:00
COPYRIGHT - Update Copyright Year. 2009-12-31 16:47:53 +00:00
GIDs Remove trailing ':' from fossy. 2010-04-30 01:34:41 +00:00
KNOBS Limited Update to Mesa3D 7.6.1 and libdrm 2.4.17. 2010-02-07 11:51:08 +00:00
LEGAL Add a note for www/thundercache 2010-03-18 18:36:23 +00:00
Makefile - Terminate support for X11BASE having different value from LOCALBASE 2009-12-18 14:28:46 +00:00
MOVED - Remove www/blogd 2010-04-26 16:12:34 +00:00
README
UIDs - Added user and group for Drizzle database server 2010-04-29 15:30:34 +00:00
UPDATING Update instructions related to gmp for portmaster users. 2010-04-26 22:29:49 +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.