McdeSys gets the services that let others in (mcde_sys_service_state, mcde_sys_service_set) and one list of shared folders for SMB, NFS and AFP (mcde_sys_shares, mcde_sys_shares_set: /etc/mcde-shares, and a block between "# MCDE shares begin" and "... end" in exports, smb.conf and afp.conf; the rest of each file stays as written). NetBSD switches rc.conf and runs the rc.d scripts -- sshd; rpcbind, mountd, nfsd and nfslocking for NFS; samba, netatalk, atalkd and papd from pkgsrc, whose example rc.d scripts are copied to /etc/rc.d first, as PKG_RCD_SCRIPTS=YES would. Linux uses systemctl (ssh, smbd and nmbd, nfs-server, netatalk; no AppleTalk). NetBSD's kernel has AppleTalk (GENERIC: options NETATALK) and pkgsrc's netatalk4 builds atalkd on NetBSD. docs/reference/sharing.txt. The Sharing pane (Internet & Network) shows each service with its switch and how others reach it (ssh host, smb://host/, host:/folder, afp://host/), and the shared folders with Add and Remove; as a user it offers Unlock..., as Accounts does. Measured: on the Linux host, read only: ssh, smb, nfs installed, enabled, running; afp and appletalk not installed (the pane on Xvfb says so). In the build VM as root: NFS on started rpcbind, mountd, nfsd, statd, lockd; sharing /tmp/mcdeshare made showmount -e list it for Everyone; NFS off stopped them; the VM's rc.conf was restored after. First found there: mountd will not start without /etc/exports, and statd/lockd are one script, nfslocking. Samba and netatalk are not in the makronix set yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
817 B
Makefile
20 lines
817 B
Makefile
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
# dtsystemsettings, the settings of the computer in one window (main.c);
|
|
# panes.c is the list of the panes, plain C with its own tests (make check).
|
|
bin_PROGRAMS = dtsystemsettings
|
|
|
|
dtsystemsettings_SOURCES = main.c panes.c panes.h ui.h accounts.c update.c \
|
|
input.c appearance.c desktop.c timezone.c wifi.c \
|
|
startup.c sharing.c
|
|
dtsystemsettings_CPPFLAGS = -I$(top_srcdir)/include $(DT_INCDIR) \
|
|
-I$(top_builddir)/include $(XFT_CFLAGS) \
|
|
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
|
|
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
|
|
# Xft and fontconfig: the font families (appearance.c)
|
|
dtsystemsettings_LDADD = $(LIBMCDESYS) $(DTCLIENTLIBS) $(XTOOLLIB) $(XFTLIB)
|
|
|
|
check_PROGRAMS = test_panes
|
|
test_panes_SOURCES = test_panes.c panes.c panes.h
|
|
TESTS = test_panes
|