Date: Fri, 14 Aug 2009 21:47:40 +0800 (CST) From: Wei-Yu Chen <weiyu.csie@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: weiyu.csie+pver@gmail.com Subject: ports/137766: [PATCH] ports-mgmt/pver: update to 0.15 Message-ID: <200908141347.n7EDlehm081091@alpha3.cs.nthu.edu.tw> Resent-Message-ID: <200908141410.n7EEA68C065121@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137766 >Category: ports >Synopsis: [PATCH] ports-mgmt/pver: update to 0.15 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Aug 14 14:10:06 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Wei-Yu Chen >Release: FreeBSD 7.1-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD alpha3.cs.nthu.edu.tw 7.1-RELEASE-p5 FreeBSD 7.1-RELEASE-p5 #29: Tue Jun 2 14:29:05 CST >Description: - Update to 0.15 - Add missing entry pver_c in pkg-plist Added file(s): - pkg-plist Port maintainer (weiyu.csie+pver@gmail.com) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- pver-0.15_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/ports-mgmt/pver/Makefile /home/weiyu/port/pver/Makefile --- /usr/ports/ports-mgmt/pver/Makefile 2009-06-18 05:21:19.000000000 +0800 +++ /home/weiyu/port/pver/Makefile 2009-08-14 20:11:17.000000000 +0800 @@ -2,11 +2,13 @@ # Date created: 2008-11-07 # Whom: Wei-Yu Chen <weiyu@alpha3.cs.nthu.edu.tw> # -# $FreeBSD: ports/ports-mgmt/pver/Makefile,v 1.1 2009/06/17 21:21:19 dhn Exp $ +# $FreeBSD$ # PORTNAME= pver -PORTVERSION= 0.14 +PORTVERSION= 0.15 +PORTREVISION= 1 +#PORTEPOCH= 0 CATEGORIES= ports-mgmt MASTER_SITES= http://www.csie.nctu.edu.tw/~weiyu/software/ \ ${MASTER_SITE_GOOGLE_CODE} @@ -17,16 +19,11 @@ OPTIONS= SORT "Sort the result by the package names" Off \ DB185 "Use BerkeleyDB 1.85/1.86" Off +PLIST_SUB= PORTNAME=${PORTNAME} + WRKSRC= ${WRKDIR}/${PORTNAME} MAKE_ARGS+= PORTSDIR=${PORTSDIR} -PLIST_FILES= bin/pver \ - bin/pver_c \ - bin/pver_dbgen \ - bin/wpver \ - %%DATADIR%%/LICENSE.txt -PLIST_DIRS= %%DATADIR%% - .include <bsd.port.pre.mk> .if defined(WITH_SORT) @@ -45,10 +42,7 @@ .endif post-install: - ${MKDIR} ${DATADIR} - ${INSTALL} ${WRKSRC}/LICENSE.txt ${DATADIR} - - @${CAT} ${PKGMESSAGE} | ${SED} -e 's|PORTSDIR|${PORTSDIR}|g' \ - -e 's|__FreeBSD__|${OSREL:C/.[0-9]//}|g' ${PKGDIR}/pkg-message + ${MKDIR} ${PREFIX}/share/${PORTNAME}/ + ${INSTALL} ${WRKSRC}/LICENSE.txt ${PREFIX}/share/${PORTNAME}/ .include <bsd.port.post.mk> diff -ruN --exclude=CVS /usr/ports/ports-mgmt/pver/distinfo /home/weiyu/port/pver/distinfo --- /usr/ports/ports-mgmt/pver/distinfo 2009-06-18 05:21:19.000000000 +0800 +++ /home/weiyu/port/pver/distinfo 2009-07-04 00:24:24.000000000 +0800 @@ -1,3 +1,3 @@ -MD5 (pver-0.14.tar.gz) = 102b5b3479c4f43a8cdbca8154db4f19 -SHA256 (pver-0.14.tar.gz) = c4348167eb17ce551c2ea8d2ba52062175147243602857c235d126d0785f1307 -SIZE (pver-0.14.tar.gz) = 6405 +MD5 (pver-0.15.tar.gz) = 9349e44751e8a01eebf3e322d34e44dc +SHA256 (pver-0.15.tar.gz) = c8c23ecc246cf1abc8226cf739a0b50f4a7609d5e6bd288f8cd47966787586ce +SIZE (pver-0.15.tar.gz) = 6425 diff -ruN --exclude=CVS /usr/ports/ports-mgmt/pver/pkg-message /home/weiyu/port/pver/pkg-message --- /usr/ports/ports-mgmt/pver/pkg-message 2009-06-18 05:21:19.000000000 +0800 +++ /home/weiyu/port/pver/pkg-message 2009-05-20 18:58:21.000000000 +0800 @@ -1,14 +1,10 @@ -=================================================================================== - -PORTSDIR/INDEX-__FreeBSD__.db is usually generated by ports-mgmt/portupgrade +${PORTSDIR}/INDEX-{__FreeBSD__}.db is usually generated by ports-mgmt/portupgrade However, you can use the tool 'pver_dbgen' to generate/update it > sudo pver_dbgen -The tool use PORTSDIR/INDEX-__FreeBSD__ to generate db file +The tool use ${PORTSDIR}/INDEX-{__FreeBSD__} to generate db file Then you can show the packages whose port version and package version is different by typing 'pver' > pver - -=================================================================================== diff -ruN --exclude=CVS /usr/ports/ports-mgmt/pver/pkg-plist /home/weiyu/port/pver/pkg-plist --- /usr/ports/ports-mgmt/pver/pkg-plist 1970-01-01 08:00:00.000000000 +0800 +++ /home/weiyu/port/pver/pkg-plist 2009-07-29 23:16:38.000000000 +0800 @@ -0,0 +1,6 @@ +bin/pver +bin/pver_c +bin/pver_dbgen +bin/wpver +share/%%PORTNAME%%/LICENSE.txt +@dirrm share/%%PORTNAME%% --- pver-0.15_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908141347.n7EDlehm081091>