From d88c750381aa73e5ad1ab8f6ac287bf09b18324f Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Mon, 2 May 2022 20:02:49 +0000 Subject: Mon May 2 20:02:49 UTC 2022 patches/packages/libxml2-2.9.14-x86_64-1_slack15.0.txz: Upgraded. This update fixes bugs and the following security issues: Fix integer overflow in xmlBuf and xmlBuffer. Fix potential double-free in xmlXPtrStringRangeFunction. Fix memory leak in xmlFindCharEncodingHandler. Normalize XPath strings in-place. Prevent integer-overflow in htmlSkipBlankChars() and xmlSkipBlankChars(). Fix leak of xmlElementContent. For more information, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29824 (* Security fix *) patches/packages/mozilla-firefox-91.9.0esr-x86_64-1_slack15.0.txz: Upgraded. This is a bugfix release. For more information, see: https://www.mozilla.org/en-US/firefox/91.9.0/releasenotes/ patches/packages/samba-4.15.7-x86_64-1_slack15.0.txz: Upgraded. This is a bugfix release. For more information, see: https://www.samba.org/samba/history/samba-4.15.7.html --- ChangeLog.rss | 33 ++- ChangeLog.txt | 21 ++ FILELIST.TXT | 155 +++++++------ .../packages/libxml2-2.9.13-x86_64-1_slack15.0.txt | 11 - .../packages/libxml2-2.9.14-x86_64-1_slack15.0.txt | 11 + ...ozilla-firefox-91.8.0esr-x86_64-1_slack15.0.txt | 11 - ...ozilla-firefox-91.9.0esr-x86_64-1_slack15.0.txt | 11 + .../packages/samba-4.15.7-x86_64-1_slack15.0.txt | 11 + patches/source/samba/doinst.sh | 42 ++++ patches/source/samba/rc.samba | 48 ++++ patches/source/samba/samba.SlackBuild | 243 +++++++++++++++++++++ .../samba/samba.libsmbclient.h.ffmpeg.compat.diff | 10 + patches/source/samba/samba.url | 2 + patches/source/samba/slack-desc | 19 ++ patches/source/samba/smb.conf.default | 223 +++++++++++++++++++ patches/source/samba/smb.conf.default.orig | 223 +++++++++++++++++++ patches/source/samba/smb.conf.diff | 29 +++ recompress.sh | 3 + 18 files changed, 1012 insertions(+), 94 deletions(-) delete mode 100644 patches/packages/libxml2-2.9.13-x86_64-1_slack15.0.txt create mode 100644 patches/packages/libxml2-2.9.14-x86_64-1_slack15.0.txt delete mode 100644 patches/packages/mozilla-firefox-91.8.0esr-x86_64-1_slack15.0.txt create mode 100644 patches/packages/mozilla-firefox-91.9.0esr-x86_64-1_slack15.0.txt create mode 100644 patches/packages/samba-4.15.7-x86_64-1_slack15.0.txt create mode 100644 patches/source/samba/doinst.sh create mode 100644 patches/source/samba/rc.samba create mode 100755 patches/source/samba/samba.SlackBuild create mode 100644 patches/source/samba/samba.libsmbclient.h.ffmpeg.compat.diff create mode 100644 patches/source/samba/samba.url create mode 100644 patches/source/samba/slack-desc create mode 100644 patches/source/samba/smb.conf.default create mode 100644 patches/source/samba/smb.conf.default.orig create mode 100644 patches/source/samba/smb.conf.diff diff --git a/ChangeLog.rss b/ChangeLog.rss index e327c555b..4c3465ecf 100644 --- a/ChangeLog.rss +++ b/ChangeLog.rss @@ -11,9 +11,38 @@ Tracking Slackware development in git. en-us urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f - Sat, 30 Apr 2022 21:18:47 GMT - Sun, 1 May 2022 11:29:50 GMT + Mon, 2 May 2022 20:02:49 GMT + Tue, 3 May 2022 11:29:42 GMT maintain_current_git.sh v 1.17 + + Mon, 2 May 2022 20:02:49 GMT + Mon, 2 May 2022 20:02:49 GMT + https://git.slackware.nl/current/tag/?h=20220502200249 + 20220502200249 + + +patches/packages/libxml2-2.9.14-x86_64-1_slack15.0.txz: Upgraded. + This update fixes bugs and the following security issues: + Fix integer overflow in xmlBuf and xmlBuffer. + Fix potential double-free in xmlXPtrStringRangeFunction. + Fix memory leak in xmlFindCharEncodingHandler. + Normalize XPath strings in-place. + Prevent integer-overflow in htmlSkipBlankChars() and xmlSkipBlankChars(). + Fix leak of xmlElementContent. + For more information, see: + https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29824 + (* Security fix *) +patches/packages/mozilla-firefox-91.9.0esr-x86_64-1_slack15.0.txz: Upgraded. + This is a bugfix release. + For more information, see: + https://www.mozilla.org/en-US/firefox/91.9.0/releasenotes/ +patches/packages/samba-4.15.7-x86_64-1_slack15.0.txz: Upgraded. + This is a bugfix release. + For more information, see: + https://www.samba.org/samba/history/samba-4.15.7.html + ]]> + + Sat, 30 Apr 2022 21:18:47 GMT Sat, 30 Apr 2022 21:18:47 GMT diff --git a/ChangeLog.txt b/ChangeLog.txt index cb1cf59f9..29664654c 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,24 @@ +Mon May 2 20:02:49 UTC 2022 +patches/packages/libxml2-2.9.14-x86_64-1_slack15.0.txz: Upgraded. + This update fixes bugs and the following security issues: + Fix integer overflow in xmlBuf and xmlBuffer. + Fix potential double-free in xmlXPtrStringRangeFunction. + Fix memory leak in xmlFindCharEncodingHandler. + Normalize XPath strings in-place. + Prevent integer-overflow in htmlSkipBlankChars() and xmlSkipBlankChars(). + Fix leak of xmlElementContent. + For more information, see: + https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29824 + (* Security fix *) +patches/packages/mozilla-firefox-91.9.0esr-x86_64-1_slack15.0.txz: Upgraded. + This is a bugfix release. + For more information, see: + https://www.mozilla.org/en-US/firefox/91.9.0/releasenotes/ +patches/packages/samba-4.15.7-x86_64-1_slack15.0.txz: Upgraded. + This is a bugfix release. + For more information, see: + https://www.samba.org/samba/history/samba-4.15.7.html ++--------------------------+ Sat Apr 30 21:18:47 UTC 2022 patches/packages/pidgin-2.14.9-x86_64-1_slack15.0.txz: Upgraded. Mitigate the potential for a man in the middle attack via DNS spoofing by diff --git a/FILELIST.TXT b/FILELIST.TXT index b8870bfee..bf352e936 100644 --- a/FILELIST.TXT +++ b/FILELIST.TXT @@ -1,20 +1,20 @@ -Sat Apr 30 21:23:53 UTC 2022 +Mon May 2 20:09:17 UTC 2022 Here is the file list for this directory. If you are using a mirror site and find missing or extra files in the disk subdirectories, please have the archive administrator refresh the mirror. -drwxr-xr-x 12 root root 4096 2022-04-30 21:18 . +drwxr-xr-x 12 root root 4096 2022-05-02 20:02 . -rw-r--r-- 1 root root 5767 2022-02-02 22:44 ./ANNOUNCE.15.0 -rw-r--r-- 1 root root 16609 2022-03-30 19:03 ./CHANGES_AND_HINTS.TXT --rw-r--r-- 1 root root 1135108 2022-04-27 21:49 ./CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2022-04-27 21:49 ./CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 1135856 2022-04-30 21:24 ./CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2022-04-30 21:24 ./CHECKSUMS.md5.asc -rw-r--r-- 1 root root 17976 1994-06-10 02:28 ./COPYING -rw-r--r-- 1 root root 35147 2007-06-30 04:21 ./COPYING3 -rw-r--r-- 1 root root 19573 2016-06-23 20:08 ./COPYRIGHT.TXT -rw-r--r-- 1 root root 616 2006-10-02 04:37 ./CRYPTO_NOTICE.TXT --rw-r--r-- 1 root root 1890149 2022-04-30 21:18 ./ChangeLog.txt +-rw-r--r-- 1 root root 1891129 2022-05-02 20:02 ./ChangeLog.txt drwxr-xr-x 3 root root 4096 2013-03-20 22:17 ./EFI drwxr-xr-x 2 root root 4096 2022-02-02 08:21 ./EFI/BOOT -rw-r--r-- 1 root root 1187840 2021-06-15 19:16 ./EFI/BOOT/bootx64.efi @@ -25,7 +25,7 @@ drwxr-xr-x 2 root root 4096 2022-02-02 08:21 ./EFI/BOOT -rwxr-xr-x 1 root root 2504 2019-07-05 18:54 ./EFI/BOOT/make-grub.sh -rw-r--r-- 1 root root 10722 2013-09-21 19:02 ./EFI/BOOT/osdetect.cfg -rw-r--r-- 1 root root 1273 2013-08-12 21:08 ./EFI/BOOT/tools.cfg --rw-r--r-- 1 root root 1481639 2022-04-27 21:49 ./FILELIST.TXT +-rw-r--r-- 1 root root 1482618 2022-04-30 21:23 ./FILELIST.TXT -rw-r--r-- 1 root root 1572 2012-08-29 18:27 ./GPG-KEY -rw-r--r-- 1 root root 864745 2022-02-02 08:25 ./PACKAGES.TXT -rw-r--r-- 1 root root 8034 2022-02-02 03:36 ./README.TXT @@ -737,13 +737,13 @@ drwxr-xr-x 2 root root 4096 2008-05-07 05:21 ./pasture/source/php/pear -rwxr-xr-x 1 root root 9448 2018-05-16 22:38 ./pasture/source/php/php.SlackBuild -rw-r--r-- 1 root root 775 2017-07-07 19:25 ./pasture/source/php/php.ini-development.diff.gz -rw-r--r-- 1 root root 830 2005-12-09 05:18 ./pasture/source/php/slack-desc -drwxr-xr-x 4 root root 4096 2022-04-30 21:23 ./patches --rw-r--r-- 1 root root 33364 2022-04-30 21:23 ./patches/CHECKSUMS.md5 --rw-r--r-- 1 root root 163 2022-04-30 21:23 ./patches/CHECKSUMS.md5.asc --rw-r--r-- 1 root root 44675 2022-04-30 21:23 ./patches/FILE_LIST --rw-r--r-- 1 root root 11292829 2022-04-30 21:23 ./patches/MANIFEST.bz2 --rw-r--r-- 1 root root 24817 2022-04-30 21:23 ./patches/PACKAGES.TXT -drwxr-xr-x 3 root root 12288 2022-04-30 21:23 ./patches/packages +drwxr-xr-x 4 root root 4096 2022-05-02 20:09 ./patches +-rw-r--r-- 1 root root 34350 2022-05-02 20:09 ./patches/CHECKSUMS.md5 +-rw-r--r-- 1 root root 163 2022-05-02 20:09 ./patches/CHECKSUMS.md5.asc +-rw-r--r-- 1 root root 45965 2022-05-02 20:09 ./patches/FILE_LIST +-rw-r--r-- 1 root root 11369672 2022-05-02 20:09 ./patches/MANIFEST.bz2 +-rw-r--r-- 1 root root 25509 2022-05-02 20:09 ./patches/PACKAGES.TXT +drwxr-xr-x 3 root root 12288 2022-05-02 20:09 ./patches/packages -rw-r--r-- 1 root root 327 2022-02-15 05:07 ./patches/packages/aaa_base-15.0-x86_64-4_slack15.0.txt -rw-r--r-- 1 root root 10716 2022-02-15 05:07 ./patches/packages/aaa_base-15.0-x86_64-4_slack15.0.txz -rw-r--r-- 1 root root 163 2022-02-15 05:07 ./patches/packages/aaa_base-15.0-x86_64-4_slack15.0.txz.asc @@ -792,9 +792,9 @@ drwxr-xr-x 3 root root 12288 2022-04-30 21:23 ./patches/packages -rw-r--r-- 1 root root 402 2022-04-08 18:31 ./patches/packages/libarchive-3.6.1-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 514852 2022-04-08 18:31 ./patches/packages/libarchive-3.6.1-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2022-04-08 18:31 ./patches/packages/libarchive-3.6.1-x86_64-1_slack15.0.txz.asc --rw-r--r-- 1 root root 518 2022-03-01 04:41 ./patches/packages/libxml2-2.9.13-x86_64-1_slack15.0.txt --rw-r--r-- 1 root root 1373572 2022-03-01 04:41 ./patches/packages/libxml2-2.9.13-x86_64-1_slack15.0.txz --rw-r--r-- 1 root root 163 2022-03-01 04:41 ./patches/packages/libxml2-2.9.13-x86_64-1_slack15.0.txz.asc +-rw-r--r-- 1 root root 518 2022-05-02 18:01 ./patches/packages/libxml2-2.9.14-x86_64-1_slack15.0.txt +-rw-r--r-- 1 root root 1374356 2022-05-02 18:01 ./patches/packages/libxml2-2.9.14-x86_64-1_slack15.0.txz +-rw-r--r-- 1 root root 163 2022-05-02 18:01 ./patches/packages/libxml2-2.9.14-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 219 2022-03-01 04:56 ./patches/packages/libxslt-1.1.35-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 375568 2022-03-01 04:56 ./patches/packages/libxslt-1.1.35-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2022-03-01 04:56 ./patches/packages/libxslt-1.1.35-x86_64-1_slack15.0.txz.asc @@ -817,9 +817,9 @@ drwxr-xr-x 2 root root 4096 2022-03-09 04:17 ./patches/packages/linux-5.15 -rw-r--r-- 1 root root 369 2022-02-21 03:37 ./patches/packages/mariadb-10.5.15-x86_64-2_slack15.0.txt -rw-r--r-- 1 root root 29262352 2022-02-21 03:37 ./patches/packages/mariadb-10.5.15-x86_64-2_slack15.0.txz -rw-r--r-- 1 root root 163 2022-02-21 03:37 ./patches/packages/mariadb-10.5.15-x86_64-2_slack15.0.txz.asc --rw-r--r-- 1 root root 570 2022-04-04 20:06 ./patches/packages/mozilla-firefox-91.8.0esr-x86_64-1_slack15.0.txt --rw-r--r-- 1 root root 56491848 2022-04-04 20:06 ./patches/packages/mozilla-firefox-91.8.0esr-x86_64-1_slack15.0.txz --rw-r--r-- 1 root root 163 2022-04-04 20:06 ./patches/packages/mozilla-firefox-91.8.0esr-x86_64-1_slack15.0.txz.asc +-rw-r--r-- 1 root root 570 2022-05-02 17:24 ./patches/packages/mozilla-firefox-91.9.0esr-x86_64-1_slack15.0.txt +-rw-r--r-- 1 root root 56490700 2022-05-02 17:24 ./patches/packages/mozilla-firefox-91.9.0esr-x86_64-1_slack15.0.txz +-rw-r--r-- 1 root root 163 2022-05-02 17:24 ./patches/packages/mozilla-firefox-91.9.0esr-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 663 2022-04-20 19:43 ./patches/packages/mozilla-thunderbird-91.8.1-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 53138836 2022-04-20 19:43 ./patches/packages/mozilla-thunderbird-91.8.1-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2022-04-20 19:43 ./patches/packages/mozilla-thunderbird-91.8.1-x86_64-1_slack15.0.txz.asc @@ -847,6 +847,9 @@ drwxr-xr-x 2 root root 4096 2022-03-09 04:17 ./patches/packages/linux-5.15 -rw-r--r-- 1 root root 385 2022-04-13 18:19 ./patches/packages/ruby-3.0.4-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 7739784 2022-04-13 18:19 ./patches/packages/ruby-3.0.4-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2022-04-13 18:19 ./patches/packages/ruby-3.0.4-x86_64-1_slack15.0.txz.asc +-rw-r--r-- 1 root root 507 2022-05-02 18:14 ./patches/packages/samba-4.15.7-x86_64-1_slack15.0.txt +-rw-r--r-- 1 root root 12955460 2022-05-02 18:14 ./patches/packages/samba-4.15.7-x86_64-1_slack15.0.txz +-rw-r--r-- 1 root root 163 2022-05-02 18:14 ./patches/packages/samba-4.15.7-x86_64-1_slack15.0.txz.asc -rw-r--r-- 1 root root 392 2022-03-25 18:20 ./patches/packages/seamonkey-2.53.11.1-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 38092836 2022-03-25 18:20 ./patches/packages/seamonkey-2.53.11.1-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2022-03-25 18:20 ./patches/packages/seamonkey-2.53.11.1-x86_64-1_slack15.0.txz.asc @@ -868,7 +871,7 @@ drwxr-xr-x 2 root root 4096 2022-03-09 04:17 ./patches/packages/linux-5.15 -rw-r--r-- 1 root root 388 2022-03-28 19:09 ./patches/packages/zlib-1.2.12-x86_64-1_slack15.0.txt -rw-r--r-- 1 root root 105204 2022-03-28 19:09 ./patches/packages/zlib-1.2.12-x86_64-1_slack15.0.txz -rw-r--r-- 1 root root 163 2022-03-28 19:09 ./patches/packages/zlib-1.2.12-x86_64-1_slack15.0.txz.asc -drwxr-xr-x 36 root root 4096 2022-04-30 21:17 ./patches/source +drwxr-xr-x 37 root root 4096 2022-05-02 19:40 ./patches/source drwxr-xr-x 2 root root 4096 2022-01-16 05:07 ./patches/source/aaa_base -rw-r--r-- 1 root root 11041 2022-02-15 04:49 ./patches/source/aaa_base/_aaa_base.tar.gz -rwxr-xr-x 1 root root 3894 2022-02-15 05:07 ./patches/source/aaa_base/aaa_base.SlackBuild @@ -1005,8 +1008,8 @@ drwxr-xr-x 2 root root 4096 2022-04-08 18:24 ./patches/source/libarchive -rwxr-xr-x 1 root root 3676 2022-04-08 18:29 ./patches/source/libarchive/libarchive.SlackBuild -rw-r--r-- 1 root root 41 2019-06-17 02:47 ./patches/source/libarchive/libarchive.url -rw-r--r-- 1 root root 856 2018-02-27 06:12 ./patches/source/libarchive/slack-desc -drwxr-xr-x 2 root root 4096 2022-02-28 19:02 ./patches/source/libxml2 --rw-r--r-- 1 root root 2756892 2022-02-19 18:26 ./patches/source/libxml2/libxml2-2.9.13.tar.xz +drwxr-xr-x 2 root root 4096 2022-05-02 17:57 ./patches/source/libxml2 +-rw-r--r-- 1 root root 3022896 2022-05-02 17:59 ./patches/source/libxml2/libxml2-2.9.14.tar.xz -rwxr-xr-x 1 root root 4926 2022-03-01 01:04 ./patches/source/libxml2/libxml2.SlackBuild -rw-r--r-- 1 root root 495 2013-04-19 07:57 ./patches/source/libxml2/libxml2.do-not-check-crc.diff.gz -rw-r--r-- 1 root root 620 2021-07-22 15:29 ./patches/source/libxml2/libxml2.python3-unicode-errors.patch.gz @@ -1025,7 +1028,7 @@ drwxr-xr-x 2 root root 4096 2022-02-13 23:42 ./patches/source/mariadb -rw-r--r-- 1 root root 34 2015-05-07 18:51 ./patches/source/mariadb/mirror.url -rw-r--r-- 1 root root 1208 2021-04-23 17:54 ./patches/source/mariadb/rc.mysqld.gz -rw-r--r-- 1 root root 824 2018-02-27 06:12 ./patches/source/mariadb/slack-desc -drwxr-xr-x 3 root root 4096 2022-04-04 19:20 ./patches/source/mozilla-firefox +drwxr-xr-x 3 root root 4096 2022-05-02 16:29 ./patches/source/mozilla-firefox -rw-r--r-- 1 root root 693 2021-03-22 17:58 ./patches/source/mozilla-firefox/0027-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch.gz drwxr-xr-x 5 root root 4096 2021-08-13 18:36 ./patches/source/mozilla-firefox/build-deps -rwxr-xr-x 1 root root 1919 2019-07-09 19:35 ./patches/source/mozilla-firefox/build-deps.sh @@ -1043,8 +1046,8 @@ drwxr-xr-x 2 root root 4096 2021-10-12 20:15 ./patches/source/mozilla-fire -rw-r--r-- 1 root root 86 2019-07-08 21:02 ./patches/source/mozilla-firefox/build-deps/nodejs/nodejs.url -rwxr-xr-x 1 root root 840 2018-03-13 12:55 ./patches/source/mozilla-firefox/fetch-and-repack.sh -rw-r--r-- 1 root root 330 2019-07-08 18:41 ./patches/source/mozilla-firefox/ff.ui.scrollToClick.diff.gz --rw-r--r-- 1 root root 380325092 2022-04-04 13:29 ./patches/source/mozilla-firefox/firefox-91.8.0esr.source.tar.xz --rw-r--r-- 1 root root 833 2022-04-04 13:30 ./patches/source/mozilla-firefox/firefox-91.8.0esr.source.tar.xz.asc +-rw-r--r-- 1 root root 384516460 2022-05-02 14:00 ./patches/source/mozilla-firefox/firefox-91.9.0esr.source.tar.xz +-rw-r--r-- 1 root root 833 2022-05-02 14:00 ./patches/source/mozilla-firefox/firefox-91.9.0esr.source.tar.xz.asc -rw-r--r-- 1 root root 327 2008-06-17 17:19 ./patches/source/mozilla-firefox/firefox.moz_plugin_path.diff.gz -rw-r--r-- 1 root root 518 2021-03-15 17:43 ./patches/source/mozilla-firefox/gkrust.a.no.networking.check.diff.gz -rw-r--r-- 1 root root 462 2009-07-01 06:05 ./patches/source/mozilla-firefox/mimeTypes.rdf.gz @@ -1147,6 +1150,18 @@ drwxr-xr-x 2 root root 4096 2022-04-13 18:15 ./patches/source/ruby -rw-r--r-- 1 root root 15494036 2022-04-12 12:30 ./patches/source/ruby/ruby-3.0.4.tar.lz -rwxr-xr-x 1 root root 4817 2022-04-13 18:14 ./patches/source/ruby/ruby.SlackBuild -rw-r--r-- 1 root root 837 2019-03-13 16:43 ./patches/source/ruby/slack-desc +drwxr-xr-x 2 root root 4096 2022-05-02 18:05 ./patches/source/samba +-rw-r--r-- 1 root root 703 2016-06-13 04:19 ./patches/source/samba/doinst.sh.gz +-rw-r--r-- 1 root root 940 2016-06-04 17:50 ./patches/source/samba/rc.samba +-rw-r--r-- 1 root root 833 2022-04-26 14:37 ./patches/source/samba/samba-4.15.7.tar.asc +-rw-r--r-- 1 root root 11886089 2022-04-26 14:37 ./patches/source/samba/samba-4.15.7.tar.lz +-rwxr-xr-x 1 root root 7654 2022-05-02 18:04 ./patches/source/samba/samba.SlackBuild +-rw-r--r-- 1 root root 227 2019-02-06 20:36 ./patches/source/samba/samba.libsmbclient.h.ffmpeg.compat.diff.gz +-rw-r--r-- 1 root root 129 2022-05-02 18:04 ./patches/source/samba/samba.url +-rw-r--r-- 1 root root 960 2018-02-27 06:13 ./patches/source/samba/slack-desc +-rw-r--r-- 1 root root 7921 2018-04-29 17:31 ./patches/source/samba/smb.conf.default +-rw-r--r-- 1 root root 7933 2018-01-14 20:41 ./patches/source/samba/smb.conf.default.orig +-rw-r--r-- 1 root root 536 2017-03-23 19:18 ./patches/source/samba/smb.conf.diff.gz drwxr-xr-x 3 root root 4096 2022-03-25 17:54 ./patches/source/seamonkey drwxr-xr-x 2 root root 4096 2016-07-03 18:05 ./patches/source/seamonkey/autoconf -rw-r--r-- 1 root root 5869 2016-07-03 18:04 ./patches/source/seamonkey/autoconf/autoconf-2.13-consolidated_fixes-1.patch.gz @@ -2729,19 +2744,19 @@ drwxr-xr-x 2 root root 69632 2022-02-01 08:29 ./slackware64/kde -rw-r--r-- 1 root root 556 2022-01-06 22:13 ./slackware64/kde/kolourpaint-21.12.1-x86_64-1.txt -rw-r--r-- 1 root root 5856680 2022-01-06 22:13 ./slackware64/kde/kolourpaint-21.12.1-x86_64-1.txz -rw-r--r-- 1 root root 163 2022-01-06 22:13 ./slackware64/kde/kolourpaint-21.12.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 178 2022-01-06 22:08 ./slackware64/kde/kompare-21.12.1-x86_64-1.txt --rw-r--r-- 1 root root 877888 2022-01-06 22:08 ./slackware64/kde/kompare-21.12.1-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-06 22:08 ./slackware64/kde/kompare-21.12.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 420 2022-01-06 22:01 ./slackware64/kde/konqueror-21.12.1-x86_64-1.txt --rw-r--r-- 1 root root 7879828 2022-01-06 22:01 ./slackware64/kde/konqueror-21.12.1-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-06 22:01 ./slackware64/kde/konqueror-21.12.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 309 2022-01-06 22:31 ./slackware64/kde/konquest-21.12.1-x86_64-1.txt --rw-r--r-- 1 root root 972748 2022-01-06 22:31 ./slackware64/kde/konquest-21.12.1-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-06 22:31 ./slackware64/kde/konquest-21.12.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 225 2022-01-06 21:59 ./slackware64/kde/konsole-21.12.1-x86_64-1.txt --rw-r--r-- 1 root root 1407388 2022-01-06 21:59 ./slackware64/kde/konsole-21.12.1-x86_64-1.txz --rw-r--r-- 1 root root 163 2022-01-06 21:59 ./slackware64/kde/konsole-21.12.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 176 2022-01-06 21:54 ./slackware64/kde/kontact-21.12.1-x86_64-1.txt +-rw-r--r-- 1 root root 178 2022-01-06 22:08 ./slackware64/kde/kompare-21.12.1-x86_64-1.txt +-rw-r--r-- 1 root root 877888 2022-01-06 22:08 ./slackware64/kde/kompare-21.12.1-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-06 22:08 ./slackware64/kde/kompare-21.12.1-x86_64-1.txz.asc +-rw-r--r-- 1 root root 420 2022-01-06 22:01 ./slackware64/kde/konqueror-21.12.1-x86_64-1.txt +-rw-r--r-- 1 root root 7879828 2022-01-06 22:01 ./slackware64/kde/konqueror-21.12.1-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-06 22:01 ./slackware64/kde/konqueror-21.12.1-x86_64-1.txz.asc +-rw-r--r-- 1 root root 309 2022-01-06 22:31 ./slackware64/kde/konquest-21.12.1-x86_64-1.txt +-rw-r--r-- 1 root root 972748 2022-01-06 22:31 ./slackware64/kde/konquest-21.12.1-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-06 22:31 ./slackware64/kde/konquest-21.12.1-x86_64-1.txz.asc +-rw-r--r-- 1 root root 225 2022-01-06 21:59 ./slackware64/kde/konsole-21.12.1-x86_64-1.txt +-rw-r--r-- 1 root root 1407388 2022-01-06 21:59 ./slackware64/kde/konsole-21.12.1-x86_64-1.txz +-rw-r--r-- 1 root root 163 2022-01-06 21:59 ./slackware64/kde/konsole-21.12.1-x86_64-1.txz.asc +-rw-r--r-- 1 root root 176 2022-01-06 21:54 ./slackware64/kde/kontact-21.12.1-x86_64-1.txt -rw-r--r-- 1 root root 821848 2022-01-06 21:54 ./slackware64/kde/kontact-21.12.1-x86_64-1.txz -rw-r--r-- 1 root root 163 2022-01-06 21:54 ./slackware64/kde/kontact-21.12.1-x86_64-1.txz.asc -rw-r--r-- 1 root root 325 2022-01-06 21:39 ./slackware64/kde/kontactinterface-21.12.1-x86_64-1.txt @@ -5489,20 +5504,20 @@ drwxr-xr-x 2 root root 65536 2022-02-01 04:47 ./slackware64/x -rw-r--r-- 1 root root 638 2022-01-04 21:44 ./slackware64/x/xdg-desktop-portal-1.12.1-x86_64-1.txt -rw-r--r-- 1 root root 287160 2022-01-04 21:44 ./slackware64/x/xdg-desktop-portal-1.12.1-x86_64-1.txz -rw-r--r-- 1 root root 163 2022-01-04 21:44 ./slackware64/x/xdg-desktop-portal-1.12.1-x86_64-1.txz.asc --rw-r--r-- 1 root root 475 2021-02-13 13:04 ./slackware64/x/xdg-user-dirs-0.17-x86_64-3.txt --rw-r--r-- 1 root root 45932 2021-02-13 13:04 ./slackware64/x/xdg-user-dirs-0.17-x86_64-3.txz --rw-r--r-- 1 root root 163 2021-02-13 13:04 ./slackware64/x/xdg-user-dirs-0.17-x86_64-3.txz.asc --rw-r--r-- 1 root root 548 2021-02-13 13:04 ./slackware64/x/xdg-utils-1.1.3-noarch-4.txt --rw-r--r-- 1 root root 63720 2021-02-13 13:04 ./slackware64/x/xdg-utils-1.1.3-noarch-4.txz --rw-r--r-- 1 root root 163 2021-02-13 13:04 ./slackware64/x/xdg-utils-1.1.3-noarch-4.txz.asc --rw-r--r-- 1 root root 338 2021-02-13 13:12 ./slackware64/x/xditview-1.0.5-x86_64-3.txt --rw-r--r-- 1 root root 35284 2021-02-13 13:12 ./slackware64/x/xditview-1.0.5-x86_64-3.txz --rw-r--r-- 1 root root 163 2021-02-13 13:12 ./slackware64/x/xditview-1.0.5-x86_64-3.txz.asc --rw-r--r-- 1 root root 253 2021-02-13 13:12 ./slackware64/x/xdm-1.1.11-x86_64-14.txt --rw-r--r-- 1 root root 117436 2021-02-13 13:12 ./slackware64/x/xdm-1.1.11-x86_64-14.txz --rw-r--r-- 1 root root 163 2021-02-13 13:12 ./slackware64/x/xdm-1.1.11-x86_64-14.txz.asc --rw-r--r-- 1 root root 351 2021-02-13 13:12 ./slackware64/x/xdpyinfo-1.3.2-x86_64-4.txt --rw-r--r-- 1 root root 31780 2021-02-13 13:12 ./slackware64/x/xdpyinfo-1.3.2-x86_64-4.txz +-rw-r--r-- 1 root root 475 2021-02-13 13:04 ./slackware64/x/xdg-user-dirs-0.17-x86_64-3.txt +-rw-r--r-- 1 root root 45932 2021-02-13 13:04 ./slackware64/x/xdg-user-dirs-0.17-x86_64-3.txz +-rw-r--r-- 1 root root 163 2021-02-13 13:04 ./slackware64/x/xdg-user-dirs-0.17-x86_64-3.txz.asc +-rw-r--r-- 1 root root 548 2021-02-13 13:04 ./slackware64/x/xdg-utils-1.1.3-noarch-4.txt +-rw-r--r-- 1 root root 63720 2021-02-13 13:04 ./slackware64/x/xdg-utils-1.1.3-noarch-4.txz +-rw-r--r-- 1 root root 163 2021-02-13 13:04 ./slackware64/x/xdg-utils-1.1.3-noarch-4.txz.asc +-rw-r--r-- 1 root root 338 2021-02-13 13:12 ./slackware64/x/xditview-1.0.5-x86_64-3.txt +-rw-r--r-- 1 root root 35284 2021-02-13 13:12 ./slackware64/x/xditview-1.0.5-x86_64-3.txz +-rw-r--r-- 1 root root 163 2021-02-13 13:12 ./slackware64/x/xditview-1.0.5-x86_64-3.txz.asc +-rw-r--r-- 1 root root 253 2021-02-13 13:12 ./slackware64/x/xdm-1.1.11-x86_64-14.txt +-rw-r--r-- 1 root root 117436 2021-02-13 13:12 ./slackware64/x/xdm-1.1.11-x86_64-14.txz +-rw-r--r-- 1 root root 163 2021-02-13 13:12 ./slackware64/x/xdm-1.1.11-x86_64-14.txz.asc +-rw-r--r-- 1 root root 351 2021-02-13 13:12 ./slackware64/x/xdpyinfo-1.3.2-x86_64-4.txt +-rw-r--r-- 1 root root 31780 2021-02-13 13:12 ./slackware64/x/xdpyinfo-1.3.2-x86_64-4.txz -rw-r--r-- 1 root root 163 2021-02-13 13:12 ./slackware64/x/xdpyinfo-1.3.2-x86_64-4.txz.asc -rw-r--r-- 1 root root 349 2021-02-13 13:12 ./slackware64/x/xdriinfo-1.0.6-x86_64-4.txt -rw-r--r-- 1 root root 15224 2021-02-13 13:12 ./slackware64/x/xdriinfo-1.0.6-x86_64-4.txz @@ -15140,24 +15155,24 @@ drwxr-xr-x 2 root root 4096 2022-01-10 18:25 ./source/xap/gnuplot drwxr-xr-x 2 root root 4096 2021-07-20 18:44 ./source/xap/gparted -rw-r--r-- 1 root root 121 2016-02-03 19:48 ./source/xap/gparted/doinst.sh.gz -rw-r--r-- 1 root root 2385590 2021-07-19 16:56 ./source/xap/gparted/gparted-1.3.1.tar.lz --rwxr-xr-x 1 root root 4124 2021-05-03 18:18 ./source/xap/gparted/gparted.SlackBuild --rw-r--r-- 1 root root 864 2018-02-27 06:13 ./source/xap/gparted/slack-desc -drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xap/gucharmap --rw-r--r-- 1 root root 172 2013-01-18 06:36 ./source/xap/gucharmap/doinst.sh.gz --rw-r--r-- 1 root root 1678524 2019-03-12 18:49 ./source/xap/gucharmap/gucharmap-12.0.1.tar.xz --rwxr-xr-x 1 root root 3844 2021-02-13 05:32 ./source/xap/gucharmap/gucharmap.SlackBuild --rw-r--r-- 1 root root 666 2018-02-27 06:13 ./source/xap/gucharmap/slack-desc -drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xap/gv --rw-r--r-- 1 root root 513284 2013-03-17 11:36 ./source/xap/gv/gv-3.7.4.tar.xz --rw-r--r-- 1 root root 10157 2017-08-03 08:53 ./source/xap/gv/gv-aarch64.patch.gz --rw-r--r-- 1 root root 265 2019-12-05 18:33 ./source/xap/gv/gv-bounding-box.patch.gz --rw-r--r-- 1 root root 386 2017-08-03 08:53 ./source/xap/gv/gv-bug1071238.patch.gz --rw-r--r-- 1 root root 510 2019-11-19 01:48 ./source/xap/gv/gv-bz1536211.patch.gz --rw-r--r-- 1 root root 269 2017-08-03 08:53 ./source/xap/gv/gv-dat.patch.gz --rw-r--r-- 1 root root 423 2017-08-03 08:53 ./source/xap/gv/gv-resource.patch.gz --rwxr-xr-x 1 root root 4755 2021-02-13 05:32 ./source/xap/gv/gv.SlackBuild --rw-r--r-- 1 root root 819 2018-02-27 06:13 ./source/xap/gv/slack-desc -drwxr-xr-x 2 root root 4096 2021-11-02 19:02 ./source/xap/hexchat +-rwxr-xr-x 1 root root 4124 2021-05-03 18:18 ./source/xap/gparted/gparted.SlackBuild +-rw-r--r-- 1 root root 864 2018-02-27 06:13 ./source/xap/gparted/slack-desc +drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xap/gucharmap +-rw-r--r-- 1 root root 172 2013-01-18 06:36 ./source/xap/gucharmap/doinst.sh.gz +-rw-r--r-- 1 root root 1678524 2019-03-12 18:49 ./source/xap/gucharmap/gucharmap-12.0.1.tar.xz +-rwxr-xr-x 1 root root 3844 2021-02-13 05:32 ./source/xap/gucharmap/gucharmap.SlackBuild +-rw-r--r-- 1 root root 666 2018-02-27 06:13 ./source/xap/gucharmap/slack-desc +drwxr-xr-x 2 root root 4096 2021-02-13 05:32 ./source/xap/gv +-rw-r--r-- 1 root root 513284 2013-03-17 11:36 ./source/xap/gv/gv-3.7.4.tar.xz +-rw-r--r-- 1 root root 10157 2017-08-03 08:53 ./source/xap/gv/gv-aarch64.patch.gz +-rw-r--r-- 1 root root 265 2019-12-05 18:33 ./source/xap/gv/gv-bounding-box.patch.gz +-rw-r--r-- 1 root root 386 2017-08-03 08:53 ./source/xap/gv/gv-bug1071238.patch.gz +-rw-r--r-- 1 root root 510 2019-11-19 01:48 ./source/xap/gv/gv-bz1536211.patch.gz +-rw-r--r-- 1 root root 269 2017-08-03 08:53 ./source/xap/gv/gv-dat.patch.gz +-rw-r--r-- 1 root root 423 2017-08-03 08:53 ./source/xap/gv/gv-resource.patch.gz +-rwxr-xr-x 1 root root 4755 2021-02-13 05:32 ./source/xap/gv/gv.SlackBuild +-rw-r--r-- 1 root root 819 2018-02-27 06:13 ./source/xap/gv/slack-desc +drwxr-xr-x 2 root root 4096 2021-11-02 19:02 ./source/xap/hexchat -rw-r--r-- 1 root root 172 2014-06-01 17:08 ./source/xap/hexchat/doinst.sh.gz -rw-r--r-- 1 root root 1348320 2021-10-01 20:09 ./source/xap/hexchat/hexchat-2.16.0.tar.xz -rwxr-xr-x 1 root root 3779 2021-11-02 19:02 ./source/xap/hexchat/hexchat.SlackBuild diff --git a/patches/packages/libxml2-2.9.13-x86_64-1_slack15.0.txt b/patches/packages/libxml2-2.9.13-x86_64-1_slack15.0.txt deleted file mode 100644 index 2bea28102..000000000 --- a/patches/packages/libxml2-2.9.13-x86_64-1_slack15.0.txt +++ /dev/null @@ -1,11 +0,0 @@ -libxml2: libxml2 (XML parser library) -libxml2: -libxml2: Libxml2 is the XML C parser library and toolkit. XML itself is a -libxml2: metalanguage to design markup languages - i.e. a text language where -libxml2: structures are added to the content using extra "markup" information -libxml2: enclosed between angle brackets. HTML is the most well-known markup -libxml2: language. Though the library is written in C, a variety of language -libxml2: bindings make it available in other environments. -libxml2: -libxml2: -libxml2: diff --git a/patches/packages/libxml2-2.9.14-x86_64-1_slack15.0.txt b/patches/packages/libxml2-2.9.14-x86_64-1_slack15.0.txt new file mode 100644 index 000000000..2bea28102 --- /dev/null +++ b/patches/packages/libxml2-2.9.14-x86_64-1_slack15.0.txt @@ -0,0 +1,11 @@ +libxml2: libxml2 (XML parser library) +libxml2: +libxml2: Libxml2 is the XML C parser library and toolkit. XML itself is a +libxml2: metalanguage to design markup languages - i.e. a text language where +libxml2: structures are added to the content using extra "markup" information +libxml2: enclosed between angle brackets. HTML is the most well-known markup +libxml2: language. Though the library is written in C, a variety of language +libxml2: bindings make it available in other environments. +libxml2: +libxml2: +libxml2: diff --git a/patches/packages/mozilla-firefox-91.8.0esr-x86_64-1_slack15.0.txt b/patches/packages/mozilla-firefox-91.8.0esr-x86_64-1_slack15.0.txt deleted file mode 100644 index 9d8594319..000000000 --- a/patches/packages/mozilla-firefox-91.8.0esr-x86_64-1_slack15.0.txt +++ /dev/null @@ -1,11 +0,0 @@ -mozilla-firefox: mozilla-firefox (Mozilla Firefox Web browser) -mozilla-firefox: -mozilla-firefox: Firefox is a free and open-source web browser developed by the Mozilla -mozilla-firefox: Foundation and its subsidiary, the Mozilla Corporation. It has lots of -mozilla-firefox: great features including popup blocking, tabbed browsing, integrated -mozilla-firefox: search, improved privacy features (such as enhanced tracking -mozilla-firefox: protection), and more. -mozilla-firefox: -mozilla-firefox: Homepage: https://www.mozilla.org/firefox -mozilla-firefox: -mozilla-firefox: diff --git a/patches/packages/mozilla-firefox-91.9.0esr-x86_64-1_slack15.0.txt b/patches/packages/mozilla-firefox-91.9.0esr-x86_64-1_slack15.0.txt new file mode 100644 index 000000000..9d8594319 --- /dev/null +++ b/patches/packages/mozilla-firefox-91.9.0esr-x86_64-1_slack15.0.txt @@ -0,0 +1,11 @@ +mozilla-firefox: mozilla-firefox (Mozilla Firefox Web browser) +mozilla-firefox: +mozilla-firefox: Firefox is a free and open-source web browser developed by the Mozilla +mozilla-firefox: Foundation and its subsidiary, the Mozilla Corporation. It has lots of +mozilla-firefox: great features including popup blocking, tabbed browsing, integrated +mozilla-firefox: search, improved privacy features (such as enhanced tracking +mozilla-firefox: protection), and more. +mozilla-firefox: +mozilla-firefox: Homepage: https://www.mozilla.org/firefox +mozilla-firefox: +mozilla-firefox: diff --git a/patches/packages/samba-4.15.7-x86_64-1_slack15.0.txt b/patches/packages/samba-4.15.7-x86_64-1_slack15.0.txt new file mode 100644 index 000000000..e1800f156 --- /dev/null +++ b/patches/packages/samba-4.15.7-x86_64-1_slack15.0.txt @@ -0,0 +1,11 @@ +samba: samba (CIFS file and print server) +samba: +samba: Samba is a CIFS file and print server for CIFS clients. It allows +samba: you to make file space or printers on a Samba host available to CIFS +samba: clients (such as PCs running Windows). +samba: +samba: If you have any Windows file servers, you may be able to replace them +samba: or supplement them with Samba. One of Samba's big strengths is +samba: integration, so you can use it to tie together your Linux hosts and +samba: Windows PC clients. +samba: diff --git a/patches/source/samba/doinst.sh b/patches/source/samba/doinst.sh new file mode 100644 index 000000000..ff09d3161 --- /dev/null +++ b/patches/source/samba/doinst.sh @@ -0,0 +1,42 @@ +#!/bin/sh +config() { + NEW="$1" + OLD="`dirname $NEW`/`basename $NEW .new`" + # If there's no config file by that name, mv it over: + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy + rm $NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} +preserve_perms() { + NEW="$1" + OLD="$(dirname ${NEW})/$(basename ${NEW} .new)" + if [ -e ${OLD} ]; then + cp -a ${OLD} ${NEW}.incoming + cat ${NEW} > ${NEW}.incoming + mv ${NEW}.incoming ${NEW} + fi + config ${NEW} +} + +config etc/samba/lmhosts.new +preserve_perms etc/rc.d/rc.samba.new + +# Commented out 2014-09-15 just in case we do need to change this. +## This won't be needed. The point here is to preserve the permissions of the existing +## file, if there is one. I don't see major new development happening in rc.samba... ;-) +#rm -f etc/rc.d/rc.samba.new + +# Since /etc/samba/private/ has moved to /var/lib/samba/private, migrate any +# important files if possible: +if [ -d etc/samba/private -a -d var/lib/samba/private ]; then + for file in etc/samba/private/* ; do + if [ -r "$file" -a ! -r "var/lib/samba/private/$(basename $file)" ]; then + mv "$file" var/lib/samba/private + fi + done + # Might as well try to eliminate this directory, since it should be empty: + rmdir etc/samba/private 1> /dev/null 2> /dev/null +fi diff --git a/patches/source/samba/rc.samba b/patches/source/samba/rc.samba new file mode 100644 index 000000000..5b98b879c --- /dev/null +++ b/patches/source/samba/rc.samba @@ -0,0 +1,48 @@ +#!/bin/sh +# +# /etc/rc.d/rc.samba +# +# Start/stop/restart the Samba SMB file/print server. +# +# To make Samba start automatically at boot, make this +# file executable: chmod 755 /etc/rc.d/rc.samba +# + +samba_start() { + if [ -x /usr/sbin/smbd -a -x /usr/sbin/nmbd -a -r /etc/samba/smb.conf ]; then + mkdir -p /var/run/samba + echo "Starting Samba: /usr/sbin/smbd -D" + /usr/sbin/smbd -D + echo " /usr/sbin/nmbd -D" + /usr/sbin/nmbd -D + elif [ ! -r /etc/samba/smb.conf ]; then + echo "ERROR: cannot start Samba since /etc/samba/smb.conf does not exist" + fi +} + +samba_stop() { + killall smbd nmbd +} + +samba_restart() { + samba_stop + sleep 2 + samba_start +} + +case "$1" in +'start') + samba_start + ;; +'stop') + samba_stop + ;; +'restart') + samba_restart + ;; +*) + # Default is "start", for backwards compatibility with previous + # Slackware versions. This may change to a 'usage' error someday. + samba_start +esac + diff --git a/patches/source/samba/samba.SlackBuild b/patches/source/samba/samba.SlackBuild new file mode 100755 index 000000000..f5085c02b --- /dev/null +++ b/patches/source/samba/samba.SlackBuild @@ -0,0 +1,243 @@ +#!/bin/bash + +# Copyright 2008, 2009, 2010, 2012, 2013, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Modified 2012 by Eric Hameleers for ARM port. + +cd $(dirname $0) ; CWD=$(pwd) + +PKGNAM=samba +VERSION=${VERSION:-$(echo samba-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1_slack15.0} + +if [ -e $CWD/machine.conf ]; then + . $CWD/machine.conf ] +elif [ -e /etc/slackbuild/machine.conf ]; then + . /etc/slackbuild/machine.conf ] +else + # Automatically determine the architecture we're building on: + if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i586 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$( uname -m ) ;; + esac + fi + # Set CFLAGS/CXXFLAGS and LIBDIRSUFFIX: + if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" + elif [ "$ARCH" = "s390" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" + elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" + else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" + fi +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" + exit 0 +fi + +case "$ARCH" in + arm*) TARGET=$ARCH-slackware-linux-gnueabi ;; + *) TARGET=$ARCH-slackware-linux ;; +esac + +NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} + +TMP=${TMP:-/tmp} +PKG=$TMP/package-samba +rm -rf $PKG +mkdir -p $TMP $PKG + +cd $TMP +rm -rf samba-$VERSION +tar xvf $CWD/samba-$VERSION.tar.?z || exit 1 +cd samba-$VERSION || exit 1 + +# Add time.h to libsmbclient.h for ffmpeg compatibility: +zcat $CWD/samba.libsmbclient.h.ffmpeg.compat.diff.gz | patch -p1 --verbose || exit 1 + +if [ ! -d source3/lib/cmdline ]; then + ( cd source3/lib + mkdir cmdline + cd cmdline + ln -sf ../../../source3/include/popt_common.h . ) +fi + +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \+ -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \+ + +# Choose correct options depending on whether PAM is installed: +if [ -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then + PAM_OPTIONS="--with-pam --with-pammodulesdir=/lib${LIBDIRSUFFIX}/security --with-system-mitkrb5 --with-experimental-mit-ad-dc" + unset SHADOW_OPTIONS +else + unset PAM_OPTIONS + SHADOW_OPTIONS="--without-pam" +fi + +# Some of these options could be auto-detected, but declaring them +# here doesn't hurt and helps document what features we're trying to +# build in. +# +# LDFLAGS are needed to avoid problems with missing symbols. +LDFLAGS="-Wl,--no-as-needed" \ +CFLAGS="$SLKCFLAGS" \ +./configure \ + --enable-fhs \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --includedir=/usr/include \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --mandir=/usr/man \ + --sysconfdir=/etc \ + --with-configdir=/etc/samba \ + --with-piddir=/var/run \ + --with-privatedir=/var/lib/samba/private \ + --with-privatelibdir=/usr/lib${LIBDIRSUFFIX} \ + --with-modulesdir=/usr/lib${LIBDIRSUFFIX} \ + --with-lockdir=/var/cache/samba \ + --with-logfilebase=/var/log/samba \ + --localstatedir=/var \ + --enable-cups \ + --with-acl-support \ + --with-automount \ + --with-quotas \ + --with-syslog \ + --with-utmp \ + --with-winbind \ + --with-ldap \ + --with-ads \ + --without-fam \ + $PAM_OPTIONS \ + $SHADOW_OPTIONS \ + --build=$TARGET || exit 1 + # Gives errors: + #--builtin-libraries=replace,ccan \ + #--bundled-libraries=heimdal \ + +# Build with waf directly so that multiple jobs work. +# Script lifted from "./configure". +PREVPATH=`dirname $0` +WAF=./buildtools/bin/waf +# using JOBS=1 gives maximum compatibility with +# systems like AIX which have broken threading in python +JOBS=$(echo $NUMJOBS | tr -dc '0-9') +export JOBS +# Make sure we don't have any library preloaded. +unset LD_PRELOAD +cd . || exit 1 +${PYTHON:=python3} $WAF build "$@" || exit 1 +cd $PREVPATH + +mkdir -p \ + $PKG/usr/doc/samba-$VERSION \ + $PKG/var/spool/samba \ + $PKG/var/log/samba \ + $PKG/var/lib/samba/private \ + $PKG/var/cache/samba +chmod 700 $PKG/var/lib/samba/private +chmod 1777 $PKG/var/spool/samba + +# Again, use waf directly to allow multithreading: +#make install DESTDIR=$PKG || exit 1 +DESTDIR=$PKG +export DESTDIR +${PYTHON:=python3} $WAF install "$@" || exit 1 + +# Install the smbprint script: +install -m0744 packaging/printing/smbprint $PKG/usr/bin/smbprint + +# Add a sample config file: +cat $CWD/smb.conf.default > $PKG/etc/samba/smb.conf-sample + +# Setup a default lmhosts file: +echo "127.0.0.1 localhost" > $PKG/etc/samba/lmhosts.new + +if [ ! -r $PKG/usr/bin/smbget ]; then + rm -f $PKG/usr/share/man/man1/smbget.1 +fi + +# We'll add rc.samba to the init directory, but chmod 644 so that it doesn't +# start by default: +mkdir -p $PKG/etc/rc.d +cat $CWD/rc.samba > $PKG/etc/rc.d/rc.samba.new +chmod 644 $PKG/etc/rc.d/rc.samba.new + +mv $PKG/usr/share/man $PKG/usr +gzip -9 $PKG/usr/man/man?/*.? + +find $PKG | xargs file | grep -e "executable" -e "shared object" \ + | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + +# PAM related stuff we don't use: +rm -r $PKG/usr/share/locale +rm -f $PKG/usr/man/man8/pam* + +cp -a \ + COPYING* MAINTAINERS Manifest PFIF.txt README* \ + Read-Manifest-Now Roadmap WHATSNEW.txt docs examples \ + $PKG/usr/doc/samba-$VERSION +# These are installed elsewhere: +rm -rf $PKG/usr/doc/samba-$VERSION/docs/htmldocs \ + $PKG/usr/doc/samba-$VERSION/docs/manpages +# Empty now? +rmdir $PKG/usr/doc/samba-$VERSION/docs 2> /dev/null +# I'm sorry, but when all this info is included in HTML, adding 7MB worth of +# PDF files just to have extra artwork is more fluff than I'll agree to. +rm -f $PKG/usr/doc/samba-$VERSION/docs/*.pdf +# Also redundant also: +rm -rf $PKG/usr/doc/samba-$VERSION/docs/docbook + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh + +cat << EOF + +*** Be sure the package contains: + +drwxr-xr-x 2 root root 4096 May 3 15:46 /var/cache/samba/ +drwx------ 2 root root 1024 Mar 12 13:21 /var/lib/samba/private +drwxr-xr-x 2 root root 48 Aug 29 13:06 /var/log/samba/ +drwxrwxrwt 2 root root 1024 Mar 12 13:21 /var/spool/samba/ + +EOF + +cd $PKG +/sbin/makepkg -l y -c n $TMP/samba-$VERSION-$ARCH-$BUILD.txz + diff --git a/patches/source/samba/samba.libsmbclient.h.ffmpeg.compat.diff b/patches/source/samba/samba.libsmbclient.h.ffmpeg.compat.diff new file mode 100644 index 000000000..11a4411f8 --- /dev/null +++ b/patches/source/samba/samba.libsmbclient.h.ffmpeg.compat.diff @@ -0,0 +1,10 @@ +--- ./source3/include/libsmbclient.h.orig 2018-07-12 03:23:36.000000000 -0500 ++++ ./source3/include/libsmbclient.h 2019-02-06 14:36:16.499779599 -0600 +@@ -79,6 +79,7 @@ + #include + #include + #include ++#include + + #define SMBC_BASE_FD 10000 /* smallest file descriptor returned */ + diff --git a/patches/source/samba/samba.url b/patches/source/samba/samba.url new file mode 100644 index 000000000..a49895f3d --- /dev/null +++ b/patches/source/samba/samba.url @@ -0,0 +1,2 @@ +https://download.samba.org/pub/samba/stable/samba-4.15.7.tar.gz +https://download.samba.org/pub/samba/stable/samba-4.15.7.tar.asc diff --git a/patches/source/samba/slack-desc b/patches/source/samba/slack-desc new file mode 100644 index 000000000..5080fd6cb --- /dev/null +++ b/patches/source/samba/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +samba: samba (CIFS file and print server) +samba: +samba: Samba is a CIFS file and print server for CIFS clients. It allows +samba: you to make file space or printers on a Samba host available to CIFS +samba: clients (such as PCs running Windows). +samba: +samba: If you have any Windows file servers, you may be able to replace them +samba: or supplement them with Samba. One of Samba's big strengths is +samba: integration, so you can use it to tie together your Linux hosts and +samba: Windows PC clients. +samba: diff --git a/patches/source/samba/smb.conf.default b/patches/source/samba/smb.conf.default new file mode 100644 index 000000000..45d6f10f5 --- /dev/null +++ b/patches/source/samba/smb.conf.default @@ -0,0 +1,223 @@ +# This is the main Samba configuration file. You should read the +# smb.conf(5) manual page in order to understand the options listed +# here. Samba has a huge number of configurable options (perhaps too +# many!) most of which are not shown in this example +# +# For a step to step guide on installing, configuring and using samba, +# read the Samba-HOWTO-Collection. This may be obtained from: +# http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf +# +# Many working examples of smb.conf files can be found in the +# Samba-Guide which is generated daily and can be downloaded from: +# http://www.samba.org/samba/docs/Samba-Guide.pdf +# +# Any line which starts with a ; (semi-colon) or a # (hash) +# is a comment and is ignored. In this example we will use a # +# for commentry and a ; for parts of the config file that you +# may wish to enable +# +# NOTE: Whenever you modify this file you should run the command "testparm" +# to check that you have not made any basic syntactic errors. +# +#======================= Global Settings ===================================== +[global] + +# workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2 + workgroup = MYGROUP + +# server string is the equivalent of the NT Description field + server string = Samba Server + +# Server role. Defines in which mode Samba will operate. Possible +# values are "standalone server", "member server", "classic primary +# domain controller", "classic backup domain controller", "active +# directory domain controller". +# +# Most people will want "standalone server" or "member server". +# Running as "active directory domain controller" will require first +# running "samba-tool domain provision" to wipe databases and create a +# new domain. + server role = standalone server + +# This option is important for security. It allows you to restrict +# connections to machines which are on your local network. The +# following example restricts access to two C class networks and +# the "loopback" interface. For more examples of the syntax see +# the smb.conf man page +; hosts allow = 192.168.1. 192.168.2. 127. + +# Uncomment this if you want a guest account, you must add this to /etc/passwd +# otherwise the user "nobody" is used +; guest account = pcguest + +# this tells Samba to use a separate log file for each machine +# that connects + log file = /var/log/samba.%m + +# Put a capping on the size of the log files (in Kb). + max log size = 50 + +# Specifies the Kerberos or Active Directory realm the host is part of +; realm = MY_REALM + +# Backend to store user information in. New installations should +# use either tdbsam or ldapsam. smbpasswd is available for backwards +# compatibility. tdbsam requires no further configuration. +; passdb backend = tdbsam + +# Using the following line enables you to customise your configuration +# on a per machine basis. The %m gets replaced with the netbios name +# of the machine that is connecting. +# Note: Consider carefully the location in the configuration file of +# this line. The included file is read at that point. +; include = /usr/local/samba/lib/smb.conf.%m + +# Configure Samba to use multiple interfaces +# If you have multiple network interfaces then you must list them +# here. See the man page for details. +; interfaces = 192.168.12.2/24 192.168.13.2/24 + +# Where to store roving profiles (only for Win95 and WinNT) +# %L substitutes for this servers netbios name, %U is username +# You must uncomment the [Profiles] share below +; logon path = \\%L\Profiles\%U + +# Windows Internet Name Serving Support Section: +# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server +; wins support = yes + +# WINS Server - Tells the NMBD components of Samba to be a WINS Client +# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both +; wins server = w.x.y.z + +# WINS Proxy - Tells Samba to answer name resolution queries on +# behalf of a non WINS capable client, for this to work there must be +# at least one WINS Server on the network. The default is NO. +; wins proxy = yes + +# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names +# via DNS nslookups. The default is NO. + dns proxy = no + +# These scripts are used on a domain controller or stand-alone +# machine to add or delete corresponding unix accounts +; add user script = /usr/sbin/useradd %u +; add group script = /usr/sbin/groupadd %g +; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u +; delete user script = /usr/sbin/userdel %u +; delete user from group script = /usr/sbin/deluser %u %g +; delete group script = /usr/sbin/groupdel %g + + +#============================ Share Definitions ============================== +[homes] + comment = Home Directories + browseable = no + writable = yes + +# Un-comment the following and create the netlogon directory for Domain Logons +; [netlogon] +; comment = Network Logon Service +; path = /usr/local/samba/lib/netlogon +; guest ok = yes +; writable = no +; share modes = no + + +# Un-comment the following to provide a specific roving profile share +# the default is to use the user's home directory +;[Profiles] +; path = /usr/local/samba/profiles +; browseable = no +; guest ok = yes + + +# NOTE: If you have a BSD-style print system there is no need to +# specifically define each individual printer +[printers] + comment = All Printers + path = /var/spool/samba + browseable = no +# Set public = yes to allow user 'guest account' to print + guest ok = no + writable = no + printable = yes + +# This one is useful for people to share files +;[tmp] +; comment = Temporary file space +; path = /tmp +; read only = no +; public = yes + +# A publicly accessible directory, but read only, except for people in +# the "staff" group +;[public] +; comment = Public Stuff +; path = /home/samba +; public = yes +; writable = no +; printable = no +; write list = @staff + +# Other examples. +# +# A private printer, usable only by fred. Spool data will be placed in fred's +# home directory. Note that fred must have write access to the spool directory, +# wherever it is. +;[fredsprn] +; comment = Fred's Printer +; valid users = fred +; path = /homes/fred +; printer = freds_printer +; public = no +; writable = no +; printable = yes + +# A private directory, usable only by fred. Note that fred requires write +# access to the directory. +;[fredsdir] +; comment = Fred's Service +; path = /usr/somewhere/private +; valid users = fred +; public = no +; writable = yes +; printable = no + +# a service which has a different directory for each machine that connects +# this allows you to tailor configurations to incoming machines. You could +# also use the %U option to tailor it by user name. +# The %m gets replaced with the machine name that is connecting. +;[pchome] +; comment = PC Directories +; path = /usr/pc/%m +; public = no +; writable = yes + +# A publicly accessible directory, read/write to all users. Note that all files +# created in the directory by users will be owned by the default user, so +# any user with access can delete any other user's files. Obviously this +# directory must be writable by the default user. Another user could of course +# be specified, in which case all files would be owned by that user instead. +;[public] +; path = /usr/somewhere/else/public +; public = yes +; only guest = yes +; writable = yes +; printable = no + +# The following two entries demonstrate how to share a directory so that two +# users can place files there that will be owned by the specific users. In this +# setup, the directory should be writable by both users and should have the +# sticky bit set on it to prevent abuse. Obviously this could be extended to +# as many users as required. +;[myshare] +; comment = Mary's and Fred's stuff +; path = /usr/somewhere/shared +; valid users = mary fred +; public = no +; writable = yes +; printable = no +; create mask = 0765 + + diff --git a/patches/source/samba/smb.conf.default.orig b/patches/source/samba/smb.conf.default.orig new file mode 100644 index 000000000..2f2072090 --- /dev/null +++ b/patches/source/samba/smb.conf.default.orig @@ -0,0 +1,223 @@ +# This is the main Samba configuration file. You should read the +# smb.conf(5) manual page in order to understand the options listed +# here. Samba has a huge number of configurable options (perhaps too +# many!) most of which are not shown in this example +# +# For a step to step guide on installing, configuring and using samba, +# read the Samba-HOWTO-Collection. This may be obtained from: +# http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf +# +# Many working examples of smb.conf files can be found in the +# Samba-Guide which is generated daily and can be downloaded from: +# http://www.samba.org/samba/docs/Samba-Guide.pdf +# +# Any line which starts with a ; (semi-colon) or a # (hash) +# is a comment and is ignored. In this example we will use a # +# for commentry and a ; for parts of the config file that you +# may wish to enable +# +# NOTE: Whenever you modify this file you should run the command "testparm" +# to check that you have not made any basic syntactic errors. +# +#======================= Global Settings ===================================== +[global] + +# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH + workgroup = MYGROUP + +# server string is the equivalent of the NT Description field + server string = Samba Server + +# Server role. Defines in which mode Samba will operate. Possible +# values are "standalone server", "member server", "classic primary +# domain controller", "classic backup domain controller", "active +# directory domain controller". +# +# Most people will want "standalone server" or "member server". +# Running as "active directory domain controller" will require first +# running "samba-tool domain provision" to wipe databases and create a +# new domain. + server role = standalone server + +# This option is important for security. It allows you to restrict +# connections to machines which are on your local network. The +# following example restricts access to two C class networks and +# the "loopback" interface. For more examples of the syntax see +# the smb.conf man page +; hosts allow = 192.168.1. 192.168.2. 127. + +# Uncomment this if you want a guest account, you must add this to /etc/passwd +# otherwise the user "nobody" is used +; guest account = pcguest + +# this tells Samba to use a separate log file for each machine +# that connects + log file = /usr/local/samba/var/log.%m + +# Put a capping on the size of the log files (in Kb). + max log size = 50 + +# Specifies the Kerberos or Active Directory realm the host is part of +; realm = MY_REALM + +# Backend to store user information in. New installations should +# use either tdbsam or ldapsam. smbpasswd is available for backwards +# compatibility. tdbsam requires no further configuration. +; passdb backend = tdbsam + +# Using the following line enables you to customise your configuration +# on a per machine basis. The %m gets replaced with the netbios name +# of the machine that is connecting. +# Note: Consider carefully the location in the configuration file of +# this line. The included file is read at that point. +; include = /usr/local/samba/lib/smb.conf.%m + +# Configure Samba to use multiple interfaces +# If you have multiple network interfaces then you must list them +# here. See the man page for details. +; interfaces = 192.168.12.2/24 192.168.13.2/24 + +# Where to store roving profiles (only for Win95 and WinNT) +# %L substitutes for this servers netbios name, %U is username +# You must uncomment the [Profiles] share below +; logon path = \\%L\Profiles\%U + +# Windows Internet Name Serving Support Section: +# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server +; wins support = yes + +# WINS Server - Tells the NMBD components of Samba to be a WINS Client +# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both +; wins server = w.x.y.z + +# WINS Proxy - Tells Samba to answer name resolution queries on +# behalf of a non WINS capable client, for this to work there must be +# at least one WINS Server on the network. The default is NO. +; wins proxy = yes + +# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names +# via DNS nslookups. The default is NO. + dns proxy = no + +# These scripts are used on a domain controller or stand-alone +# machine to add or delete corresponding unix accounts +; add user script = /usr/sbin/useradd %u +; add group script = /usr/sbin/groupadd %g +; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u +; delete user script = /usr/sbin/userdel %u +; delete user from group script = /usr/sbin/deluser %u %g +; delete group script = /usr/sbin/groupdel %g + + +#============================ Share Definitions ============================== +[homes] + comment = Home Directories + browseable = no + writable = yes + +# Un-comment the following and create the netlogon directory for Domain Logons +; [netlogon] +; comment = Network Logon Service +; path = /usr/local/samba/lib/netlogon +; guest ok = yes +; writable = no +; share modes = no + + +# Un-comment the following to provide a specific roving profile share +# the default is to use the user's home directory +;[Profiles] +; path = /usr/local/samba/profiles +; browseable = no +; guest ok = yes + + +# NOTE: If you have a BSD-style print system there is no need to +# specifically define each individual printer +[printers] + comment = All Printers + path = /usr/spool/samba + browseable = no +# Set public = yes to allow user 'guest account' to print + guest ok = no + writable = no + printable = yes + +# This one is useful for people to share files +;[tmp] +; comment = Temporary file space +; path = /tmp +; read only = no +; public = yes + +# A publicly accessible directory, but read only, except for people in +# the "staff" group +;[public] +; comment = Public Stuff +; path = /home/samba +; public = yes +; writable = no +; printable = no +; write list = @staff + +# Other examples. +# +# A private printer, usable only by fred. Spool data will be placed in fred's +# home directory. Note that fred must have write access to the spool directory, +# wherever it is. +;[fredsprn] +; comment = Fred's Printer +; valid users = fred +; path = /homes/fred +; printer = freds_printer +; public = no +; writable = no +; printable = yes + +# A private directory, usable only by fred. Note that fred requires write +# access to the directory. +;[fredsdir] +; comment = Fred's Service +; path = /usr/somewhere/private +; valid users = fred +; public = no +; writable = yes +; printable = no + +# a service which has a different directory for each machine that connects +# this allows you to tailor configurations to incoming machines. You could +# also use the %U option to tailor it by user name. +# The %m gets replaced with the machine name that is connecting. +;[pchome] +; comment = PC Directories +; path = /usr/pc/%m +; public = no +; writable = yes + +# A publicly accessible directory, read/write to all users. Note that all files +# created in the directory by users will be owned by the default user, so +# any user with access can delete any other user's files. Obviously this +# directory must be writable by the default user. Another user could of course +# be specified, in which case all files would be owned by that user instead. +;[public] +; path = /usr/somewhere/else/public +; public = yes +; only guest = yes +; writable = yes +; printable = no + +# The following two entries demonstrate how to share a directory so that two +# users can place files there that will be owned by the specific users. In this +# setup, the directory should be writable by both users and should have the +# sticky bit set on it to prevent abuse. Obviously this could be extended to +# as many users as required. +;[myshare] +; comment = Mary's and Fred's stuff +; path = /usr/somewhere/shared +; valid users = mary fred +; public = no +; writable = yes +; printable = no +; create mask = 0765 + + diff --git a/patches/source/samba/smb.conf.diff b/patches/source/samba/smb.conf.diff new file mode 100644 index 000000000..73688a8ac --- /dev/null +++ b/patches/source/samba/smb.conf.diff @@ -0,0 +1,29 @@ +--- smb.conf.default.orig 2017-01-11 01:55:14.000000000 -0600 ++++ smb.conf.default 2017-03-23 14:18:05.114503416 -0500 +@@ -22,7 +22,7 @@ + #======================= Global Settings ===================================== + [global] + +-# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH ++# workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2 + workgroup = MYGROUP + + # server string is the equivalent of the NT Description field +@@ -52,7 +52,7 @@ + + # this tells Samba to use a separate log file for each machine + # that connects +- log file = /usr/local/samba/var/log.%m ++ log file = /var/log/samba.%m + + # Put a capping on the size of the log files (in Kb). + max log size = 50 +@@ -136,7 +136,7 @@ + # specifically define each individual printer + [printers] + comment = All Printers +- path = /usr/spool/samba ++ path = /var/spool/samba + browseable = no + # Set public = yes to allow user 'guest account' to print + guest ok = no diff --git a/recompress.sh b/recompress.sh index 0ef261a5d..5c28f0665 100755 --- a/recompress.sh +++ b/recompress.sh @@ -1205,6 +1205,9 @@ gzip ./patches/source/php/php.enchant-2.patch gzip ./patches/source/php/doinst.sh gzip ./patches/source/php/php.imap.api.diff gzip ./patches/source/php/php.ini-development.diff +gzip ./patches/source/samba/smb.conf.diff +gzip ./patches/source/samba/doinst.sh +gzip ./patches/source/samba/samba.libsmbclient.h.ffmpeg.compat.diff gzip ./patches/source/polkit/dont-set-wheel-group-as-admin.diff gzip ./patches/source/polkit/CVE-2021-4115.patch gzip ./patches/source/polkit/doinst.sh -- cgit v1.2.3