Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2022 19:25:52 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Joe Marcus Clarke <marcus@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: cf0ff8e3b4be - main - net-mgmt/mac-telnet: Don't use chown pre-install
Message-ID:  <20220921172552.cbjdizgqqspzf44j@aniel.nours.eu>
In-Reply-To: <202209211713.28LHDbrV038296@gitrepo.freebsd.org>
References:  <202209211713.28LHDbrV038296@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 21, 2022 at 05:13:37PM +0000, Joe Marcus Clarke wrote:
> The branch main has been updated by marcus:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=cf0ff8e3b4be3703b5a119374a5d131384a00cbb
> 
> commit cf0ff8e3b4be3703b5a119374a5d131384a00cbb
> Author:     Joe Marcus Clarke <marcus@FreeBSD.org>
> AuthorDate: 2022-09-21 17:12:31 +0000
> Commit:     Joe Marcus Clarke <marcus@FreeBSD.org>
> CommitDate: 2022-09-21 17:12:31 +0000
> 
>     net-mgmt/mac-telnet: Don't use chown pre-install
> ---
>  net-mgmt/mac-telnet/Makefile                       |  4 ++++
>  net-mgmt/mac-telnet/files/patch-config_Makefile.am | 11 +++++++++++
>  2 files changed, 15 insertions(+)
> 
> diff --git a/net-mgmt/mac-telnet/Makefile b/net-mgmt/mac-telnet/Makefile
> index b92beb387b5b..6bf20c22e268 100644
> --- a/net-mgmt/mac-telnet/Makefile
> +++ b/net-mgmt/mac-telnet/Makefile
> @@ -20,4 +20,8 @@ GNU_CONFIGURE=	yes
>  LDFLAGS+=	-L${LOCALBASE}/lib
>  CONFIGURE_ENV+=	CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
>  
> +post-install:
> +	@${CHMOD} 0600 ${STAGEDIR}${PREFIX}/etc/mactelnetd.users
> +	@-${CHOWN} root ${STAGEDIR}${PREFIX}/etc/mactelnetd.users

This is not nessecary at all

@(,,0600) etc/mactelnetd.users

in plist is the only thing that is needed.

Best regards,
Bapt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220921172552.cbjdizgqqspzf44j>