[17/17] samba: Modification to disable cups for samba build and install
Commit Message
- As discussed at IPFire conf call on 7th Oct
- disable cups for the samba configure stage
- Update of rootfiles
- Update of samba.cgi to remove the printing of a printer share into the samba
configuration file.
- Tested out on vm system. Installed samba with only avahi, perl-Parse-Yapp, perl-JSON
and wsdd as dependencies. Installed without any problems. Existing share was able
to be accessed without any problems and a new share was created and was also able
to be accessed without problems.
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
config/rootfiles/packages/aarch64/samba | 1 -
config/rootfiles/packages/riscv64/samba | 3 +--
config/rootfiles/packages/x86_64/samba | 1 -
html/cgi-bin/samba.cgi | 11 +----------
lfs/samba | 6 +++---
5 files changed, 5 insertions(+), 17 deletions(-)
@@ -998,7 +998,6 @@ usr/libexec/samba/rpcd_spoolss
usr/libexec/samba/rpcd_winreg
usr/libexec/samba/samba-bgqd
usr/libexec/samba/samba-dcerpcd
-usr/libexec/samba/smbspool_krb5_wrapper
usr/sbin/eventlogadm
usr/sbin/nmbd
usr/sbin/samba-change-password
@@ -998,7 +998,6 @@ usr/libexec/samba/rpcd_spoolss
usr/libexec/samba/rpcd_winreg
usr/libexec/samba/samba-bgqd
usr/libexec/samba/samba-dcerpcd
-usr/libexec/samba/smbspool_krb5_wrapper
usr/sbin/eventlogadm
usr/sbin/nmbd
usr/sbin/samba-change-password
@@ -1024,4 +1023,4 @@ var/log/samba
var/spool/samba
srv/web/ipfire/cgi-bin/samba.cgi
var/ipfire/menu.d/EX-samba.menu
-usr/local/bin/sambactrl
\ No newline at end of file
+usr/local/bin/sambactrl
@@ -998,7 +998,6 @@ usr/libexec/samba/rpcd_spoolss
usr/libexec/samba/rpcd_winreg
usr/libexec/samba/samba-bgqd
usr/libexec/samba/samba-dcerpcd
-usr/libexec/samba/smbspool_krb5_wrapper
usr/sbin/eventlogadm
usr/sbin/nmbd
usr/sbin/samba-change-password
@@ -2,7 +2,7 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2005-2013 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2005-2024 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
@@ -785,15 +785,6 @@ if (-e "${General::swroot}/samba/smb.conf.local") {
close(LOCAL);
}
-print FILE <<END;
-# Export all printers
-[printers]
-path = /var/spool/samba/
-printable = yes
-
-END
-close FILE;
-
&General::system("/usr/local/bin/sambactrl", "smbsafeconf");
}
@@ -33,9 +33,9 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = samba
-PAK_VER = 105
+PAK_VER = 106
-DEPS = avahi cups perl-Parse-Yapp perl-JSON wsdd
+DEPS = avahi perl-Parse-Yapp perl-JSON wsdd
SERVICES = samba
@@ -94,7 +94,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
--with-sendfile-support \
--with-winbind \
--enable-avahi \
- --enable-cups \
+ --disable-cups \
--enable-fhs \
--with-syslog \
--without-smb1-server