From owner-svn-ports-all@FreeBSD.ORG Tue Oct 28 22:55:15 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5A85840F; Tue, 28 Oct 2014 22:55:15 +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 2B66438E; Tue, 28 Oct 2014 22:55:15 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9SMtE0v027202; Tue, 28 Oct 2014 22:55:14 GMT (envelope-from ohauer@FreeBSD.org) Received: (from ohauer@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9SMtD1S027195; Tue, 28 Oct 2014 22:55:13 GMT (envelope-from ohauer@FreeBSD.org) Message-Id: <201410282255.s9SMtD1S027195@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ohauer set sender to ohauer@FreeBSD.org using -f From: Olli Hauer Date: Tue, 28 Oct 2014 22:55:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r371655 - in head/ports-mgmt: . pkgcompare pkgcompare/files 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-1 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: Tue, 28 Oct 2014 22:55:15 -0000 Author: ohauer Date: Tue Oct 28 22:55:13 2014 New Revision: 371655 URL: https://svnweb.freebsd.org/changeset/ports/371655 QAT: https://qat.redports.org/buildarchive/r371655/ Log: - new port pkgcompare This program provides for an alternate pkg upgrade procedure. Usage: pkg-compare [options] new_path old_path This program reads local.sqlite in new_path and compares list of installed packages in local.sqlite in old_path. If a package is found in old_path which is not in new_path then the name of the port is printed, one per line. Command line switches: -p prefix uninstalled packages with 'pkg install -Rf' -m show manually installed packages only, no deps WWW: https://github.com/waitman/pkg-compare PR: 186484 Submitted by: waitman@waitman.net Added: head/ports-mgmt/pkgcompare/ head/ports-mgmt/pkgcompare/Makefile (contents, props changed) head/ports-mgmt/pkgcompare/distinfo (contents, props changed) head/ports-mgmt/pkgcompare/files/ head/ports-mgmt/pkgcompare/files/pkg-message.in (contents, props changed) head/ports-mgmt/pkgcompare/pkg-descr (contents, props changed) Modified: head/ports-mgmt/Makefile Modified: head/ports-mgmt/Makefile ============================================================================== --- head/ports-mgmt/Makefile Tue Oct 28 22:53:16 2014 (r371654) +++ head/ports-mgmt/Makefile Tue Oct 28 22:55:13 2014 (r371655) @@ -30,6 +30,7 @@ SUBDIR += pchecker SUBDIR += pib SUBDIR += pkg + SUBDIR += pkgcompare SUBDIR += pkg-devel SUBDIR += pkg-orphan SUBDIR += pkg-plist Added: head/ports-mgmt/pkgcompare/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ports-mgmt/pkgcompare/Makefile Tue Oct 28 22:55:13 2014 (r371655) @@ -0,0 +1,46 @@ +# Created by: "Waitman Gobble" +# $FreeBSD$ + +PORTNAME= pkgcompare +PORTVERSION= 1.1 +CATEGORIES= ports-mgmt +MASTER_SITES= GH +DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT} + +MAINTAINER= waitman@waitman.net +COMMENT= Alternate to pkg upgrade + +LICENSE= PKG-COMPARE +LICENSE_NAME= PKG-COMPARE BSD LICENSE +LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT} + +LIB_DEPENDS= libpkg.so:${PORTSDIR}/ports-mgmt/pkg \ + libsqlite3.so:${PORTSDIR}/databases/sqlite3 + +USE_GITHUB= yes +GH_ACCOUNT= waitman +GH_PROJECT= pkg-compare +GH_TAGNAME= 418295d +GH_COMMIT= ${GH_TAGNAME} + +WRKSRC= ${WRKDIR}/waitman-pkg-compare-${GH_TAGNAME} + +BINARY= pkg-compare + +PORTDOCS= * +PLIST_FILES= man/man8/pkg-compare.8.gz \ + sbin/pkg-compare +SUB_FILES= pkg-message + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${BINARY} ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/pkg-compare.8 \ + ${STAGEDIR}${MAN8PREFIX}/man/man8 + +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${LICENSE_FILE} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + +.include Added: head/ports-mgmt/pkgcompare/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ports-mgmt/pkgcompare/distinfo Tue Oct 28 22:55:13 2014 (r371655) @@ -0,0 +1,2 @@ +SHA256 (waitman-pkg-compare-1.1-0-g418295d.tar.gz) = edd3a18cb31728b9ab130c9a246add5b7c7cf3d9ecfb6a7298a31bcdc9a36d44 +SIZE (waitman-pkg-compare-1.1-0-g418295d.tar.gz) = 4159 Added: head/ports-mgmt/pkgcompare/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ports-mgmt/pkgcompare/files/pkg-message.in Tue Oct 28 22:55:13 2014 (r371655) @@ -0,0 +1,14 @@ +************************************************************************ + +NOTICE + +man page is installed in %%LOCALBASE%%/man/man8, if you do not yet +have the configuration in /etc/manpath.config, add + +OPTIONAL_MANPATH %%LOCALBASE%%/man + +to view all man pages which are installed in /usr/local/man/manX/ + + +************************************************************************ + Added: head/ports-mgmt/pkgcompare/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ports-mgmt/pkgcompare/pkg-descr Tue Oct 28 22:55:13 2014 (r371655) @@ -0,0 +1,6 @@ +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