svn commit: r321677 - in head/security/duo: . files

Alexey Dokuchaev danfe at FreeBSD.org
Mon Jun 24 12:40:08 UTC 2013


On Mon, Jun 24, 2013 at 08:19:18AM -0400, Ryan Steinmetz wrote:
> On (06/24/13 12:03), Alexey Dokuchaev wrote:
> >> 	@${CAT} ${PKGMESSAGE}
> >
> >It would be nice if cat(1) had been surrounded with ${ECHO_MSG}'s to ensure
> >consistent padding when installing from package vs. ports.  If any padding
> >is present in the pkg-message file itself, it should be removed.
> 
> This might be a good idea for inclusion in bsd.port.mk.  I believe that
> the current 'norm' is to simply cat pkg-message.

Not really.  Lots of ports already use the correct form.  As for inclusion
in bpm, I've thought about this (like introducing DISPLAY_PKGMESSAGE knob),
however, some ports do not just cat(1) it, but piping it through sed(1) and
alikes.  There could be other edge cases I currently do not have on the top
of my head.  That said, for now, it's preferable (although not strictly
required) to pad these cat's with echo's manually; unless our new pkg(1)
tools no longer do the padding like the legacy ones...

Obviously, mostly only perfectionists care about these whitespace issues.
If you're not one of them, feel free to ignore what I say. :-)

./danfe


More information about the svn-ports-all mailing list