From nobody Wed Sep 21 17:25:52 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MXlgR47H6z4d4XB; Wed, 21 Sep 2022 17:25:55 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MXlgR3cqbz3VNg; Wed, 21 Sep 2022 17:25:55 +0000 (UTC) (envelope-from bapt@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663781155; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=w25LlwoOnoDvt8wr/MsLEoLgDLDV/nb9Eqe05TSLjb4=; b=OwEjjiZDv1/NvDJQ38efH6YoLmgRf8FsPvW80RRX6SKUZeiu1tMpuH02RP3NYaMNhLtARo NWA7RSVf6kCwENxtD6kVtoAsHrPIkp3F/ML2Osrhvgnsujcm2HhjyT6eQMvDdf2CPKJ6CB Yl9WNbL3cAddoGdlZ0HEFiMpRNZZdT4GpF2qs6704USwrVNg4i9vrWa5mXI/vK8BuYaWK8 W0vFRQrwb/cvoeIXA9CBT/yvg7viI3huYxsbPDQaeT+3hJgdZ3pKLiO+caX2ZuJzmEh7fB /RP1VY49OcHFNFJuSYcR7eOKwT20fyovGoyuTWfMA7lqt9x4QjWrngJ9KKc2/w== Received: from aniel.nours.eu (nours.eu [IPv6:2001:41d0:8:3a4d::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4MXlgR223lz1GWn; Wed, 21 Sep 2022 17:25:55 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id A234DEBEEB; Wed, 21 Sep 2022 19:25:52 +0200 (CEST) Date: Wed, 21 Sep 2022 19:25:52 +0200 From: Baptiste Daroussin To: Joe Marcus Clarke 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> References: <202209211713.28LHDbrV038296@gitrepo.freebsd.org> List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202209211713.28LHDbrV038296@gitrepo.freebsd.org> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663781155; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=w25LlwoOnoDvt8wr/MsLEoLgDLDV/nb9Eqe05TSLjb4=; b=CuolrPcDWqQ7sFE6kwF12zlbIOaTF8N2yoyZKy2rNUI7S4fr9aFgoa1RN09niQj7ZUn8Pm zWLb3COPL/Io5ThkjhXEyQxa3n0uMqTp95nWcSqDiP03/dRa4OqjBgxlWnRIn+7keHWTTy fnWddUSnEerOHbGvmdV5S66Tz+1robGmx9JTux+gvdxy3wIj6KJ7s02J0AEasoyg8jaqU3 UnSxrWk10/xdi9XCPeuvHgmcrPwaI/woje94XiJZurPZRjNbzdfCOapWqmVdPtSQHHNUoX B31icxSX+WifHi4uHdZURgYGdUIpNrtjQ5nq9srt49PFhl170zBzdNCHfBXkDw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663781155; a=rsa-sha256; cv=none; b=uNAd7Ip93OdVhgKnv3nrrVTWDvySoJmEjrxWBklnJUpzBWedxzUqf/0bvPJ5USgwSpX7EY ZhLYvJHZBiu58bNGAT5fN3OJLjsx6jmgPFe5Lv8DKm7BGaP66ZZHhiHLhu6ShzaL5YMDwG y0cqQs8xRR6eMV5gpLCv3nfHYdZJCE2BSLuic5EMi4z+vp9Yu82gNSwxu19C8OHSP7N2iz B1DWhE0Fnry9FtqblWQN6Es97wscKQqFP+R3/+dyaGTgLslKgaAJcXRSzbgftVc17FQ5ht EVmPTpjBFIv6E9o19PU+S0kcCWcHfvgBw+h94O5XP/DZP+T6HG8R7TRsqyIdog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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 > AuthorDate: 2022-09-21 17:12:31 +0000 > Commit: Joe Marcus Clarke > 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