mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
net-mgmt/mac-telnet: Don't use chown pre-install
This commit is contained in:
parent
533b717e53
commit
cf0ff8e3b4
@ -20,4 +20,8 @@ GNU_CONFIGURE= yes
|
|||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
CONFIGURE_ENV+= CRYPTO_CFLAGS="-I${OPENSSLINC}" CRYPTO_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
|
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>
|
.include <bsd.port.mk>
|
||||||
|
11
net-mgmt/mac-telnet/files/patch-config_Makefile.am
Normal file
11
net-mgmt/mac-telnet/files/patch-config_Makefile.am
Normal 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
|
Loading…
Reference in New Issue
Block a user