2000-05-01 20:00:10 +00:00
|
|
|
$FreeBSD$
|
|
|
|
|
2014-06-25 08:50:50 +00:00
|
|
|
NOTE: These scripts need work and are *NOT* safe to use unless you know
|
|
|
|
what they do. Use at your own risk. Patches would be great, but
|
|
|
|
it is preferred they pass through the maintainer of each particular
|
|
|
|
script.
|
|
|
|
|
2012-02-16 16:09:41 +00:00
|
|
|
MOVEDlint.awk - checks MOVED for common errors
|
2008-05-06 16:17:01 +00:00
|
|
|
ardiff - compare two archives easily
|
2004-01-02 23:27:29 +00:00
|
|
|
addport - replacement for easy-import
|
2014-06-25 08:50:50 +00:00
|
|
|
bad-pkgdescrs.sh - locate identical pkg descriptions
|
2005-04-12 09:22:59 +00:00
|
|
|
bump_revision.pl - Small script to bump the PORTREVISION variable of ports
|
|
|
|
which are depending on a port with a changed shared lib
|
|
|
|
version.
|
2005-01-24 07:22:38 +00:00
|
|
|
check-latest-link - search for duplicate LATEST_LINK values and send nag
|
|
|
|
mails to the responsible maintainers
|
2001-12-11 10:49:51 +00:00
|
|
|
checkcats.py - verify that master categories in all ports are correct and
|
2014-06-25 08:50:50 +00:00
|
|
|
report any problems. Beware that the full check takes quite
|
|
|
|
some time.
|
2000-07-07 14:57:41 +00:00
|
|
|
checknewvers - checks for availability for a newest version of distfiles on
|
|
|
|
MASTER_SITES (ftp only).
|
2014-06-25 08:50:50 +00:00
|
|
|
checksum - allows checking of ports to see if their checksums
|
|
|
|
match, and if they don't, give a diff against the older version to
|
|
|
|
help discover why the checksum didn't match.
|
2004-03-19 11:08:09 +00:00
|
|
|
chkorigin.sh - checks all ports in the tree for a wrong PKGORIGIN.
|
|
|
|
Run this tool after every repocopy.
|
2014-06-25 08:50:50 +00:00
|
|
|
doportlint - run portlint on every port and return the results
|
2000-06-05 15:47:25 +00:00
|
|
|
distclean - compare md5 sums of distfiles in ports/distfiles with currently
|
|
|
|
installed ports collection in ports/* and prompt to remove
|
|
|
|
unmatched entries
|
2007-08-26 15:02:24 +00:00
|
|
|
explicit_lib_depends.sh - shows the current explicit dependency list of libs
|
|
|
|
for a given installed port
|
2012-08-30 10:23:01 +00:00
|
|
|
getpatch - downloads patch attachments from a Bug Tracking Systems
|
2000-05-01 20:00:10 +00:00
|
|
|
getpr - downloads a problem report from GNATS and attempts to extract
|
|
|
|
the patch, shar, uuencoded file from it.
|
|
|
|
this probably needs to be checked for potential security problems.
|
2000-08-02 07:10:24 +00:00
|
|
|
gnomedepends - Analyse pkg/PLIST and give an advice as to which GNOME ports
|
2005-01-09 10:21:17 +00:00
|
|
|
should be listes in {RUN,LIB}_DEPENDS for this port
|
2009-05-17 11:40:16 +00:00
|
|
|
mark_safe.pl - utility to set subsets of ports to MAKE_JOBS_(UN)SAFE=yes
|
2013-12-19 14:43:58 +00:00
|
|
|
mfh - Merge from head to a given branch
|
2007-08-12 12:49:23 +00:00
|
|
|
neededlibs.sh - Extract direct library dependencies from binaries.
|
2000-10-17 14:46:04 +00:00
|
|
|
plist - automate (mostly, at least) pkg-plist generation
|
2000-08-28 11:37:23 +00:00
|
|
|
portsearch - A utility for searching the ports tree. It allows more detailed
|
|
|
|
search criteria than ``make search key=<string>'' and accepts
|
|
|
|
all perl(1) regular expressions.
|
2007-08-12 12:49:23 +00:00
|
|
|
resolveportsfromlibs.sh - Prints the name(s) of ports(s) given a library
|
|
|
|
filename, suitable for direct use in LIB_DEPENDS.
|
2005-04-12 10:56:08 +00:00
|
|
|
splitpatch.pl - A small script to convert multi-file patches to several
|
|
|
|
appropriately named single-file patches.
|
2005-01-24 07:22:38 +00:00
|
|
|
tindex - script used to build INDEXes for supported FreeBSD branches, which
|
|
|
|
are the source of the 'make fetchindex' INDEXes, and the build
|
|
|
|
failure reports on ports@FreeBSD.org
|
2000-10-19 10:47:28 +00:00
|
|
|
update-patches - generates updated patches.
|
|
|
|
|
2000-05-01 20:00:10 +00:00
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
2012-12-12 02:02:15 +00:00
|
|
|
getpr is used as so:
|
2000-05-01 20:00:10 +00:00
|
|
|
% cd /usr/ports/CATEGORY/PORT
|
|
|
|
% getpr PRNUMBER
|
|
|
|
<read diff presented to you>
|
|
|
|
<check that there are no followups to the PR as getpr wont' split
|
|
|
|
them out of the PR>
|
|
|
|
|
2000-05-22 10:02:42 +00:00
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
2000-08-02 07:10:24 +00:00
|
|
|
gnomedepends is a script, which analyses pkg/PLIST and gives an advice as to
|
|
|
|
which GNOME ports should be listes in {RUN,LIB}_DEPENDS for the port to ensure
|
|
|
|
correct removal of GNOME shared directories. Usage is simple:
|
|
|
|
% cd /usr/ports/CATEGORY/PORT
|
|
|
|
% gnomedepends.py
|
|
|
|
According to the contents of PLIST the port depends on the following GNOME
|
|
|
|
port(s):
|
|
|
|
|
|
|
|
/usr/ports/audio/gnomeaudio, for directories:
|
|
|
|
share/gnome/sounds
|
|
|
|
|
|
|
|
/usr/ports/sysutils/gnomecontrolcenter, for directories:
|
|
|
|
share/gnome/apps
|
|
|
|
|
|
|
|
/usr/ports/x11/gnomecore, for directories:
|
|
|
|
share/gnome/apps/Games
|
|
|
|
|
|
|
|
/usr/ports/x11/gnomelibs, for directories:
|
|
|
|
etc/sound/events
|
|
|
|
etc/sound
|
|
|
|
share/gnome/games
|
|
|
|
share/gnome/pixmaps
|
|
|
|
share/gnome
|
|
|
|
|
|
|
|
The example above means that you need to have ${PORTSDIR}/audio/gnomeaudio,
|
|
|
|
${PORTSDIR}/sysutils/gnomecontrolcenter, ${PORTSDIR}/x11/gnomecore and
|
|
|
|
${PORTSDIR}/x11/gnomelibs listed in {RUN,LIB}_DEPENDS for this port.
|
|
|
|
Please be warned, that the this only means that the ports listed by the script
|
|
|
|
required for correct removal of GNOME shared directories, not for the port
|
|
|
|
functionality, so actual {RUN,LIB}_DEPENDS may have more entries.
|
|
|
|
|
2000-08-28 11:37:23 +00:00
|
|
|
----------------------------------------------------------------------
|
|
|
|
portsearch - A utility for searching the ports tree.
|
|
|
|
|
|
|
|
portsearch is a utility to for searching of the ports tree. It permits
|
|
|
|
much more detailed searches to be performed than ``make search
|
|
|
|
key=<string>'' by allowing you to specify which field(s) to search. It
|
|
|
|
also supports all valid perl(1) regular expressions for pattern matching.
|
|
|
|
|
|
|
|
portsearch displays matching ports in the same format as ``make search''
|
|
|
|
and also displays the number of matching ports found.
|
|
|
|
|
|
|
|
The following command line options are supported:
|
|
|
|
|
|
|
|
-h Prints a multi-line help message and exits
|
|
|
|
|
|
|
|
-n name Search for name in the name field
|
|
|
|
|
|
|
|
-p path Search for path in the path field
|
|
|
|
|
|
|
|
-i info Search for info in the comments field
|
|
|
|
|
|
|
|
-m maint Search for maint in the Maintainer field
|
|
|
|
|
|
|
|
-x index Search for index in the category field
|
|
|
|
|
|
|
|
-b b_deps Search for b_deps in the build-depends field
|
|
|
|
|
|
|
|
-r r_deps Search for r_deps in the run-depends field
|
|
|
|
|
|
|
|
-d deps Search for deps in the both the build and run dependency
|
|
|
|
fields. This option behaves differently to the other op-
|
|
|
|
tions, see the EXAMPLES section
|
|
|
|
|
2011-12-27 03:32:25 +00:00
|
|
|
-f file Use the index file instead of /usr/ports/INDEX
|
2000-08-28 11:37:23 +00:00
|
|
|
|
|
|
|
All searches are case-insensitive
|
|
|
|
|
|
|
|
See the file README.portsearch for further information.
|
|
|
|
|
2000-08-02 07:10:24 +00:00
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
2000-10-19 10:47:28 +00:00
|
|
|
The update-patches script looks for files in $WRKSRC (if unset, this defaults
|
|
|
|
to the work/ subdirectory of the current directory) which have a matching .orig
|
|
|
|
file. It also looks in $PATCHDIR (if unset, this defaults to the files/
|
|
|
|
subdirectory of the current directory) for patches that correspond to the first
|
|
|
|
set. If the changes in an existing patch do not reflect the changes in the
|
|
|
|
files in $WRKSRC, the script renames the existing patch by adding the suffix
|
|
|
|
.orig and generates a new patch in its place. If no patch existed, the new one
|
|
|
|
is created with a name that contains the path and filename of the file being
|
|
|
|
patched, except that "/" separators and "." characters are replaced by
|
|
|
|
underscores: for example, a new patch to $WRKSRC/foo/bar.c would be created as
|
|
|
|
$PATCHDIR/patch-foo_bar_c. If you save a .orig backup of a file, but don't
|
|
|
|
change the file, update-patches will generate an empty patch.
|