From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 6 04:11:10 2014 Return-Path: Delivered-To: freebsd-ports-bugs@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 1319A5B2; Thu, 6 Feb 2014 04:11:10 +0000 (UTC) Received: from mx.waitman.net (mx.waitman.net [136.0.16.173]) by mx1.freebsd.org (Postfix) with ESMTP id E3E321133; Thu, 6 Feb 2014 04:11:09 +0000 (UTC) Received: by mx.waitman.net (Postfix, from userid 2) id DEC5A436A6; Wed, 5 Feb 2014 12:18:08 -0800 (PST) Received: from 67.170.221.223 by mx.waitman.net with HTTP; Wed, 5 Feb 2014 12:18:08 -0800 Message-ID: <055a8018e2b4a33839643c230e49ab31.squirrel@mx.waitman.net> In-Reply-To: <201402051530.s15FU0S3025367@freefall.freebsd.org> References: <201402051530.s15FU0S3025367@freefall.freebsd.org> Date: Wed, 5 Feb 2014 12:18:08 -0800 Subject: Re: ports/186484: New port: ports-mgmt/pkgcompare Alternate to pkg upgrade From: "Waitman Gobble" To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org User-Agent: SquirrelMail/1.5.2 [SVN] MIME-Version: 1.0 Content-Type: multipart/mixed;boundary="----=_20140205121808_47032" X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: uzimac@da3m0n8t3r.com List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Feb 2014 04:11:10 -0000 ------=_20140205121808_47032 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Please use this 1.1 update instead. This adds -m switch, which mimicks: # pkg query -e '%a == 0' %o ...to optionally show only manually installed ports, not the dependencies. Thank you, -- Waitman Gobble San Jose California USA (510) 830-7975 ------=_20140205121808_47032 Content-Type: text/plain; name="pkgcompare.shar.txt" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="pkgcompare.shar.txt" # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pkgcompare # pkgcompare/Makefile # pkgcompare/files # pkgcompare/files/pkg-message.in # pkgcompare/pkg-descr # pkgcompare/distinfo # echo c - pkgcompare mkdir -p pkgcompare > /dev/null 2>&1 echo x - pkgcompare/Makefile sed 's/^X//' >pkgcompare/Makefile << '9c185d22b71a86faf3c6ef7f228ee1b7' X# Created by: "Waitman Gobble" X# $FreeBSD$ X# New ports collection makefile for: pkgcompare X# Date created: 05 February 2014 X XPORTNAME= pkgcompare XPORTVERSION= 1.1 XCATEGORIES= ports-mgmt XMASTER_SITES= GH XDISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT} X XMAINTAINER= waitman@waitman.net XCOMMENT= Alternate to pkg upgrade X XLICENSE= PKG-COMPARE XLICENSE_NAME= PKG-COMPARE BSD LICENSE XLICENSE_FILE= ${WRKSRC}/LICENSE XLICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT} X XLIB_DEPENDS= pkg:${PORTSDIR}/ports-mgmt/pkg \ X sqlite3:${PORTSDIR}/databases/sqlite3 X XUSE_GITHUB= yes XGH_ACCOUNT= waitman XGH_PROJECT= pkg-compare XGH_TAGNAME= 7d68ba3 XGH_COMMIT= ${GH_TAGNAME} X XWRKSRC= ${WRKDIR}/waitman-pkg-compare-${GH_TAGNAME} X XBINARY= pkg-compare X XPLIST_FILES= man/man8/pkg-compare.8.gz \ X sbin/pkg-compare X X.include X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${STAGEDIR}${PREFIX}/sbin/ X ${INSTALL_MAN} ${WRKSRC}/pkg-compare.8 \ X ${STAGEDIR}${MAN8PREFIX}/man/man8 X Xpost-install: X ${MKDIR} ${STAGEDIR}${DOCSDIR} X ${INSTALL_MAN} ${LICENSE_FILE} ${STAGEDIR}${DOCSDIR} X ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} X X.include 9c185d22b71a86faf3c6ef7f228ee1b7 echo c - pkgcompare/files mkdir -p pkgcompare/files > /dev/null 2>&1 echo x - pkgcompare/files/pkg-message.in sed 's/^X//' >pkgcompare/files/pkg-message.in << '36a817c011ebcfe52306231cecca3820' X************************************************************************ X XNOTICE X Xman page is installed in /usr/local/share/man/man7, if you do not yet Xhave the configuration in /etc/man.conf, add X XMANPATH /usr/local/share/man X Xto view all man pages which are installed in /usr/local/share/man/manX/ X X X************************************************************************ X 36a817c011ebcfe52306231cecca3820 echo x - pkgcompare/pkg-descr sed 's/^X//' >pkgcompare/pkg-descr << '80be4993cc4536aff262afe69db1834e' XThis program provides for an alternate pkg upgrade procedure. X XMove /usr/local to /usr/old-local and /var/db/pkg to /var/db/old-pkg, Xthen use pkg-compare to generate a list of packages to install. X XWWW: Xhttps://github.com/waitman/pkg-compare 80be4993cc4536aff262afe69db1834e echo x - pkgcompare/distinfo sed 's/^X//' >pkgcompare/distinfo << '7db005b1694f45260205d34a00c2765c' XSHA256 (waitman-pkg-compare-1.1-0-g7d68ba3.tar.gz) = 881584774c1255609233a5ec716d4185e9e392d6da76dec1b251dc7e34b265d6 XSIZE (waitman-pkg-compare-1.1-0-g7d68ba3.tar.gz) = 4125 7db005b1694f45260205d34a00c2765c exit ------=_20140205121808_47032--