diff options
Diffstat (limited to 'Tools/scripts/README')
-rw-r--r-- | Tools/scripts/README | 55 |
1 files changed, 12 insertions, 43 deletions
diff --git a/Tools/scripts/README b/Tools/scripts/README index 0f09202eb7b5..22ab3c67380f 100644 --- a/Tools/scripts/README +++ b/Tools/scripts/README @@ -1,21 +1,30 @@ $FreeBSD$ +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. + MOVEDlint.awk - checks MOVED for common errors ardiff - compare two archives easily addport - replacement for easy-import +bad-pkgdescrs.sh - locate identical pkg descriptions bump_revision.pl - Small script to bump the PORTREVISION variable of ports which are depending on a port with a changed shared lib version. -consistency-check - check whether all your ports are installed properly, - what files have changed, and what new files there are. check-latest-link - search for duplicate LATEST_LINK values and send nag mails to the responsible maintainers checkcats.py - verify that master categories in all ports are correct and - report any problems. + report any problems. Beware that the full check takes quite + some time. checknewvers - checks for availability for a newest version of distfiles on MASTER_SITES (ftp only). +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. chkorigin.sh - checks all ports in the tree for a wrong PKGORIGIN. Run this tool after every repocopy. +doportlint - run portlint on every port and return the results distclean - compare md5 sums of distfiles in ports/distfiles with currently installed ports collection in ports/* and prompt to remove unmatched entries @@ -45,26 +54,6 @@ update-patches - generates updated patches. ---------------------------------------------------------------------- -consistency-check gives output like: - -Not on filesystem - jade from jade-1.2.1 -Only on filesystem - jadefoo -No package md5 available for lessecho -File nsgmls owned by multiple packages sp-1.3.4,jade-1.2.1 -No filesystem md5 available for setuser, but it exists -For sgmlnorm, package md5 312d7b63d591e07629e0da4ae4a0ac07 is DIFFERENT from fs md5 of 19f1f901911b90d8e04c6ea69e1b0541! - -change $do_md5 to 0 to not check md5, and $do_fs to 0 to not check for -files above those installed by packages. - ----------------------------------------------------------------------- - -The checkcats.py script verifyes that master categories in all ports are -correct and report any problems. It doesn't require any command-line options. -Please beware that full check takes quite some time. - ----------------------------------------------------------------------- - getpr is used as so: % cd /usr/ports/CATEGORY/PORT % getpr PRNUMBER @@ -74,19 +63,6 @@ getpr is used as so: ---------------------------------------------------------------------- -checksum is a script that allows checking of ports to see if their checksums -match, and if they don't, give a diff against the older version to try and -discover why the checksum didn't match. - ----------------------------------------------------------------------- - -distclean is a script that allows to compare md5 checksums of distfiles in -ports/distfiles with list of all md5 sums listed in "md5" files in the ports -collection. After comparing, utility will prompt to remove distfiles which -doesn't have associated md5 entry (most likely outdated distfiles). - ----------------------------------------------------------------------- - 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: @@ -171,10 +147,3 @@ 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. - ----------------------------------------------------------------------- - -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. |