From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 24 04:50:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 82763591 for ; Thu, 24 Apr 2014 04:50:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (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 60CAE13BB for ; Thu, 24 Apr 2014 04:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3O4o1QY059353 for ; Thu, 24 Apr 2014 04:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3O4o0ZC059350; Thu, 24 Apr 2014 04:50:00 GMT (envelope-from gnats) Date: Thu, 24 Apr 2014 04:50:00 GMT Message-Id: <201404240450.s3O4o0ZC059350@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: CyberLeo Kitsana Subject: Re: ports/183117: New port: misc/flag - Produce a colourful flag from the machine hostname X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: CyberLeo Kitsana List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2014 04:50:01 -0000 The following reply was made to PR ports/183117; it has been noted by GNATS. From: CyberLeo Kitsana To: bug-followup@FreeBSD.org, CyberLeo Cc: Subject: Re: ports/183117: New port: misc/flag - Produce a colourful flag from the machine hostname Date: Wed, 23 Apr 2014 23:39:24 -0500 This is a multi-part message in MIME format. --------------010607000308010604030608 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks for the suggestions. Does this look better? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://www.fur.com/peace/ --------------010607000308010604030608 Content-Type: application/x-shar; name="misc_flag.shar" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="misc_flag.shar" # 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: # # misc # misc/flag # misc/flag/Makefile # misc/flag/distinfo # misc/flag/pkg-descr # echo c - misc mkdir -p misc > /dev/null 2>&1 echo c - misc/flag mkdir -p misc/flag > /dev/null 2>&1 echo x - misc/flag/Makefile sed 's/^X//' >misc/flag/Makefile << 'cb3b0092a91d389cbde54d4f79c0b1c8' X# $FreeBSD$ X XPORTNAME= flag XPORTVERSION= 1.0.5 XCATEGORIES= misc XMASTER_SITES= http://git.cyberleo.net/releases/${PORTNAME}/ XEXTRACT_SUFX= .tgz X XMAINTAINER= cyberleo@cyberleo.net XCOMMENT= Turn the hostname into a colourful and visually distinctive ansi flag X XNO_BUILD= yes X XOPTIONS_DEFINE= BASH XBASH_DESC= Install include for Bash prompt XOPTIONS_DEFAULT=BASH X XPLIST_FILES= bin/flag X X.include X X.if ${PORT_OPTIONS:MBASH} XPLIST_FILES+= share/flag/bash_prompt.sh XPLIST_DIRS+= share/flag X.endif X Xpost-extract: X ${REINPLACE_CMD} -e 's@"/etc/flag"@"${PREFIX}/etc/flag"@' ${WRKSRC}/flag X Xdo-install: X ${INSTALL_SCRIPT} ${WRKSRC}/flag ${STAGEDIR}${PREFIX}/bin/flag X.if ${PORT_OPTIONS:MBASH} X ${MKDIR} ${STAGEDIR}${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/bash_prompt.sh ${STAGEDIR}${DATADIR} X.endif X X.include cb3b0092a91d389cbde54d4f79c0b1c8 echo x - misc/flag/distinfo sed 's/^X//' >misc/flag/distinfo << '81626c0bccd760db51888206e7f9d3e8' XSHA256 (flag-1.0.5.tgz) = 8db0d4a40a9c119689275cbf00508c4af96553c3a7e035e9836d533d22f8d98f XSIZE (flag-1.0.5.tgz) = 5683 81626c0bccd760db51888206e7f9d3e8 echo x - misc/flag/pkg-descr sed 's/^X//' >misc/flag/pkg-descr << 'be3b4e673677df1f2086a74511253943' Xflag X XProduces a cute little ansi colour 'flag' based off a hash of the machine's Xhostname (or settable via ~/.flag or /etc/flag) which can uniquely visually Xidentify a machine, at a glance. Useful for placing into /etc/issue or your Xbash prompt, so that you don't send stupid commands to the wrong machine. X XWWW: http://git.cyberleo.net/CDN/flag.git be3b4e673677df1f2086a74511253943 exit --------------010607000308010604030608--