1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

net-mgmt/mac-telnet: Don't use chown pre-install

This commit is contained in:
Joe Marcus Clarke 2022-09-21 13:12:31 -04:00
parent 533b717e53
commit cf0ff8e3b4
2 changed files with 15 additions and 0 deletions

View File

@ -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>

View File

@ -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