Date: Wed, 25 Jun 2014 08:50:50 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359205 - head/Tools/scripts Message-ID: <201406250850.s5P8ooQs087844@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Wed Jun 25 08:50:50 2014 New Revision: 359205 URL: http://svnweb.freebsd.org/changeset/ports/359205 QAT: https://qat.redports.org/buildarchive/r359205/ Log: Remove consistency-check since it relies on MD5 and only works for old pkg_ tools Also clean up README a bit more Discussed with: ak, bapt Deleted: head/Tools/scripts/consistency-check Modified: head/Tools/scripts/README Modified: head/Tools/scripts/README ============================================================================== --- head/Tools/scripts/README Wed Jun 25 08:41:55 2014 (r359204) +++ head/Tools/scripts/README Wed Jun 25 08:50:50 2014 (r359205) @@ -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 patch ---------------------------------------------------------------------- -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 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406250850.s5P8ooQs087844>