svn commit: r396566 - head/security/racoon2

Jan Beich jbeich at FreeBSD.org
Thu Sep 10 18:30:19 UTC 2015


Dmitry Marakasov <amdmi3 at FreeBSD.org> writes:

> -	@if [ -z `/sbin/sysctl -a | ${GREP} -q ipsec && echo ipsec` ]; then \
> +	@if [ -z `/sbin/sysctl -a | ${GREP} -q ipsec && echo ipsec` ]; then \

Convert /*bin/foo to ${FOO} when moving lines. And this one can be
simplified to either

  @if ! ${SYSCTL} -a | ${GREP} -q ipsec; then \

or

  @if ! ${SYSCTL} -qn kern.features.ipsec >/dev/null; then \

as all supported releases have

  https://svnweb.freebsd.org/changeset/base/214565
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20150910/122809e1/attachment.bin>


More information about the svn-ports-all mailing list