ports/183117: New port: misc/flag - Produce a colourful flag from the machine hostname

CyberLeo Kitsana cyberleo at cyberleo.net
Thu Apr 24 04:50:01 UTC 2014


The following reply was made to PR ports/183117; it has been noted by GNATS.

From: CyberLeo Kitsana <cyberleo at cyberleo.net>
To: bug-followup at FreeBSD.org, CyberLeo <cyberleo at cyberleo.net>
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
 <CyberLeo at 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 at 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 <bsd.port.options.mk>
 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 <bsd.port.mk>
 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--


More information about the freebsd-ports-bugs mailing list