Fri Jan 13 20:29:55 UTC 2023

patches/packages/netatalk-3.1.14-x86_64-1_slack15.0.txz:  Upgraded.
  Netatalk through 3.1.13 has an afp_getappl heap-based buffer overflow
  resulting in code execution via a crafted .appl file.
  For more information, see:
    https://www.cve.org/CVERecord?id=CVE-2022-45188
  (* Security fix *)
This commit is contained in:
Patrick J Volkerding 2023-01-13 20:29:55 +00:00 committed by Eric Hameleers
parent 4c8bd06faa
commit 7793836a6d
10 changed files with 358 additions and 48 deletions

View file

@ -11,9 +11,25 @@
<description>Tracking Slackware development in git.</description>
<language>en-us</language>
<id xmlns="http://www.w3.org/2005/Atom">urn:uuid:c964f45e-6732-11e8-bbe5-107b4450212f</id>
<pubDate>Tue, 10 Jan 2023 21:32:00 GMT</pubDate>
<lastBuildDate>Wed, 11 Jan 2023 12:30:12 GMT</lastBuildDate>
<pubDate>Fri, 13 Jan 2023 20:29:55 GMT</pubDate>
<lastBuildDate>Sat, 14 Jan 2023 12:30:16 GMT</lastBuildDate>
<generator>maintain_current_git.sh v 1.17</generator>
<item>
<title>Fri, 13 Jan 2023 20:29:55 GMT</title>
<pubDate>Fri, 13 Jan 2023 20:29:55 GMT</pubDate>
<link>https://git.slackware.nl/current/tag/?h=20230113202955</link>
<guid isPermaLink="false">20230113202955</guid>
<description>
<![CDATA[<pre>
patches/packages/netatalk-3.1.14-x86_64-1_slack15.0.txz: Upgraded.
Netatalk through 3.1.13 has an afp_getappl heap-based buffer overflow
resulting in code execution via a crafted .appl file.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2022-45188
(* Security fix *)
</pre>]]>
</description>
</item>
<item>
<title>Tue, 10 Jan 2023 21:32:00 GMT</title>
<pubDate>Tue, 10 Jan 2023 21:32:00 GMT</pubDate>

View file

@ -1,3 +1,11 @@
Fri Jan 13 20:29:55 UTC 2023
patches/packages/netatalk-3.1.14-x86_64-1_slack15.0.txz: Upgraded.
Netatalk through 3.1.13 has an afp_getappl heap-based buffer overflow
resulting in code execution via a crafted .appl file.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2022-45188
(* Security fix *)
+--------------------------+
Tue Jan 10 21:32:00 UTC 2023
patches/packages/ca-certificates-20221205-noarch-2_slack15.0.txz: Rebuilt.
Make sure that if we're installing this package on another partition (such as

View file

@ -1,20 +1,20 @@
Tue Jan 10 21:37:20 UTC 2023
Fri Jan 13 20:34:07 UTC 2023
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 2023-01-10 21:32 .
drwxr-xr-x 12 root root 4096 2023-01-13 20:29 .
-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 1167435 2023-01-07 01:51 ./CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-01-07 01:51 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 1167435 2023-01-10 21:37 ./CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-01-10 21:37 ./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 1974029 2023-01-10 21:32 ./ChangeLog.txt
-rw-r--r-- 1 root root 1974385 2023-01-13 20:29 ./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 1524855 2023-01-07 01:51 ./FILELIST.TXT
-rw-r--r-- 1 root root 1524855 2023-01-10 21:37 ./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
@ -738,13 +738,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 2023-01-10 21:37 ./patches
-rw-r--r-- 1 root root 61886 2023-01-10 21:37 ./patches/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-01-10 21:37 ./patches/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 83371 2023-01-10 21:37 ./patches/FILE_LIST
-rw-r--r-- 1 root root 11944167 2023-01-10 21:37 ./patches/MANIFEST.bz2
-rw-r--r-- 1 root root 44325 2023-01-10 21:37 ./patches/PACKAGES.TXT
drwxr-xr-x 3 root root 20480 2023-01-10 21:37 ./patches/packages
drwxr-xr-x 4 root root 4096 2023-01-13 20:34 ./patches
-rw-r--r-- 1 root root 62547 2023-01-13 20:34 ./patches/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-01-13 20:34 ./patches/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 84254 2023-01-13 20:34 ./patches/FILE_LIST
-rw-r--r-- 1 root root 11956536 2023-01-13 20:34 ./patches/MANIFEST.bz2
-rw-r--r-- 1 root root 45090 2023-01-13 20:34 ./patches/PACKAGES.TXT
drwxr-xr-x 3 root root 20480 2023-01-13 20:34 ./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
@ -866,6 +866,9 @@ drwxr-xr-x 2 root root 4096 2022-11-29 21:00 ./patches/packages/linux-5.15
-rw-r--r-- 1 root root 451 2022-07-21 17:53 ./patches/packages/net-snmp-5.9.3-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 1598024 2022-07-21 17:53 ./patches/packages/net-snmp-5.9.3-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-07-21 17:53 ./patches/packages/net-snmp-5.9.3-x86_64-1_slack15.0.txz.asc
-rw-r--r-- 1 root root 580 2023-01-13 20:05 ./patches/packages/netatalk-3.1.14-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 505144 2023-01-13 20:05 ./patches/packages/netatalk-3.1.14-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-01-13 20:05 ./patches/packages/netatalk-3.1.14-x86_64-1_slack15.0.txz.asc
-rw-r--r-- 1 root root 559 2022-11-29 20:36 ./patches/packages/openssl-1.1.1s-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 3597816 2022-11-29 20:36 ./patches/packages/openssl-1.1.1s-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-11-29 20:36 ./patches/packages/openssl-1.1.1s-x86_64-1_slack15.0.txz.asc
@ -956,7 +959,7 @@ drwxr-xr-x 2 root root 4096 2022-11-29 21:00 ./patches/packages/linux-5.15
-rw-r--r-- 1 root root 388 2022-10-15 04:05 ./patches/packages/zlib-1.2.13-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 105356 2022-10-15 04:05 ./patches/packages/zlib-1.2.13-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-10-15 04:05 ./patches/packages/zlib-1.2.13-x86_64-1_slack15.0.txz.asc
drwxr-xr-x 62 root root 4096 2023-01-10 21:28 ./patches/source
drwxr-xr-x 63 root root 4096 2023-01-13 20:18 ./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
@ -1333,6 +1336,13 @@ drwxr-xr-x 2 root root 4096 2022-07-21 17:44 ./patches/source/net-snmp
-rw-r--r-- 1 root root 907 2018-02-27 06:13 ./patches/source/net-snmp/slack-desc
-rw-r--r-- 1 root root 4909 2007-04-16 18:39 ./patches/source/net-snmp/snmpd.conf.gz
-rw-r--r-- 1 root root 77 2021-12-21 18:36 ./patches/source/net-snmp/snmpd.default
drwxr-xr-x 2 root root 4096 2023-01-13 20:01 ./patches/source/netatalk
-rw-r--r-- 1 root root 377 2020-02-07 01:00 ./patches/source/netatalk/doinst.sh.gz
-rw-r--r-- 1 root root 982584 2023-01-10 09:57 ./patches/source/netatalk/netatalk-3.1.14.tar.xz
-rwxr-xr-x 1 root root 4913 2023-01-13 20:02 ./patches/source/netatalk/netatalk.SlackBuild
-rw-r--r-- 1 root root 63 2023-01-13 19:51 ./patches/source/netatalk/netatalk.url
-rw-r--r-- 1 root root 1009 2018-09-05 21:12 ./patches/source/netatalk/rc.atalk.new
-rw-r--r-- 1 root root 1036 2018-02-27 06:13 ./patches/source/netatalk/slack-desc
drwxr-xr-x 2 root root 4096 2022-11-29 19:13 ./patches/source/openssl
-rw-r--r-- 1 root root 1758 2012-08-08 22:46 ./patches/source/openssl/certwatch.gz
-rw-r--r-- 1 root root 281 2007-06-13 17:20 ./patches/source/openssl/doinst.sh-openssl-solibs.gz
@ -2728,16 +2738,16 @@ drwxr-xr-x 2 root root 69632 2022-02-01 08:29 ./slackware64/kde
-rw-r--r-- 1 root root 163 2022-01-06 22:06 ./slackware64/kde/kapptemplate-21.12.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 385 2022-01-08 22:27 ./slackware64/kde/karchive-5.90.0-x86_64-1.txt
-rw-r--r-- 1 root root 106528 2022-01-08 22:27 ./slackware64/kde/karchive-5.90.0-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-08 22:27 ./slackware64/kde/karchive-5.90.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 469 2022-02-01 08:18 ./slackware64/kde/kate-21.12.1-x86_64-2.txt
-rw-r--r-- 1 root root 8637800 2022-02-01 08:18 ./slackware64/kde/kate-21.12.1-x86_64-2.txz
-rw-r--r-- 1 root root 163 2022-02-01 08:18 ./slackware64/kde/kate-21.12.1-x86_64-2.txz.asc
-rw-r--r-- 1 root root 357 2022-01-06 22:35 ./slackware64/kde/katomic-21.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 1462264 2022-01-06 22:35 ./slackware64/kde/katomic-21.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-06 22:35 ./slackware64/kde/katomic-21.12.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 303 2022-01-08 22:33 ./slackware64/kde/kauth-5.90.0-x86_64-1.txt
-rw-r--r-- 1 root root 127260 2022-01-08 22:33 ./slackware64/kde/kauth-5.90.0-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-08 22:33 ./slackware64/kde/kauth-5.90.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 163 2022-01-08 22:27 ./slackware64/kde/karchive-5.90.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 469 2022-02-01 08:18 ./slackware64/kde/kate-21.12.1-x86_64-2.txt
-rw-r--r-- 1 root root 8637800 2022-02-01 08:18 ./slackware64/kde/kate-21.12.1-x86_64-2.txz
-rw-r--r-- 1 root root 163 2022-02-01 08:18 ./slackware64/kde/kate-21.12.1-x86_64-2.txz.asc
-rw-r--r-- 1 root root 357 2022-01-06 22:35 ./slackware64/kde/katomic-21.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 1462264 2022-01-06 22:35 ./slackware64/kde/katomic-21.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-06 22:35 ./slackware64/kde/katomic-21.12.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 303 2022-01-08 22:33 ./slackware64/kde/kauth-5.90.0-x86_64-1.txt
-rw-r--r-- 1 root root 127260 2022-01-08 22:33 ./slackware64/kde/kauth-5.90.0-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-08 22:33 ./slackware64/kde/kauth-5.90.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 457 2022-01-06 22:04 ./slackware64/kde/kbackup-21.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 497484 2022-01-06 22:04 ./slackware64/kde/kbackup-21.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-06 22:04 ./slackware64/kde/kbackup-21.12.1-x86_64-1.txz.asc
@ -5456,15 +5466,15 @@ drwxr-xr-x 2 root root 65536 2022-02-01 04:47 ./slackware64/x
-rw-r--r-- 1 root root 163 2021-02-13 13:20 ./slackware64/x/font-sony-misc-1.0.3-noarch-5.txz.asc
-rw-r--r-- 1 root root 384 2021-02-13 13:20 ./slackware64/x/font-sun-misc-1.0.3-noarch-5.txt
-rw-r--r-- 1 root root 34760 2021-02-13 13:20 ./slackware64/x/font-sun-misc-1.0.3-noarch-5.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:20 ./slackware64/x/font-sun-misc-1.0.3-noarch-5.txz.asc
-rw-r--r-- 1 root root 362 2021-02-13 13:20 ./slackware64/x/font-util-1.3.2-x86_64-3.txt
-rw-r--r-- 1 root root 40764 2021-02-13 13:20 ./slackware64/x/font-util-1.3.2-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:20 ./slackware64/x/font-util-1.3.2-x86_64-3.txz.asc
-rw-r--r-- 1 root root 501 2021-02-13 13:20 ./slackware64/x/font-winitzki-cyrillic-1.0.3-noarch-5.txt
-rw-r--r-- 1 root root 13308 2021-02-13 13:20 ./slackware64/x/font-winitzki-cyrillic-1.0.3-noarch-5.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:20 ./slackware64/x/font-winitzki-cyrillic-1.0.3-noarch-5.txz.asc
-rw-r--r-- 1 root root 451 2021-02-13 13:20 ./slackware64/x/font-xfree86-type1-1.0.4-noarch-5.txt
-rw-r--r-- 1 root root 36448 2021-02-13 13:20 ./slackware64/x/font-xfree86-type1-1.0.4-noarch-5.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:20 ./slackware64/x/font-sun-misc-1.0.3-noarch-5.txz.asc
-rw-r--r-- 1 root root 362 2021-02-13 13:20 ./slackware64/x/font-util-1.3.2-x86_64-3.txt
-rw-r--r-- 1 root root 40764 2021-02-13 13:20 ./slackware64/x/font-util-1.3.2-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:20 ./slackware64/x/font-util-1.3.2-x86_64-3.txz.asc
-rw-r--r-- 1 root root 501 2021-02-13 13:20 ./slackware64/x/font-winitzki-cyrillic-1.0.3-noarch-5.txt
-rw-r--r-- 1 root root 13308 2021-02-13 13:20 ./slackware64/x/font-winitzki-cyrillic-1.0.3-noarch-5.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:20 ./slackware64/x/font-winitzki-cyrillic-1.0.3-noarch-5.txz.asc
-rw-r--r-- 1 root root 451 2021-02-13 13:20 ./slackware64/x/font-xfree86-type1-1.0.4-noarch-5.txt
-rw-r--r-- 1 root root 36448 2021-02-13 13:20 ./slackware64/x/font-xfree86-type1-1.0.4-noarch-5.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:20 ./slackware64/x/font-xfree86-type1-1.0.4-noarch-5.txz.asc
-rw-r--r-- 1 root root 385 2021-02-13 12:46 ./slackware64/x/fontconfig-2.13.92-x86_64-3.txt
-rw-r--r-- 1 root root 318208 2021-02-13 12:46 ./slackware64/x/fontconfig-2.13.92-x86_64-3.txz
@ -15066,19 +15076,19 @@ drwxr-xr-x 2 root root 12288 2020-05-18 17:50 ./source/x/x11/slack-desc
-rw-r--r-- 1 root root 904 2012-04-08 04:28 ./source/x/x11/slack-desc/xf86bigfontproto
-rw-r--r-- 1 root root 792 2012-04-08 04:26 ./source/x/x11/slack-desc/xf86dga
-rw-r--r-- 1 root root 802 2018-02-26 23:01 ./source/x/x11/slack-desc/xf86dgaproto
-rw-r--r-- 1 root root 842 2012-04-08 04:27 ./source/x/x11/slack-desc/xf86driproto
-rw-r--r-- 1 root root 894 2018-02-26 23:01 ./source/x/x11/slack-desc/xf86miscproto
-rw-r--r-- 1 root root 915 2012-04-08 04:30 ./source/x/x11/slack-desc/xf86vidmodeproto
-rw-r--r-- 1 root root 621 2012-04-08 04:31 ./source/x/x11/slack-desc/xfd
-rw-r--r-- 1 root root 804 2012-04-08 04:31 ./source/x/x11/slack-desc/xfontsel
-rw-r--r-- 1 root root 707 2012-04-08 01:11 ./source/x/x11/slack-desc/xfs
-rw-r--r-- 1 root root 880 2012-04-08 04:32 ./source/x/x11/slack-desc/xfsinfo
-rw-r--r-- 1 root root 718 2013-08-20 21:51 ./source/x/x11/slack-desc/xfwp
-rw-r--r-- 1 root root 706 2012-04-08 04:33 ./source/x/x11/slack-desc/xgamma
-rw-r--r-- 1 root root 633 2012-04-08 04:33 ./source/x/x11/slack-desc/xgc
-rw-r--r-- 1 root root 673 2012-04-08 04:33 ./source/x/x11/slack-desc/xhost
-rw-r--r-- 1 root root 867 2012-04-08 04:34 ./source/x/x11/slack-desc/xineramaproto
-rw-r--r-- 1 root root 769 2018-02-26 23:01 ./source/x/x11/slack-desc/xinit
-rw-r--r-- 1 root root 842 2012-04-08 04:27 ./source/x/x11/slack-desc/xf86driproto
-rw-r--r-- 1 root root 894 2018-02-26 23:01 ./source/x/x11/slack-desc/xf86miscproto
-rw-r--r-- 1 root root 915 2012-04-08 04:30 ./source/x/x11/slack-desc/xf86vidmodeproto
-rw-r--r-- 1 root root 621 2012-04-08 04:31 ./source/x/x11/slack-desc/xfd
-rw-r--r-- 1 root root 804 2012-04-08 04:31 ./source/x/x11/slack-desc/xfontsel
-rw-r--r-- 1 root root 707 2012-04-08 01:11 ./source/x/x11/slack-desc/xfs
-rw-r--r-- 1 root root 880 2012-04-08 04:32 ./source/x/x11/slack-desc/xfsinfo
-rw-r--r-- 1 root root 718 2013-08-20 21:51 ./source/x/x11/slack-desc/xfwp
-rw-r--r-- 1 root root 706 2012-04-08 04:33 ./source/x/x11/slack-desc/xgamma
-rw-r--r-- 1 root root 633 2012-04-08 04:33 ./source/x/x11/slack-desc/xgc
-rw-r--r-- 1 root root 673 2012-04-08 04:33 ./source/x/x11/slack-desc/xhost
-rw-r--r-- 1 root root 867 2012-04-08 04:34 ./source/x/x11/slack-desc/xineramaproto
-rw-r--r-- 1 root root 769 2018-02-26 23:01 ./source/x/x11/slack-desc/xinit
-rw-r--r-- 1 root root 952 2012-04-08 04:34 ./source/x/x11/slack-desc/xinput
-rw-r--r-- 1 root root 875 2020-05-18 17:52 ./source/x/x11/slack-desc/xisxwayland
-rw-r--r-- 1 root root 764 2012-04-08 04:35 ./source/x/x11/slack-desc/xkbcomp

View file

@ -0,0 +1,11 @@
netatalk: netatalk (Appletalk file and print server)
netatalk:
netatalk: Netatalk is an Appletalk file and print server for Linux. Using
netatalk: Netatalk, Macintosh computers on your local network can mount Linux
netatalk: volumes as if they were standard Appletalk network drives, and can
netatalk: print to the Linux box's printer as if it were a network printer
netatalk: supporting PostScript.
netatalk:
netatalk: Netatalk was originally written by the Research Systems Unix Group at
netatalk: The University of Michigan, and is maintained by the Netatalk Team.
netatalk:

View file

@ -0,0 +1,28 @@
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...
}
# Keep same perms on rc.atalk.new:
if [ -e etc/rc.d/rc.atalk ]; then
cp -a etc/rc.d/rc.atalk etc/rc.d/rc.atalk.new.incoming
cat etc/rc.d/rc.atalk.new > etc/rc.d/rc.atalk.new.incoming
mv etc/rc.d/rc.atalk.new.incoming etc/rc.d/rc.atalk.new
fi
config etc/rc.d/rc.atalk.new
config etc/netatalk/afp.conf.new
config etc/netatalk/dbus-session.conf.new
config etc/netatalk/extmap.conf.new
if [ -r etc/pam.d/netatalk.new ]; then
config etc/pam.d/netatalk.new
fi

View file

@ -0,0 +1,157 @@
#!/bin/bash
# Copyright 2008, 2009, 2012, 2015, 2018, 2019, 2020, 2022 Patrick J. Volkerding, Sebeka, MN, 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.
#
# Script updated to package netatalk 3.1.11 by Matthew Schumacher
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=netatalk
VERSION=${VERSION:-$(echo netatalk-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1_slack15.0}
# 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
# 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
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
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
TMP=${TMP:-/tmp}
PKG=$TMP/package-netatalk
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf netatalk-$VERSION
tar xvf $CWD/netatalk-$VERSION.tar.?z* || exit 1
cd netatalk-$VERSION || exit 1
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-confdir=/etc/pam.d --with-pam --enable-ddp"
unset SHADOW_OPTIONS
else
unset PAM_OPTIONS
SHADOW_OPTIONS="--with-shadow"
fi
# use the system libevent, because the internal one won't compile
# with openssl 1.1. Also skip pam and kerberos (for now).
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--sysconfdir=/etc/netatalk \
--libexecdir=/usr/sbin \
--localstatedir=/var \
--disable-static \
$PAM_OPTIONS \
$SHADOW_OPTIONS \
--with-libevent=system \
--with-dbus-sysconf-dir=/usr/share/dbus-1/system.d/ \
--with-dbus-daemon=/usr/bin/dbus-daemon \
--build=$ARCH-slackware-linux || exit 1
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
# At least make this unreadable to non-root users:
if [ -u $PKG/usr/bin/afppasswd ]; then
chmod 4711 $PKG/usr/bin/afppasswd
fi
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
# Compress manual pages:
find $PKG/usr/man -type f -exec gzip -9 {} \+
for i in $( find $PKG/usr/man -type l ) ; do
ln -s $( readlink $i ).gz $i.gz
rm $i
done
# Install an init script
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.atalk.new > $PKG/etc/rc.d/rc.atalk.new
chmod 644 $PKG/etc/rc.d/rc.atalk.new
mkdir -p $PKG/install
zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
( cd $PKG/etc/netatalk
for file in afp.conf dbus-session.conf extmap.conf ; do
mv $file ${file}.new
done
)
if [ ! -z "$PAM_OPTIONS" ]; then
mv $PKG/etc/pam.d/netatalk $PKG/etc/pam.d/netatalk.new
fi
mkdir -p $PKG/usr/doc/netatalk-$VERSION
cp -a \
AUTHORS CONTRIBUTORS COPYING* COPYRIGHT NEWS VERSION \
$PKG/usr/doc/netatalk-$VERSION
cp -a $CWD/examples $PKG/usr/doc/netatalk-$VERSION
chown -R root:root $PKG/usr/doc/netatalk-$VERSION/examples
# Build the package:
cd $PKG
/sbin/makepkg -l y -c n $TMP/netatalk-$VERSION-$ARCH-$BUILD.txz

View file

@ -0,0 +1,2 @@
http://netatalk.sourceforge.io
http://netatalk.sourceforge.net

View file

@ -0,0 +1,58 @@
#!/bin/sh
# Start/stop/restart the netatalk daemon.
netatalk_start() {
if [ -x /usr/sbin/netatalk ]; then
LINES="$(grep "^[^;]" /etc/netatalk/afp.conf | wc -l)"
if [ "$LINES" -lt "2" ]; then
echo "netatalk is not configured.... exiting."
exit
fi
echo "Starting netatalk: /usr/sbin/netatalk"
/usr/sbin/netatalk
fi
}
# Stop netatalk
netatalk_stop() {
echo "Stopping netatalk."
/usr/bin/pkill --ns $$ -f "^/usr/sbin/netatalk" 2> /dev/null
}
# Restart netatalk
netatalk_restart() {
netatalk_stop
sleep 1
netatalk_start
}
# Check if netatalk is running
netatalk_status() {
PID="$(/usr/bin/pgrep --ns $$ -f "^/usr/sbin/netatalk" 2> /dev/null)"
if [ $PID ]; then
echo "netatalk is running. PID: $PID"
else
echo "netatalk is stopped."
exit 1
fi
}
case "$1" in
'start')
netatalk_start
;;
'stop')
netatalk_stop
;;
'restart')
netatalk_restart
;;
'status')
netatalk_status
;;
*)
echo "usage $0 start|stop|restart|status"
esac

View file

@ -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------------------------------------------------------|
netatalk: netatalk (Appletalk file and print server)
netatalk:
netatalk: Netatalk is an Appletalk file and print server for Linux. Using
netatalk: Netatalk, Macintosh computers on your local network can mount Linux
netatalk: volumes as if they were standard Appletalk network drives, and can
netatalk: print to the Linux box's printer as if it were a network printer
netatalk: supporting PostScript.
netatalk:
netatalk: Netatalk was originally written by the Research Systems Unix Group at
netatalk: The University of Michigan, and is maintained by the Netatalk Team.
netatalk:

View file

@ -1309,6 +1309,7 @@ gzip ./patches/source/qt5/patches/qt5.qtbase_cmake_isystem_includes.patch
gzip ./patches/source/qt5/patches/qt5.mysql.h.diff
gzip ./patches/source/qt5/patches/qt5-qtwebengine-gcc11.patch
gzip ./patches/source/qt5/doinst.sh
gzip ./patches/source/netatalk/doinst.sh
gzip ./pasture/source/php/php-fpm.conf.diff
gzip ./pasture/source/php/doinst.sh
gzip ./pasture/source/php/PHP-5.6.31-OpenSSL-1.1.0-compatibility-20170801.patch