FreeBSD ports tree (read-only mirror)
Find a file
Bryan Drewery e15449a9ef - Rename check-orphans to check-plist. Keep the old for backwards-compat.
- Bug fixes:
  makeplist/check-plist:
   - Fix showing directories owned by RUN_DEPENDS/LIB_DEPENDS [1]
   - Use proper "rmdir PATH" syntax, not "rmdir >/dev/null... PATH" which
     pkg will not recognize.
   - Never consider base /etc/mtree/BSD.usr.dist or LOCLABASE
     Templates/BSD.local.dist as needing @dirrm handling.
  check-plist:
   - Fix showing PORTDOCS/PORTEXAMPLES files when the OPTIONS are not set.
     makeplist will still suggest them.
   - Fix showing files installed through unselected OPTIONS as orphans,
     by considering "@comment file" to be ignored. [2]
   - Fix @sample, @fc, @fcfontsdir, @fontsdir support
   - Fix return status when orphans are found to be non-zero
   - Add note when PREFIX=!LOCALBASE
   - Be more clear when orphans/no orphans are found.
   - Add a whitelist mechanism for globally approved ignores.
   - Add *.bak/*.orig to orphan whitelist for now.
   - Fix false-positive with dirs installed to /, such as with
     archivers/dpkg creating /var/db/dpkg
   - Fix false-positive with @dirrm ending in /, such as with
     ports-mgmt/poudriere with a @dirrmtry share/zsh/
   - There are likely still some false-positives. I fixed as many as I could
     find. Please let me know of others.
    * One in particular that is not easily fixable is installing a file into
      a directory owned by another port where that other port is not a run-time
      dependency. So the leaf port may create all of the parent dirs and never
      clean them up. Cleaning them up is not proper unless no other package is
      depending on them. This will be addressed by pkg(8) once pkg_install is
      EOL, or sooner.
   - Consider @dirrm of directories owned by run-time dependencies, or
     /etc/mtree/* or Templates/BSD.local.dist (at LOCALBASE) as fatal errors.
     These should not be removed in the plist. @comment lines are not
     considered for this; they will not ignore an error.
        ===> Checking for directories owned by dependencies or MTREEs
        Error: Owned by dependency: @dirrmtry share/locale/af/LC_MESSAGES
        Error: Owned by dependency: @dirrmtry share/locale/af
        Error: Owned by dependency: @dirrmtry %%PERL5_MAN3%%
   - Detect files in plist that do not exist in the stagedir. Pkgng already did
     this, but now we have it unified with this check. @comment lines are
     not considered for this; they will not ignore an error.
        ===> Checking for items in pkg-plist which are not in STAGEDIR
        Error: Missing: foo
        Error: Missing: @dirrmtry bar
   - Change orphaned output due to several new errors introduced:
        ===> Checking for items in STAGEDIR missing from pkg-plist
        Error: Orphaned: foo
   - Send errors to stderr
  check_leftovers.sh:
   - Prefer longer values for PLIST_SUB.
  bsd.options.mk:
   - Fix NOPORTDOCS/WITHOUT_NLS/NOPORTEXAMPLES not unsetting their respective
     OPTIONS.
   - Mark NOPORTDOCS/NOPORTEXAMPLES deprecated and hook them into the
     OPTIONS_WARNING to tell users the new format.
- check-stagedir.sh refactoring:
  - Switch to using new PLIST_SUB_SED
  - Use ! instead of , in sed(1) regex to allow files/dirs with ','
  - Rework PORTEXAMPLES/PORTDOCS handling so it acts on PLIST_SUB_SED'd
    value and not absolutes. Also simplify the regex for these a bit to
    allow reuse.
  - No longer need DOCSDIRS/EXAMPLESDIR in env
  - Wrap long lines
  - Unset some vars in env when they are done being used to free space for
    larger sed vars
  - Cleanup redundant sed regexes
- Add a Scripts/plist_sub_sed_sort.sh to prefer longer values when substituting
  over shorter values.

- To make check-plist ignore a file *as an orphan* do one of the following:
  1. Install it
  2. post-install: ${RM} ${STAGEDIR}file
  3. Put the file behind an OPTION with a PLIST_SUB: %%OPTION%%file
  4. Add to plist as a @comment [2]:
     @comment file
     @comment @dirrmtry dir

Reviewed by:	mat (much earlier version)
Discussed with:	mat, antoine, bapt, swills (various bits)
With hat:	portmgr
PR:		ports/185561 [1]
Reported By:	Alexander Yerenkow <yerenkow@gmail.com> [1]
Tested with:	pkg and pkg_install
Reported by:	many (false-positives)

[2] This is a partial solution, we may still need a plist.ignore too. It
    doesn't make much sense to add files in main pkg-plist we don't care about,
    but maybe it does since you'll see and reconsider them being ignored
    someday. @comment is used as all the OPTION PLIST_SUB deactivations use
    @comment instead of something like @ignore.
2014-04-19 06:44:56 +00:00
accessibility The FreeBSD x11@ and graphics team proudly presents 2014-04-16 18:28:47 +00:00
arabic KDE/FreeBSD team presents KDE SC 4.12.4 and KDE Workspace 4.11.8! 2014-04-03 09:49:10 +00:00
archivers - Don't remove directories owned by BSD.local.dist 2014-04-19 06:43:21 +00:00
astro The FreeBSD x11@ and graphics team proudly presents 2014-04-16 18:28:47 +00:00
audio - Chase libmikmod upgrade 2014-04-17 15:03:56 +00:00
benchmarks - Convert to pkg-message 2014-04-05 19:16:48 +00:00
biology Remove expired ports: 2014-04-18 11:17:45 +00:00
cad - Upgrade cgnslib to 3.2.1 2014-04-17 20:31:45 +00:00
chinese 1: fix pkg-plist 2014-04-17 09:24:19 +00:00
comms Horde package update: 2014-04-16 21:37:14 +00:00
converters The FreeBSD x11@ and graphics team proudly presents 2014-04-16 18:28:47 +00:00
databases Update to 1.12.1. 2014-04-18 18:13:12 +00:00
deskutils Remove expired ports: 2014-04-18 11:17:45 +00:00
devel devel/py-pycalendar: remove unneeded post-patch command 2014-04-18 20:20:10 +00:00
dns Port improvements 2014-04-18 21:40:17 +00:00
editors Update mg to 20140414 2014-04-19 05:38:38 +00:00
emulators Update to Wine 1.7.17. This includes the following changes: 2014-04-19 00:01:30 +00:00
finance The FreeBSD x11@ and graphics team proudly presents 2014-04-16 18:28:47 +00:00
french Unbreak with the work-around given by Vladimir Chukharev in PR ports/188114 2014-04-17 20:57:37 +00:00
ftp STAGE support. 2014-04-18 23:24:20 +00:00
games - Fix build on 10+ (use gmake during build) 2014-04-18 15:12:03 +00:00
german Stage 2014-04-17 12:19:28 +00:00
graphics - Stop removing directories from BSD.local.dist. 2014-04-19 06:11:21 +00:00
hebrew Support staging 2014-04-08 11:42:03 +00:00
hungarian KDE/FreeBSD team presents KDE SC 4.12.4 and KDE Workspace 4.11.8! 2014-04-03 09:49:10 +00:00
irc The FreeBSD x11@ and graphics team proudly presents 2014-04-16 18:28:47 +00:00
japanese Remove expired ports: 2014-04-18 11:17:45 +00:00
java Reduce diff between Orcle/Sun Java ports and clean up. 2014-04-18 22:48:45 +00:00
Keywords - Add a @sample plist keyword 2014-04-12 03:39:02 +00:00
korean KDE/FreeBSD team presents KDE SC 4.12.4 and KDE Workspace 4.11.8! 2014-04-03 09:49:10 +00:00
lang Remove expired ports: 2014-04-18 11:17:45 +00:00
mail Missed with r351447: 2014-04-19 06:29:58 +00:00
math - Add a definition of HOME to configure_args, because octave likes to write 2014-04-18 03:43:47 +00:00
misc Add usb ids database, which will be used to populate informations 2014-04-18 12:55:41 +00:00
Mk - Rename check-orphans to check-plist. Keep the old for backwards-compat. 2014-04-19 06:44:56 +00:00
multimedia - Bring back VPX option, thus fixing potential (de-)install dependencies 2014-04-18 15:07:38 +00:00
net Remove expired ports: 2014-04-18 11:17:45 +00:00
net-im - Stop removing directories from BSD.local.dist. 2014-04-19 06:11:21 +00:00
net-mgmt Remove expired ports: 2014-04-18 11:17:45 +00:00
net-p2p Remove expired ports: 2014-04-18 11:17:45 +00:00
news The FreeBSD x11@ and graphics team proudly presents 2014-04-16 18:28:47 +00:00
palm 2014-04-10 palm/gnome-pilot: gnome-panel 2.x will be updated in the GNOME 3 import 2014-04-11 12:50:32 +00:00
polish - Update to 20140406 2014-04-07 10:12:20 +00:00
ports-mgmt - Don't remove ruby dirs 2014-04-18 22:37:29 +00:00
portuguese - Update to 20140401 2014-04-03 18:29:24 +00:00
print Remove expired ports: 2014-04-18 11:17:45 +00:00
russian - Update to 3.8.2 2014-04-12 21:47:03 +00:00
science Remove expired ports: 2014-04-18 11:17:45 +00:00
security Fix new patch. 2014-04-19 03:45:40 +00:00
shells Update to 4.3.11 2014-04-17 10:31:37 +00:00
sysutils Disable premature ldconfig during stage. 2014-04-19 04:57:35 +00:00
Templates Cache a bit more function for autoconf based on texlive config.logs 2014-03-26 11:16:42 +00:00
textproc - Stop removing directories from BSD.local.dist. 2014-04-19 06:11:21 +00:00
Tools Replace edwin's contact address with mine in the help, too. And 2014-04-18 23:37:53 +00:00
ukrainian KDE/FreeBSD team presents KDE SC 4.12.4 and KDE Workspace 4.11.8! 2014-04-03 09:49:10 +00:00
vietnamese Mark broken: Conflicts with dependency vnpstext on share/vn-fonts/initcour.ps 2014-04-05 16:48:38 +00:00
www update mod_jk to latest version 2014-04-18 11:57:25 +00:00
x11 - Stop removing directories from BSD.local.dist. 2014-04-19 06:11:21 +00:00
x11-clocks The FreeBSD x11@ and graphics team proudly presents 2014-04-16 18:28:47 +00:00
x11-drivers The FreeBSD x11@ and graphics team proudly presents 2014-04-16 18:28:47 +00:00
x11-fm The FreeBSD x11@ and graphics team proudly presents 2014-04-16 18:28:47 +00:00
x11-fonts The FreeBSD x11@ and graphics team proudly presents 2014-04-16 18:28:47 +00:00
x11-servers The FreeBSD x11@ and graphics team proudly presents 2014-04-16 18:28:47 +00:00
x11-themes Update x11-themes/kde4-style-oxygen-transparent to 80fc757 (10-Mar-2014). 2014-04-17 16:43:31 +00:00
x11-toolkits The FreeBSD x11@ and graphics team proudly presents 2014-04-16 18:28:47 +00:00
x11-wm Remove expired ports: 2014-04-18 11:17:45 +00:00
.gitignore - Only ignore top-level distfiles/packages and also ignore work dirs 2014-03-17 15:41:46 +00:00
CHANGES - Rename check-orphans to check-plist. Keep the old for backwards-compat. 2014-04-19 06:44:56 +00:00
CONTRIBUTING.md Add a CONTRIBUTING file so github pull requests explain the proper submission 2014-03-15 13:37:33 +00:00
COPYRIGHT Bump copyright year. 2013-12-31 12:28:56 +00:00
GIDs - add anonymous FTP user 2014-04-11 18:51:04 +00:00
LEGAL Remove expired ports: 2014-04-11 13:20:44 +00:00
Makefile - Fix 'make index' not working when PORTSDIR is a symlink to another directory 2013-12-06 18:45:13 +00:00
MOVED - add forgotten entry for bugzilla -> bugzilla40 2014-04-18 12:55:41 +00:00
README
UIDs - add anonymous FTP user 2014-04-11 18:51:04 +00:00
UPDATING Add libxcb to the upgrade list. 2014-04-17 15:31:32 +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.