Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 12:18:08 -0800
From:      "Waitman Gobble" <uzimac@da3m0n8t3r.com>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/186484: New port: ports-mgmt/pkgcompare Alternate to pkg upgrade
Message-ID:  <055a8018e2b4a33839643c230e49ab31.squirrel@mx.waitman.net>
In-Reply-To: <201402051530.s15FU0S3025367@freefall.freebsd.org>
References:  <201402051530.s15FU0S3025367@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_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" <uzimac@da3m0n8t3r.com>
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 <bsd.port.options.mk>
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 <bsd.port.mk>
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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?055a8018e2b4a33839643c230e49ab31.squirrel>