From 1a0a71b8a64afcb1c75255cb14a6e55e1d7a30da Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Thu, 27 Sep 2018 18:49:36 +0800 Subject: [PATCH] add SAMBA4 4.9.1 package support Windows 10 SMB v3.1.1 and x64 AES-NI --- package/lean/luci-app-samba4/Makefile | 10 + .../luasrc/controller/samba4.lua | 14 + .../luasrc/model/cbi/samba4.lua | 112 +++++ package/lean/luci-app-samba4/po/ca/samba4.po | 138 ++++++ package/lean/luci-app-samba4/po/cs/samba4.po | 126 +++++ package/lean/luci-app-samba4/po/de/samba4.po | 133 +++++ package/lean/luci-app-samba4/po/el/samba4.po | 115 +++++ package/lean/luci-app-samba4/po/en/samba4.po | 125 +++++ package/lean/luci-app-samba4/po/es/samba4.po | 135 +++++ package/lean/luci-app-samba4/po/fr/samba4.po | 127 +++++ package/lean/luci-app-samba4/po/he/samba4.po | 110 +++++ package/lean/luci-app-samba4/po/hu/samba4.po | 127 +++++ package/lean/luci-app-samba4/po/it/samba4.po | 133 +++++ package/lean/luci-app-samba4/po/ja/samba4.po | 126 +++++ package/lean/luci-app-samba4/po/ms/samba4.po | 109 +++++ package/lean/luci-app-samba4/po/no/samba4.po | 115 +++++ package/lean/luci-app-samba4/po/pl/samba4.po | 126 +++++ .../lean/luci-app-samba4/po/pt-br/samba4.po | 136 ++++++ package/lean/luci-app-samba4/po/pt/samba4.po | 136 ++++++ package/lean/luci-app-samba4/po/ro/samba4.po | 125 +++++ package/lean/luci-app-samba4/po/ru/samba4.po | 134 +++++ package/lean/luci-app-samba4/po/sk/samba4.po | 110 +++++ package/lean/luci-app-samba4/po/sv/samba4.po | 118 +++++ .../luci-app-samba4/po/templates/samba4.pot | 103 ++++ package/lean/luci-app-samba4/po/tr/samba4.po | 110 +++++ package/lean/luci-app-samba4/po/uk/samba4.po | 127 +++++ package/lean/luci-app-samba4/po/vi/samba4.po | 139 ++++++ .../lean/luci-app-samba4/po/zh-cn/samba4.po | 132 +++++ .../lean/luci-app-samba4/po/zh-tw/samba4.po | 132 +++++ package/lean/qemu-userspace/Makefile | 40 +- package/lean/samba4/Config.in | 91 ++++ package/lean/samba4/Makefile | 461 ++++++++++++++++++ package/lean/samba4/files/samba.config | 7 + package/lean/samba4/files/samba.init | 207 ++++++++ package/lean/samba4/files/smb.conf.template | 107 ++++ .../samba4/patches/001-samba-4.4.0-pam.patch | 29 ++ .../samba4/patches/002-dnsserver-4.7.0.patch | 19 + .../010-source3-msgsock-nvram-fix.patch | 20 + .../011-source4-msgsock-nvram-fix.patch | 11 + ...rt-target-module-while-cross-compile.patch | 58 +++ .../101-do-not-check-xsltproc-manpages.patch | 43 ++ ...102-samba-4.8.2-unbundle-libreadline.patch | 21 + .../103-samba-4.8.5-unbundle-libbsd.patch | 78 +++ .../lean/samba4/waf-cross-answers/aarch64.txt | 34 ++ package/lean/samba4/waf-cross-answers/arc.txt | 37 ++ package/lean/samba4/waf-cross-answers/arm.txt | 34 ++ .../lean/samba4/waf-cross-answers/armeb.txt | 34 ++ .../lean/samba4/waf-cross-answers/i386.txt | 34 ++ .../lean/samba4/waf-cross-answers/mips.txt | 34 ++ .../lean/samba4/waf-cross-answers/mips64.txt | 34 ++ .../samba4/waf-cross-answers/mips64el.txt | 34 ++ .../lean/samba4/waf-cross-answers/mipsel.txt | 34 ++ .../lean/samba4/waf-cross-answers/powerpc.txt | 34 ++ .../lean/samba4/waf-cross-answers/x86_64.txt | 34 ++ package/lean/wsdd2/Makefile | 46 ++ package/lean/wsdd2/files/wsdd2.init | 12 + .../wsdd2/patches/001-add_uuid_boot_id.patch | 25 + 57 files changed, 5027 insertions(+), 8 deletions(-) create mode 100644 package/lean/luci-app-samba4/Makefile create mode 100644 package/lean/luci-app-samba4/luasrc/controller/samba4.lua create mode 100644 package/lean/luci-app-samba4/luasrc/model/cbi/samba4.lua create mode 100644 package/lean/luci-app-samba4/po/ca/samba4.po create mode 100644 package/lean/luci-app-samba4/po/cs/samba4.po create mode 100644 package/lean/luci-app-samba4/po/de/samba4.po create mode 100644 package/lean/luci-app-samba4/po/el/samba4.po create mode 100644 package/lean/luci-app-samba4/po/en/samba4.po create mode 100644 package/lean/luci-app-samba4/po/es/samba4.po create mode 100644 package/lean/luci-app-samba4/po/fr/samba4.po create mode 100644 package/lean/luci-app-samba4/po/he/samba4.po create mode 100644 package/lean/luci-app-samba4/po/hu/samba4.po create mode 100644 package/lean/luci-app-samba4/po/it/samba4.po create mode 100644 package/lean/luci-app-samba4/po/ja/samba4.po create mode 100644 package/lean/luci-app-samba4/po/ms/samba4.po create mode 100644 package/lean/luci-app-samba4/po/no/samba4.po create mode 100644 package/lean/luci-app-samba4/po/pl/samba4.po create mode 100644 package/lean/luci-app-samba4/po/pt-br/samba4.po create mode 100644 package/lean/luci-app-samba4/po/pt/samba4.po create mode 100644 package/lean/luci-app-samba4/po/ro/samba4.po create mode 100644 package/lean/luci-app-samba4/po/ru/samba4.po create mode 100644 package/lean/luci-app-samba4/po/sk/samba4.po create mode 100644 package/lean/luci-app-samba4/po/sv/samba4.po create mode 100644 package/lean/luci-app-samba4/po/templates/samba4.pot create mode 100644 package/lean/luci-app-samba4/po/tr/samba4.po create mode 100644 package/lean/luci-app-samba4/po/uk/samba4.po create mode 100644 package/lean/luci-app-samba4/po/vi/samba4.po create mode 100644 package/lean/luci-app-samba4/po/zh-cn/samba4.po create mode 100644 package/lean/luci-app-samba4/po/zh-tw/samba4.po create mode 100644 package/lean/samba4/Config.in create mode 100644 package/lean/samba4/Makefile create mode 100644 package/lean/samba4/files/samba.config create mode 100644 package/lean/samba4/files/samba.init create mode 100644 package/lean/samba4/files/smb.conf.template create mode 100644 package/lean/samba4/patches/001-samba-4.4.0-pam.patch create mode 100644 package/lean/samba4/patches/002-dnsserver-4.7.0.patch create mode 100644 package/lean/samba4/patches/010-source3-msgsock-nvram-fix.patch create mode 100644 package/lean/samba4/patches/011-source4-msgsock-nvram-fix.patch create mode 100644 package/lean/samba4/patches/100-do-not-import-target-module-while-cross-compile.patch create mode 100644 package/lean/samba4/patches/101-do-not-check-xsltproc-manpages.patch create mode 100644 package/lean/samba4/patches/102-samba-4.8.2-unbundle-libreadline.patch create mode 100644 package/lean/samba4/patches/103-samba-4.8.5-unbundle-libbsd.patch create mode 100644 package/lean/samba4/waf-cross-answers/aarch64.txt create mode 100644 package/lean/samba4/waf-cross-answers/arc.txt create mode 100644 package/lean/samba4/waf-cross-answers/arm.txt create mode 100644 package/lean/samba4/waf-cross-answers/armeb.txt create mode 100644 package/lean/samba4/waf-cross-answers/i386.txt create mode 100644 package/lean/samba4/waf-cross-answers/mips.txt create mode 100644 package/lean/samba4/waf-cross-answers/mips64.txt create mode 100644 package/lean/samba4/waf-cross-answers/mips64el.txt create mode 100644 package/lean/samba4/waf-cross-answers/mipsel.txt create mode 100644 package/lean/samba4/waf-cross-answers/powerpc.txt create mode 100644 package/lean/samba4/waf-cross-answers/x86_64.txt create mode 100644 package/lean/wsdd2/Makefile create mode 100644 package/lean/wsdd2/files/wsdd2.init create mode 100644 package/lean/wsdd2/patches/001-add_uuid_boot_id.patch diff --git a/package/lean/luci-app-samba4/Makefile b/package/lean/luci-app-samba4/Makefile new file mode 100644 index 000000000..dae7f8071 --- /dev/null +++ b/package/lean/luci-app-samba4/Makefile @@ -0,0 +1,10 @@ +# This is free software, licensed under the Apache License, Version 2.0 . + +include $(TOPDIR)/rules.mk + +LUCI_TITLE:=Network Shares - Samba 4 SMB/CIFS module +LUCI_DEPENDS:=+samba4-server + +include $(TOPDIR)/feeds/luci/luci.mk + +# call BuildPackage - OpenWrt buildroot signature diff --git a/package/lean/luci-app-samba4/luasrc/controller/samba4.lua b/package/lean/luci-app-samba4/luasrc/controller/samba4.lua new file mode 100644 index 000000000..8ad0e52e3 --- /dev/null +++ b/package/lean/luci-app-samba4/luasrc/controller/samba4.lua @@ -0,0 +1,14 @@ +-- Licensed to the public under the Apache License 2.0. + +module("luci.controller.samba4", package.seeall) + +function index() + if not nixio.fs.access("/etc/config/samba4") then + return + end + + local page + + page = entry({"admin", "services", "samba4"}, cbi("samba4"), _("Network Shares")) + page.dependent = true +end diff --git a/package/lean/luci-app-samba4/luasrc/model/cbi/samba4.lua b/package/lean/luci-app-samba4/luasrc/model/cbi/samba4.lua new file mode 100644 index 000000000..2a1399b96 --- /dev/null +++ b/package/lean/luci-app-samba4/luasrc/model/cbi/samba4.lua @@ -0,0 +1,112 @@ +-- Licensed to the public under the Apache License 2.0. + +m = Map("samba4", translate("Network Shares")) + +s = m:section(TypedSection, "samba", "Samba") +s.anonymous = true + +s:tab("general", translate("General Settings")) +s:tab("template", translate("Edit Template")) + +s:taboption("general", Value, "name", translate("Hostname")) +s:taboption("general", Value, "description", translate("Description")) +s:taboption("general", Value, "workgroup", translate("Workgroup")) +h = s:taboption("general", Flag, "homes", translate("Share home-directories"), + translate("Allow system users to reach their home directories via " .. + "network shares")) +h.rmempty = false + +macos = s:taboption("general", Flag, "macos", translate("Enable macOS compatible shares"), + translate("Enables Apple's AAPL extension globally and adds macOS compatibility options to all shares.")) +macos.rmempty = false + +if nixio.fs.access("/usr/sbin/nmbd") then + s:taboption("general", Flag, "disable_netbios", translate("Disable Netbios")) +end +if nixio.fs.access("/usr/sbin/samba") then + s:taboption("general", Flag, "disable_ad_dc", translate("Disable Active Directory Domain Controller")) +end +if nixio.fs.access("/usr/sbin/winbindd") then + s:taboption("general", Flag, "disable_winbind", translate("Disable Winbind")) +end + +tmpl = s:taboption("template", Value, "_tmpl", + translate("Edit the template that is used for generating the samba configuration."), + translate("This is the content of the file '/etc/samba/smb.conf.template' from which your samba configuration will be generated. " .. + "Values enclosed by pipe symbols ('|') should not be changed. They get their values from the 'General Settings' tab.")) + +tmpl.template = "cbi/tvalue" +tmpl.rows = 20 + +function tmpl.cfgvalue(self, section) + return nixio.fs.readfile("/etc/samba/smb.conf.template") +end + +function tmpl.write(self, section, value) + value = value:gsub("\r\n?", "\n") + nixio.fs.writefile("/etc/samba/smb.conf.template", value) +end + + +s = m:section(TypedSection, "sambashare", translate("Shared Directories") + , translate("Please add directories to share. Each directory refers to a folder on a mounted device.")) +s.anonymous = true +s.addremove = true +s.template = "cbi/tblsection" + +s:option(Value, "name", translate("Name")) +pth = s:option(Value, "path", translate("Path")) +if nixio.fs.access("/etc/config/fstab") then + pth.titleref = luci.dispatcher.build_url("admin", "system", "fstab") +end + +br = s:option(Flag, "browseable", translate("Browse-able")) +br.enabled = "yes" +br.disabled = "no" +br.default = "yes" + +ro = s:option(Flag, "read_only", translate("Read-only")) +ro.enabled = "yes" +ro.disabled = "no" +ro.default = "yes" + +s:option(Flag, "force_root", translate("Force Root")) + +au = s:option(Value, "users", translate("Allowed users")) +au.rmempty = true + +go = s:option(Flag, "guest_ok", translate("Allow guests")) +go.enabled = "yes" +go.disabled = "no" +go.default = "no" + +gon = s:option(Flag, "guest_only", translate("Guests only")) +gon.enabled = "yes" +gon.disabled = "no" +gon.default = "no" + +iown = s:option(Flag, "inherit_owner", translate("Inherit owner")) +iown.enabled = "yes" +iown.disabled = "no" +iown.default = "no" + +cm = s:option(Value, "create_mask", translate("Create mask")) +cm.rmempty = true +cm.maxlength = 4 +cm.placeholder = "0666" + +dm = s:option(Value, "dir_mask", translate("Directory mask")) +dm.rmempty = true +dm.maxlength = 4 +dm.placeholder = "0777" + +vfs = s:option(Value, "vfs_objects", translate("Vfs objects")) +vfs.rmempty = true + +s:option(Flag, "timemachine", translate("Apple Time-machine share")) + +tms = s:option(Value, "timemachine_maxsize", translate("Time-machine size in GB")) +tms.rmempty = true +tms.maxlength = 5 + +return m diff --git a/package/lean/luci-app-samba4/po/ca/samba4.po b/package/lean/luci-app-samba4/po/ca/samba4.po new file mode 100644 index 000000000..0183f56b7 --- /dev/null +++ b/package/lean/luci-app-samba4/po/ca/samba4.po @@ -0,0 +1,138 @@ +# samba.pot +# generated from ./applications/luci-samba/luasrc/i18n/samba.en.lua +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-06-10 03:40+0200\n" +"PO-Revision-Date: 2014-07-01 05:47+0200\n" +"Last-Translator: Alex \n" +"Language-Team: LANGUAGE \n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Pootle 2.0.6\n" + +msgid "Allow guests" +msgstr "Permet convidats" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" +"Permet que els usuaris del sistema pugin arribar als seus directoris d'inici " +"via comparticions de xarxa" + +msgid "Allowed users" +msgstr "Usuaris permesos" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "Crea màscara" + +msgid "Description" +msgstr "Descripció" + +msgid "Directory mask" +msgstr "Màscara de directori" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "Edita plantilla" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "Edita la plantilla que s'usa per generar la configuració de samba." + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "Ajusts generals" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "Nom de màquina" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "Nom" + +msgid "Network Shares" +msgstr "Comparticions de xarxa" + +msgid "Path" +msgstr "Ruta" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "Només lectura" + +msgid "Share home-directories" +msgstr "Comparteix directoris d'inici" + +msgid "Shared Directories" +msgstr "Directoris compartits" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"Això és el contingut del fitxer '/etc/samba/smb.conf.template' del qual la " +"vostra configuració de samba es generarà. Valors encerclats per símbols de " +"barra ('|') no es deuen canviar. Reben els seus valors de la pestanya " +"'Ajusts generals'." + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "Grup de treball" + +#~ msgid "Mask for new directories" +#~ msgstr "Màscara per directoris nous" + +#~ msgid "Mask for new files" +#~ msgstr "Màscara per fitxers nous" + +#~ msgid "Shared Directory" +#~ msgstr "Directori compartit" + +#~ msgid "Physical Path" +#~ msgstr "Ruta física" + +#~ msgid "optional" +#~ msgstr "opcional" diff --git a/package/lean/luci-app-samba4/po/cs/samba4.po b/package/lean/luci-app-samba4/po/cs/samba4.po new file mode 100644 index 000000000..88cd17836 --- /dev/null +++ b/package/lean/luci-app-samba4/po/cs/samba4.po @@ -0,0 +1,126 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2014-05-31 13:56+0200\n" +"Last-Translator: koli \n" +"Language-Team: none\n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +"X-Generator: Pootle 2.0.6\n" + +msgid "Allow guests" +msgstr "Povolení hosté" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" +"Povoluje systémovým uživatelům přístup do jejich domácích adresářů skrze " +"sdílení přes síť." + +msgid "Allowed users" +msgstr "Povolení uživatelé" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "Vytvořit masku" + +msgid "Description" +msgstr "Popis" + +msgid "Directory mask" +msgstr "Maska adresáře" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "Editovat šablonu" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "" +"Editovat šablonu, která je použita pro generování konfiguračního souboru pro " +"sambu." + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "Obecné nastavení" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "Název počítače." + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "Jméno" + +msgid "Network Shares" +msgstr "Síťová sdílení" + +msgid "Path" +msgstr "Cesta" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "Pouze pro čtení" + +msgid "Share home-directories" +msgstr "Sdílet domácí adresáře" + +msgid "Shared Directories" +msgstr "Sdílené adresáře" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"Toto je obsah souboru \"/etc/samba/smb.conf.template\", ze kterého je " +"konfigurace samby generována. Hodnoty uzavřené rourou (\"|\"), by se neměly " +"měnit. Tyto hodnoty jsou brány ze záložky \"Obecná nastavení\"." + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "Skupina" + +#~ msgid "Mask for new directories" +#~ msgstr "Maska pro nové adresáře" + +#~ msgid "Mask for new files" +#~ msgstr "Maska pro nové soubory" diff --git a/package/lean/luci-app-samba4/po/de/samba4.po b/package/lean/luci-app-samba4/po/de/samba4.po new file mode 100644 index 000000000..35a481528 --- /dev/null +++ b/package/lean/luci-app-samba4/po/de/samba4.po @@ -0,0 +1,133 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-05-26 17:57+0200\n" +"PO-Revision-Date: 2011-10-18 13:13+0200\n" +"Last-Translator: Manuel \n" +"Language-Team: LANGUAGE \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Pootle 2.0.4\n" + +msgid "Allow guests" +msgstr "Gastzugang" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" +"Systembenutzer dürfen ihre Heimatverzeichnis über Netzwerkfreigaben " +"erreichen." + +msgid "Allowed users" +msgstr "Legitimierte Benutzer" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "Durchsuchbar" + +msgid "Create mask" +msgstr "Berechtigungs-maske für neue Dateien" + +msgid "Description" +msgstr "Beschreibung" + +msgid "Directory mask" +msgstr "Verzeichnis-maske" + +msgid "Disable Active Directory Domain Controller" +msgstr "Deaktiviere Active Directory Domain Controller" + +msgid "Disable Netbios" +msgstr "Deaktiviere Netbios" + +msgid "Disable Winbind" +msgstr "Deaktiviere Winbind" + +msgid "Edit Template" +msgstr "Template bearbeiten" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "" +"Hier kann das Template bearbeitet werden, das zur Erstellung der Samba-" +"Konfigurationsdateien verwendet wird." + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "Allgemeine Einstellungen" + +msgid "Guests only" +msgstr "Nur Gaeste" + +msgid "Hostname" +msgstr "Hostname" + +msgid "Inherit owner" +msgstr "Besitzer Erben" + +msgid "Name" +msgstr "Name" + +msgid "Network Shares" +msgstr "Netzwerk-freigaben" + +msgid "Path" +msgstr "Pfad" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "Nur Lesen" + +msgid "Share home-directories" +msgstr "Heimat-verzeichnisse freigeben" + +msgid "Shared Directories" +msgstr "Freigegebene Verzeichnisse" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"Dieses Fenster zeigt den Inhalt der Datei '/etc/samba/smb.conf.template', " +"die als Template zum Erstellen der Samba-Konfiguration verwendet wird. Werte " +"die von Pipe Symbolen (|) eingeschlossen sind sollten nicht verändert " +"werden, da diese beim Erstellen der Konfiguration mit den Werten aus dem Tab " +"'Allgemeine Einstellungen' ersetzt werden." + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "Arbeitsgruppe" + +#~ msgid "Browseable" +#~ msgstr "Suchbar" + +#~ msgid "Mask for new directories" +#~ msgstr "Maske für neue Verzeichnisse" + +#~ msgid "Mask for new files" +#~ msgstr "Maske für neue Dateien" diff --git a/package/lean/luci-app-samba4/po/el/samba4.po b/package/lean/luci-app-samba4/po/el/samba4.po new file mode 100644 index 000000000..88999d407 --- /dev/null +++ b/package/lean/luci-app-samba4/po/el/samba4.po @@ -0,0 +1,115 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-05-28 02:08+0200\n" +"PO-Revision-Date: 2012-03-18 15:31+0200\n" +"Last-Translator: Vasilis \n" +"Language-Team: LANGUAGE \n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Pootle 2.0.4\n" + +msgid "Allow guests" +msgstr "" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" + +msgid "Allowed users" +msgstr "" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "" + +msgid "Description" +msgstr "" + +msgid "Directory mask" +msgstr "" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "" + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "Όνομα" + +msgid "Network Shares" +msgstr "" + +msgid "Path" +msgstr "" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "" + +msgid "Share home-directories" +msgstr "" + +msgid "Shared Directories" +msgstr "" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "" diff --git a/package/lean/luci-app-samba4/po/en/samba4.po b/package/lean/luci-app-samba4/po/en/samba4.po new file mode 100644 index 000000000..35ecc99e2 --- /dev/null +++ b/package/lean/luci-app-samba4/po/en/samba4.po @@ -0,0 +1,125 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-03-22 15:23+0100\n" +"PO-Revision-Date: 2011-10-25 21:26+0200\n" +"Last-Translator: awm1 \n" +"Language-Team: LANGUAGE \n" +"Language: en\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Pootle 2.0.4\n" + +msgid "Allow guests" +msgstr "Allow guests" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "Allow system users to reach their home directories via network shares" + +msgid "Allowed users" +msgstr "Allowed users" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "Create mask" + +msgid "Description" +msgstr "Description" + +msgid "Directory mask" +msgstr "Directory mask" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "Edit template" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "Edit the template that is used for generating the Samba configuration." + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "General settings" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "Hostname" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "Name" + +msgid "Network Shares" +msgstr "Network Shares" + +msgid "Path" +msgstr "Path" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "Read-only" + +msgid "Share home-directories" +msgstr "Share home-directories" + +msgid "Shared Directories" +msgstr "Shared Directories" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your Samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"settings' tab." + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "Workgroup" + +#~ msgid "Mask for new directories" +#~ msgstr "Mask for new directories" + +#~ msgid "Mask for new files" +#~ msgstr "Mask for new files" diff --git a/package/lean/luci-app-samba4/po/es/samba4.po b/package/lean/luci-app-samba4/po/es/samba4.po new file mode 100644 index 000000000..99d64f970 --- /dev/null +++ b/package/lean/luci-app-samba4/po/es/samba4.po @@ -0,0 +1,135 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-06-10 03:41+0200\n" +"PO-Revision-Date: 2012-08-22 17:45+0200\n" +"Last-Translator: José Vicente \n" +"Language-Team: LANGUAGE \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Pootle 2.0.6\n" + +msgid "Allow guests" +msgstr "Permitir invitados" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" +"Permitir a los usuarios acceder a sus directorios de inicio vía " +"comparticiones de red" + +msgid "Allowed users" +msgstr "Usuarios permitidos" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "Crear máscara" + +msgid "Description" +msgstr "Descripción" + +msgid "Directory mask" +msgstr "Máscara de directorio" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "Editar plantilla" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "Editar la plantilla usada para generar la configuración de samba." + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "Configuración general" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "Nombre de máquina" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "Nombre" + +msgid "Network Shares" +msgstr "Comparticiones de red" + +msgid "Path" +msgstr "Dirección" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "Solo lectura" + +msgid "Share home-directories" +msgstr "Compartir directorios personales" + +msgid "Shared Directories" +msgstr "Directorios compartidos" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"Contenido del fichero '/etc/samba/smb.conf.template' desde el que se " +"generará la configuración de samba. Los valores entre tuberías ('|') no " +"deben cambiarse. Su valor se toma desde la pestaña 'Configuración General'." + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "Grupo de trabajo" + +#~ msgid "Mask for new directories" +#~ msgstr "Máscara para directorios nuevos" + +#~ msgid "Mask for new files" +#~ msgstr "Máscara para archivos nuevos" + +#~ msgid "Shared Directory" +#~ msgstr "Directorio compatido" + +#~ msgid "Physical Path" +#~ msgstr "Ruta Física" + +#~ msgid "optional" +#~ msgstr "opcional" diff --git a/package/lean/luci-app-samba4/po/fr/samba4.po b/package/lean/luci-app-samba4/po/fr/samba4.po new file mode 100644 index 000000000..a5b7dc793 --- /dev/null +++ b/package/lean/luci-app-samba4/po/fr/samba4.po @@ -0,0 +1,127 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-05-19 19:36+0200\n" +"PO-Revision-Date: 2011-11-23 22:36+0200\n" +"Last-Translator: fredb \n" +"Language-Team: LANGUAGE \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Pootle 2.0.4\n" + +msgid "Allow guests" +msgstr "Invités autorisés" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" +"Autoriser les utilisateurs système à atteindre leurs dossiers personnels via " +"les partages réseau" + +msgid "Allowed users" +msgstr "Utilisateurs autorisés" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "Maque de création" + +msgid "Description" +msgstr "Description" + +msgid "Directory mask" +msgstr "Masque des dossiers" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "Éditer le modèle" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "Éditer le modèle utilisé pour générer la configuration Samba." + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "Paramètres généraux" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "Nom d'hôte" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "Nom" + +msgid "Network Shares" +msgstr "Partages réseau" + +msgid "Path" +msgstr "Chemin" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "Lecture seule" + +msgid "Share home-directories" +msgstr "Partager les dossiers personnels" + +msgid "Shared Directories" +msgstr "Dossiers partagés" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"Voici le contenu du fichier '/etc/samba/smb.conf.template' d'où sera généré " +"votre configuration Samba. Les valeurs entre les symboles barre-verticale " +" (« | ») ne doivent pas être modifiées, elles proviennent de l'onglet " +"« Paramètres généraux »." + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "Groupe de travail" + +#~ msgid "Mask for new directories" +#~ msgstr "Masque pour les nouveaux dossiers" + +#~ msgid "Mask for new files" +#~ msgstr "Masque pour les nouveaux fichiers" diff --git a/package/lean/luci-app-samba4/po/he/samba4.po b/package/lean/luci-app-samba4/po/he/samba4.po new file mode 100644 index 000000000..859dd8d89 --- /dev/null +++ b/package/lean/luci-app-samba4/po/he/samba4.po @@ -0,0 +1,110 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Allow guests" +msgstr "" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" + +msgid "Allowed users" +msgstr "" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "" + +msgid "Description" +msgstr "" + +msgid "Directory mask" +msgstr "" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "" + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "" + +msgid "Network Shares" +msgstr "" + +msgid "Path" +msgstr "" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "" + +msgid "Share home-directories" +msgstr "" + +msgid "Shared Directories" +msgstr "" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "" diff --git a/package/lean/luci-app-samba4/po/hu/samba4.po b/package/lean/luci-app-samba4/po/hu/samba4.po new file mode 100644 index 000000000..8dbe91558 --- /dev/null +++ b/package/lean/luci-app-samba4/po/hu/samba4.po @@ -0,0 +1,127 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2012-04-06 10:56+0200\n" +"Last-Translator: juhosg \n" +"Language-Team: none\n" +"Language: hu\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Pootle 2.0.4\n" + +msgid "Allow guests" +msgstr "Vendég hozzáférés" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" +"A rendszerfelhasználók hálózati megosztáson keresztül hozzáférhetnek a home " +"könyvtárukhoz." + +msgid "Allowed users" +msgstr "Engedélyezett felhasználók" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "Létrehozási maszk" + +msgid "Description" +msgstr "Leírás" + +msgid "Directory mask" +msgstr "Könyvtár maszk" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "Sablon szerkesztése" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "" +"Itt szerkesztheti a sablont, ami a végleges samba konfiguráció " +"elkészítéséhez kerül felhasználásra." + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "Általános beállítások" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "Gépnév" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "Név" + +msgid "Network Shares" +msgstr "Hálózati megosztások" + +msgid "Path" +msgstr "Elérési út" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "Csak olvasható" + +msgid "Share home-directories" +msgstr "Home könyvtárak megosztása" + +msgid "Shared Directories" +msgstr "Megosztott könyvtárak" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"Itt látható a /etc/samba/smb.conf.template file tartalma, ami a samba " +"konfiguráció előállításához kerül felhasználásra. A pipe szimbólumok ('|') " +"közé zárt értékek módosítása nem szükséges, az értéküket az általános " +"beállítások fülről kapják." + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "Munkacsoport" + +#~ msgid "Mask for new directories" +#~ msgstr "Új könyvtárak maszkja" + +#~ msgid "Mask for new files" +#~ msgstr "Új fájlok maszkja" diff --git a/package/lean/luci-app-samba4/po/it/samba4.po b/package/lean/luci-app-samba4/po/it/samba4.po new file mode 100644 index 000000000..d7f563196 --- /dev/null +++ b/package/lean/luci-app-samba4/po/it/samba4.po @@ -0,0 +1,133 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-05-19 19:36+0200\n" +"PO-Revision-Date: 2017-09-06 01:28+0200\n" +"Last-Translator: bubu83 \n" +"Language-Team: LANGUAGE \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Pootle 2.0.4\n" + +msgid "Allow guests" +msgstr "Permetti ospiti" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" +"Autorizza gli utenti del sistema a raggiungere la loro cartella home " +"attraverso le condivisioni di rete" + +msgid "Allowed users" +msgstr "Utenti ammessi" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "Crea maschera" + +msgid "Description" +msgstr "Descrizione" + +msgid "Directory mask" +msgstr "Maschera della cartella" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "Modifica Template" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "" +"Modifica il template utilizzato per generare la configurazione di samba." + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "Opzioni Generali" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "Hostname" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "Nome" + +msgid "Network Shares" +msgstr "Condivisioni di rete" + +msgid "Path" +msgstr "Percorso" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" +"Per favore aggiungi le directory da condividere. Ogni directory si riferisce " +"a una cartella su un dispositivo montato." + +msgid "Read-only" +msgstr "Solo lettura" + +msgid "Share home-directories" +msgstr "Condividi cartelle home" + +msgid "Shared Directories" +msgstr "Cartelle Condivise" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"Questo è il contenuto del file '/etc/samba/smb.conf.template' dal quale sarà " +"generata la tua configurazione di samba. I valori racchiusi tra il simbolo " +"('|') non dovrebbero essere toccati. Essi vengono generati dalla schermata " +"'Opzioni Generali'." + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "Gruppo di lavoro" + +#~ msgid "Browseable" +#~ msgstr "Sfogliabile" + +#~ msgid "Mask for new directories" +#~ msgstr "Maschera per le nuove cartelle" + +#~ msgid "Mask for new files" +#~ msgstr "Maschera per i nuovi files" diff --git a/package/lean/luci-app-samba4/po/ja/samba4.po b/package/lean/luci-app-samba4/po/ja/samba4.po new file mode 100644 index 000000000..1358c2bd0 --- /dev/null +++ b/package/lean/luci-app-samba4/po/ja/samba4.po @@ -0,0 +1,126 @@ +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-05-19 19:36+0200\n" +"PO-Revision-Date: 2018-08-06 05:17+0900\n" +"Last-Translator: INAGAKI Hiroshi \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 2.1.1\n" +"Language-Team: \n" + +msgid "Allow guests" +msgstr "ゲストアクセスを許可" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "sambaを介してユーザーのホームディレクトリへのアクセスを許可します" + +msgid "Allowed users" +msgstr "許可されたユーザー" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "マスクの作成" + +msgid "Description" +msgstr "説明" + +msgid "Directory mask" +msgstr "ディレクトリのマスク" + +msgid "Disable Active Directory Domain Controller" +msgstr "Active Directory ドメインコントローラを無効化" + +msgid "Disable Netbios" +msgstr "Netbios を無効化" + +msgid "Disable Winbind" +msgstr "Winbind を無効化" + +msgid "Edit Template" +msgstr "テンプレートの編集" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "samba設定を生成するテンプレートを編集します。" + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "一般設定" + +msgid "Guests only" +msgstr "ゲストのみ" + +msgid "Hostname" +msgstr "ホスト名" + +msgid "Inherit owner" +msgstr "オーナーの継承" + +msgid "Name" +msgstr "名前" + +msgid "Network Shares" +msgstr "ネットワーク共有" + +msgid "Path" +msgstr "パス" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" +"共有するディレクトリを追加してください。マウントされたデバイス等のディレクト" +"リを設定し、公開することができます。" + +msgid "Read-only" +msgstr "読み込みのみ" + +msgid "Share home-directories" +msgstr "ホームディレクトリの共有" + +msgid "Shared Directories" +msgstr "共有ディレクトリ" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"これは、samba設定を生成するための'/etc/samba/smb.conf.template' ファイルの内" +"容です。パイプ('|')で閉じられた値は変更しないでください。これらの値は'一般設" +"定'タブ内の値によって置き換えられます。" + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "ワークグループ" + +#~ msgid "Mask for new directories" +#~ msgstr "新規ディレクトリのマスク" + +#~ msgid "Mask for new files" +#~ msgstr "新規ファイルのマスク" diff --git a/package/lean/luci-app-samba4/po/ms/samba4.po b/package/lean/luci-app-samba4/po/ms/samba4.po new file mode 100644 index 000000000..c6ca22fba --- /dev/null +++ b/package/lean/luci-app-samba4/po/ms/samba4.po @@ -0,0 +1,109 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +msgid "Allow guests" +msgstr "" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" + +msgid "Allowed users" +msgstr "" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "" + +msgid "Description" +msgstr "" + +msgid "Directory mask" +msgstr "" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "" + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "" + +msgid "Network Shares" +msgstr "" + +msgid "Path" +msgstr "" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "" + +msgid "Share home-directories" +msgstr "" + +msgid "Shared Directories" +msgstr "" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "" diff --git a/package/lean/luci-app-samba4/po/no/samba4.po b/package/lean/luci-app-samba4/po/no/samba4.po new file mode 100644 index 000000000..8742cbb0a --- /dev/null +++ b/package/lean/luci-app-samba4/po/no/samba4.po @@ -0,0 +1,115 @@ +msgid "" +msgstr "" +"Last-Translator: Lars Hardy \n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +msgid "Allow guests" +msgstr "Tillat gjester" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "Tillat systembrukere å nå sine hjemmekataloger via nettverks mapper." + +msgid "Allowed users" +msgstr "Tillatte brukere" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "Opprett Maske" + +msgid "Description" +msgstr "Beskrivelse" + +msgid "Directory mask" +msgstr "Katalog maske" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "Rediger Mal" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "Rediger malen som brukes til å generere samba konfigurasjonen." + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "Generelle Innstillinger" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "Vertsnavn" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "Navn" + +msgid "Network Shares" +msgstr "Nettverks Mapper" + +msgid "Path" +msgstr "Fysisk bane" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "Skrivebeskyttet" + +msgid "Share home-directories" +msgstr "Del Hjemmekataloger" + +msgid "Shared Directories" +msgstr "Delte Kataloger" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"Dette er innholdet av filen '/etc/samba/smb.conf.template' som din samba " +"konfigurasjon vil bli generert fra. Verdier omsluttet av ('|') bør ikke " +"endres. De får sine verdier fra 'Generelle Innstillinger' fanen." + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "Arbeidsgruppe" + +#~ msgid "Mask for new directories" +#~ msgstr "Maske for nye kataloger" + +#~ msgid "Mask for new files" +#~ msgstr "Maske for nye filer" diff --git a/package/lean/luci-app-samba4/po/pl/samba4.po b/package/lean/luci-app-samba4/po/pl/samba4.po new file mode 100644 index 000000000..faad499c4 --- /dev/null +++ b/package/lean/luci-app-samba4/po/pl/samba4.po @@ -0,0 +1,126 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2011-08-26 09:51+0200\n" +"Last-Translator: Staszek \n" +"Language-Team: none\n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" +"X-Generator: Pootle 2.0.4\n" + +msgid "Allow guests" +msgstr "Zezwalaj Gościom" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" +"Użytkownicy systemu mogą dostać się do swoich katalogów domowych za " +"pośrednictwem udziałów sieciowych." + +msgid "Allowed users" +msgstr "Użytkownicy z prawem dostępu" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "Utwórz maskę" + +msgid "Description" +msgstr "Opis" + +msgid "Directory mask" +msgstr "Maska katalogu" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "Edytuj szablon" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "Edytuj szablon, który jest używany do generowania konfiguracji samby." + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "Ustawienia ogólne" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "Nazwa hosta" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "Nazwa" + +msgid "Network Shares" +msgstr "Udziały sieciowe" + +msgid "Path" +msgstr "Ścieżka" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "Tylko do odczytu" + +msgid "Share home-directories" +msgstr "Udostępniaj katalogi domowe" + +msgid "Shared Directories" +msgstr "Udostępniane katalogi" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"To jest zawartość pliku '/etc/samba/smb.conf.template\", na podstawie " +"którego zostanie wygenerowana konfiguracja samby. Wartości otoczone symbolem " +"kreski pionowej ('|') nie powinny być zmieniane. Wartości ich zostaną " +"pobrane z zakładki \"Ustawienia ogólne\"." + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "Grupa robocza" + +#~ msgid "Mask for new directories" +#~ msgstr "Maska dla nowych katalogów" + +#~ msgid "Mask for new files" +#~ msgstr "Maska dla nowych plików" diff --git a/package/lean/luci-app-samba4/po/pt-br/samba4.po b/package/lean/luci-app-samba4/po/pt-br/samba4.po new file mode 100644 index 000000000..5383aa32d --- /dev/null +++ b/package/lean/luci-app-samba4/po/pt-br/samba4.po @@ -0,0 +1,136 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-06-10 03:41+0200\n" +"PO-Revision-Date: 2013-04-06 22:54+0200\n" +"Last-Translator: Luiz Angelo \n" +"Language-Team: LANGUAGE \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Pootle 2.0.6\n" + +msgid "Allow guests" +msgstr "Permitir convidados" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" +"Usuários do sistema poderão acessar seu diretório home através dos " +"compartilhamentos de rede" + +msgid "Allowed users" +msgstr "Usuários permitidos" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "Máscara de criação" + +msgid "Description" +msgstr "Descrição" + +msgid "Directory mask" +msgstr "Máscara do diretório" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "Editar modelo" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "Edita o modelo que é usado para gerar a configuração do samba." + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "Configurações Gerais" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "Nome do equipamento" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "Nome" + +msgid "Network Shares" +msgstr "Compartilhamentos de Rede" + +msgid "Path" +msgstr "Caminho" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "Somente leitura" + +msgid "Share home-directories" +msgstr "Compartilhar diretórios home" + +msgid "Shared Directories" +msgstr "Diretórios Compartilhados" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"Este é o conteúdo do arquivo '/etc/samba/smb.conf.template' a partir do qual " +"sua configuração do samba será gerada. Valores entre simbolos de pipe ('|') " +"não devem ser alterados. Estes valores serão obtidos a partir da aba " +"'Configurações Gerais'." + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "Grupo de trabalho" + +#~ msgid "Mask for new directories" +#~ msgstr "Máscara para novos diretórios" + +#~ msgid "Mask for new files" +#~ msgstr "Máscara para novos arquivos" + +#~ msgid "Shared Directory" +#~ msgstr "Diretório Compartilhado" + +#~ msgid "Physical Path" +#~ msgstr "Caminho Físico" + +#~ msgid "optional" +#~ msgstr "opcional" diff --git a/package/lean/luci-app-samba4/po/pt/samba4.po b/package/lean/luci-app-samba4/po/pt/samba4.po new file mode 100644 index 000000000..50c1645f0 --- /dev/null +++ b/package/lean/luci-app-samba4/po/pt/samba4.po @@ -0,0 +1,136 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-05-26 19:03+0200\n" +"PO-Revision-Date: 2013-05-01 01:13+0200\n" +"Last-Translator: pedromrgoncalves \n" +"Language-Team: LANGUAGE \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Pootle 2.0.6\n" + +msgid "Allow guests" +msgstr "Permitir Convidados" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" +"Utilizadores do sistema poderão aceder ao seu directório home através das " +"partilhas de rede." + +msgid "Allowed users" +msgstr "Utilizadores Permitidos" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "Criar Máscara" + +msgid "Description" +msgstr "Descrição" + +msgid "Directory mask" +msgstr "Máscara do Directório" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "Editar Template" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "Editar a template que é utilizada para gerar a configuração samba" + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "Definições Gerais" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "Nome do host" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "Nome" + +msgid "Network Shares" +msgstr "Partilhas da Rede" + +msgid "Path" +msgstr "Caminho" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "Apenas Leitura" + +msgid "Share home-directories" +msgstr "Partilha de directórios home" + +msgid "Shared Directories" +msgstr "Directórios Partilhados" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"Isto é o conteúdo do ficheiro 'etc/samba/smb.conf.template' a partir do qual " +"será gerado o ficheiro de configuração do samba. Os valores entre o símbolo " +"| não devem ser alterados. Eles recebem os valores do separador 'Definições " +"Gerais'." + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "Grupo de trabalho" + +#~ msgid "Mask for new directories" +#~ msgstr "Máscara para novos directórios" + +#~ msgid "Mask for new files" +#~ msgstr "Máscara para novos ficheiros" + +#~ msgid "Shared Directory" +#~ msgstr "Diretório Compartilhado" + +#~ msgid "Physical Path" +#~ msgstr "Caminho Físico" + +#~ msgid "optional" +#~ msgstr "opcional" diff --git a/package/lean/luci-app-samba4/po/ro/samba4.po b/package/lean/luci-app-samba4/po/ro/samba4.po new file mode 100644 index 000000000..b481b1f95 --- /dev/null +++ b/package/lean/luci-app-samba4/po/ro/samba4.po @@ -0,0 +1,125 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2011-10-07 17:16+0200\n" +"Last-Translator: Daniel \n" +"Language-Team: none\n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);;\n" +"X-Generator: Pootle 2.0.4\n" + +msgid "Allow guests" +msgstr "Permite oaspeti" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" +"Permite utilizatorii de sistem sa acceseze directoarele lor peste " +"partajarile de retea" + +msgid "Allowed users" +msgstr "Utilizatori acceptati" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "Creaza masca" + +msgid "Description" +msgstr "Descriere" + +msgid "Directory mask" +msgstr "Masca director" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "Editeaza sablon" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "Editeaza sablonul care e folosit pentru generarea configuratiei samba." + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "Setari generale" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "Numele de host" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "Nume" + +msgid "Network Shares" +msgstr "Partajari pe retea" + +msgid "Path" +msgstr "Cale" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "Doar citire" + +msgid "Share home-directories" +msgstr "Partajeaza directoarele proprii" + +msgid "Shared Directories" +msgstr "Directoare partajate" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"Acesta este continutul fisierului '/etc/samba/smb.conf.template' din care se " +"genereaza configuratia samba. Valorile dintre liniuta verticala ('|') n-ar " +"trebui schimbate, ele iau valorile direct din tab-ul de \"Setari generale\"." + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "Workgroup" + +#~ msgid "Mask for new directories" +#~ msgstr "Masca pentru directoarele noi" + +#~ msgid "Mask for new files" +#~ msgstr "Masca pentru fisierele noi" diff --git a/package/lean/luci-app-samba4/po/ru/samba4.po b/package/lean/luci-app-samba4/po/ru/samba4.po new file mode 100644 index 000000000..f7ec3269e --- /dev/null +++ b/package/lean/luci-app-samba4/po/ru/samba4.po @@ -0,0 +1,134 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: LuCI: samba\n" +"POT-Creation-Date: 2009-05-19 19:36+0200\n" +"PO-Revision-Date: 2018-01-14 11:43+0300\n" +"Language-Team: http://cyber-place.ru\n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.7.1\n" +"Last-Translator: Vladimir aka sunny \n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Language: ru\n" +"Project-Info: Это технический перевод, не дословный. Главное-удобный русский " +"интерфейс, все проверялось в графическом режиме, совместим с другими apps\n" + +msgid "Allow guests" +msgstr "Разрешить гостевой вход" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" +"Разрешить пользователям получать доступ к их домашним папкам, через " +"локальную сеть." + +msgid "Allowed users" +msgstr "Разрешенные пользователи" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "Создать маску" + +msgid "Description" +msgstr "Описание" + +msgid "Directory mask" +msgstr "Маска папок" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "Настройка config файла" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "Настройка config
файла samba." + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "Основные настройки" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "Имя хоста" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "Имя" + +msgid "Network Shares" +msgstr "Сетевые ресурсы" + +msgid "Path" +msgstr "Путь" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" +"Добавьте папки для совместного доступа. Каждая папка - соответствует разделу " +"на подключенном устройстве." + +msgid "Read-only" +msgstr "Только для чтения" + +msgid "Share home-directories" +msgstr "Совместно использовать домашние папки" + +msgid "Shared Directories" +msgstr "Совместно используемые папки" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"Это содержимое файла '/etc/samba/smb.conf.template', из которого " +"генерируется config файл - samba.
Значения, заключенные в символы " +"('|'), не должны быть изменены.
Они будут автоматически заменены на " +"значения со страницы 'Основные настройки'." + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "Рабочая группа" + +#~ msgid "Browseable" +#~ msgstr "Виден в списке доступных ресурсов" + +#~ msgid "Mask for new directories" +#~ msgstr "Маска для новых папок" + +#~ msgid "Mask for new files" +#~ msgstr "Маска для новых файлов" diff --git a/package/lean/luci-app-samba4/po/sk/samba4.po b/package/lean/luci-app-samba4/po/sk/samba4.po new file mode 100644 index 000000000..44299ac1a --- /dev/null +++ b/package/lean/luci-app-samba4/po/sk/samba4.po @@ -0,0 +1,110 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +msgid "Allow guests" +msgstr "" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" + +msgid "Allowed users" +msgstr "" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "" + +msgid "Description" +msgstr "" + +msgid "Directory mask" +msgstr "" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "" + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "" + +msgid "Network Shares" +msgstr "" + +msgid "Path" +msgstr "" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "" + +msgid "Share home-directories" +msgstr "" + +msgid "Shared Directories" +msgstr "" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "" diff --git a/package/lean/luci-app-samba4/po/sv/samba4.po b/package/lean/luci-app-samba4/po/sv/samba4.po new file mode 100644 index 000000000..39695eb0b --- /dev/null +++ b/package/lean/luci-app-samba4/po/sv/samba4.po @@ -0,0 +1,118 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: PACKAGE VERSION\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "Allow guests" +msgstr "Tillåt gäster" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "Tillåt systemanvändare att nå deras hem-mappar via nätverksdelningar" + +msgid "Allowed users" +msgstr "Tillåtna användare" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "Skapa mask" + +msgid "Description" +msgstr "Beskrivning" + +msgid "Directory mask" +msgstr "Mask för mapp" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "Redigera mall" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "" +"Redigera mallen som används för att generera konfigurationen för samba." + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "Generella inställningar" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "Värdnamn" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "Namn" + +msgid "Network Shares" +msgstr "Nätverksdelningar" + +msgid "Path" +msgstr "Genväg" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "Endast läsbar" + +msgid "Share home-directories" +msgstr "Dela hem-mappar" + +msgid "Shared Directories" +msgstr "Delade mappar" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "Arbetsgrupp" + +#~ msgid "Mask for new directories" +#~ msgstr "Mask för nya mappar" + +#~ msgid "Mask for new files" +#~ msgstr "Mask för nya filer" diff --git a/package/lean/luci-app-samba4/po/templates/samba4.pot b/package/lean/luci-app-samba4/po/templates/samba4.pot new file mode 100644 index 000000000..33142d047 --- /dev/null +++ b/package/lean/luci-app-samba4/po/templates/samba4.pot @@ -0,0 +1,103 @@ +msgid "" +msgstr "Content-Type: text/plain; charset=UTF-8" + +msgid "Allow guests" +msgstr "" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" + +msgid "Allowed users" +msgstr "" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "" + +msgid "Description" +msgstr "" + +msgid "Directory mask" +msgstr "" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "" + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "" + +msgid "Network Shares" +msgstr "" + +msgid "Path" +msgstr "" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "" + +msgid "Share home-directories" +msgstr "" + +msgid "Shared Directories" +msgstr "" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "" diff --git a/package/lean/luci-app-samba4/po/tr/samba4.po b/package/lean/luci-app-samba4/po/tr/samba4.po new file mode 100644 index 000000000..4368fb271 --- /dev/null +++ b/package/lean/luci-app-samba4/po/tr/samba4.po @@ -0,0 +1,110 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +msgid "Allow guests" +msgstr "" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" + +msgid "Allowed users" +msgstr "" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "" + +msgid "Description" +msgstr "" + +msgid "Directory mask" +msgstr "" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "" + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "" + +msgid "Network Shares" +msgstr "" + +msgid "Path" +msgstr "" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "" + +msgid "Share home-directories" +msgstr "" + +msgid "Shared Directories" +msgstr "" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "" diff --git a/package/lean/luci-app-samba4/po/uk/samba4.po b/package/lean/luci-app-samba4/po/uk/samba4.po new file mode 100644 index 000000000..a4f7e5a02 --- /dev/null +++ b/package/lean/luci-app-samba4/po/uk/samba4.po @@ -0,0 +1,127 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2012-03-18 20:35+0200\n" +"Last-Translator: YuriPet \n" +"Language-Team: none\n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"X-Generator: Pootle 2.0.4\n" + +msgid "Allow guests" +msgstr "Дозволити гостьовий вхід" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "" +"Дозволити користувачам системи досягати своїх домашніх каталогів через " +"загальні мережеві ресурси" + +msgid "Allowed users" +msgstr "Дозволені користувачі" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "Створити маску" + +msgid "Description" +msgstr "Опис" + +msgid "Directory mask" +msgstr "Маска каталогу" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "Редагувати шаблон" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "" +"Редагувати шаблон, який використовується для створення конфігурації samba." + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "Загальні настройки" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "Назва (ім'я) вузла" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "Ім'я" + +msgid "Network Shares" +msgstr "Загальні мережеві ресурси" + +msgid "Path" +msgstr "Шлях" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +msgid "Read-only" +msgstr "Тільки читання" + +msgid "Share home-directories" +msgstr "Спільно використовувати домашні каталоги" + +msgid "Shared Directories" +msgstr "Загальні каталоги" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"Це вміст файлу '/etc/samba/smb.conf.template', з якого буде генеруватися " +"ваша конфігурація samba. Значення, укладені в символи \"вертикальна риска" +"\" (\"|\") не повинні змінюватися. Вони отримують свої значення з вкладки " +"\"Загальні налаштування\"." + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "Робоча група" + +#~ msgid "Mask for new directories" +#~ msgstr "Маска для нових каталогів" + +#~ msgid "Mask for new files" +#~ msgstr "Маска для нових файлів" diff --git a/package/lean/luci-app-samba4/po/vi/samba4.po b/package/lean/luci-app-samba4/po/vi/samba4.po new file mode 100644 index 000000000..d59762822 --- /dev/null +++ b/package/lean/luci-app-samba4/po/vi/samba4.po @@ -0,0 +1,139 @@ +# samba.pot +# generated from ./applications/luci-samba/luasrc/i18n/samba.en.lua +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-08-16 06:59+0200\n" +"PO-Revision-Date: 2009-08-13 03:54+0200\n" +"Last-Translator: Hong Phuc Dang \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Pootle 1.1.0\n" + +#, fuzzy +msgid "Allow guests" +msgstr "Cho phép khách" + +#, fuzzy +msgid "Allow system users to reach their home directories via network shares" +msgstr "" +"Những người sử dụng hệ thống có thể tiếp cận những thư mục tại nhà thông qua " +"mạng lưới chia sẻ trực tuyến." + +#, fuzzy +msgid "Allowed users" +msgstr "Người sử dụng được cho phép" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +#, fuzzy +msgid "Create mask" +msgstr "Tạo Mask" + +msgid "Description" +msgstr "Mô tả" + +#, fuzzy +msgid "Directory mask" +msgstr "Thư mục Mask" + +msgid "Disable Active Directory Domain Controller" +msgstr "" + +msgid "Disable Netbios" +msgstr "" + +msgid "Disable Winbind" +msgstr "" + +msgid "Edit Template" +msgstr "" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "" + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "" + +msgid "Guests only" +msgstr "" + +msgid "Hostname" +msgstr "tên máy chủ" + +msgid "Inherit owner" +msgstr "" + +msgid "Name" +msgstr "" + +msgid "Network Shares" +msgstr "Mạng chia sẻ" + +msgid "Path" +msgstr "" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "" + +#, fuzzy +msgid "Read-only" +msgstr "Chỉ đọc " + +msgid "Share home-directories" +msgstr "Chia sẻ danh bạ chính" + +msgid "Shared Directories" +msgstr "Thư mục chia sẻ" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "" + +msgid "Workgroup" +msgstr "Nhóm làm việc " + +#~ msgid "Mask for new directories" +#~ msgstr "Mask cho thư mục mới" + +#~ msgid "Mask for new files" +#~ msgstr "Mask cho tập tin mới" + +#~ msgid "Shared Directory" +#~ msgstr "Đã chia sẻ thư mục" + +#~ msgid "Physical Path" +#~ msgstr "Đường dẫn vật lý" + +#~ msgid "optional" +#~ msgstr "Tùy thích" diff --git a/package/lean/luci-app-samba4/po/zh-cn/samba4.po b/package/lean/luci-app-samba4/po/zh-cn/samba4.po new file mode 100644 index 000000000..f49abac4e --- /dev/null +++ b/package/lean/luci-app-samba4/po/zh-cn/samba4.po @@ -0,0 +1,132 @@ +# +# Yangfl , 2017, 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-06-10 03:40+0200\n" +"PO-Revision-Date: 2018-08-07 20:10+0800\n" +"Last-Translator: Yangfl \n" +"Language-Team: \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Gtranslator 2.91.7\n" + +msgid "Allow guests" +msgstr "允许匿名用户" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "允许系统用户通过网络共享访问他们的家目录" + +msgid "Allowed users" +msgstr "允许用户" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "创建权限掩码" + +msgid "Description" +msgstr "描述" + +msgid "Directory mask" +msgstr "目录权限掩码" + +msgid "Disable Active Directory Domain Controller" +msgstr "禁用 Active Directory 域控制器" + +msgid "Disable Netbios" +msgstr "禁用 Netbios" + +msgid "Disable Winbind" +msgstr "禁用 Winbind" + +msgid "Edit Template" +msgstr "编辑模板" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "编辑用来生成 samba 设置的模板" + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "基本设置" + +msgid "Guests only" +msgstr "仅来宾用户" + +msgid "Hostname" +msgstr "主机名" + +msgid "Inherit owner" +msgstr "继承所有者" + +msgid "Name" +msgstr "共享名" + +msgid "Network Shares" +msgstr "网络共享" + +msgid "Path" +msgstr "目录" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "请添加要共享的目录。每个目录指到已挂载设备上的文件夹。" + +msgid "Read-only" +msgstr "只读" + +msgid "Share home-directories" +msgstr "共享家目录" + +msgid "Shared Directories" +msgstr "共享目录" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"这是将从其上生成 samba 配置的文件“/etc/samba/smb.conf.template”的内容。由管道" +"符(“|”)包围的值不应更改。它们将从“常规设置”标签中获取其值。" + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "VFS 对象" + +msgid "Workgroup" +msgstr "工作组" + +#~ msgid "Browseable" +#~ msgstr "可浏览" + +#~ msgid "Mask for new directories" +#~ msgstr "新目录权限掩码" + +#~ msgid "Mask for new files" +#~ msgstr "新文件权限掩码" + +#~ msgid "Physical Path" +#~ msgstr "物理路径" diff --git a/package/lean/luci-app-samba4/po/zh-tw/samba4.po b/package/lean/luci-app-samba4/po/zh-tw/samba4.po new file mode 100644 index 000000000..ae962f9e8 --- /dev/null +++ b/package/lean/luci-app-samba4/po/zh-tw/samba4.po @@ -0,0 +1,132 @@ +# +# Yangfl , 2017, 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-06-10 03:40+0200\n" +"PO-Revision-Date: 2018-08-07 20:10+0800\n" +"Last-Translator: Yangfl \n" +"Language-Team: \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Gtranslator 2.91.7\n" + +msgid "Allow guests" +msgstr "允許匿名使用者" + +msgid "Allow system users to reach their home directories via network shares" +msgstr "允許系統使用者通過網路共享訪問他們的家目錄" + +msgid "Allowed users" +msgstr "允許使用者" + +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" + +msgid "Create mask" +msgstr "建立權限掩碼" + +msgid "Description" +msgstr "描述" + +msgid "Directory mask" +msgstr "目錄權限掩碼" + +msgid "Disable Active Directory Domain Controller" +msgstr "禁用 Active Directory 域控制器" + +msgid "Disable Netbios" +msgstr "禁用 Netbios" + +msgid "Disable Winbind" +msgstr "禁用 Winbind" + +msgid "Edit Template" +msgstr "編輯模板" + +msgid "Edit the template that is used for generating the samba configuration." +msgstr "編輯用來生成 samba 設定的模板" + +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + +msgid "General Settings" +msgstr "基本設定" + +msgid "Guests only" +msgstr "僅來賓使用者" + +msgid "Hostname" +msgstr "主機名" + +msgid "Inherit owner" +msgstr "繼承所有者" + +msgid "Name" +msgstr "共享名" + +msgid "Network Shares" +msgstr "網路共享" + +msgid "Path" +msgstr "目錄" + +msgid "" +"Please add directories to share. Each directory refers to a folder on a " +"mounted device." +msgstr "請新增要共享的目錄。每個目錄指到已掛載裝置上的資料夾。" + +msgid "Read-only" +msgstr "只讀" + +msgid "Share home-directories" +msgstr "共享家目錄" + +msgid "Shared Directories" +msgstr "共享目錄" + +msgid "" +"This is the content of the file '/etc/samba/smb.conf.template' from which " +"your samba configuration will be generated. Values enclosed by pipe symbols " +"('|') should not be changed. They get their values from the 'General " +"Settings' tab." +msgstr "" +"這是將從其上生成 samba 配置的檔案“/etc/samba/smb.conf.template”的內容。由管道" +"符(“|”)包圍的值不應更改。它們將從“常規設定”標籤中獲取其值。" + +msgid "Time-machine size in GB" +msgstr "" + +msgid "Vfs objects" +msgstr "VFS 物件" + +msgid "Workgroup" +msgstr "工作組" + +#~ msgid "Browseable" +#~ msgstr "可瀏覽" + +#~ msgid "Mask for new directories" +#~ msgstr "新目錄權限掩碼" + +#~ msgid "Mask for new files" +#~ msgstr "新檔案權限掩碼" + +#~ msgid "Physical Path" +#~ msgstr "物理路徑" diff --git a/package/lean/qemu-userspace/Makefile b/package/lean/qemu-userspace/Makefile index 64af1c1c9..5996fe6e2 100644 --- a/package/lean/qemu-userspace/Makefile +++ b/package/lean/qemu-userspace/Makefile @@ -1,12 +1,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=qemu -PKG_VERSION:=2.11.1 -PKG_RELEASE:=2 +PKG_VERSION:=3.0.0 +PKG_RELEASE:=1 PKG_SOURCE_URL:=https://download.qemu.org/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_HASH:=8a5145d1f8bd2eadc6776f3e13c68cd28d01349e30639bdbcb26ac588d668686 +PKG_HASH:=8d7af64fe8bd5ea5c3bdf17131a8b858491bcce1ee3839425a6d91fb821b5713 PKG_LICENSE:=GPL-2.0 PKG_MAINTAINER:=Andy Walsh @@ -36,6 +36,7 @@ endef HOST_CONFIGURE_ARGS += \ --audio-drv-list='' \ + --disable-slirp \ --disable-debug-info \ --disable-modules \ --disable-sdl \ @@ -64,8 +65,6 @@ HOST_CONFIGURE_ARGS += \ --disable-werror \ --disable-stack-protector \ --disable-curl \ - --disable-linux-aio \ - --disable-attr \ --disable-crypto-afalg \ --disable-docs \ --disable-vhost-net \ @@ -85,7 +84,6 @@ HOST_CONFIGURE_ARGS += \ --without-vss-sdk \ --without-win-sdk \ --disable-tools \ - --disable-seccomp \ --disable-glusterfs \ --disable-gtk \ --disable-gnutls \ @@ -96,8 +94,6 @@ HOST_CONFIGURE_ARGS += \ --disable-virglrenderer \ --disable-tpm \ --disable-libssh2 \ - --disable-tcmalloc \ - --disable-jemalloc \ --disable-strip \ --disable-replication \ --disable-vxhs \ @@ -106,14 +102,41 @@ HOST_CONFIGURE_ARGS += \ --disable-pie \ --disable-live-block-migration \ --disable-numa \ + --disable-libxml2 \ --disable-capstone \ + --disable-debug-mutex \ --disable-git-update \ --disable-hax \ --disable-kvm \ + --disable-hvf \ + --disable-whpx \ --disable-blobs # --disable-tcg # --disable-bsd-user +# --disable-linux-aio +# --disable-attr +# --disable-seccomp +# --disable-coroutine-pool +# --disable-tcmalloc +# --disable-jemalloc +# --disable-vhost-user + +# only build for supported arch, reduces host buildtime +QEMU_HOST_TARGET_LIST := \ + i386 \ + x86_64 \ + arm \ + armeb \ + mips \ + mipsel \ + mips64 \ + mips64el \ + aarch64 \ + ppc + +QEMU_HOST_CONFIGURE_TARGET_LIST := $(foreach target,$(QEMU_HOST_TARGET_LIST),$(target)-linux-user) +HOST_CONFIGURE_ARGS += --target-list='$(QEMU_HOST_CONFIGURE_TARGET_LIST)' # QEMU configure script does not recognize these options HOST_CONFIGURE_ARGS:=$(filter-out \ @@ -130,6 +153,7 @@ HOST_CONFIGURE_ARGS:=$(filter-out \ CONFIGURE_ARGS:=$(filter-out \ --disable-hax \ --disable-kvm \ + --disable-hvf \ --disable-blobs \ , $(HOST_CONFIGURE_ARGS)) diff --git a/package/lean/samba4/Config.in b/package/lean/samba4/Config.in new file mode 100644 index 000000000..c59c7b291 --- /dev/null +++ b/package/lean/samba4/Config.in @@ -0,0 +1,91 @@ +config SAMBA4_SERVER_ACL + bool "ACL support (xattr)" + depends on PACKAGE_samba4-server + select PACKAGE_acl + help + installs: sharesec + modules: vfs_acl_xattr vfs_acl_tdb vfs_posixacl + + Extended access control list support + default n + +config SAMBA4_SERVER_AD_DC + bool "Active Directory Domain Controller support (requires krb5-server) (EXPERIMENTAL)" + depends on PACKAGE_samba4-server + select PACKAGE_python-base + select PACKAGE_python-crypto + select PACKAGE_libopenssl + select PACKAGE_libgnutls + select PACKAGE_libopenldap + help + installs: samba (meta-daemon) python-crypt ntlm_auth + scripts: samba-tool + + Run as a Active Directory Domain Controller + see: https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller + HINT: see section (# Using the Domain Controller as a File Server) + NOTE: Extroot is recommend for this setup, as it is not optimized to run completely from RAM/tempfs! + default n + +config SAMBA4_SERVER_AVAHI + bool "Avahi support" + depends on PACKAGE_samba4-server + select SAMBA4_SERVER_VFS + select PACKAGE_libavahi-client + help + Announce Samba resources via DNS/DNS-SD using the Avahi daemon, for Linux/Mac clients. + default y + +config SAMBA4_SERVER_VFS + bool "Common VFS modules" + depends on PACKAGE_samba4-server + help + installs: + modules: (vfs_btrfs) vfs_fruit vfs_shadow_copy2 vfs_recycle vfs_fake_perms vfs_readonly vfs_cap vfs_offline vfs_crossrename vfs_catia vfs_streams_xattr + + Commonly used VFS modules, vfs_btrfs requires kmod-fs-btrfs to be selected separately + default y + +config SAMBA4_SERVER_QUOTAS + bool "Disk quota support" + depends on PACKAGE_samba4-server + help + installs: + modules: vfs_default_quota + + Support for disk quotas using the quotas VFS module (vfs_default_quota) + default n + +config SAMBA4_SERVER_VFSX + bool "Extended VFS modules" + depends on PACKAGE_samba4-server + help + installs: + modules: vfs_virusfilter vfs_shell_snap vfs_commit vfs_worm vfs_xattr_tdb vfs_aio_fork vfs_aio_pthread (vfs_linux_xfs_sgid) vfs_netatalk vfs_dirsort vfs_fileid + + Additional VFS modules that aren't commonly used, vfs_linux_xfs_sgid requires kmod-fs-xfs to be selected separately + default n + +config SAMBA4_SERVER_NETBIOS + bool "NetBIOS support" + depends on PACKAGE_samba4-server + help + installs: nmbd (daemon) + + Announce Samba resources via NetBIOS using the nmbd daemon + WSD (Web Services for Devices) replaces the functionality of NetBIOS and is provided by the wsdd2 package (selected by default). + Note: As of Windows 10 Fall Creators Update (1709) NetBIOS isn't supported unless the old SMB1 feature is reinstalled (not recommended). + Network shares can be directly accessed via network paths '\\hostname\sharename' and mounted via 'map network drive' without NetBIOS or WSD. + default n + +config SAMBA4_SERVER_WINBIND + bool "Winbind support" + depends on PACKAGE_samba4-server + depends on SAMBA4_SERVER_AD_DC + help + installs: winbindd (daemon) wbinfo + + Support using domain users and groups in local commands, such as chown and chgrp. + Display domain users and groups in local command's output, such as ls. + see: https://wiki.samba.org/index.php/Configuring_Winbindd_on_a_Samba_AD_DC + default n diff --git a/package/lean/samba4/Makefile b/package/lean/samba4/Makefile new file mode 100644 index 000000000..4c29447a6 --- /dev/null +++ b/package/lean/samba4/Makefile @@ -0,0 +1,461 @@ +# Based partially on (wongsyrone/hbl0307106015) versions +include $(TOPDIR)/rules.mk + +PKG_NAME:=samba +PKG_VERSION:=4.9.1 +PKG_RELEASE:=1 + +PKG_MAINTAINER:=Andy Walsh +PKG_LICENSE:=GPL-3.0-only +PKG_LICENSE_FILES:=COPYING + +PKG_SOURCE_URL:=https://download.samba.org/pub/samba/stable/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_HASH:=33118cbe83a87be085eba1aae6e597878b02d6ac9b2da67454ed33cf3e9853f2 + +# Buildroot bug? Can't add target deps via '+SAMBA4_SERVER_AD_DC:python-crypto' (as work-around we select via config.in) +PKG_BUILD_DEPENDS:=SAMBA4_SERVER_AD_DC:python-crypto nfs-kernel-server/host SAMBA4_WAF_CROSS_EXECUTE:qemu-userspace/host + +PKG_CONFIG_DEPENDS:= \ + CONFIG_SAMBA4_WAF_CROSS_EXECUTE \ + CONFIG_SAMBA4_SERVER_NETBIOS \ + CONFIG_SAMBA4_SERVER_AVAHI \ + CONFIG_SAMBA4_SERVER_VFS \ + CONFIG_SAMBA4_SERVER_VFSX \ + CONFIG_SAMBA4_SERVER_QUOTAS \ + CONFIG_SAMBA4_SERVER_ACL \ + CONFIG_SAMBA4_SERVER_AD_DC \ + CONFIG_SAMBA4_SERVER_WINBIND \ + CONFIG_PACKAGE_kmod-fs-btrfs \ + CONFIG_PACKAGE_kmod-fs-xfs + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/kernel.mk +include $(INCLUDE_DIR)/version.mk + +define Package/samba4/Default + SECTION:=net + CATEGORY:=Network + TITLE:=Samba $(PKG_VERSION) + URL:=http://www.samba.org/ +endef + +define Package/samba4/Default/description + The Samba software suite is a collection of programs that implements the + SMB/CIFS protocol for UNIX systems, allowing you to serve files and printers. + + Samba 4 implements up-to protocol version SMB v3.1.1 (Win10), supports mDNS via AVAHI and a AD-DC setup via krb5. + NOTE: No cluster and printer support. +endef + +define Package/samba4-libs + $(call Package/samba4/Default) + TITLE+= libs + DEPENDS:= +zlib +libtirpc +krb5-libs +libpopt \ + +libcap +PACKAGE_libpthread:libpthread +PACKAGE_libnettle:libnettle \ + +PACKAGE_libgcrypt:libgcrypt +PACKAGE_libpam:libpam +PACKAGE_dbus:dbus +PACKAGE_libavahi-client:libavahi-client \ + +SAMBA4_SERVER_VFS:attr \ + +SAMBA4_SERVER_ACL:acl +SAMBA4_SERVER_ACL:attr \ + +SAMBA4_SERVER_AVAHI:libavahi-client \ + +SAMBA4_SERVER_AD_DC:python-base +SAMBA4_SERVER_AD_DC:libopenssl +SAMBA4_SERVER_AD_DC:libgnutls +SAMBA4_SERVER_AD_DC:libopenldap +SAMBA4_SERVER_AD_DC:jansson +SAMBA4_SERVER_AD_DC:libarchive +endef + +define Package/samba4-libs/config + config SAMBA4_WAF_CROSS_EXECUTE + bool "Use Waf cross-execute, instead of cross-answer files." + default n + help + Uses qemu (userspace emulation) to probe for waf cross-compile answers, instead of predefined cross-answer files per architecture. +endef + +define Package/samba4-server + $(call Package/samba4/Default) + TITLE+= server + DEPENDS:= +samba4-libs +endef + +define Package/samba4-server/description + installs: smbd (daemon) smbpasswd pdbedit testparm + + This provides the basic fileserver service and is the minimum needed to serve file shares. + HINT: https://fitzcarraldoblog.wordpress.com/2016/10/17/a-correct-method-of-configuring-samba-for-browsing-smb-shares-in-a-home-network/ +endef + +define Package/samba4-server/config + select PACKAGE_wsdd2 + source "$(SOURCE)/Config.in" +endef + +define Package/samba4-client + $(call Package/samba4/Default) + TITLE+= client + DEPENDS:= +samba4-libs +endef + +define Package/samba4-client/description + installs: smbclient cifsdd + + The smbclient program implements a simple ftp-like client for accessing SMB shares +endef + +define Package/samba4-admin + $(call Package/samba4/Default) + TITLE+= admin tools + DEPENDS:= +samba4-libs +endef + +define Package/samba4-admin/description + installs: net smbcontrol profiles rpcclient smbcacls smbcquotas + + Administration tools collection +endef + +define Package/samba4-utils + $(call Package/samba4/Default) + TITLE+= utils + DEPENDS:= +samba4-libs +endef + +define Package/samba4-utils/description + installs: smbstatus smbtree smbget nmblookup mvxattr + + Utilities collection +endef + +TARGET_CFLAGS += -ffunction-sections -fdata-sections +TARGET_LDFLAGS += -Wl,--gc-sections + +CONFIGURE_VARS += \ + CPP="$(TARGET_CROSS)cpp" + +CONFIGURE_CMD = ./buildtools/bin/waf + +# Strip options that WAF configure script does not recognize +CONFIGURE_ARGS:=$(filter-out \ + --host=% \ + --build=% \ + --program-suffix=% \ + --disable-nls \ + --disable-ipv6 \ + , $(CONFIGURE_ARGS)) + +CONFIGURE_ARGS += \ + --hostcc="$(HOSTCC)" \ + --cross-compile \ + --disable-cups \ + --disable-iprint \ + --disable-cephfs \ + --disable-fault-handling \ + --disable-glusterfs \ + --disable-rpath \ + --disable-rpath-install \ + --disable-rpath-private-install \ + --enable-fhs \ + --without-automount \ + --without-iconv \ + --without-lttng \ + --without-ntvfs-fileserver \ + --without-pam \ + --without-systemd \ + --without-utmp \ + --without-dmapi \ + --without-fam \ + --without-gettext \ + --without-regedit \ + --without-gpgme + +ifeq ($(CONFIG_SAMBA4_WAF_CROSS_EXECUTE),y) + # arch name mapping + QEMU_ARCH:=$(subst powerpc,ppc,$(ARCH)) + # cpu name mapping + QEMU_CPU:=$(call qstrip,$(CONFIG_CPU_TYPE)) + ifneq ($(QEMU_CPU),) + QEMU_CPU:=$(subst +, ,$(QEMU_CPU)) + QEMU_CPU:=$(firstword $(QEMU_CPU)) + + QEMU_CPU:=$(subst mpcore,,$(QEMU_CPU)) + QEMU_CPU:=$(subst mips32,,$(QEMU_CPU)) + QEMU_CPU:=$(subst mips64,,$(QEMU_CPU)) + QEMU_CPU:=$(subst generic,,$(QEMU_CPU)) + QEMU_CPU:=$(subst octeonplus,,$(QEMU_CPU)) + + QEMU_CPU:=$(subst 8540,mpc8540,$(QEMU_CPU)) + QEMU_CPU:=$(subst arm926ej-s,arm926,$(QEMU_CPU)) + QEMU_CPU:=$(subst xscale,arm926,$(QEMU_CPU)) + QEMU_CPU:=$(subst arm1176jzf-s,arm1176,$(QEMU_CPU)) + QEMU_CPU:=$(subst arm1136j-s,arm1136,$(QEMU_CPU)) + QEMU_CPU:=$(subst cortex-a5,cortex-a7,$(QEMU_CPU)) + QEMU_CPU:=$(subst cortex-a72,cortex-a57,$(QEMU_CPU)) + QEMU_CPU:=$(subst cortex-a73,cortex-a57,$(QEMU_CPU)) + QEMU_CPU:=$(subst 464fp,460ex,$(QEMU_CPU)) + QEMU_CPU:=$(subst fa526,sa1100,$(QEMU_CPU)) + QEMU_CPU:=$(subst pentium4,Conroe,$(QEMU_CPU)) + QEMU_CPU:=$(subst 74kc,74Kf,$(QEMU_CPU)) + QEMU_CPU:=$(subst 74kf,74Kf,$(QEMU_CPU)) + QEMU_CPU:=$(subst 24kc,24Kc,$(QEMU_CPU)) + QEMU_CPU:=$(subst 24kf,24Kf,$(QEMU_CPU)) + endif + + QEMU_CPU:=$(strip $(QEMU_CPU)) + ifneq ($(QEMU_CPU),) + QEMU_CPU:=-cpu $(QEMU_CPU) + endif + + CROSS-ANSWER-OUT:=$(ARCH)-$(CONFIG_TARGET_BOARD)-$(CONFIG_TARGET_SUBTARGET)-$(CONFIG_CPU_TYPE) + CROSS-ANSWER-OUT:=$(call qstrip,$(CROSS-ANSWER-OUT)) + + CONFIGURE_ARGS += \ + --cross-answers="cross-answers-$(CROSS-ANSWER-OUT).txt" \ + --cross-execute="qemu-$(QEMU_ARCH) $(QEMU_CPU) -L $(STAGING_DIR_ROOT)" +else + CONFIGURE_ARGS += \ + --cross-answers=cross-answers.txt +endif + +# Optional AES-NI support - https://lists.samba.org/archive/samba-technical/2017-September/122738.html +# Support for Nettle wasn't comitted +ifdef CONFIG_TARGET_x86_64 + CONFIGURE_ARGS += --accel-aes=intelaesni +else + CONFIGURE_ARGS += --accel-aes=none +endif + +CONFIGURE_ARGS += \ + --with-lockdir=/var/lock \ + --with-logfilebase=/var/log \ + --with-piddir=/var/run \ + --with-privatedir=/etc/samba + +CONFIGURE_ARGS += \ + --with-system-mitkrb5 "$(STAGING_DIR)/usr" \ + --with-system-mitkdc=/usr/sbin/krb5kdc + + ## embedded-heimdal + # --bundled-libraries=talloc,tevent,tdb,ldb,com_err,cmocka,roken,wind,hx509,asn1,heimbase,hcrypto,krb5,gssapi,heimntlm,hdb,kdc,NONE + +ifeq ($(CONFIG_SAMBA4_SERVER_AVAHI),y) + CONFIGURE_ARGS += --enable-avahi +else + CONFIGURE_ARGS += --disable-avahi +endif +ifeq ($(CONFIG_SAMBA4_SERVER_QUOTAS),y) + CONFIGURE_ARGS += --with-quotas +else + CONFIGURE_ARGS += --without-quotas +endif +ifeq ($(CONFIG_SAMBA4_SERVER_ACL),y) + CONFIGURE_ARGS += --with-acl-support +else + CONFIGURE_ARGS += --without-acl-support +endif +ifeq ($(CONFIG_SAMBA4_SERVER_AD_DC),y) + CONFIGURE_ARGS += --enable-gnutls --with-dnsupdate --with-ads --with-ldap + TARGET_CFLAGS := -I$(STAGING_DIR)/usr/include/python2.7 $(TARGET_CFLAGS) +else + CONFIGURE_ARGS += --without-ad-dc --without-json-audit --without-libarchive --disable-python --nopyc --nopyo --disable-gnutls --without-dnsupdate --without-ads --without-ldap + CONFIGURE_VARS += \ + python_LDFLAGS="" \ + python_LIBDIR="" +endif +ifeq ($(CONFIG_SAMBA4_SERVER_WINBIND),y) + CONFIGURE_ARGS += --with-winbind +else + CONFIGURE_ARGS += --without-winbind +endif + +SAMBA4_IDMAP_MODULES := +SAMBA4_IDMAP_MODULES_SHARED := +SAMBA4_PDB_MODULES :=pdb_smbpasswd,pdb_tdbsam, +SAMBA4_AUTH_MODULES :=auth_builtin,auth_sam,auth_unix,auth_script, +SAMBA4_VFS_MODULES :=vfs_default, +ifeq ($(CONFIG_SAMBA4_SERVER_VFS),y) + SAMBA4_VFS_MODULES :=$(SAMBA4_VFS_MODULES)vfs_fruit,vfs_shadow_copy2,vfs_recycle,vfs_fake_perms,vfs_readonly,vfs_cap,vfs_offline,vfs_crossrename,vfs_catia,vfs_streams_xattr,vfs_xattr_tdb, +ifeq ($(CONFIG_PACKAGE_kmod-fs-btrfs),y) + SAMBA4_VFS_MODULES :=$(SAMBA4_VFS_MODULES)vfs_btrfs, +endif +endif +ifeq ($(CONFIG_SAMBA4_SERVER_VFSX),y) + SAMBA4_VFS_MODULES :=$(SAMBA4_VFS_MODULES)vfs_virusfilter,vfs_shell_snap,vfs_commit,vfs_worm,vfs_aio_fork,vfs_aio_pthread,vfs_netatalk,vfs_dirsort,vfs_fileid, +ifeq ($(CONFIG_PACKAGE_kmod-fs-xfs),y) + SAMBA4_VFS_MODULES :=$(SAMBA4_VFS_MODULES)vfs_linux_xfs_sgid, +endif +endif +ifeq ($(CONFIG_SAMBA4_SERVER_QUOTAS),y) + SAMBA4_VFS_MODULES :=$(SAMBA4_VFS_MODULES)vfs_default_quota, +endif +ifeq ($(CONFIG_SAMBA4_SERVER_ACL),y) + SAMBA4_VFS_MODULES :=$(SAMBA4_VFS_MODULES)vfs_posixacl,vfs_acl_xattr,vfs_acl_tdb, + # vfs_zfsacl needs https://github.com/zfsonlinux/zfs/tree/master/include/sys/zfs_acl.h + # vfs_nfs4acl_xattr needs https://github.com/notriddle/libdrpc/blob/master/rpc/xdr.h +endif +ifeq ($(CONFIG_SAMBA4_SERVER_AD_DC),y) + SAMBA4_PDB_MODULES :=$(SAMBA4_PDB_MODULES)pdb_samba_dsdb, + SAMBA4_AUTH_MODULES :=$(SAMBA4_AUTH_MODULES)auth_samba4, + SAMBA4_VFS_MODULES :=$(SAMBA4_VFS_MODULES)vfs_audit,vfs_extd_audit,vfs_full_audit, +endif +ifeq ($(CONFIG_SAMBA4_SERVER_WINBIND),y) + SAMBA4_IDMAP_MODULES :=$(SAMBA4_IDMAP_MODULES)idmap_passdb,idmap_nss,idmap_tdb,idmap_tdb2,idmap_script,nss_info_template, + SAMBA4_IDMAP_MODULES_SHARED :=$(SAMBA4_IDMAP_MODULES_SHARED)idmap_autorid,idmap_rid,idmap_ad,idmap_rfc2307, + # idmap_ad needs --with-ads + # idmap_rfc2307 needs ldap headers + SAMBA4_AUTH_MODULES :=$(SAMBA4_AUTH_MODULES)auth_winbind, +endif + +SAMBA4_MODULES :=${SAMBA4_AUTH_MODULES}${SAMBA4_PDB_MODULES}${SAMBA4_IDMAP_MODULES}${SAMBA4_VFS_MODULES} +SAMBA4_MODULES_SHARDED :=${SAMBA4_IDMAP_MODULES_SHARED} + +CONFIGURE_ARGS += \ + --with-static-modules=$(SAMBA4_MODULES)!DEFAULT,!FORCED \ + --with-shared-modules=$(SAMBA4_MODULES_SHARDED)!DEFAULT,!FORCED + +# Setup build/install targets +# CONFIG_PACKAGE_samba4-server +BUILD_TARGETS_SERVER :=smbd/smbd,smbpasswd,pdbedit,testparm +# Optional server targets +ifeq ($(CONFIG_SAMBA4_SERVER_ACL),y) + BUILD_TARGETS_SERVER :=$(BUILD_TARGETS_SERVER),sharesec +endif +ifeq ($(CONFIG_SAMBA4_SERVER_NETBIOS),y) + BUILD_TARGETS_SERVER :=$(BUILD_TARGETS_SERVER),nmbd +endif +ifeq ($(CONFIG_SAMBA4_SERVER_AD_DC),y) + BUILD_TARGETS_SERVER :=$(BUILD_TARGETS_SERVER),samba,nsstest,ntlm_auth +endif +ifeq ($(CONFIG_SAMBA4_SERVER_WINBIND),y) + BUILD_TARGETS_SERVER :=$(BUILD_TARGETS_SERVER),winbindd,wbinfo,winbind_krb5_locator +endif +# CONFIG_PACKAGE_samba4-client +BUILD_TARGETS_CLIENT :=client/smbclient,client/cifsdd +# CONFIG_PACKAGE_samba4-admin +BUILD_TARGETS_ADMIN :=net,smbcontrol,profiles,rpcclient,smbcacls,smbcquotas +# CONFIG_PACKAGE_samba4-utils +BUILD_TARGETS_UTILS :=smbstatus,smbtree,smbget,mvxattr,nmblookup + +# lib bundling +# NOTE: bundle + make private, we want to avoid version configuration (build, link) conflicts +CONFIGURE_ARGS += --builtin-libraries=talloc,tevent,texpect,tdb,ldb,tdr,cmocka,replace +#CONFIGURE_ARGS += --nonshared-binary=$(BUILD_TARGETS_SERVER) +ifeq ($(CONFIG_SAMBA4_SERVER_AD_DC),y) +CONFIGURE_ARGS += --bundled-libraries=talloc,tevent,texpect,tdb,ldb,tdr,cmocka,replace,pytalloc-util,pyldb-util,NONE +else +CONFIGURE_ARGS += --bundled-libraries=talloc,tevent,texpect,tdb,ldb,tdr,cmocka,replace,NONE +endif +CONFIGURE_ARGS += --private-libraries=talloc,tevent,texpect,tdb,ldb,tdr,cmocka,replace + +define Build/Prepare + $(Build/Prepare/Default) +ifeq ($(CONFIG_SAMBA4_SERVER_AD_DC),) + # un-bundle dnspython + $(SED) '/"dns.resolver":/d' $(PKG_BUILD_DIR)/third_party/wscript + # unbundle iso8601 + $(SED) '/"iso8601":/d' $(PKG_BUILD_DIR)/third_party/wscript +endif +endef + +ifeq ($(CONFIG_SAMBA4_WAF_CROSS_EXECUTE),y) +define Build/Configure + $(RM) -f $(PKG_BUILD_DIR)/cross-answers-$(CROSS-ANSWER-OUT).txt + $(call Build/Configure/Default,configure) +endef +else +define Build/Configure + $(CP) ./waf-cross-answers/$(ARCH).txt $(PKG_BUILD_DIR)/cross-answers.txt + echo 'Checking uname machine type: "$(ARCH)"' >> $(PKG_BUILD_DIR)/cross-answers.txt + echo 'Checking uname release type: "$(LINUX_VERSION)"' >> $(PKG_BUILD_DIR)/cross-answers.txt + echo 'Checking uname version type: "$(VERSION_DIST) Linux-$(LINUX_VERSION) $(shell date +%Y-%m-%d)"' >> $(PKG_BUILD_DIR)/cross-answers.txt + # NOTE: For some unknown reason this answer is not needed on some hosts/distros, yet needed on others? + echo 'Checking whether POSIX capabilities are available: OK' >> $(PKG_BUILD_DIR)/cross-answers.txt + $(call Build/Configure/Default,configure) +endef +endif + +# BUG: We need to use "waf install --targets=" otherwise a "make install" or "waf install" will retrigger a full recompile of all possible targets! +define Build/Compile + (cd $(PKG_BUILD_DIR); \ + ./buildtools/bin/waf install -j$(shell nproc) \ + --targets=$(SAMBA4_MODULES)$(SAMBA4_MODULES_SHARDED)$(BUILD_TARGETS_SERVER),$(BUILD_TARGETS_UTILS),$(BUILD_TARGETS_ADMIN),$(BUILD_TARGETS_CLIENT) \ + --destdir="$(PKG_INSTALL_DIR)" \ + ) +endef + +# No default install see above +define Build/Install +endef + +define Package/samba4-libs/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/samba/*.so* $(1)/usr/lib/ +endef + +define Package/samba4-client/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/{smbclient,cifsdd} $(1)/usr/bin/ +endef + +define Package/samba4-admin/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/{net,smbcontrol,profiles,rpcclient,smbcacls,smbcquotas} $(1)/usr/bin/ +endef + +define Package/samba4-utils/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/{smbstatus,smbtree,smbget,mvxattr,nmblookup} $(1)/usr/bin/ +endef + +define Package/samba4-server/install + $(INSTALL_DIR) $(1)/usr/lib/samba + if [ -d $(PKG_INSTALL_DIR)/usr/lib/samba/idmap ]; then \ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/samba/idmap $(1)/usr/lib/samba/; \ + fi + if [ -d $(PKG_INSTALL_DIR)/usr/lib/samba/auth ]; then \ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/samba/auth $(1)/usr/lib/samba/; \ + fi + if [ -d $(PKG_INSTALL_DIR)/usr/lib/samba/vfs ]; then \ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/samba/vfs $(1)/usr/lib/samba/; \ + fi + if [ -d $(PKG_INSTALL_DIR)/usr/lib/samba/pdb ]; then \ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/samba/pdb $(1)/usr/lib/samba/; \ + fi + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/{smbpasswd,pdbedit,testparm} $(1)/usr/bin/ + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/smbd $(1)/usr/sbin/ +ifeq ($(CONFIG_SAMBA4_SERVER_AD_DC),y) + $(CP) $(PKG_INSTALL_DIR)/usr/lib/python2.7 $(1)/usr/lib/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/{samba-tool,ntlm_auth,smbtar} $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/{samba,samba-gpupdate,samba_dnsupdate,samba_kcc,samba_spnupdate,samba_upgradedns} $(1)/usr/sbin/ +endif +ifeq ($(CONFIG_SAMBA4_SERVER_NETBIOS),y) + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/nmbd $(1)/usr/sbin/ +endif +ifeq ($(CONFIG_SAMBA4_SERVER_WINBIND),y) + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/wbinfo $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/winbindd $(1)/usr/sbin/ +endif +ifeq ($(CONFIG_SAMBA4_SERVER_ACL),y) + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sharesec $(1)/usr/bin/ +endif + $(INSTALL_DIR) $(1)/etc/config $(1)/etc/samba $(1)/etc/init.d + $(INSTALL_DATA) ./files/samba.config $(1)/etc/config/samba4 + $(INSTALL_DATA) ./files/smb.conf.template $(1)/etc/samba + $(INSTALL_BIN) ./files/samba.init $(1)/etc/init.d/samba4 +endef + +define Package/samba4-server/conffiles +/etc/config/samba4 +/etc/samba/smb.conf.template +/etc/samba/smb.conf +/etc/samba/smbpasswd +/etc/samba/secrets.tdb +/etc/samba/passdb.tdb +/etc/samba/idmap.ldb +/etc/samba/lmhosts +/etc/nsswitch.conf +endef + +$(eval $(call BuildPackage,samba4-libs)) +$(eval $(call BuildPackage,samba4-server)) +$(eval $(call BuildPackage,samba4-client)) +$(eval $(call BuildPackage,samba4-admin)) +$(eval $(call BuildPackage,samba4-utils)) diff --git a/package/lean/samba4/files/samba.config b/package/lean/samba4/files/samba.config new file mode 100644 index 000000000..1d62dcab7 --- /dev/null +++ b/package/lean/samba4/files/samba.config @@ -0,0 +1,7 @@ +config samba + option 'name' 'OpenWrt-SMB' + option 'workgroup' 'WORKGROUP' + option 'description' 'Samba on OpenWrt' + option 'charset' 'UTF-8' + option 'homes' '0' + diff --git a/package/lean/samba4/files/samba.init b/package/lean/samba4/files/samba.init new file mode 100644 index 000000000..6462a32e2 --- /dev/null +++ b/package/lean/samba4/files/samba.init @@ -0,0 +1,207 @@ +#!/bin/sh /etc/rc.common + +START=99 +USE_PROCD=1 + +smb_header() { + config_get samba_iface $1 interface "loopback lan" + + # resolve interfaces + local interfaces=$( + . /lib/functions/network.sh + + local net + for net in $samba_iface; do + local device + network_is_up $net || continue + network_get_device device "$net" + echo -n "${device:-$net} " + done + ) + + local name workgroup description charset + local hostname="$(uci_get system.@system[0].hostname)" + + config_get name $1 name "${hostname:-OpenWrt}" + config_get workgroup $1 workgroup "${hostname:-WORKGROUP}" + config_get description $1 description "Samba on ${hostname:-OpenWrt}" + config_get charset $1 charset "UTF-8" + + config_get_bool MACOS $1 macos 0 + config_get_bool DISABLE_NETBIOS $1 disable_netbios 0 + config_get_bool DISABLE_AD_DC $1 disable_ad_dc 0 + config_get_bool DISABLE_WINBIND $1 disable_winbind 0 + + mkdir -p /var/etc + sed -e "s#|NAME|#$name#g" \ + -e "s#|WORKGROUP|#$workgroup#g" \ + -e "s#|DESCRIPTION|#$description#g" \ + -e "s#|INTERFACES|#$interfaces#g" \ + -e "s#|CHARSET|#$charset#g" \ + /etc/samba/smb.conf.template > /var/etc/smb.conf + + echo -e "\n######### Dynamic written config options #########\n" >> /var/etc/smb.conf + if [ "$DISABLE_NETBIOS" -eq 1 ] || [ ! -x /usr/sbin/nmbd ]; then + echo -e "\tdisable netbios = yes" >> /var/etc/smb.conf + fi + + local homes + config_get_bool homes $1 homes 0 + [ $homes -gt 0 ] && { + cat <> /var/etc/smb.conf + +[homes] + comment = Home Directories + browsable = no + writable = yes + read only = no + create mask = 0750 +EOT + } + + [ -L /etc/samba/smb.conf ] || ln -nsf /var/etc/smb.conf /etc/samba/smb.conf +} + +smb_add_share() { + local name + local path + local users + local create_mask + local dir_mask + local browseable + local read_only + local guest_ok + local guest_only + local inherit_owner + local vfs_objects + local timemachine + local timemachine_maxsize + local force_root + + config_get name $1 name + config_get path $1 path + config_get users $1 users + config_get create_mask $1 create_mask + config_get dir_mask $1 dir_mask + config_get browseable $1 browseable + config_get read_only $1 read_only + config_get guest_ok $1 guest_ok + config_get guest_only $1 guest_only + config_get inherit_owner $1 inherit_owner + config_get vfs_objects $1 vfs_objects + config_get_bool timemachine $1 timemachine 0 + config_get timemachine_maxsize $1 timemachine_maxsize + config_get_bool force_root $1 force_root 0 + + [ -z "$name" -o -z "$path" ] && return + + echo -e "\n[$name]\n\tpath = $path" >> /var/etc/smb.conf + + if [ "$force_root" -eq 1 ]; then + echo -e "\tforce user = root" >> /var/etc/smb.conf + echo -e "\tforce group = root" >> /var/etc/smb.conf + else + [ -n "$users" ] && echo -e "\tvalid users = $users" >> /var/etc/smb.conf + fi + + [ -n "$create_mask" ] && echo -e "\tcreate mask = $create_mask" >> /var/etc/smb.conf + [ -n "$dir_mask" ] && echo -e "\tdirectory mask = $dir_mask" >> /var/etc/smb.conf + + [ -n "$browseable" ] && echo -e "\tbrowseable = $browseable" >> /var/etc/smb.conf + [ -n "$read_only" ] && echo -e "\tread only = $read_only" >> /var/etc/smb.conf + [ -n "$guest_ok" ] && echo -e "\tguest ok = $guest_ok" >> /var/etc/smb.conf + [ -n "$guest_only" ] && echo -e "\tguest only = $guest_only" >> /var/etc/smb.conf + [ -n "$inherit_owner" ] && echo -e "\tinherit owner = $inherit_owner" >> /var/etc/smb.conf + + if [ "$MACOS" -eq 1 ]; then + vfs_objects="catia fruit streams_xattr $vfs_objects" + echo -e "\tfruit:encoding = native" >> /var/etc/smb.conf + echo -e "\tfruit:metadata = stream" >> /var/etc/smb.conf + echo -e "\tfruit:veto_appledouble = no" >> /var/etc/smb.conf + # avoid mixed shares order for aapl + if [ "$timemachine" -eq 1 ]; then + echo -e "\tfruit:time machine = yes" >> /var/etc/smb.conf + [ -n "$timemachine_maxsize" ] && echo -e "\tfruit:time machine max size = ${timemachine_maxsize}G" >> /var/etc/smb.conf + fi + fi + + [ -n "$vfs_objects" ] && echo -e "\tvfs objects = $vfs_objects" >> /var/etc/smb.conf +} + +init_config() { + # Create samba dirs + [ -d /var/lib/samba ] || mkdir -p /var/lib/samba + [ -d /var/cache/samba ] || mkdir -p /var/cache/samba + [ -d /var/run/samba ] || mkdir -p /var/run/samba + [ -d /var/log/samba ] || mkdir -p /var/log/samba + [ -d /var/lock ] && chmod 0755 /var/lock || { + mkdir -p /var/lock + chmod 0755 /var/lock + } + + config_load samba4 + config_foreach smb_header samba + config_foreach smb_add_share sambashare +} + +reload_service() { + init_config + + killall -HUP samba + killall -HUP smbd + killall -HUP nmbd + killall -HUP winbindd +} + +service_triggers() { + procd_add_reload_trigger samba4 + + local i + for i in $samba_iface; do + procd_add_reload_interface_trigger $i + done +} + +start_service() { + init_config + + # start main AD-DC daemon, will spawn (smbd,nmbd,winbindd) as needed/configured. + if [ "$DISABLE_AD_DC" -ne 1 ] && [ -x /usr/sbin/samba ]; then + procd_open_instance + procd_set_param command /usr/sbin/samba -F + procd_set_param respawn + procd_set_param file /var/etc/smb.conf + procd_close_instance + else + # start fileserver daemon + procd_open_instance + procd_set_param command /usr/sbin/smbd -F + procd_set_param respawn + procd_set_param file /var/etc/smb.conf + procd_close_instance + + # start netbios daemon + if [ "$DISABLE_NETBIOS" -ne 1 ] && [ -x /usr/sbin/nmbd ]; then + procd_open_instance + procd_set_param command /usr/sbin/nmbd -F + procd_set_param respawn + procd_set_param file /var/etc/smb.conf + procd_close_instance + fi + # start winbind daemon + if [ "$DISABLE_WINBIND" -ne 1 ] && [ -x /usr/sbin/winbindd ]; then + procd_open_instance + procd_set_param command /usr/sbin/winbindd -F + procd_set_param respawn + procd_set_param file /var/etc/smb.conf + procd_close_instance + fi + fi + # lower priority using renice (if found) + if [ -x /usr/bin/renice ]; then + [ -x /usr/sbin/samba ] && renice -n 2 $(pidof samba) + [ -x /usr/sbin/smbd ] && renice -n 2 $(pidof smbd) + [ -x /usr/sbin/nmbd ] && renice -n 2 $(pidof nmbd) + [ -x /usr/sbin/winbindd ] && renice -n 2 $(pidof winbindd) + fi +} diff --git a/package/lean/samba4/files/smb.conf.template b/package/lean/samba4/files/smb.conf.template new file mode 100644 index 000000000..9c18184b3 --- /dev/null +++ b/package/lean/samba4/files/smb.conf.template @@ -0,0 +1,107 @@ +[global] + netbios name = |NAME| + interfaces = |INTERFACES| + server string = |DESCRIPTION| + unix charset = |CHARSET| + workgroup = |WORKGROUP| + + ## This global parameter allows the Samba admin to limit what interfaces on a machine will serve SMB requests. + bind interfaces only = yes + + ## time for inactive connections to-be closed in minutes + deadtime = 15 + + ## disable core dumps + enable core files = no + + ## set security (auto, user, domain, ads) + security = user + + ## This parameter controls whether a remote client is allowed or required to use SMB encryption. + ## It has different effects depending on whether the connection uses SMB1 or SMB2 and newer: + ## If the connection uses SMB1, then this option controls the use of a Samba-specific extension to the SMB protocol introduced in Samba 3.2 that makes use of the Unix extensions. + ## If the connection uses SMB2 or newer, then this option controls the use of the SMB-level encryption that is supported in SMB version 3.0 and above and available in Windows 8 and newer. + ##(default/auto,desired,required,off) + #smb encrypt = default + + ## set invalid users + invalid users = root + + ## map unknow users to guest + map to guest = Bad User + + ## allow client access to accounts that have null passwords. + null passwords = yes + + ## The old plaintext passdb backend. Some Samba features will not work if this passdb backend is used. (NOTE: enabled for size reasons) + ## (tdbsam,smbpasswd,ldapsam) + passdb backend = smbpasswd + + ## Set location of smbpasswd ('smbd -b' will show default compiled location) + #smb passwd file = /etc/samba/smbpasswd + + ## LAN/WAN options (IPTOS_LOWDELAY TCP_NODELAY) WAN (IPTOS_THROUGHPUT) + socket options = IPTOS_LOWDELAY TCP_NODELAY + + ## lower CPU useage if supported + use sendfile = yes + + ## samba will behave as previous versions of Samba would and will fail the lock request immediately if the lock range cannot be obtained. + #blocking locks = No + + ## disable loading of all printcap printers by default (iprint, cups, lpstat) + load printers = No + printcap name = /dev/null + + ## Enabling this parameter will disable Samba's support for the SPOOLSS set of MS-RPC's. + disable spoolss = yes + + ## This parameters controls how printer status information is interpreted on your system. + ## (BSD, AIX, LPRNG, PLP, SYSV, HPUX, QNX, SOFTQ) + printing = bsd + + ## Disable that nmbd is acting as a WINS server for unknow netbios names + #dns proxy = No + + ## win/unix user mapping backend + #idmap config * : backend = tdb + + ## Allows the server name that is advertised through MDNS to be set to the hostname rather than the Samba NETBIOS name. + ## This allows an administrator to make Samba registered MDNS records match the case of the hostname rather than being in all capitals. + ## (netbios, mdns) + mdns name = mdns + + ## Clients that only support netbios won't be able to see your samba server when netbios support is disabled. + #disable netbios = Yes + + ## Setting this value to no will cause nmbd never to become a local master browser. + #local master = no + + ## (auto, yes) If this is set to yes, on startup, nmbd will force an election, and it will have a slight advantage in winning the election. It is recommended that this parameter is used in conjunction with domain master = yes, so that nmbd can guarantee becoming a domain master. + #preferred master = yes + + ## (445 139) Specifies which ports the server should listen on for SMB traffic. + ## 139 is netbios/nmbd + #smb ports = 445 139 + + ## This is a list of files and directories that are neither visible nor accessible. + ## Each entry in the list must be separated by a '/', which allows spaces to be included in the entry. '*' and '?' can be used to specify multiple files or directories as in DOS wildcards. + veto files = /Thumbs.db/.DS_Store/._.DS_Store/.apdisk/ + + ## If a directory that is to be deleted contains nothing but veto files this deletion will fail unless you also set the delete veto files parameter to yes. + delete veto files = yes + +################ Filesystem and creation rules ################ + ## reported filesystem type (NTFS,Samba,FAT) + #fstype = FAT + + ## Allows a user who has write access to the file (by whatever means, including an ACL permission) to modify the permissions (including ACL) on it. + #dos filemode = Yes + + ## file/dir creating rules + #create mask = 0666 + #directory mask = 0777 + #force group = root + #force user = root + #inherit owner = windows and unix +################################################################ diff --git a/package/lean/samba4/patches/001-samba-4.4.0-pam.patch b/package/lean/samba4/patches/001-samba-4.4.0-pam.patch new file mode 100644 index 000000000..451601383 --- /dev/null +++ b/package/lean/samba4/patches/001-samba-4.4.0-pam.patch @@ -0,0 +1,29 @@ +--- samba-4.4.0rc2/source3/wscript ++++ samba-4.4.0rc2/source3/wscript +@@ -870,7 +870,7 @@ + if conf.env.with_iconv: + conf.DEFINE('HAVE_ICONV', 1) + +- if Options.options.with_pam: ++ if Options.options.with_pam != False: + use_pam=True + conf.CHECK_HEADERS('security/pam_appl.h pam/pam_appl.h') + if not conf.CONFIG_SET('HAVE_SECURITY_PAM_APPL_H') and not conf.CONFIG_SET('HAVE_PAM_PAM_APPL_H'): +@@ -943,6 +943,17 @@ + conf.DEFINE('WITH_PAM', 1) + conf.DEFINE('WITH_PAM_MODULES', 1) + ++ else: ++ Logs.warn("PAM disabled") ++ use_pam=False ++ conf.undefine('WITH_PAM') ++ conf.undefine('WITH_PAM_MODULES') ++ conf.undefine('HAVE_SECURITY_PAM_APPL_H') ++ conf.undefine('PAM_RHOST') ++ conf.undefine('PAM_TTY') ++ conf.undefine('HAVE_PAM_PAM_APPL_H') ++ ++ + seteuid = False + + # diff --git a/package/lean/samba4/patches/002-dnsserver-4.7.0.patch b/package/lean/samba4/patches/002-dnsserver-4.7.0.patch new file mode 100644 index 000000000..0c7592f8e --- /dev/null +++ b/package/lean/samba4/patches/002-dnsserver-4.7.0.patch @@ -0,0 +1,19 @@ +samba: build dnsserver_common code + +Just 'install' does not seem to do it. + +Upstream-Status: Pending + +Signed-off-by: Joe Slater + +--- a/source4/dns_server/wscript_build ++++ b/source4/dns_server/wscript_build +@@ -4,7 +4,7 @@ bld.SAMBA_LIBRARY('dnsserver_common', + source='dnsserver_common.c', + deps='samba-util samba-errors ldbsamba clidns', + private_library=True, +- install=bld.AD_DC_BUILD_IS_ENABLED() ++ enabled=bld.AD_DC_BUILD_IS_ENABLED() + ) + + bld.SAMBA_MODULE('service_dns', diff --git a/package/lean/samba4/patches/010-source3-msgsock-nvram-fix.patch b/package/lean/samba4/patches/010-source3-msgsock-nvram-fix.patch new file mode 100644 index 000000000..c2e69d396 --- /dev/null +++ b/package/lean/samba4/patches/010-source3-msgsock-nvram-fix.patch @@ -0,0 +1,20 @@ +--- a/source3/lib/messages.c ++++ b/source3/lib/messages.c +@@ -221,7 +221,7 @@ struct messaging_context *messaging_init + return NULL; + } + +- priv_path = private_path("msg.sock"); ++ priv_path = lock_path("msg.sock"); + if (priv_path == NULL) { + TALLOC_FREE(ctx); + return NULL; +@@ -311,7 +311,7 @@ NTSTATUS messaging_reinit(struct messagi + + msg_ctx->msg_dgm_ref = messaging_dgm_ref( + msg_ctx, msg_ctx->event_ctx, &msg_ctx->id.unique_id, +- private_path("msg.sock"), lck_path, ++ lock_path("msg.sock"), lck_path, + messaging_recv_cb, msg_ctx, &ret); + + if (msg_ctx->msg_dgm_ref == NULL) { diff --git a/package/lean/samba4/patches/011-source4-msgsock-nvram-fix.patch b/package/lean/samba4/patches/011-source4-msgsock-nvram-fix.patch new file mode 100644 index 000000000..c9cf955fb --- /dev/null +++ b/package/lean/samba4/patches/011-source4-msgsock-nvram-fix.patch @@ -0,0 +1,11 @@ +--- a/source4/lib/messaging/messaging.c ++++ b/source4/lib/messaging/messaging.c +@@ -323,7 +323,7 @@ struct imessaging_context *imessaging_in + goto fail; + } + +- msg->sock_dir = lpcfg_private_path(msg, lp_ctx, "msg.sock"); ++ msg->sock_dir = lpcfg_lock_path(msg, lp_ctx, "msg.sock"); + if (msg->sock_dir == NULL) { + goto fail; + } diff --git a/package/lean/samba4/patches/100-do-not-import-target-module-while-cross-compile.patch b/package/lean/samba4/patches/100-do-not-import-target-module-while-cross-compile.patch new file mode 100644 index 000000000..e112b3b40 --- /dev/null +++ b/package/lean/samba4/patches/100-do-not-import-target-module-while-cross-compile.patch @@ -0,0 +1,58 @@ +Some modules such as dynamic library maybe cann't be imported while cross compile, +we just check whether does the module exist. + +Signed-off-by: Bian Naimeng + +Index: samba-4.4.2/buildtools/wafsamba/samba_bundled.py +=================================================================== +--- samba-4.4.2.orig/buildtools/wafsamba/samba_bundled.py ++++ samba-4.4.2/buildtools/wafsamba/samba_bundled.py +@@ -2,6 +2,7 @@ + + import sys + import Build, Options, Logs ++import imp, os + from Configure import conf + from samba_utils import TO_LIST + +@@ -230,17 +231,32 @@ def CHECK_BUNDLED_SYSTEM_PYTHON(conf, li + # versions + minversion = minimum_library_version(conf, libname, minversion) + +- try: +- m = __import__(modulename) +- except ImportError: +- found = False +- else: ++ # Find module in PYTHONPATH ++ stuff = imp.find_module(modulename, [os.environ["PYTHONPATH"]]) ++ if stuff: + try: +- version = m.__version__ +- except AttributeError: ++ m = imp.load_module(modulename, stuff[0], stuff[1], stuff[2]) ++ except ImportError: + found = False ++ ++ if conf.env.CROSS_COMPILE: ++ # Some modules such as dynamic library maybe cann't be imported ++ # while cross compile, we just check whether the module exist ++ Logs.warn('Cross module[%s] has been found, but can not be loaded.' % (stuff[1])) ++ found = True + else: +- found = tuplize_version(version) >= tuplize_version(minversion) ++ try: ++ version = m.__version__ ++ except AttributeError: ++ found = False ++ else: ++ found = tuplize_version(version) >= tuplize_version(minversion) ++ finally: ++ if stuff[0]: ++ stuff[0].close() ++ else: ++ found = False ++ + if not found and not conf.LIB_MAY_BE_BUNDLED(libname): + Logs.error('ERROR: Python module %s of version %s not found, and bundling disabled' % (libname, minversion)) + sys.exit(1) diff --git a/package/lean/samba4/patches/101-do-not-check-xsltproc-manpages.patch b/package/lean/samba4/patches/101-do-not-check-xsltproc-manpages.patch new file mode 100644 index 000000000..c37cfcde4 --- /dev/null +++ b/package/lean/samba4/patches/101-do-not-check-xsltproc-manpages.patch @@ -0,0 +1,43 @@ +Don't check xsltproc manpages + +Signed-off-by: Bian Naimeng + +Index: samba-4.4.2/lib/ldb/wscript +=================================================================== +--- samba-4.4.2.orig/lib/ldb/wscript ++++ samba-4.4.2/lib/ldb/wscript +@@ -65,7 +65,7 @@ def configure(conf): + conf.define('USING_SYSTEM_LDB', 1) + + if conf.env.standalone_ldb: +- conf.CHECK_XSLTPROC_MANPAGES() ++ #conf.CHECK_XSLTPROC_MANPAGES() + + # we need this for the ldap backend + if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'): +Index: samba-4.4.2/lib/talloc/wscript +=================================================================== +--- samba-4.4.2.orig/lib/talloc/wscript ++++ samba-4.4.2/lib/talloc/wscript +@@ -56,7 +56,7 @@ def configure(conf): + if conf.env.standalone_talloc: + conf.env.TALLOC_COMPAT1 = Options.options.TALLOC_COMPAT1 + +- conf.CHECK_XSLTPROC_MANPAGES() ++ #conf.CHECK_XSLTPROC_MANPAGES() + + if not conf.env.disable_python: + # also disable if we don't have the python libs installed +Index: samba-4.4.2/lib/tdb/wscript +=================================================================== +--- samba-4.4.2.orig/lib/tdb/wscript ++++ samba-4.4.2/lib/tdb/wscript +@@ -92,7 +92,7 @@ def configure(conf): + not conf.env.disable_tdb_mutex_locking): + conf.define('USE_TDB_MUTEX_LOCKING', 1) + +- conf.CHECK_XSLTPROC_MANPAGES() ++ #conf.CHECK_XSLTPROC_MANPAGES() + + if not conf.env.disable_python: + # also disable if we don't have the python libs installed diff --git a/package/lean/samba4/patches/102-samba-4.8.2-unbundle-libreadline.patch b/package/lean/samba4/patches/102-samba-4.8.2-unbundle-libreadline.patch new file mode 100644 index 000000000..e164d56f5 --- /dev/null +++ b/package/lean/samba4/patches/102-samba-4.8.2-unbundle-libreadline.patch @@ -0,0 +1,21 @@ +--- a/libcli/smbreadline/wscript_configure ++++ b/libcli/smbreadline/wscript_configure +@@ -1,11 +1,13 @@ + #!/usr/bin/env python + + +-conf.CHECK_HEADERS('readline.h history.h readline/readline.h readline/history.h') +-for termlib in ['ncurses', 'curses', 'termcap', 'terminfo', 'termlib', 'tinfo']: +- if conf.CHECK_FUNCS_IN('tgetent', termlib): +- conf.env['READLINE_TERMLIB'] = termlib +- break ++#conf.CHECK_HEADERS('readline.h history.h readline/readline.h readline/history.h') ++#for termlib in ['ncurses', 'curses', 'termcap', 'terminfo', 'termlib', 'tinfo']: ++# if conf.CHECK_FUNCS_IN('tgetent', termlib): ++# conf.env['READLINE_TERMLIB'] = termlib ++# break ++ ++conf.undefine('HAVE_READLINE_READLINE_H') + + # + # Check if we need to work around readline/readline.h diff --git a/package/lean/samba4/patches/103-samba-4.8.5-unbundle-libbsd.patch b/package/lean/samba4/patches/103-samba-4.8.5-unbundle-libbsd.patch new file mode 100644 index 000000000..1fc2f7656 --- /dev/null +++ b/package/lean/samba4/patches/103-samba-4.8.5-unbundle-libbsd.patch @@ -0,0 +1,78 @@ +--- a/lib/crypto/wscript_configure 2018-07-26 ++++ b/lib/crypto/wscript_configure 2018-08-27 +@@ -2,11 +2,11 @@ + import Options + import Utils + +-if not conf.CHECK_FUNCS_IN('MD5Init', 'bsd', headers='bsd/md5.h', +- checklibc=True): +- conf.CHECK_FUNCS_IN('MD5Init', 'md5', headers='sys/md5.h', +- checklibc=True) +- conf.CHECK_FUNCS_IN('MD5Init', 'md', headers='sys/md5.h', ++# if not conf.CHECK_FUNCS_IN('MD5Init', 'bsd', headers='bsd/md5.h', ++ # checklibc=True): ++conf.CHECK_FUNCS_IN('MD5Init', 'md5', headers='sys/md5.h', ++ checklibc=True) ++conf.CHECK_FUNCS_IN('MD5Init', 'md', headers='sys/md5.h', + checklibc=True) + conf.CHECK_FUNCS_IN('CC_MD5_Init', '', headers='CommonCrypto/CommonDigest.h', + checklibc=True) +--- a/lib/replace/wscript ++++ b/lib/replace/wscript +@@ -302,22 +302,13 @@ def configure(conf): + + conf.CHECK_FUNCS('prctl dirname basename') + +- strlcpy_in_bsd = False +- +- # libbsd on some platforms provides strlcpy and strlcat +- if not conf.CHECK_FUNCS('strlcpy strlcat'): +- if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', +- checklibc=True): +- strlcpy_in_bsd = True +- if not conf.CHECK_FUNCS('getpeereid'): +- conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h') +- if not conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', headers='setproctitle.h'): +- conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h bsd/unistd.h') +- if not conf.CHECK_FUNCS('setproctitle_init'): +- conf.CHECK_FUNCS_IN('setproctitle_init', 'bsd', headers='sys/types.h bsd/unistd.h') +- +- if not conf.CHECK_FUNCS('closefrom'): +- conf.CHECK_FUNCS_IN('closefrom', 'bsd', headers='bsd/unistd.h') ++ # Not checking for libbsd ++ conf.CHECK_FUNCS('strlcpy strlcat') ++ conf.CHECK_FUNCS('getpeereid') ++ conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', headers='setproctitle.h') ++ conf.CHECK_FUNCS('setproctitle_init') ++ ++ conf.CHECK_FUNCS('closefrom') + + conf.CHECK_CODE(''' + struct ucred cred; +@@ -667,9 +658,6 @@ removeea setea + + # look for a method of finding the list of network interfaces + for method in ['HAVE_IFACE_GETIFADDRS', 'HAVE_IFACE_AIX', 'HAVE_IFACE_IFCONF', 'HAVE_IFACE_IFREQ']: +- bsd_for_strlcpy = '' +- if strlcpy_in_bsd: +- bsd_for_strlcpy = ' bsd' + if conf.CHECK_CODE(''' + #define %s 1 + #define NO_CONFIG_H 1 +@@ -682,7 +670,7 @@ removeea setea + #include "test/getifaddrs.c" + ''' % method, + method, +- lib='nsl socket' + bsd_for_strlcpy, ++ lib='nsl socket', + addmain=False, + execute=True): + break +@@ -730,7 +718,6 @@ def build(bld): + break + + extra_libs = '' +- if bld.CONFIG_SET('HAVE_LIBBSD'): extra_libs += ' bsd' + + bld.SAMBA_SUBSYSTEM('LIBREPLACE_HOSTCC', + REPLACE_HOSTCC_SOURCE, diff --git a/package/lean/samba4/waf-cross-answers/aarch64.txt b/package/lean/samba4/waf-cross-answers/aarch64.txt new file mode 100644 index 000000000..9aae22c36 --- /dev/null +++ b/package/lean/samba4/waf-cross-answers/aarch64.txt @@ -0,0 +1,34 @@ +Checking uname sysname type: "Linux" +Checking simple C program: "hello world" +rpath library support: OK +-Wl,--version-script support: OK +Checking getconf LFS_CFLAGS: NO +Checking for large file support without additional flags: OK +Checking correct behavior of strtoll: OK +Checking for working strptime: NO +Checking for C99 vsnprintf: "1" +Checking for HAVE_SHARED_MMAP: OK +Checking for HAVE_MREMAP: OK +Checking for HAVE_INCOHERENT_MMAP: NO +Checking for HAVE_SECURE_MKSTEMP: OK +Checking for HAVE_IFACE_GETIFADDRS: OK +Checking value of NSIG: "65" +Checking value of _NSIG: "65" +Checking value of SIGRTMAX: "64" +Checking value of SIGRTMIN: "35" +Checking for a 64-bit host to support lmdb: NO +Checking whether the WRFILE -keytab is supported: OK +Checking errno of iconv for illegal multibyte sequence: OK +Checking for kernel change notify support: OK +Checking for Linux kernel oplocks: OK +Checking for kernel share modes: OK +Checking if can we convert from CP850 to UCS-2LE: OK +Checking if can we convert from UTF-8 to UCS-2LE: OK +vfs_fileid checking for statfs() and struct statfs.f_fsid: OK +Checking whether we can use Linux thread-specific credentials: "OK" +Checking whether fcntl locking is available: OK +Checking whether fcntl lock supports open file description locks: NO +Checking for the maximum value of the 'time_t' type: OK +Checking whether the realpath function allows a NULL argument: OK +Checking for ftruncate extend: OK +getcwd takes a NULL argument: OK diff --git a/package/lean/samba4/waf-cross-answers/arc.txt b/package/lean/samba4/waf-cross-answers/arc.txt new file mode 100644 index 000000000..57f38119f --- /dev/null +++ b/package/lean/samba4/waf-cross-answers/arc.txt @@ -0,0 +1,37 @@ +Checking uname sysname type: "Linux" +Checking simple C program: "hello world" +rpath library support: OK +-Wl,--version-script support: OK +Checking getconf LFS_CFLAGS: NO +Checking for large file support without additional flags: OK +Checking correct behavior of strtoll: OK +Checking for working strptime: NO +Checking for C99 vsnprintf: "1" +Checking for HAVE_SHARED_MMAP: OK +Checking for HAVE_MREMAP: OK +Checking for HAVE_INCOHERENT_MMAP: NO +Checking for HAVE_SECURE_MKSTEMP: OK +Checking for HAVE_IFACE_GETIFADDRS: OK +Checking value of NSIG: "65" +Checking value of _NSIG: "65" +Checking value of SIGRTMAX: "64" +Checking value of SIGRTMIN: "35" +Checking for a 64-bit host to support lmdb: NO +Checking whether the WRFILE -keytab is supported: OK +Checking errno of iconv for illegal multibyte sequence: OK +Checking for kernel change notify support: OK +Checking for Linux kernel oplocks: OK +Checking for kernel share modes: OK +Checking if can we convert from CP850 to UCS-2LE: OK +Checking if can we convert from UTF-8 to UCS-2LE: OK +vfs_fileid checking for statfs() and struct statfs.f_fsid: OK +Checking whether we can use Linux thread-specific credentials: "OK" +Checking whether fcntl locking is available: OK +Checking whether fcntl lock supports open file description locks: NO +Checking for the maximum value of the 'time_t' type: NO +Checking whether the realpath function allows a NULL argument: OK +Checking for ftruncate extend: OK +getcwd takes a NULL argument: OK +Checking whether setreuid is available: NO +Checking whether setresuid is available: NO +Checking whether seteuid is available: NO diff --git a/package/lean/samba4/waf-cross-answers/arm.txt b/package/lean/samba4/waf-cross-answers/arm.txt new file mode 100644 index 000000000..79ba994be --- /dev/null +++ b/package/lean/samba4/waf-cross-answers/arm.txt @@ -0,0 +1,34 @@ +Checking uname sysname type: "Linux" +Checking simple C program: "hello world" +rpath library support: OK +-Wl,--version-script support: OK +Checking getconf LFS_CFLAGS: NO +Checking for large file support without additional flags: OK +Checking correct behavior of strtoll: OK +Checking for working strptime: NO +Checking for C99 vsnprintf: "1" +Checking for HAVE_SHARED_MMAP: OK +Checking for HAVE_MREMAP: OK +Checking for HAVE_INCOHERENT_MMAP: NO +Checking for HAVE_SECURE_MKSTEMP: OK +Checking for HAVE_IFACE_GETIFADDRS: OK +Checking value of NSIG: "65" +Checking value of _NSIG: "65" +Checking value of SIGRTMAX: "64" +Checking value of SIGRTMIN: "35" +Checking for a 64-bit host to support lmdb: NO +Checking whether the WRFILE -keytab is supported: OK +Checking errno of iconv for illegal multibyte sequence: OK +Checking for kernel change notify support: OK +Checking for Linux kernel oplocks: OK +Checking for kernel share modes: OK +Checking if can we convert from CP850 to UCS-2LE: OK +Checking if can we convert from UTF-8 to UCS-2LE: OK +vfs_fileid checking for statfs() and struct statfs.f_fsid: OK +Checking whether we can use Linux thread-specific credentials with 32-bit system calls: "OK" +Checking whether fcntl locking is available: OK +Checking whether fcntl lock supports open file description locks: NO +Checking for the maximum value of the 'time_t' type: NO +Checking whether the realpath function allows a NULL argument: OK +Checking for ftruncate extend: OK +getcwd takes a NULL argument: OK diff --git a/package/lean/samba4/waf-cross-answers/armeb.txt b/package/lean/samba4/waf-cross-answers/armeb.txt new file mode 100644 index 000000000..79ba994be --- /dev/null +++ b/package/lean/samba4/waf-cross-answers/armeb.txt @@ -0,0 +1,34 @@ +Checking uname sysname type: "Linux" +Checking simple C program: "hello world" +rpath library support: OK +-Wl,--version-script support: OK +Checking getconf LFS_CFLAGS: NO +Checking for large file support without additional flags: OK +Checking correct behavior of strtoll: OK +Checking for working strptime: NO +Checking for C99 vsnprintf: "1" +Checking for HAVE_SHARED_MMAP: OK +Checking for HAVE_MREMAP: OK +Checking for HAVE_INCOHERENT_MMAP: NO +Checking for HAVE_SECURE_MKSTEMP: OK +Checking for HAVE_IFACE_GETIFADDRS: OK +Checking value of NSIG: "65" +Checking value of _NSIG: "65" +Checking value of SIGRTMAX: "64" +Checking value of SIGRTMIN: "35" +Checking for a 64-bit host to support lmdb: NO +Checking whether the WRFILE -keytab is supported: OK +Checking errno of iconv for illegal multibyte sequence: OK +Checking for kernel change notify support: OK +Checking for Linux kernel oplocks: OK +Checking for kernel share modes: OK +Checking if can we convert from CP850 to UCS-2LE: OK +Checking if can we convert from UTF-8 to UCS-2LE: OK +vfs_fileid checking for statfs() and struct statfs.f_fsid: OK +Checking whether we can use Linux thread-specific credentials with 32-bit system calls: "OK" +Checking whether fcntl locking is available: OK +Checking whether fcntl lock supports open file description locks: NO +Checking for the maximum value of the 'time_t' type: NO +Checking whether the realpath function allows a NULL argument: OK +Checking for ftruncate extend: OK +getcwd takes a NULL argument: OK diff --git a/package/lean/samba4/waf-cross-answers/i386.txt b/package/lean/samba4/waf-cross-answers/i386.txt new file mode 100644 index 000000000..79ba994be --- /dev/null +++ b/package/lean/samba4/waf-cross-answers/i386.txt @@ -0,0 +1,34 @@ +Checking uname sysname type: "Linux" +Checking simple C program: "hello world" +rpath library support: OK +-Wl,--version-script support: OK +Checking getconf LFS_CFLAGS: NO +Checking for large file support without additional flags: OK +Checking correct behavior of strtoll: OK +Checking for working strptime: NO +Checking for C99 vsnprintf: "1" +Checking for HAVE_SHARED_MMAP: OK +Checking for HAVE_MREMAP: OK +Checking for HAVE_INCOHERENT_MMAP: NO +Checking for HAVE_SECURE_MKSTEMP: OK +Checking for HAVE_IFACE_GETIFADDRS: OK +Checking value of NSIG: "65" +Checking value of _NSIG: "65" +Checking value of SIGRTMAX: "64" +Checking value of SIGRTMIN: "35" +Checking for a 64-bit host to support lmdb: NO +Checking whether the WRFILE -keytab is supported: OK +Checking errno of iconv for illegal multibyte sequence: OK +Checking for kernel change notify support: OK +Checking for Linux kernel oplocks: OK +Checking for kernel share modes: OK +Checking if can we convert from CP850 to UCS-2LE: OK +Checking if can we convert from UTF-8 to UCS-2LE: OK +vfs_fileid checking for statfs() and struct statfs.f_fsid: OK +Checking whether we can use Linux thread-specific credentials with 32-bit system calls: "OK" +Checking whether fcntl locking is available: OK +Checking whether fcntl lock supports open file description locks: NO +Checking for the maximum value of the 'time_t' type: NO +Checking whether the realpath function allows a NULL argument: OK +Checking for ftruncate extend: OK +getcwd takes a NULL argument: OK diff --git a/package/lean/samba4/waf-cross-answers/mips.txt b/package/lean/samba4/waf-cross-answers/mips.txt new file mode 100644 index 000000000..9c1a2c67e --- /dev/null +++ b/package/lean/samba4/waf-cross-answers/mips.txt @@ -0,0 +1,34 @@ +Checking uname sysname type: "Linux" +Checking simple C program: "hello world" +rpath library support: OK +-Wl,--version-script support: OK +Checking getconf LFS_CFLAGS: NO +Checking for large file support without additional flags: OK +Checking correct behavior of strtoll: OK +Checking for working strptime: NO +Checking for C99 vsnprintf: "1" +Checking for HAVE_SHARED_MMAP: OK +Checking for HAVE_MREMAP: OK +Checking for HAVE_INCOHERENT_MMAP: NO +Checking for HAVE_SECURE_MKSTEMP: OK +Checking for HAVE_IFACE_GETIFADDRS: OK +Checking value of NSIG: "128" +Checking value of _NSIG: "128" +Checking value of SIGRTMAX: "127" +Checking value of SIGRTMIN: "35" +Checking for a 64-bit host to support lmdb: NO +Checking whether the WRFILE -keytab is supported: OK +Checking errno of iconv for illegal multibyte sequence: OK +Checking for kernel change notify support: OK +Checking for Linux kernel oplocks: OK +Checking for kernel share modes: OK +Checking if can we convert from CP850 to UCS-2LE: OK +Checking if can we convert from UTF-8 to UCS-2LE: OK +vfs_fileid checking for statfs() and struct statfs.f_fsid: OK +Checking whether we can use Linux thread-specific credentials: "OK" +Checking whether fcntl locking is available: OK +Checking whether fcntl lock supports open file description locks: NO +Checking for the maximum value of the 'time_t' type: NO +Checking whether the realpath function allows a NULL argument: OK +Checking for ftruncate extend: OK +getcwd takes a NULL argument: OK diff --git a/package/lean/samba4/waf-cross-answers/mips64.txt b/package/lean/samba4/waf-cross-answers/mips64.txt new file mode 100644 index 000000000..a270f0860 --- /dev/null +++ b/package/lean/samba4/waf-cross-answers/mips64.txt @@ -0,0 +1,34 @@ +Checking uname sysname type: "Linux" +Checking simple C program: "hello world" +rpath library support: OK +-Wl,--version-script support: OK +Checking getconf LFS_CFLAGS: NO +Checking for large file support without additional flags: OK +Checking correct behavior of strtoll: OK +Checking for working strptime: NO +Checking for C99 vsnprintf: "1" +Checking for HAVE_SHARED_MMAP: OK +Checking for HAVE_MREMAP: OK +Checking for HAVE_INCOHERENT_MMAP: NO +Checking for HAVE_SECURE_MKSTEMP: OK +Checking for HAVE_IFACE_GETIFADDRS: OK +Checking value of NSIG: "128" +Checking value of _NSIG: "128" +Checking value of SIGRTMAX: "127" +Checking value of SIGRTMIN: "35" +Checking for a 64-bit host to support lmdb: NO +Checking whether the WRFILE -keytab is supported: OK +Checking errno of iconv for illegal multibyte sequence: OK +Checking for kernel change notify support: OK +Checking for Linux kernel oplocks: OK +Checking for kernel share modes: OK +Checking if can we convert from CP850 to UCS-2LE: OK +Checking if can we convert from UTF-8 to UCS-2LE: OK +vfs_fileid checking for statfs() and struct statfs.f_fsid: OK +Checking whether we can use Linux thread-specific credentials: "OK" +Checking whether fcntl locking is available: OK +Checking whether fcntl lock supports open file description locks: NO +Checking for the maximum value of the 'time_t' type: OK +Checking whether the realpath function allows a NULL argument: OK +Checking for ftruncate extend: OK +getcwd takes a NULL argument: OK diff --git a/package/lean/samba4/waf-cross-answers/mips64el.txt b/package/lean/samba4/waf-cross-answers/mips64el.txt new file mode 100644 index 000000000..a270f0860 --- /dev/null +++ b/package/lean/samba4/waf-cross-answers/mips64el.txt @@ -0,0 +1,34 @@ +Checking uname sysname type: "Linux" +Checking simple C program: "hello world" +rpath library support: OK +-Wl,--version-script support: OK +Checking getconf LFS_CFLAGS: NO +Checking for large file support without additional flags: OK +Checking correct behavior of strtoll: OK +Checking for working strptime: NO +Checking for C99 vsnprintf: "1" +Checking for HAVE_SHARED_MMAP: OK +Checking for HAVE_MREMAP: OK +Checking for HAVE_INCOHERENT_MMAP: NO +Checking for HAVE_SECURE_MKSTEMP: OK +Checking for HAVE_IFACE_GETIFADDRS: OK +Checking value of NSIG: "128" +Checking value of _NSIG: "128" +Checking value of SIGRTMAX: "127" +Checking value of SIGRTMIN: "35" +Checking for a 64-bit host to support lmdb: NO +Checking whether the WRFILE -keytab is supported: OK +Checking errno of iconv for illegal multibyte sequence: OK +Checking for kernel change notify support: OK +Checking for Linux kernel oplocks: OK +Checking for kernel share modes: OK +Checking if can we convert from CP850 to UCS-2LE: OK +Checking if can we convert from UTF-8 to UCS-2LE: OK +vfs_fileid checking for statfs() and struct statfs.f_fsid: OK +Checking whether we can use Linux thread-specific credentials: "OK" +Checking whether fcntl locking is available: OK +Checking whether fcntl lock supports open file description locks: NO +Checking for the maximum value of the 'time_t' type: OK +Checking whether the realpath function allows a NULL argument: OK +Checking for ftruncate extend: OK +getcwd takes a NULL argument: OK diff --git a/package/lean/samba4/waf-cross-answers/mipsel.txt b/package/lean/samba4/waf-cross-answers/mipsel.txt new file mode 100644 index 000000000..9c1a2c67e --- /dev/null +++ b/package/lean/samba4/waf-cross-answers/mipsel.txt @@ -0,0 +1,34 @@ +Checking uname sysname type: "Linux" +Checking simple C program: "hello world" +rpath library support: OK +-Wl,--version-script support: OK +Checking getconf LFS_CFLAGS: NO +Checking for large file support without additional flags: OK +Checking correct behavior of strtoll: OK +Checking for working strptime: NO +Checking for C99 vsnprintf: "1" +Checking for HAVE_SHARED_MMAP: OK +Checking for HAVE_MREMAP: OK +Checking for HAVE_INCOHERENT_MMAP: NO +Checking for HAVE_SECURE_MKSTEMP: OK +Checking for HAVE_IFACE_GETIFADDRS: OK +Checking value of NSIG: "128" +Checking value of _NSIG: "128" +Checking value of SIGRTMAX: "127" +Checking value of SIGRTMIN: "35" +Checking for a 64-bit host to support lmdb: NO +Checking whether the WRFILE -keytab is supported: OK +Checking errno of iconv for illegal multibyte sequence: OK +Checking for kernel change notify support: OK +Checking for Linux kernel oplocks: OK +Checking for kernel share modes: OK +Checking if can we convert from CP850 to UCS-2LE: OK +Checking if can we convert from UTF-8 to UCS-2LE: OK +vfs_fileid checking for statfs() and struct statfs.f_fsid: OK +Checking whether we can use Linux thread-specific credentials: "OK" +Checking whether fcntl locking is available: OK +Checking whether fcntl lock supports open file description locks: NO +Checking for the maximum value of the 'time_t' type: NO +Checking whether the realpath function allows a NULL argument: OK +Checking for ftruncate extend: OK +getcwd takes a NULL argument: OK diff --git a/package/lean/samba4/waf-cross-answers/powerpc.txt b/package/lean/samba4/waf-cross-answers/powerpc.txt new file mode 100644 index 000000000..4912acbde --- /dev/null +++ b/package/lean/samba4/waf-cross-answers/powerpc.txt @@ -0,0 +1,34 @@ +Checking uname sysname type: "Linux" +Checking simple C program: "hello world" +rpath library support: OK +-Wl,--version-script support: OK +Checking getconf LFS_CFLAGS: NO +Checking for large file support without additional flags: OK +Checking correct behavior of strtoll: OK +Checking for working strptime: NO +Checking for C99 vsnprintf: "1" +Checking for HAVE_SHARED_MMAP: OK +Checking for HAVE_MREMAP: OK +Checking for HAVE_INCOHERENT_MMAP: NO +Checking for HAVE_SECURE_MKSTEMP: OK +Checking for HAVE_IFACE_GETIFADDRS: OK +Checking value of NSIG: "65" +Checking value of _NSIG: "65" +Checking value of SIGRTMAX: "64" +Checking value of SIGRTMIN: "35" +Checking for a 64-bit host to support lmdb: NO +Checking whether the WRFILE -keytab is supported: OK +Checking errno of iconv for illegal multibyte sequence: OK +Checking for kernel change notify support: OK +Checking for Linux kernel oplocks: OK +Checking for kernel share modes: OK +Checking if can we convert from CP850 to UCS-2LE: OK +Checking if can we convert from UTF-8 to UCS-2LE: OK +vfs_fileid checking for statfs() and struct statfs.f_fsid: OK +Checking whether we can use Linux thread-specific credentials: "OK" +Checking whether fcntl locking is available: OK +Checking whether fcntl lock supports open file description locks: NO +Checking for the maximum value of the 'time_t' type: NO +Checking whether the realpath function allows a NULL argument: OK +Checking for ftruncate extend: OK +getcwd takes a NULL argument: OK diff --git a/package/lean/samba4/waf-cross-answers/x86_64.txt b/package/lean/samba4/waf-cross-answers/x86_64.txt new file mode 100644 index 000000000..9aae22c36 --- /dev/null +++ b/package/lean/samba4/waf-cross-answers/x86_64.txt @@ -0,0 +1,34 @@ +Checking uname sysname type: "Linux" +Checking simple C program: "hello world" +rpath library support: OK +-Wl,--version-script support: OK +Checking getconf LFS_CFLAGS: NO +Checking for large file support without additional flags: OK +Checking correct behavior of strtoll: OK +Checking for working strptime: NO +Checking for C99 vsnprintf: "1" +Checking for HAVE_SHARED_MMAP: OK +Checking for HAVE_MREMAP: OK +Checking for HAVE_INCOHERENT_MMAP: NO +Checking for HAVE_SECURE_MKSTEMP: OK +Checking for HAVE_IFACE_GETIFADDRS: OK +Checking value of NSIG: "65" +Checking value of _NSIG: "65" +Checking value of SIGRTMAX: "64" +Checking value of SIGRTMIN: "35" +Checking for a 64-bit host to support lmdb: NO +Checking whether the WRFILE -keytab is supported: OK +Checking errno of iconv for illegal multibyte sequence: OK +Checking for kernel change notify support: OK +Checking for Linux kernel oplocks: OK +Checking for kernel share modes: OK +Checking if can we convert from CP850 to UCS-2LE: OK +Checking if can we convert from UTF-8 to UCS-2LE: OK +vfs_fileid checking for statfs() and struct statfs.f_fsid: OK +Checking whether we can use Linux thread-specific credentials: "OK" +Checking whether fcntl locking is available: OK +Checking whether fcntl lock supports open file description locks: NO +Checking for the maximum value of the 'time_t' type: OK +Checking whether the realpath function allows a NULL argument: OK +Checking for ftruncate extend: OK +getcwd takes a NULL argument: OK diff --git a/package/lean/wsdd2/Makefile b/package/lean/wsdd2/Makefile new file mode 100644 index 000000000..7bda797c9 --- /dev/null +++ b/package/lean/wsdd2/Makefile @@ -0,0 +1,46 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=wsdd2 +PKG_RELEASE:=2 + +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=https://github.com/Andy2244/wsdd2.git +PKG_SOURCE_DATE:=2018-07-24 +PKG_SOURCE_VERSION:=2c31ba3b720af81848c47dff7ad7c6c30c0c0f50 +PKG_MIRROR_HASH:=eb903a870d99c6001996dbfc22c15e1020278c45ed2441ceb61bc5395f417afa + +PKG_MAINTAINER:=Andy Walsh +PKG_LICENSE:=GPL-3.0-only +PKG_LICENSE_FILES:=COPYING + +include $(INCLUDE_DIR)/package.mk + +define Package/wsdd2 + SECTION:=net + CATEGORY:=Network + SUBMENU:=IP Addresses and Names + TITLE:=Web Services for Devices (WSD) daemon + URL:=https://kb.netgear.com/2649/NETGEAR-Open-Source-Code-for-Programmers-GPL +endef + +define Package/wsdd2/description + Web Services for Devices or Web Services on Devices (WSD), + is a Microsoft API to simplify programming connections to web service + enabled devices, such as printers, scanners and file shares. + + This daemon advertises and responds to probe requests from Windows clients looking for file shares. + It also implements LLMNR multicast name lookup services. +endef + +define Build/Compile + $(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) $(PKG_BUILD_DIR)/{wsdd2.c,wsd.c,llmnr.c} -o $(PKG_BUILD_DIR)/wsdd2 +endef + +define Package/wsdd2/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/wsdd2 $(1)/usr/bin/ + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/wsdd2.init $(1)/etc/init.d/wsdd2 +endef + +$(eval $(call BuildPackage,wsdd2)) diff --git a/package/lean/wsdd2/files/wsdd2.init b/package/lean/wsdd2/files/wsdd2.init new file mode 100644 index 000000000..b795d8e8b --- /dev/null +++ b/package/lean/wsdd2/files/wsdd2.init @@ -0,0 +1,12 @@ +#!/bin/sh /etc/rc.common + +START=99 +USE_PROCD=1 + +start_service() { + procd_open_instance + procd_set_param command /usr/bin/wsdd2 -w + procd_set_param respawn + procd_set_param file /var/etc/smb.conf + procd_close_instance +} diff --git a/package/lean/wsdd2/patches/001-add_uuid_boot_id.patch b/package/lean/wsdd2/patches/001-add_uuid_boot_id.patch new file mode 100644 index 000000000..0c59365a1 --- /dev/null +++ b/package/lean/wsdd2/patches/001-add_uuid_boot_id.patch @@ -0,0 +1,25 @@ +--- a/wsd.c 2018-07-24 ++++ b/wsd.c 2018-09-10 +@@ -96,13 +96,19 @@ static void uuid_endpoint(char *uuid, si + { + FILE *fp = fopen("/etc/machine-id", "r"); + int c, i = 0; ++ ++ if (!fp) { ++ fp = fopen("/proc/sys/kernel/random/boot_id", "r"); ++ } + +- if (!fp) ++ if (!fp) { ++ DEBUG(0, W, "Can't open required '/etc/machine-id' or '/proc/sys/kernel/random/boot_id'"); + return; ++ } + + while (i < 36 && (c = getc(fp)) != EOF && +- (isdigit(c) || (islower(c) && isxdigit(c)))) { +- if (i == 8 || i == 13 || i == 18 || i == 23) ++ ((c == '-') || isdigit(c) || (islower(c) && isxdigit(c)))) { ++ if ((c != '-') && (i == 8 || i == 13 || i == 18 || i == 23)) + uuid[i++] = '-'; + uuid[i++] = c; + }