Date: Wed, 21 Sep 2022 17:13:37 GMT From: Joe Marcus Clarke <marcus@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: cf0ff8e3b4be - main - net-mgmt/mac-telnet: Don't use chown pre-install Message-ID: <202209211713.28LHDbrV038296@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 + .include <bsd.port.mk> diff --git a/net-mgmt/mac-telnet/files/patch-config_Makefile.am b/net-mgmt/mac-telnet/files/patch-config_Makefile.am new file mode 100644 index 000000000000..2fb5393598e9 --- /dev/null +++ b/net-mgmt/mac-telnet/files/patch-config_Makefile.am @@ -0,0 +1,11 @@ +--- config/Makefile.am.orig 2022-09-21 17:00:22 UTC ++++ config/Makefile.am +@@ -1,5 +1,5 @@ + dist_sysconf_DATA = mactelnetd.users + +-install-exec-hook: +- chmod 600 $(DESTDIR)$(sysconfdir)/mactelnetd.users +- chown root $(DESTDIR)$(sysconfdir)/mactelnetd.users ++#install-exec-hook: ++# chmod 600 $(DESTDIR)$(sysconfdir)/mactelnetd.users ++# chown root $(DESTDIR)$(sysconfdir)/mactelnetd.users
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209211713.28LHDbrV038296>