From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 5 15:30:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D91D73FD for ; Wed, 5 Feb 2014 15:30:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B1974159E for ; Wed, 5 Feb 2014 15:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s15FU0rU025396 for ; Wed, 5 Feb 2014 15:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s15FU0Km025395; Wed, 5 Feb 2014 15:30:00 GMT (envelope-from gnats) Resent-Date: Wed, 5 Feb 2014 15:30:00 GMT Resent-Message-Id: <201402051530.s15FU0Km025395@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Waitman Gobble Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 61A67B3 for ; Wed, 5 Feb 2014 15:23:29 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4C39A153D for ; Wed, 5 Feb 2014 15:23:29 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s15FNS7a062671 for ; Wed, 5 Feb 2014 15:23:28 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s15FNSxq062628; Wed, 5 Feb 2014 15:23:28 GMT (envelope-from nobody) Message-Id: <201402051523.s15FNSxq062628@oldred.freebsd.org> Date: Wed, 5 Feb 2014 15:23:28 GMT From: Waitman Gobble To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/186484: New port: ports-mgmt/pkgcompare Alternate to pkg upgrade X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 15:30:00 -0000 >Number: 186484 >Category: ports >Synopsis: New port: ports-mgmt/pkgcompare Alternate to pkg upgrade >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 05 15:30:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Waitman Gobble >Release: FreeBSD 11.0-CURRENT >Organization: Waitman Gobble >Environment: FreeBSD akira.waitman.net 11.0-CURRENT FreeBSD 11.0-CURRENT #1: Sun Feb 2 21:45:49 PST 2014 root@akira.waitman.net:/usr/obj/usr/src/sys/AKIRA amd64 >Description: This program provides for an alternate pkg upgrade procedure. Move /usr/local to /usr/old-local and /var/db/pkg to /var/db/old-pkg, then use pkg-compare to generate a list of packages to install. WWW: https://github.com/waitman/pkg-compare >How-To-Repeat: >Fix: Patch attached with submission follows: # 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/distinfo # pkgcompare/files # pkgcompare/files/pkg-message.in # pkgcompare/pkg-descr # 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.0 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= 845d363 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 x - pkgcompare/distinfo sed 's/^X//' >pkgcompare/distinfo << '7db005b1694f45260205d34a00c2765c' XSHA256 (waitman-pkg-compare-1.0-0-g845d363.tar.gz) = c9f3c76f0914e18e63a3e25bbe16942b47b37cf0cb5c60106978a6c4b07a85f7 XSIZE (waitman-pkg-compare-1.0-0-g845d363.tar.gz) = 3766 7db005b1694f45260205d34a00c2765c 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 exit >Release-Note: >Audit-Trail: >Unformatted: