1 2MOVEDlint.awk - checks MOVED for common errors 3addport - replacement for easy-import 4bad-pkgdescrs.sh - locate identical pkg descriptions 5bump_revision.pl - Small script to bump the PORTREVISION variable of ports 6 which are depending on a port with a changed shared lib 7 version. 8checkcats.py - verify that master categories in all ports are correct and 9 report any problems. 10checknewvers - checks for availability for a newest version of distfiles on 11 MASTER_SITES (ftp only). 12chkorigin.sh - checks all ports in the tree for a wrong PKGORIGIN. 13 Run this tool after every repocopy. 14de-pkg-comment - converts pkg-comment to COMMENT (will be obsoleted when 15 the mass conversion is finished) 16doportlint - run portlint on every port and return the results 17distclean - compare md5 sums of distfiles in ports/distfiles with currently 18 installed ports collection in ports/* and prompt to remove 19 unmatched entries 20gnomedepends - Analyse pkg/PLIST and give an advice as to which GNOME ports 21 should be listes in {RUN,LIB}_DEPENDS for this port 22plist - automate (mostly, at least) pkg-plist generation 23portsearch - A utility for searching the ports tree. It allows more detailed 24 search criteria than ``make search key=<string>'' and accepts 25 all perl(1) regular expressions. 26search_lib_depends_and_bump.sh - Give it a port that has changed and it will bump 27 all ports having a LIB_DEPENDS on this port 28splitpatch.pl - A small script to convert multi-file patches to several 29 appropriately named single-file patches. 30tindex - script used to build INDEXes for supported MidnightBSD branches, which 31 are the source of the 'make fetchindex' INDEXes, and the build 32 failure reports 33update-patches - generates updated patches. 34 35---------------------------------------------------------------------- 36 37consistency-check gives output like: 38 39Not on filesystem - jade from jade-1.2.1 40Only on filesystem - jadefoo 41No package md5 available for lessecho 42File nsgmls owned by multiple packages sp-1.3.4,jade-1.2.1 43No filesystem md5 available for setuser, but it exists 44For sgmlnorm, package md5 312d7b63d591e07629e0da4ae4a0ac07 is DIFFERENT from fs md5 of 19f1f901911b90d8e04c6ea69e1b0541! 45 46change $do_md5 to 0 to not check md5, and $do_fs to 0 to not check for 47files above those installed by packages. 48 49---------------------------------------------------------------------- 50 51The checkcats.py script verifyes that master categories in all ports are 52correct and report any problems. It doesn't require any command-line options. 53Please beware that full check takes quite some time. 54 55---------------------------------------------------------------------- 56 57checksum is a script that allows checking of ports to see if their checksums 58match, and if they don't, give a diff against the older version to try and 59discover why the checksum didn't match. 60 61---------------------------------------------------------------------- 62 63distclean is a script that allows to compare md5 checksums of distfiles in 64mports/distfiles with list of all md5 sums listed in "md5" files in the ports 65collection. After comparing, utility will prompt to remove distfiles which 66doesn't have associated md5 entry (most likely outdated distfiles). 67 68---------------------------------------------------------------------- 69 70gnomedepends is a script, which analyses pkg/PLIST and gives an advice as to 71which GNOME ports should be listes in {RUN,LIB}_DEPENDS for the port to ensure 72correct removal of GNOME shared directories. Usage is simple: 73 % cd /usr/mports/CATEGORY/PORT 74 % gnomedepends.py 75 According to the contents of PLIST the port depends on the following GNOME 76 port(s): 77 78 /usr/mports/audio/gnomeaudio, for directories: 79 share/gnome/sounds 80 81 /usr/mports/sysutils/gnomecontrolcenter, for directories: 82 share/gnome/apps 83 84 /usr/mports/x11/gnomecore, for directories: 85 share/gnome/apps/Games 86 87 /usr/mports/x11/gnomelibs, for directories: 88 etc/sound/events 89 etc/sound 90 share/gnome/games 91 share/gnome/pixmaps 92 share/gnome 93 94The example above means that you need to have ${PORTSDIR}/audio/gnomeaudio, 95${PORTSDIR}/sysutils/gnomecontrolcenter, ${PORTSDIR}/x11/gnomecore and 96${PORTSDIR}/x11/gnomelibs listed in {RUN,LIB}_DEPENDS for this port. 97Please be warned, that the this only means that the ports listed by the script 98required for correct removal of GNOME shared directories, not for the port 99functionality, so actual {RUN,LIB}_DEPENDS may have more entries. 100 101---------------------------------------------------------------------- 102portsearch - A utility for searching the ports tree. 103 104 portsearch is a utility to for searching of the ports tree. It permits 105 much more detailed searches to be performed than ``make search 106 key=<string>'' by allowing you to specify which field(s) to search. It 107 also supports all valid perl(1) regular expressions for pattern matching. 108 109 portsearch displays matching ports in the same format as ``make search'' 110 and also displays the number of matching ports found. 111 112 The following command line options are supported: 113 114 -h Prints a multi-line help message and exits 115 116 -n name Search for name in the name field 117 118 -p path Search for path in the path field 119 120 -i info Search for info in the comments field 121 122 -m maint Search for maint in the Maintainer field 123 124 -x index Search for index in the category field 125 126 -b b_deps Search for b_deps in the build-depends field 127 128 -r r_deps Search for r_deps in the run-depends field 129 130 -d deps Search for deps in the both the build and run dependency 131 fields. This option behaves differently to the other op- 132 tions, see the EXAMPLES section 133 134 -f file Use the index file instead of /usr/mports/INDEX 135 136 All searches are case-insensitive 137 138See the file README.portsearch for further information. 139 140---------------------------------------------------------------------- 141 142The update-patches script looks for files in $WRKSRC (if unset, this defaults 143to the work/ subdirectory of the current directory) which have a matching .orig 144file. It also looks in $PATCHDIR (if unset, this defaults to the files/ 145subdirectory of the current directory) for patches that correspond to the first 146set. If the changes in an existing patch do not reflect the changes in the 147files in $WRKSRC, the script renames the existing patch by adding the suffix 148.orig and generates a new patch in its place. If no patch existed, the new one 149is created with a name that contains the path and filename of the file being 150patched, except that "/" separators and "." characters are replaced by 151underscores: for example, a new patch to $WRKSRC/foo/bar.c would be created as 152$PATCHDIR/patch-foo_bar_c. If you save a .orig backup of a file, but don't 153change the file, update-patches will generate an empty patch. 154 155---------------------------------------------------------------------- 156 157NOTE: These scripts need work and are *NOT* safe to use unless you know 158 what they do. Use at your own risk. Patches would be great, but 159 it is preferred they pass through the maintainer of each particular 160 script. 161