Date: Sun, 5 Jan 2014 12:20:01 GMT From: CyberLeo Kitsana <cyberleo@cyberleo.net> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: misc/183117: New port: misc/flag - Produce a colourful flag from the machine hostname Message-ID: <201401051220.s05CK13E006130@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/183117; it has been noted by GNATS. From: CyberLeo Kitsana <cyberleo@cyberleo.net> To: bug-followup@FreeBSD.org Cc: Subject: Re: misc/183117: New port: misc/flag - Produce a colourful flag from the machine hostname Date: Sun, 05 Jan 2014 06:08:20 -0600 This is a multi-part message in MIME format. --------------010301060502000601020503 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Updated to version 1.0.5. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net <CyberLeo@CyberLeo.Net> Furry Peace! - http://www.fur.com/peace/ --------------010301060502000601020503 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/distinfo # misc/flag/pkg-descr # misc/flag/Makefile # 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/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 neat 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 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 etc/rc.d/update-issue X X.include <bsd.port.options.mk> X X.if ${PORT_OPTIONS:MBASH} XPLIST_FILES+= share/flag/bash_prompt.sh XPLIST_DIRS+= share/flag X.endif X Xdo-install: X ${INSTALL_SCRIPT} ${WRKSRC}/flag ${STAGEDIR}${PREFIX}/bin/flag X ${INSTALL_SCRIPT} ${WRKSRC}/update-issue ${STAGEDIR}${PREFIX}/etc/rc.d/update-issue X.if ${PORT_OPTIONS:MBASH} X ${MKDIR} ${STAGEDIR}${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/bash_prompt.sh ${STAGEDIR}${DATADIR} X.endif X X.include <bsd.port.mk> cb3b0092a91d389cbde54d4f79c0b1c8 exit --------------010301060502000601020503--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401051220.s05CK13E006130>