From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 22 04:30:01 2013 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]) by hub.freebsd.org (Postfix) with ESMTP id 097F4104 for ; Fri, 22 Mar 2013 04:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E4E0DF1E for ; Fri, 22 Mar 2013 04:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2M4U0Am059951 for ; Fri, 22 Mar 2013 04:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2M4U0u2059950; Fri, 22 Mar 2013 04:30:00 GMT (envelope-from gnats) Resent-Date: Fri, 22 Mar 2013 04:30:00 GMT Resent-Message-Id: <201303220430.r2M4U0u2059950@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]) by hub.freebsd.org (Postfix) with ESMTP id E7D63F68 for ; Fri, 22 Mar 2013 04:21:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id C921DED3 for ; Fri, 22 Mar 2013 04:21:10 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2M4L9so020826 for ; Fri, 22 Mar 2013 04:21:09 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r2M4L9Pr020825; Fri, 22 Mar 2013 04:21:09 GMT (envelope-from nobody) Message-Id: <201303220421.r2M4L9Pr020825@red.freebsd.org> Date: Fri, 22 Mar 2013 04:21:09 GMT From: Waitman Gobble To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/177220: New Port: ports-mgmt/chucky X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Mar 2013 04:30:01 -0000 >Number: 177220 >Category: ports >Synopsis: New Port: ports-mgmt/chucky >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: Fri Mar 22 04:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Waitman Gobble >Release: FreeBSD 10.0-CURRENT >Organization: Waitman Gobble >Environment: FreeBSD dx.burplex.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r248165: Mon Mar 11 18:20:30 PDT 2013 root@dx.burplex.com:/usr/obj/usr/src/sys/FURAHA amd64 >Description: This program reads /var/db/pkg/local.sqlite and compares install timestamp with date in $FreeBSD header in the Makefile of the port. If there is no $FreeBSD header then it is assumed to be a beta port. Command line switches: -u show ports with update status only -o show ports with current status only -b show ports with beta status only -t show timestamps (debug, etc) -a create shar of files (usefull with -a). output to stdout -h help -i ignore fread() errors* NOTE: shar files are created with absolute path (ie /usr/ports/src/dir) so executing them will restore to that path. Multiple shars are concatenated by chucky stripping the 'exit' command from the output. (ie there is no 'exit' in the shar output. the shar output is to stdout, if you want to save: # chucky -b -a > save.shar This will save all the ports marked 'beta' in the save.shar archive, in the cwd. Edit Makefile if you dont put stuff in /usr/local example: # chucky {OK} p:1359956798 i:1363325950 x11/xpr 1.0.4 {OK} p:1342304958 i:1363325954 x11/xprop 1.2.1 {beta} p:---------- i:1363045617 x11/xproto 7.0.22 {OK} p:1362771552 i:1363325959 x11/xrandr 1.4.0 {updates} p:1366304958 i:1363325962 x11/xrdb 1.0.9 {OK} means there is no update available {beta} is a beta port {updates} means the version in /usr/ports is newer than install date the right columns show the port location, ie /usr/ports/x11/xrdb and the version currently installed on the system. depends on /var/db/pkg/local.sqlite which is managed by the pkg system. (see /usr/ports/ports-mgmt/pkg) *ignore fread errors: if you are working on developing ports outside the ports tree you may receive an error because the port is listed in the database but it does not exist in the ports tree. if you use the -i flag it will continue without an error message. >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: # # chucky # chucky/Makefile # chucky/distinfo # chucky/files # chucky/files/pkg-message.in # chucky/pkg-descr # chucky/pkg-plist # echo c - chucky mkdir -p chucky > /dev/null 2>&1 echo x - chucky/Makefile sed 's/^X//' >chucky/Makefile << 'fea18e3eb94cc5a9e961b75a681ad9c9' X# Created by: "Waitman Gobble" X# $FreeBSD$ X# New ports collection makefile for: chucky X# Date created: 21 March 2013 X XPORTNAME= chucky 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= Port installed version check/report with shar archival X XLICENSE= CHUCKY XLICENSE_NAME= CHUCKY 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= chucky XGH_TAGNAME= master XGH_COMMIT= 075defe X XWRKSRC= ${WRKDIR}/waitman-chucky-075defe X XMAN7= chucky.7 X XSUB_FILES= pkg-message XPORTDOCS= * X X.include X Xpost-install: X.if ${PORT_OPTIONS:MDOCS} X @${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} X.endif X @${CAT} ${PKGMESSAGE} X X.include fea18e3eb94cc5a9e961b75a681ad9c9 echo x - chucky/distinfo sed 's/^X//' >chucky/distinfo << '35081b7f8b28dfa6cb9ed7afb4d81312' XSHA256 (waitman-chucky-1.0-0-g075defe.tar.gz) = bf7fa32c5584725fa6c2d1d0951cf0f29488307d5a73d81b2df47d59617bc6d6 XSIZE (waitman-chucky-1.0-0-g075defe.tar.gz) = 4367 35081b7f8b28dfa6cb9ed7afb4d81312 echo c - chucky/files mkdir -p chucky/files > /dev/null 2>&1 echo x - chucky/files/pkg-message.in sed 's/^X//' >chucky/files/pkg-message.in << 'b2f3b59314ae92225839742968d61b83' 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 b2f3b59314ae92225839742968d61b83 echo x - chucky/pkg-descr sed 's/^X//' >chucky/pkg-descr << '7e2f36e8da3e63f4c5a54beda221be60' XThis program reads /var/db/pkg/local.sqlite and compares install timestamp with Xdate in $FreeBSD header in the Makefile of the port. If there is no $FreeBSD Xheader then it is assumed to be a beta port. X XChucky also features a shar file backup feature, which is normally used to Xbackup 'beta' development ports. X XWWW: Xhttps://dx.burplex.com/bin/chucky.html 7e2f36e8da3e63f4c5a54beda221be60 echo x - chucky/pkg-plist sed 's/^X//' >chucky/pkg-plist << '545ad338fb0364ae2331719e9568b33d' Xbin/chucky 545ad338fb0364ae2331719e9568b33d exit >Release-Note: >Audit-Trail: >Unformatted: