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 Fix: Patch attached with submission follows:
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
Hi, if you are still interested in having this port in FreeBSD, it may need to be reworked to support stage, and it could need updating to other newer conventions such as "USES" which is expanding all time. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html Additionally, you need to provide some sort of quality assurance. In order of preference, we are looking for: 1) "poudriere testport" or "poudriere bulk -t" logs 2) Redports or tinderbox logs Please provide an updated shar file and attach a test log. Alternatively, please indicate if you are no longer interested in having this software in the Ports Collection and that we can close the PR. Thanks!
this port appears staged and doesn't seem bitrotted.
Hi Waitman, please review the following patch (updated to GH_TAGNAME=1fe5a3d and a small pkg-plist fix (PORTDOCS=*) was missing. Additional I opened a request on github to prefix showprefix, and showmanual with an '#' so no unknown command error is thrown.
Created attachment 147030 [details] [patch] new port port ports-mgmt/pkgcompare
I'm moving this to patch-ready because Olli's submission looks good, but given the timeout by Waitman, I'd like confirmation that he's still available and wants to be the maintainer (per Olli's patch)
A commit references this bug: Author: ohauer Date: Tue Oct 28 22:55:15 UTC 2014 New revision: 371655 URL: https://svnweb.freebsd.org/changeset/ports/371655 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 Changes: head/ports-mgmt/Makefile head/ports-mgmt/pkgcompare/ head/ports-mgmt/pkgcompare/Makefile head/ports-mgmt/pkgcompare/distinfo head/ports-mgmt/pkgcompare/files/ head/ports-mgmt/pkgcompare/files/pkg-message.in head/ports-mgmt/pkgcompare/pkg-descr
Committed with new github changes 418295d!