From owner-svn-ports-all@FreeBSD.ORG Wed Jun 25 08:50:50 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B85BE287; Wed, 25 Jun 2014 08:50:50 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9A1A72B8B; Wed, 25 Jun 2014 08:50:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5P8ooIT087845; Wed, 25 Jun 2014 08:50:50 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5P8ooQs087844; Wed, 25 Jun 2014 08:50:50 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201406250850.s5P8ooQs087844@svn.freebsd.org> From: Eitan Adler Date: Wed, 25 Jun 2014 08:50:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359205 - head/Tools/scripts X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2014 08:50:50 -0000 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.