Fri Jun 2 20:56:35 UTC 2023

patches/packages/cups-2.4.3-x86_64-1_slack15.0.txz:  Upgraded.
  Fixed a heap buffer overflow in _cups_strlcpy(), when the configuration file
  cupsd.conf sets the value of loglevel to DEBUG, that could allow a remote
  attacker to launch a denial of service (DoS) attack, or possibly execute
  arbirary code.
  For more information, see:
    https://www.cve.org/CVERecord?id=CVE-2023-32324
  (* Security fix *)
patches/packages/ntp-4.2.8p16-x86_64-1_slack15.0.txz:  Upgraded.
  This update fixes bugs and security issues.
  For more information, see:
    https://www.cve.org/CVERecord?id=CVE-2023-26551
    https://www.cve.org/CVERecord?id=CVE-2023-26552
    https://www.cve.org/CVERecord?id=CVE-2023-26553
    https://www.cve.org/CVERecord?id=CVE-2023-26554
    https://www.cve.org/CVERecord?id=CVE-2023-26555
  (* Security fix *)
This commit is contained in:
Patrick J Volkerding 2023-06-02 20:56:35 +00:00 committed by Eric Hameleers
parent f33a393b0f
commit 3f544e903a
19 changed files with 683 additions and 143 deletions

View file

@ -11,9 +11,36 @@
<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>Wed, 31 May 2023 01:29:12 GMT</pubDate>
<lastBuildDate>Wed, 31 May 2023 11:30:16 GMT</lastBuildDate>
<pubDate>Fri, 2 Jun 2023 20:56:35 GMT</pubDate>
<lastBuildDate>Sat, 3 Jun 2023 11:30:19 GMT</lastBuildDate>
<generator>maintain_current_git.sh v 1.17</generator>
<item>
<title>Fri, 2 Jun 2023 20:56:35 GMT</title>
<pubDate>Fri, 2 Jun 2023 20:56:35 GMT</pubDate>
<link>https://git.slackware.nl/current/tag/?h=20230602205635</link>
<guid isPermaLink="false">20230602205635</guid>
<description>
<![CDATA[<pre>
patches/packages/cups-2.4.3-x86_64-1_slack15.0.txz: Upgraded.
Fixed a heap buffer overflow in _cups_strlcpy(), when the configuration file
cupsd.conf sets the value of loglevel to DEBUG, that could allow a remote
attacker to launch a denial of service (DoS) attack, or possibly execute
arbirary code.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2023-32324
(* Security fix *)
patches/packages/ntp-4.2.8p16-x86_64-1_slack15.0.txz: Upgraded.
This update fixes bugs and security issues.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2023-26551
https://www.cve.org/CVERecord?id=CVE-2023-26552
https://www.cve.org/CVERecord?id=CVE-2023-26553
https://www.cve.org/CVERecord?id=CVE-2023-26554
https://www.cve.org/CVERecord?id=CVE-2023-26555
(* Security fix *)
</pre>]]>
</description>
</item>
<item>
<title>Wed, 31 May 2023 01:29:12 GMT</title>
<pubDate>Wed, 31 May 2023 01:29:12 GMT</pubDate>

View file

@ -1,3 +1,22 @@
Fri Jun 2 20:56:35 UTC 2023
patches/packages/cups-2.4.3-x86_64-1_slack15.0.txz: Upgraded.
Fixed a heap buffer overflow in _cups_strlcpy(), when the configuration file
cupsd.conf sets the value of loglevel to DEBUG, that could allow a remote
attacker to launch a denial of service (DoS) attack, or possibly execute
arbirary code.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2023-32324
(* Security fix *)
patches/packages/ntp-4.2.8p16-x86_64-1_slack15.0.txz: Upgraded.
This update fixes bugs and security issues.
For more information, see:
https://www.cve.org/CVERecord?id=CVE-2023-26551
https://www.cve.org/CVERecord?id=CVE-2023-26552
https://www.cve.org/CVERecord?id=CVE-2023-26553
https://www.cve.org/CVERecord?id=CVE-2023-26554
https://www.cve.org/CVERecord?id=CVE-2023-26555
(* Security fix *)
+--------------------------+
Wed May 31 01:29:12 UTC 2023
patches/packages/curl-8.1.2-x86_64-1_slack15.0.txz: Upgraded.
This is a bugfix release.

View file

@ -1,20 +1,20 @@
Wed May 31 01:35:34 UTC 2023
Fri Jun 2 21:02:50 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-05-31 01:29 .
drwxr-xr-x 12 root root 4096 2023-06-02 20:56 .
-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 1179898 2023-05-27 20:46 ./CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-05-27 20:46 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 1179898 2023-05-31 01:35 ./CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-05-31 01:35 ./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 2015159 2023-05-31 01:29 ./ChangeLog.txt
-rw-r--r-- 1 root root 2016050 2023-06-02 20:57 ./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 1538732 2023-05-27 20:46 ./FILELIST.TXT
-rw-r--r-- 1 root root 1538732 2023-05-31 01:35 ./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-05-31 01:35 ./patches
-rw-r--r-- 1 root root 73376 2023-05-31 01:35 ./patches/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-05-31 01:35 ./patches/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 99318 2023-05-31 01:35 ./patches/FILE_LIST
-rw-r--r-- 1 root root 12557563 2023-05-31 01:35 ./patches/MANIFEST.bz2
-rw-r--r-- 1 root root 53518 2023-05-31 01:35 ./patches/PACKAGES.TXT
drwxr-xr-x 3 root root 20480 2023-05-31 01:35 ./patches/packages
drwxr-xr-x 4 root root 4096 2023-06-02 21:02 ./patches
-rw-r--r-- 1 root root 74081 2023-06-02 21:02 ./patches/CHECKSUMS.md5
-rw-r--r-- 1 root root 163 2023-06-02 21:02 ./patches/CHECKSUMS.md5.asc
-rw-r--r-- 1 root root 100291 2023-06-02 21:02 ./patches/FILE_LIST
-rw-r--r-- 1 root root 12577466 2023-06-02 21:02 ./patches/MANIFEST.bz2
-rw-r--r-- 1 root root 54263 2023-06-02 21:02 ./patches/PACKAGES.TXT
drwxr-xr-x 3 root root 20480 2023-06-02 21:02 ./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
@ -772,9 +772,9 @@ drwxr-xr-x 3 root root 20480 2023-05-31 01:35 ./patches/packages
-rw-r--r-- 1 root root 367 2023-05-06 18:52 ./patches/packages/ca-certificates-20230506-noarch-1_slack15.0.txt
-rw-r--r-- 1 root root 135688 2023-05-06 18:52 ./patches/packages/ca-certificates-20230506-noarch-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-05-06 18:52 ./patches/packages/ca-certificates-20230506-noarch-1_slack15.0.txz.asc
-rw-r--r-- 1 root root 642 2022-09-21 19:13 ./patches/packages/cups-2.4.2-x86_64-3_slack15.0.txt
-rw-r--r-- 1 root root 1589324 2022-09-21 19:13 ./patches/packages/cups-2.4.2-x86_64-3_slack15.0.txz
-rw-r--r-- 1 root root 163 2022-09-21 19:13 ./patches/packages/cups-2.4.2-x86_64-3_slack15.0.txz.asc
-rw-r--r-- 1 root root 642 2023-06-02 16:51 ./patches/packages/cups-2.4.3-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 1588548 2023-06-02 16:51 ./patches/packages/cups-2.4.3-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-06-02 16:51 ./patches/packages/cups-2.4.3-x86_64-1_slack15.0.txz.asc
-rw-r--r-- 1 root root 416 2023-05-19 18:13 ./patches/packages/cups-filters-1.28.17-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 827024 2023-05-19 18:13 ./patches/packages/cups-filters-1.28.17-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-05-19 18:13 ./patches/packages/cups-filters-1.28.17-x86_64-1_slack15.0.txz.asc
@ -896,6 +896,9 @@ drwxr-xr-x 2 root root 4096 2023-02-18 02:05 ./patches/packages/linux-5.15
-rw-r--r-- 1 root root 550 2023-05-25 18:24 ./patches/packages/ntfs-3g-2022.10.3-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 466552 2023-05-25 18:24 ./patches/packages/ntfs-3g-2022.10.3-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-05-25 18:24 ./patches/packages/ntfs-3g-2022.10.3-x86_64-1_slack15.0.txz.asc
-rw-r--r-- 1 root root 562 2023-06-02 18:39 ./patches/packages/ntp-4.2.8p16-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 2046472 2023-06-02 18:39 ./patches/packages/ntp-4.2.8p16-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-06-02 18:39 ./patches/packages/ntp-4.2.8p16-x86_64-1_slack15.0.txz.asc
-rw-r--r-- 1 root root 672 2023-03-16 16:37 ./patches/packages/openssh-9.3p1-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 1061424 2023-03-16 16:37 ./patches/packages/openssh-9.3p1-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-03-16 16:37 ./patches/packages/openssh-9.3p1-x86_64-1_slack15.0.txz.asc
@ -1001,7 +1004,7 @@ drwxr-xr-x 2 root root 4096 2023-02-18 02:05 ./patches/packages/linux-5.15
-rw-r--r-- 1 root root 463 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txt
-rw-r--r-- 1 root root 459652 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txz
-rw-r--r-- 1 root root 163 2023-04-05 18:16 ./patches/packages/zstd-1.5.5-x86_64-1_slack15.0.txz.asc
drwxr-xr-x 77 root root 4096 2023-05-30 18:52 ./patches/source
drwxr-xr-x 78 root root 4096 2023-06-02 20:54 ./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
@ -1075,7 +1078,7 @@ drwxr-xr-x 2 root root 4096 2023-05-06 18:51 ./patches/source/ca-certifica
-rw-r--r-- 1 root root 128 2012-09-11 21:12 ./patches/source/ca-certificates/setup.11.cacerts
-rw-r--r-- 1 root root 829 2019-02-26 23:30 ./patches/source/ca-certificates/slack-desc
-rw-r--r-- 1 root root 229 2019-02-26 20:33 ./patches/source/ca-certificates/update-ca-certificates.c_rehash.diff.gz
drwxr-xr-x 2 root root 4096 2022-09-21 19:12 ./patches/source/cups
drwxr-xr-x 2 root root 4096 2023-06-02 16:45 ./patches/source/cups
drwxr-xr-x 2 root root 4096 2023-05-19 18:08 ./patches/source/cups-filters
-rw-r--r-- 1 root root 1831 2023-05-19 18:08 ./patches/source/cups-filters/CVE-2023-24805.patch.gz
-rw-r--r-- 1 root root 1230865 2023-01-25 01:38 ./patches/source/cups-filters/cups-filters-1.28.17.tar.lz
@ -1083,12 +1086,10 @@ drwxr-xr-x 2 root root 4096 2023-05-19 18:08 ./patches/source/cups-filters
-rw-r--r-- 1 root root 51 2014-07-21 02:53 ./patches/source/cups-filters/cups-filters.url
-rw-r--r-- 1 root root 339 2018-01-08 22:54 ./patches/source/cups-filters/doinst.sh.gz
-rw-r--r-- 1 root root 908 2018-02-27 06:12 ./patches/source/cups-filters/slack-desc
-rw-r--r-- 1 root root 691 2022-09-21 19:02 ./patches/source/cups/c0c403744b1bf4a9790a8fcaabcd60970cbefe06.patch.gz
-rw-r--r-- 1 root root 824 2022-09-21 19:10 ./patches/source/cups/cd84d7fde692237af4996d4a0e985a3eb4a293f0.patch.gz
-rw-r--r-- 1 root root 6207496 2022-05-26 06:17 ./patches/source/cups/cups-2.4.2.tar.lz
-rw-r--r-- 1 root root 6217079 2023-06-01 15:08 ./patches/source/cups/cups-2.4.3.tar.lz
-rw-r--r-- 1 root root 199167 2004-01-03 18:49 ./patches/source/cups/cups-samba-5.0rc3.tar.gz
-rw-r--r-- 1 root root 33700 2006-04-19 23:55 ./patches/source/cups/cups-windows-6.0-source.tar.xz
-rwxr-xr-x 1 root root 6897 2022-09-21 19:13 ./patches/source/cups/cups.SlackBuild
-rwxr-xr-x 1 root root 6649 2023-06-02 16:51 ./patches/source/cups/cups.SlackBuild
-rw-r--r-- 1 root root 46 2021-06-29 19:51 ./patches/source/cups/cups.url
-rw-r--r-- 1 root root 454 2021-04-26 18:11 ./patches/source/cups/doinst.sh.gz
-rw-r--r-- 1 root root 1094 2018-11-29 19:15 ./patches/source/cups/slack-desc
@ -1447,6 +1448,18 @@ drwxr-xr-x 2 root root 4096 2022-10-31 18:18 ./patches/source/ntfs-3g
-rw-r--r-- 1 root root 632910 2022-10-03 09:10 ./patches/source/ntfs-3g/ntfs-3g-2022.10.3.tar.lz
-rwxr-xr-x 1 root root 5220 2023-05-25 18:23 ./patches/source/ntfs-3g/ntfs-3g.SlackBuild
-rw-r--r-- 1 root root 1004 2018-02-27 06:13 ./patches/source/ntfs-3g/slack-desc
drwxr-xr-x 2 root root 4096 2023-06-02 18:30 ./patches/source/ntp
-rw-r--r-- 1 root root 368 2017-04-21 21:34 ./patches/source/ntp/doinst.sh.gz
-rw-r--r-- 1 root root 4339716 2023-06-01 03:17 ./patches/source/ntp/ntp-4.2.8p16.tar.xz
-rwxr-xr-x 1 root root 5913 2023-06-02 18:35 ./patches/source/ntp/ntp.SlackBuild
-rw-r--r-- 1 root root 2579 2017-04-21 21:20 ./patches/source/ntp/ntp.conf
-rw-r--r-- 1 root root 22 1999-10-07 19:50 ./patches/source/ntp/ntp.keys
-rw-r--r-- 1 root root 146 2018-12-06 05:10 ./patches/source/ntp/ntp.logrotate
-rw-r--r-- 1 root root 269 2010-04-22 04:38 ./patches/source/ntp/ntp.nano.diff.gz
-rw-r--r-- 1 root root 31 2023-06-02 18:26 ./patches/source/ntp/ntp.url
-rw-r--r-- 1 root root 2483 2018-02-15 11:45 ./patches/source/ntp/ntpdate.8.gz
-rw-r--r-- 1 root root 805 2021-02-16 19:01 ./patches/source/ntp/rc.ntpd
-rw-r--r-- 1 root root 1013 2023-06-02 18:24 ./patches/source/ntp/slack-desc
drwxr-xr-x 2 root root 4096 2023-03-16 16:36 ./patches/source/openssh
-rw-r--r-- 1 root root 593 2020-02-07 03:05 ./patches/source/openssh/doinst.sh.gz
-rw-r--r-- 1 root root 1856839 2023-03-15 21:50 ./patches/source/openssh/openssh-9.3p1.tar.gz
@ -2745,14 +2758,14 @@ drwxr-xr-x 2 root root 69632 2022-02-01 08:29 ./slackware64/kde
-rw-r--r-- 1 root root 139 2022-01-06 22:02 ./slackware64/kde/ark-21.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 1394872 2022-01-06 22:02 ./slackware64/kde/ark-21.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-06 22:02 ./slackware64/kde/ark-21.12.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 431 2022-01-06 22:39 ./slackware64/kde/artikulate-21.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 1187896 2022-01-06 22:39 ./slackware64/kde/artikulate-21.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-06 22:39 ./slackware64/kde/artikulate-21.12.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 353 2022-01-08 22:25 ./slackware64/kde/attica-5.90.0-x86_64-1.txt
-rw-r--r-- 1 root root 169792 2022-01-08 22:25 ./slackware64/kde/attica-5.90.0-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-08 22:25 ./slackware64/kde/attica-5.90.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 194 2022-01-06 22:15 ./slackware64/kde/audiocd-kio-21.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 631708 2022-01-06 22:15 ./slackware64/kde/audiocd-kio-21.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 431 2022-01-06 22:39 ./slackware64/kde/artikulate-21.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 1187896 2022-01-06 22:39 ./slackware64/kde/artikulate-21.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-06 22:39 ./slackware64/kde/artikulate-21.12.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 353 2022-01-08 22:25 ./slackware64/kde/attica-5.90.0-x86_64-1.txt
-rw-r--r-- 1 root root 169792 2022-01-08 22:25 ./slackware64/kde/attica-5.90.0-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-08 22:25 ./slackware64/kde/attica-5.90.0-x86_64-1.txz.asc
-rw-r--r-- 1 root root 194 2022-01-06 22:15 ./slackware64/kde/audiocd-kio-21.12.1-x86_64-1.txt
-rw-r--r-- 1 root root 631708 2022-01-06 22:15 ./slackware64/kde/audiocd-kio-21.12.1-x86_64-1.txz
-rw-r--r-- 1 root root 163 2022-01-06 22:15 ./slackware64/kde/audiocd-kio-21.12.1-x86_64-1.txz.asc
-rw-r--r-- 1 root root 364 2022-01-08 22:44 ./slackware64/kde/baloo-5.90.0-x86_64-1.txt
-rw-r--r-- 1 root root 422768 2022-01-08 22:44 ./slackware64/kde/baloo-5.90.0-x86_64-1.txz
@ -5482,14 +5495,14 @@ drwxr-xr-x 2 root root 65536 2022-02-01 04:47 ./slackware64/x
-rw-r--r-- 1 root root 4607608 2021-10-04 19:02 ./slackware64/x/cldr-emoji-annotation-37.0_13.0_0_2-noarch-4.txz
-rw-r--r-- 1 root root 163 2021-10-04 19:02 ./slackware64/x/cldr-emoji-annotation-37.0_13.0_0_2-noarch-4.txz.asc
-rw-r--r-- 1 root root 417 2021-02-13 12:44 ./slackware64/x/compiz-0.8.18-x86_64-3.txt
-rw-r--r-- 1 root root 987076 2021-02-13 12:44 ./slackware64/x/compiz-0.8.18-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 12:44 ./slackware64/x/compiz-0.8.18-x86_64-3.txz.asc
-rw-r--r-- 1 root root 440 2021-02-13 12:44 ./slackware64/x/dejavu-fonts-ttf-2.37-noarch-6.txt
-rw-r--r-- 1 root root 2517248 2021-02-13 12:44 ./slackware64/x/dejavu-fonts-ttf-2.37-noarch-6.txz
-rw-r--r-- 1 root root 163 2021-02-13 12:44 ./slackware64/x/dejavu-fonts-ttf-2.37-noarch-6.txz.asc
-rw-r--r-- 1 root root 305 2021-02-13 13:09 ./slackware64/x/editres-1.0.7-x86_64-4.txt
-rw-r--r-- 1 root root 48428 2021-02-13 13:09 ./slackware64/x/editres-1.0.7-x86_64-4.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:09 ./slackware64/x/editres-1.0.7-x86_64-4.txz.asc
-rw-r--r-- 1 root root 987076 2021-02-13 12:44 ./slackware64/x/compiz-0.8.18-x86_64-3.txz
-rw-r--r-- 1 root root 163 2021-02-13 12:44 ./slackware64/x/compiz-0.8.18-x86_64-3.txz.asc
-rw-r--r-- 1 root root 440 2021-02-13 12:44 ./slackware64/x/dejavu-fonts-ttf-2.37-noarch-6.txt
-rw-r--r-- 1 root root 2517248 2021-02-13 12:44 ./slackware64/x/dejavu-fonts-ttf-2.37-noarch-6.txz
-rw-r--r-- 1 root root 163 2021-02-13 12:44 ./slackware64/x/dejavu-fonts-ttf-2.37-noarch-6.txz.asc
-rw-r--r-- 1 root root 305 2021-02-13 13:09 ./slackware64/x/editres-1.0.7-x86_64-4.txt
-rw-r--r-- 1 root root 48428 2021-02-13 13:09 ./slackware64/x/editres-1.0.7-x86_64-4.txz
-rw-r--r-- 1 root root 163 2021-02-13 13:09 ./slackware64/x/editres-1.0.7-x86_64-4.txz.asc
-rw-r--r-- 1 root root 234 2021-05-13 18:27 ./slackware64/x/egl-wayland-1.1.7-x86_64-1.txt
-rw-r--r-- 1 root root 21532 2021-05-13 18:27 ./slackware64/x/egl-wayland-1.1.7-x86_64-1.txz
-rw-r--r-- 1 root root 163 2021-05-13 18:27 ./slackware64/x/egl-wayland-1.1.7-x86_64-1.txz.asc
@ -8602,18 +8615,18 @@ drwxr-xr-x 2 root root 4096 2021-11-02 19:02 ./source/d/llvm
-rw-r--r-- 1 root root 349 2020-03-24 19:47 ./source/d/llvm/llvm.polly.hack.diff.gz
-rw-r--r-- 1 root root 1861 2021-10-05 19:14 ./source/d/llvm/llvm.url
-rw-r--r-- 1 root root 1139488 2021-10-01 03:17 ./source/d/llvm/openmp-13.0.0.src.tar.xz
-rw-r--r-- 1 root root 566 2021-10-01 03:17 ./source/d/llvm/openmp-13.0.0.src.tar.xz.sig
-rw-r--r-- 1 root root 9186852 2021-10-01 03:17 ./source/d/llvm/polly-13.0.0.src.tar.xz
-rw-r--r-- 1 root root 566 2021-10-01 03:17 ./source/d/llvm/polly-13.0.0.src.tar.xz.sig
-rw-r--r-- 1 root root 830 2019-07-25 03:31 ./source/d/llvm/slack-desc
drwxr-xr-x 2 root root 4096 2021-05-31 19:24 ./source/d/m4
-rw-r--r-- 1 root root 1654908 2021-05-28 21:55 ./source/d/m4/m4-1.4.19.tar.xz
-rw-r--r-- 1 root root 488 2021-05-28 21:55 ./source/d/m4/m4-1.4.19.tar.xz.sig
-rwxr-xr-x 1 root root 4463 2021-05-31 19:24 ./source/d/m4/m4.SlackBuild
-rw-r--r-- 1 root root 923 2018-02-27 06:13 ./source/d/m4/slack-desc
drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/d/make
-rw-r--r-- 1 root root 294 2020-07-29 00:59 ./source/d/make/make-4.0-noclock_gettime.patch.gz
-rw-r--r-- 1 root root 251 2020-07-29 00:59 ./source/d/make/make-4.3-getcwd.patch.gz
-rw-r--r-- 1 root root 566 2021-10-01 03:17 ./source/d/llvm/openmp-13.0.0.src.tar.xz.sig
-rw-r--r-- 1 root root 9186852 2021-10-01 03:17 ./source/d/llvm/polly-13.0.0.src.tar.xz
-rw-r--r-- 1 root root 566 2021-10-01 03:17 ./source/d/llvm/polly-13.0.0.src.tar.xz.sig
-rw-r--r-- 1 root root 830 2019-07-25 03:31 ./source/d/llvm/slack-desc
drwxr-xr-x 2 root root 4096 2021-05-31 19:24 ./source/d/m4
-rw-r--r-- 1 root root 1654908 2021-05-28 21:55 ./source/d/m4/m4-1.4.19.tar.xz
-rw-r--r-- 1 root root 488 2021-05-28 21:55 ./source/d/m4/m4-1.4.19.tar.xz.sig
-rwxr-xr-x 1 root root 4463 2021-05-31 19:24 ./source/d/m4/m4.SlackBuild
-rw-r--r-- 1 root root 923 2018-02-27 06:13 ./source/d/m4/slack-desc
drwxr-xr-x 2 root root 4096 2021-02-13 05:31 ./source/d/make
-rw-r--r-- 1 root root 294 2020-07-29 00:59 ./source/d/make/make-4.0-noclock_gettime.patch.gz
-rw-r--r-- 1 root root 251 2020-07-29 00:59 ./source/d/make/make-4.3-getcwd.patch.gz
-rw-r--r-- 1 root root 433 2020-07-29 00:59 ./source/d/make/make-4.3-j8k.patch.gz
-rw-r--r-- 1 root root 1266180 2020-01-19 22:24 ./source/d/make/make-4.3.tar.lz
-rw-r--r-- 1 root root 566 2020-01-19 22:24 ./source/d/make/make-4.3.tar.lz.sig
@ -15038,16 +15051,16 @@ drwxr-xr-x 2 root root 12288 2020-05-18 17:50 ./source/x/x11/slack-desc
-rw-r--r-- 1 root root 812 2012-04-08 01:20 ./source/x/x11/slack-desc/dmxproto
-rw-r--r-- 1 root root 826 2012-04-08 01:21 ./source/x/x11/slack-desc/dri2proto
-rw-r--r-- 1 root root 826 2014-05-13 05:20 ./source/x/x11/slack-desc/dri3proto
-rw-r--r-- 1 root root 763 2012-04-08 01:21 ./source/x/x11/slack-desc/editres
-rw-r--r-- 1 root root 790 2012-04-08 01:22 ./source/x/x11/slack-desc/encodings
-rw-r--r-- 1 root root 802 2012-04-08 01:22 ./source/x/x11/slack-desc/evieext
-rw-r--r-- 1 root root 824 2012-04-08 01:22 ./source/x/x11/slack-desc/fixesproto
-rw-r--r-- 1 root root 904 2012-04-08 01:23 ./source/x/x11/slack-desc/font-adobe-100dpi
-rw-r--r-- 1 root root 890 2012-04-08 01:23 ./source/x/x11/slack-desc/font-adobe-75dpi
-rw-r--r-- 1 root root 1002 2012-04-08 01:23 ./source/x/x11/slack-desc/font-adobe-utopia-100dpi
-rw-r--r-- 1 root root 988 2012-04-08 01:23 ./source/x/x11/slack-desc/font-adobe-utopia-75dpi
-rw-r--r-- 1 root root 990 2012-04-08 01:24 ./source/x/x11/slack-desc/font-adobe-utopia-type1
-rw-r--r-- 1 root root 802 2012-04-08 01:25 ./source/x/x11/slack-desc/font-alias
-rw-r--r-- 1 root root 763 2012-04-08 01:21 ./source/x/x11/slack-desc/editres
-rw-r--r-- 1 root root 790 2012-04-08 01:22 ./source/x/x11/slack-desc/encodings
-rw-r--r-- 1 root root 802 2012-04-08 01:22 ./source/x/x11/slack-desc/evieext
-rw-r--r-- 1 root root 824 2012-04-08 01:22 ./source/x/x11/slack-desc/fixesproto
-rw-r--r-- 1 root root 904 2012-04-08 01:23 ./source/x/x11/slack-desc/font-adobe-100dpi
-rw-r--r-- 1 root root 890 2012-04-08 01:23 ./source/x/x11/slack-desc/font-adobe-75dpi
-rw-r--r-- 1 root root 1002 2012-04-08 01:23 ./source/x/x11/slack-desc/font-adobe-utopia-100dpi
-rw-r--r-- 1 root root 988 2012-04-08 01:23 ./source/x/x11/slack-desc/font-adobe-utopia-75dpi
-rw-r--r-- 1 root root 990 2012-04-08 01:24 ./source/x/x11/slack-desc/font-adobe-utopia-type1
-rw-r--r-- 1 root root 802 2012-04-08 01:25 ./source/x/x11/slack-desc/font-alias
-rw-r--r-- 1 root root 890 2012-04-08 02:11 ./source/x/x11/slack-desc/font-arabic-misc
-rw-r--r-- 1 root root 862 2012-04-08 02:11 ./source/x/x11/slack-desc/font-bh-100dpi
-rw-r--r-- 1 root root 848 2012-04-08 02:11 ./source/x/x11/slack-desc/font-bh-75dpi

View file

@ -0,0 +1,11 @@
ntp: ntp (Network Time Protocol daemon)
ntp:
ntp: The Network Time Protocol (NTP) is used to synchronize the time of a
ntp: computer client or server to another server or reference time source,
ntp: such as a radio or satellite receiver or modem. It provides client
ntp: accuracies typically within a millisecond on LANs and up to a few tens
ntp: of milliseconds on WANs relative to a primary server synchronized to
ntp: Coordinated Universal Time (UTC) via a Global Positioning Service
ntp: (GPS) receiver, for example.
ntp:
ntp: Homepage: https://www.ntp.org

View file

@ -1,36 +0,0 @@
From c0c403744b1bf4a9790a8fcaabcd60970cbefe06 Mon Sep 17 00:00:00 2001
From: Michael R Sweet <michael.r.sweet@gmail.com>
Date: Tue, 7 Jun 2022 13:45:29 -0400
Subject: [PATCH] Fix OpenSSL crash bug - "tls" pointer wasn't cleared after
freeing it (Issue #409)
---
CHANGES.md | 1 +
cups/tls-openssl.c | 2 ++
2 files changed, 3 insertions(+)
#diff --git a/CHANGES.md b/CHANGES.md
#index 8b78b003fa..befbf3ab44 100644
#--- a/CHANGES.md
#+++ b/CHANGES.md
#@@ -6,6 +6,7 @@ Changes in CUPS v2.4.3 (TBA)
#
# - Added a title with device uri for found network printers (Issues #402, #393)
# - Fixed configuration on RISC-V machines (Issue #404)
#+- Fixed an OpenSSL crash bug (Issue #409)
#
#
# Changes in CUPS v2.4.2 (26th May 2022)
diff --git a/cups/tls-openssl.c b/cups/tls-openssl.c
index c3e57742e8..6db9f8a9c2 100644
--- a/cups/tls-openssl.c
+++ b/cups/tls-openssl.c
@@ -1152,6 +1152,8 @@ _httpTLSStop(http_t *http) // I - Connection to server
SSL_shutdown(http->tls);
SSL_CTX_free(context);
SSL_free(http->tls);
+
+ http->tls = NULL;
}

View file

@ -1,36 +0,0 @@
From cd84d7fde692237af4996d4a0e985a3eb4a293f0 Mon Sep 17 00:00:00 2001
From: Michael R Sweet <michael.r.sweet@gmail.com>
Date: Mon, 5 Sep 2022 09:20:03 -0400
Subject: [PATCH] The OpenSSL code path wasn't loading the full certificate
chain (Issue #465)
---
CHANGES.md | 1 +
cups/tls-openssl.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
#diff --git a/CHANGES.md b/CHANGES.md
#index f96677675a..81aef4e680 100644
#--- a/CHANGES.md
#+++ b/CHANGES.md
#@@ -12,6 +12,7 @@ Changes in CUPS v2.4.3 (TBA)
# hostname (Issue #419)
# - Fixed an OpenSSL crash bug (Issue #409)
# - Fixed a potential SNMP OID value overflow issue (Issue #431)
#+- Fixed an OpenSSL certificate loading issue (Issue #465)
# - Look for default printer on network if needed (Issue ##452)
# - Now localize HTTP responses using the Content-Language value (Issue #426)
# - Raised file size limit for importing PPD via Web UI (Issue #433)
diff --git a/cups/tls-openssl.c b/cups/tls-openssl.c
index ceb3abaedc..acc10fc420 100644
--- a/cups/tls-openssl.c
+++ b/cups/tls-openssl.c
@@ -1055,7 +1055,7 @@ _httpTLSStart(http_t *http) // I - Connection to server
}
SSL_CTX_use_PrivateKey_file(context, keyfile, SSL_FILETYPE_PEM);
- SSL_CTX_use_certificate_file(context, crtfile, SSL_FILETYPE_PEM);
+ SSL_CTX_use_certificate_chain_file(context, crtfile);
}
// Set TLS options...

View file

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=cups
VERSION=${VERSION:-$(echo $PKGNAM-2*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-3_slack15.0}
BUILD=${BUILD:-1_slack15.0}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@ -81,12 +81,6 @@ cd cups-$VERSION || exit 1
sed -i.orig -e 's#$exec_prefix/lib/cups#$libdir/cups#g' configure
# Fix OpenSSL crash:
zcat $CWD/c0c403744b1bf4a9790a8fcaabcd60970cbefe06.patch.gz | patch -p1 --verbose || exit 1
# Fix OpenSSL certificate loading issue:
zcat $CWD/cd84d7fde692237af4996d4a0e985a3eb4a293f0.patch.gz | patch -p1 --verbose || exit 1
# Choose correct options depending on whether PAM is installed:
if [ -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then
PAM_OPTIONS="--enable-pam"

View file

@ -0,0 +1,26 @@
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/logrotate.d/ntp.new
config etc/ntp.conf.new
config etc/ntp.keys.new
preserve_perms etc/rc.d/rc.ntpd.new

185
patches/source/ntp/ntp.SlackBuild Executable file
View file

@ -0,0 +1,185 @@
#!/bin/bash
# Copyright 2008, 2009, 2010, 2011, 2012, 2014, 2015, 2017, 2018, 2020, 2023 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.
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=ntp
VERSION=${VERSION:-$(echo $PKGNAM-*.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"
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
else
SLKCFLAGS="-O2"
fi
TMP=${TMP:-/tmp}
PKG=$TMP/package-ntp
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf ntp-${VERSION}*
tar xvf $CWD/ntp-${VERSION}*.tar.?z* || exit 1
cd ntp-${VERSION}* || exit 1
zcat $CWD/ntp.nano.diff.gz | patch -p1 --verbose || exit 1
chown -R root:root .
find . \
\( -perm 2777 -o -perm 2755 -o -perm 2775 \) \
-exec chmod u+rwx,g-sw,g+rx,o-w,o+rx {} \+ -o \
\( -perm 777 -o -perm 775 -o -perm 774 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod u+rwx,g-sw,g+rx,o-w,o+rx {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \
--bindir=/usr/sbin \
--sbindir=/usr/sbin \
--mandir=/usr/man \
--docdir=/usr/doc/ntp-$VERSION \
--htmldir=/usr/doc/ntp-$VERSION \
--enable-ipv6 \
--with-crypto \
--enable-ntp-signd \
--program-prefix= \
--program-suffix= \
--build=$ARCH-slackware-linux || exit 1
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
# KDE Plasma 5 seems to want ntpdate in /usr/bin unless you have systemd:
mkdir -p $PKG/usr/bin
( cd $PKG/usr/bin
ln -sf ../sbin/ntpdate .
)
# This should be empty. Try to remove it, and error out if it's not actually empty:
rmdir $PKG/usr/libexec || exit 1
# Install default conf and keys files:
mkdir -p $PKG/etc
cat $CWD/ntp.conf > $PKG/etc/ntp.conf.new
cat $CWD/ntp.keys > $PKG/etc/ntp.keys.new
chown root:ntp $PKG/etc/ntp.keys.new
chmod 640 $PKG/etc/ntp.keys.new
# Location for the drift and stats files:
mkdir -p $PKG/var/lib/ntp
chown ntp:ntp $PKG/var/lib/ntp
chmod 0775 $PKG/var/lib/ntp
# This is deprecated and no longer used by anything:
#touch $PKG/etc/ntp/step-tickers
mkdir -p $PKG/etc/logrotate.d
cat $CWD/ntp.logrotate > $PKG/etc/logrotate.d/ntp.new
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.ntpd > $PKG/etc/rc.d/rc.ntpd.new
# Add ntpdate man page from Debian:
# src: https://packages.debian.org/stretch/ntpdate
cp -a $CWD/ntpdate.8.gz $PKG/usr/man/man8
chown root:root $PKG/usr/man/man8/ntpdate.8.gz
chmod 644 $PKG/usr/man/man8/ntpdate.8.gz
gzip -d $PKG/usr/man/man8/ntpdate.8.gz
mv $PKG/usr/doc/ntp-$VERSION/*.html $PKG/usr/doc/ntp-$VERSION/html || exit 1
cp -a \
COPYRIGHT NEWS README* TODO WHERE-TO-START \
*.y2kfixes clockstuff conf scripts \
$PKG/usr/doc/ntp-$VERSION
mkdir $PKG/usr/doc/ntp-$VERSION/util
cp -a util/README $PKG/usr/doc/ntp-$VERSION/util
mkdir $PKG/usr/doc/ntp-$VERSION/ntpdate
cp -a ntpdate/README $PKG/usr/doc/ntp-$VERSION/ntpdate
( cd $PKG/usr/doc/ntp-$VERSION
find . -name ".deps*" -exec rm -rf "{}" \+ 2> /dev/null
)
# If there's a ChangeLog, installing at least part of the recent history
# is useful, but don't let it get totally out of control:
if [ -r ChangeLog ]; then
DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION)
cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
touch -r ChangeLog $DOCSDIR/ChangeLog
fi
# Strip binaries:
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
# Compress and link manpages, if any:
if [ -d $PKG/usr/man ]; then
( cd $PKG/usr/man
for manpagedir in $(find . -type d -name "man*") ; do
( cd $manpagedir
for eachpage in $( find . -type l -maxdepth 1) ; do
ln -s $( readlink $eachpage ).gz $eachpage.gz
rm $eachpage
done
gzip -9 *.?
)
done
)
fi
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $TMP/ntp-$VERSION-$ARCH-$BUILD.txz

View file

@ -0,0 +1,82 @@
# Sample /etc/ntp.conf: Configuration file for ntpd.
#
# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available. The
# default stratum is usually 3, but in this case we elect to use stratum
# 0. Since the server line does not have the prefer keyword, this driver
# is never used for synchronization, unless no other other
# synchronization source is available. In case the local host is
# controlled by some external source, such as an external oscillator or
# another protocol, the prefer keyword would cause the local host to
# disregard all other synchronization sources, unless the kernel
# modifications are in use and declare an unsynchronized condition.
#
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
#
# NTP server (list one or more) to synchronize with:
#server 0.pool.ntp.org iburst
#server 1.pool.ntp.org iburst
#server 2.pool.ntp.org iburst
#server 3.pool.ntp.org iburst
#
# Full path of a directory where statistics files should be created
#
statsdir /var/lib/ntp/stats
#
# Location of an alternate log file to be used instead of the default system syslog(3) facility
#
logfile /var/log/ntp
#
# Drift file. Put this in a directory which the daemon can write to.
# No symbolic links allowed, either, since the daemon updates the file
# by creating a temporary in the same directory and then rename()'ing
# it to the file.
#
driftfile /var/lib/ntp/drift
#
# Location of PID file
#
pidfile /var/run/ntpd.pid
#
# Uncomment to use a multicast NTP server on the local subnet:
#multicastclient 224.0.1.1 # listen on default 224.0.1.1
# Set an optional compensation for broadcast packet delay:
#broadcastdelay 0.008
#
# Keys file. If you want to diddle your server at run time, make a
# keys file (mode 640 owned by root:ntp) and define the key number to
# be used for making requests.
# PLEASE DO NOT USE THE DEFAULT VALUES HERE. Pick your own, or remote
# systems might be able to reset your clock at will.
#
#keysdir /etc
#keys /etc/ntp.keys
#trustedkey 65535
#requestkey 65535
#controlkey 65535
#
# Don't serve time or stats to anyone else by default (more secure)
restrict default limited kod nomodify notrap nopeer noquery
restrict -6 default limited kod nomodify notrap nopeer noquery
#
# Use these lines instead if you do want to serve time and stats to
# other machines on the network:
#restrict default limited kod nomodify notrap nopeer
#restrict -6 default limited kod nomodify notrap nopeer
#
# Trust ourselves. :-)
restrict 127.0.0.1
restrict ::1

View file

@ -0,0 +1,2 @@
65535 M akey
1 M pass

View file

@ -0,0 +1,8 @@
/var/log/ntp {
notifempty
missingok
rotate 4
postrotate
[ -x /etc/rc.d/rc.ntpd ] && /etc/rc.d/rc.ntpd restart
endscript
}

View file

@ -0,0 +1,17 @@
--- ./include/ntp_syscall.h.orig 2009-12-09 01:36:37.000000000 -0600
+++ ./include/ntp_syscall.h 2010-04-21 23:38:30.000000000 -0500
@@ -14,6 +14,14 @@
# include <sys/timex.h>
#endif
+#if defined(ADJ_NANO) && !defined(MOD_NANO)
+#define MOD_NANO ADJ_NANO
+#endif
+
+#if defined(ADJ_TAI) && !defined(MOD_TAI)
+#define MOD_TAI ADJ_TAI
+#endif
+
#ifndef NTP_SYSCALLS_LIBC
#ifdef NTP_SYSCALLS_STD
# define ntp_adjtime(t) syscall(SYS_ntp_adjtime, (t))

View file

@ -0,0 +1 @@
https://www.ntp.org/downloads/

View file

@ -0,0 +1,152 @@
.TH ntpdate 8
.SH NAME
ntpdate \- set the date and time via NTP
.SH SYNOPSIS
.B ntpdate
.RB [\| \-bBdoqsuv \|]
.RB [\| \-a
.IR key \|]
.RB [\| \-e
.IR authdelay \|]
.RB [\| \-k
.IR keyfile \|]
.RB [\| \-o
.IR version \|]
.RB [\| \-p
.IR samples \|]
.RB [\| \-t
.IR timeout \|]
.IR server
.RB [\| ... \|]
.SH DESCRIPTION
.B ntpdate
sets the local date and time by polling the Network Time
Protocol (NTP) server(s) given as the
.I server
arguments to determine
the correct time. It must be run as root on the local host (unless the option \fB\-q\fR is used). A number
of samples are obtained from each of the servers specified and a
subset of the NTP clock filter and selection algorithms are applied to
select the best of these. Note that the accuracy and reliability of
ntpdate depends on the number of servers, the number of polls each
time it is run and the interval between runs.
ntpdate can be run manually as necessary to set the host clock, or it
can be run from the host startup script to set the clock at boot time.
This is useful in some cases to set the clock initially before
starting the NTP daemon ntpd. It is also possible to run ntpdate from
a cron script. However, it is important to note that ntpdate with
contrived cron scripts is no substitute for the NTP daemon, which uses
sophisticated algorithms to maximize accuracy and reliability while
minimizing resource use. Finally, since ntpdate does not discipline
the host clock frequency as does ntpd, the accuracy using ntpdate is
limited.
Time adjustments are made by ntpdate in one of two ways. If ntpdate
determines the clock is in error more than 0.5 second it will simply
step the time by calling the system settimeofday() routine. If the
error is less than 0.5 seconds, it will slew the time by calling the
system adjtime() routine. The latter technique is less disruptive and
more accurate when the error is small, and works quite well when
ntpdate is run by cron every hour or two.
ntpdate will decline to set the date if an NTP server daemon (e.g.,
ntpd) is running on the same host. When running ntpdate on a regular
basis from cron as an alternative to running a daemon, doing so once
every hour or two will result in precise enough timekeeping to avoid
stepping the clock.
.SH OPTIONS
.TP
.BI \-a \ key
Enable the authentication function and specify the key
identifier to be used for authentication as the argument
keyntpdate. The keys and key identifiers must match in both the
client and server key files. The default is to disable the
authentication function.
.TP
.B \-B
Force the time to always be slewed using the adjtime() system
call, even if the measured offset is greater than +-128 ms. The
default is to step the time using settimeofday() if the offset
is greater than +-128 ms. Note that, if the offset is much
greater than +-128 ms in this case, that it can take a long
time (hours) to slew the clock to the correct value. During
this time, the host should not be used to synchronize clients.
.TP
.B \-b
Force the time to be stepped using the settimeofday() system
call, rather than slewed (default) using the adjtime() system
call. This option should be used when called from a startup
file at boot time.
.TP
.B \-d
Enable the debugging mode, in which ntpdate will go through all
the steps, but not adjust the local clock. Information useful
for general debugging will also be printed.
.TP
.BI \-e \ authdelay
Specify the processing delay to perform an authentication
function as the value authdelay, in seconds and fraction (see
ntpd for details). This number is usually small enough to be
negligible for most purposes, though specifying a value may
improve timekeeping on very slow CPU's.
.TP
.BI \-k \ keyfile
Specify the path for the authentication key file as the string
keyfile. The default is /etc/ntp.keys. This file should be in
the format described in ntpd.
.TP
.BI \-o \ version
Specify the NTP version for outgoing packets as the integer
version, which can be 1 or 2. The default is 3. This allows
ntpdate to be used with older NTP versions.
.TP
.BI \-p \ samples
Specify the number of samples to be acquired from each server
as the integer samples, with values from 1 to 8 inclusive. The
default is 4.
.TP
.B \-q
Query only - don't set the clock.
.TP
.B \-s
Divert logging output from the standard output (default) to the
system syslog facility. This is designed primarily for
convenience of cron scripts.
.TP
.BI \-t \ timeout
Specify the maximum time waiting for a server response as the
value timeout, in seconds and fraction. The value is is rounded
to a multiple of 0.2 seconds. The default is 1 second, a value
suitable for polling across a LAN.
.TP
.B \-u
Direct ntpdate to use an unprivileged port for outgoing packets.
This is most useful when behind a firewall that blocks incoming
traffic to privileged ports, and you want to synchronise with
hosts beyond the firewall. Note that the \-d option always uses
unprivileged ports.
.TP
.B \-v
Be verbose. This option will cause ntpdate's version
identification string to be logged.
.SH DIAGNOSTICS
\fBntpdate\fP's exit status is zero if it found a server
and could update the clock, and nonzero otherwise.
.SH FILES
.TP
.I /etc/ntp.keys
\- encryption keys used by ntpdate.
.SH BUGS
The slew adjustment is actually 50% larger than the measured offset,
since this (it is argued) will tend to keep a badly drifting clock
more accurate. This is probably not a good idea and may cause a
troubling hunt for some values of the kernel variables tick and
tickadj.
.SH AUTHOR
David L. Mills (mills@udel.edu)
.br
This manpage converted from html to roff by
Fabrizio Polacco <fpolacco@debian.org>
.SH "SEE ALSO"
\fBntpdate\-debian\fR(8)

View file

@ -0,0 +1,55 @@
#!/bin/sh
# Start/stop/restart ntpd.
# Start ntpd:
ntpd_start() {
echo -n "Starting NTP daemon: /usr/sbin/ntpd -g -u ntp:ntp"
/usr/sbin/ntpd -g -u ntp:ntp
echo
}
# Stop ntpd:
ntpd_stop() {
echo -n "Stopping NTP daemon..."
if [ -r /run/ntpd.pid ]; then
kill -HUP $(cat /run/ntpd.pid)
rm -f /run/ntpd.pid
else
killall -HUP -q ntpd
fi
echo
}
# Restart ntpd:
ntpd_restart() {
ntpd_stop
sleep 1
ntpd_start
}
# Check if ntpd is running
ntpd_status() {
if [ -e /run/ntpd.pid ]; then
echo "ntpd is running as pid $(cat /run/ntpd.pid)."
else
echo "ntpd is stopped."
exit 1
fi
}
case "$1" in
'start')
ntpd_start
;;
'stop')
ntpd_stop
;;
'restart')
ntpd_restart
;;
'status')
ntpd_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------------------------------------------------------|
ntp: ntp (Network Time Protocol daemon)
ntp:
ntp: The Network Time Protocol (NTP) is used to synchronize the time of a
ntp: computer client or server to another server or reference time source,
ntp: such as a radio or satellite receiver or modem. It provides client
ntp: accuracies typically within a millisecond on LANs and up to a few tens
ntp: of milliseconds on WANs relative to a primary server synchronized to
ntp: Coordinated Universal Time (UTC) via a Global Positioning Service
ntp: (GPS) receiver, for example.
ntp:
ntp: Homepage: https://www.ntp.org

View file

@ -1301,6 +1301,9 @@ gzip ./patches/source/polkit/CVE-2021-4115.patch
gzip ./patches/source/polkit/doinst.sh
gzip ./patches/source/polkit/a2bf5c9c83b6ae46cbd5c779d3055bff81ded683.patch
gzip ./patches/source/polkit/0001-configure-fix-elogind-support.patch
gzip ./patches/source/ntp/ntp.nano.diff
gzip ./patches/source/ntp/doinst.sh
gzip ./patches/source/ntp/ntpdate.8
gzip ./patches/source/openssh/openssh.tcp_wrappers.diff
gzip ./patches/source/openssh/sshd_config-pam.diff
gzip ./patches/source/openssh/doinst.sh
@ -1308,9 +1311,7 @@ gzip ./patches/source/bind/doinst.sh
gzip ./patches/source/pidgin/fix-gmain_h-compile-error.diff
gzip ./patches/source/pidgin/doinst.sh
gzip ./patches/source/irssi/doinst.sh
gzip ./patches/source/cups/cd84d7fde692237af4996d4a0e985a3eb4a293f0.patch
gzip ./patches/source/cups/doinst.sh
gzip ./patches/source/cups/c0c403744b1bf4a9790a8fcaabcd60970cbefe06.patch
gzip ./patches/source/httpd/httpd.runasapache.diff
gzip ./patches/source/httpd/doinst.sh
gzip ./patches/source/at/doinst.sh