mirror of
git://slackware.nl/current.git
synced 2025-01-13 08:01:53 +01:00
Wed Mar 30 22:37:05 UTC 2022
patches/packages/vim-8.2.4649-x86_64-1_slack15.0.txz: Upgraded.
Fixes a use-after-free in utf_ptr2char in vim/vim prior to 8.2.4646.
This vulnerability is capable of crashing software, bypassing protection
mechanisms, modifying memory, and possibly execution of arbitrary code.
Thanks to marav for the heads-up.
For more information, see:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1154
https://huntr.dev/bounties/7f0ec6bc-ea0e-45b0-8128-caac72d23425
b55986c52d
(* Security fix *)
patches/packages/vim-gvim-8.2.4649-x86_64-1_slack15.0.txz: Upgraded.
This commit is contained in:
parent
64d851e17a
commit
287bf2688a
13 changed files with 941 additions and 64 deletions
|
@ -11,9 +11,30 @@
|
|||
<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>Mon, 28 Mar 2022 19:33:46 GMT</pubDate>
|
||||
<lastBuildDate>Tue, 29 Mar 2022 11:29:37 GMT</lastBuildDate>
|
||||
<pubDate>Wed, 30 Mar 2022 22:37:05 GMT</pubDate>
|
||||
<lastBuildDate>Thu, 31 Mar 2022 11:29:37 GMT</lastBuildDate>
|
||||
<generator>maintain_current_git.sh v 1.17</generator>
|
||||
<item>
|
||||
<title>Wed, 30 Mar 2022 22:37:05 GMT</title>
|
||||
<pubDate>Wed, 30 Mar 2022 22:37:05 GMT</pubDate>
|
||||
<link>https://git.slackware.nl/current/tag/?h=20220330223705</link>
|
||||
<guid isPermaLink="false">20220330223705</guid>
|
||||
<description>
|
||||
<![CDATA[<pre>
|
||||
patches/packages/vim-8.2.4649-x86_64-1_slack15.0.txz: Upgraded.
|
||||
Fixes a use-after-free in utf_ptr2char in vim/vim prior to 8.2.4646.
|
||||
This vulnerability is capable of crashing software, bypassing protection
|
||||
mechanisms, modifying memory, and possibly execution of arbitrary code.
|
||||
Thanks to marav for the heads-up.
|
||||
For more information, see:
|
||||
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1154
|
||||
https://huntr.dev/bounties/7f0ec6bc-ea0e-45b0-8128-caac72d23425
|
||||
https://github.com/vim/vim/commit/b55986c52d4cd88a22d0b0b0e8a79547ba13e1d5
|
||||
(* Security fix *)
|
||||
patches/packages/vim-gvim-8.2.4649-x86_64-1_slack15.0.txz: Upgraded.
|
||||
</pre>]]>
|
||||
</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Mon, 28 Mar 2022 19:33:46 GMT</title>
|
||||
<pubDate>Mon, 28 Mar 2022 19:33:46 GMT</pubDate>
|
||||
|
|
|
@ -1,3 +1,16 @@
|
|||
Wed Mar 30 22:37:05 UTC 2022
|
||||
patches/packages/vim-8.2.4649-x86_64-1_slack15.0.txz: Upgraded.
|
||||
Fixes a use-after-free in utf_ptr2char in vim/vim prior to 8.2.4646.
|
||||
This vulnerability is capable of crashing software, bypassing protection
|
||||
mechanisms, modifying memory, and possibly execution of arbitrary code.
|
||||
Thanks to marav for the heads-up.
|
||||
For more information, see:
|
||||
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1154
|
||||
https://huntr.dev/bounties/7f0ec6bc-ea0e-45b0-8128-caac72d23425
|
||||
https://github.com/vim/vim/commit/b55986c52d4cd88a22d0b0b0e8a79547ba13e1d5
|
||||
(* Security fix *)
|
||||
patches/packages/vim-gvim-8.2.4649-x86_64-1_slack15.0.txz: Upgraded.
|
||||
+--------------------------+
|
||||
Mon Mar 28 19:33:46 UTC 2022
|
||||
patches/packages/whois-5.5.12-x86_64-1_slack15.0.txz: Upgraded.
|
||||
This is a bugfix release. Thanks to Nobby6.
|
||||
|
|
140
FILELIST.TXT
140
FILELIST.TXT
|
@ -1,20 +1,20 @@
|
|||
Mon Mar 28 20:05:33 UTC 2022
|
||||
Wed Mar 30 22:39:24 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-03-28 20:03 .
|
||||
drwxr-xr-x 12 root root 4096 2022-03-30 22:37 .
|
||||
-rw-r--r-- 1 root root 5767 2022-02-02 22:44 ./ANNOUNCE.15.0
|
||||
-rw-r--r-- 1 root root 16617 2022-02-02 23:27 ./CHANGES_AND_HINTS.TXT
|
||||
-rw-r--r-- 1 root root 1129564 2022-03-28 19:39 ./CHECKSUMS.md5
|
||||
-rw-r--r-- 1 root root 163 2022-03-28 19:39 ./CHECKSUMS.md5.asc
|
||||
-rw-r--r-- 1 root root 16609 2022-03-30 19:03 ./CHANGES_AND_HINTS.TXT
|
||||
-rw-r--r-- 1 root root 1129564 2022-03-28 20:05 ./CHECKSUMS.md5
|
||||
-rw-r--r-- 1 root root 163 2022-03-28 20:05 ./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 1883256 2022-03-28 20:03 ./ChangeLog.txt
|
||||
-rw-r--r-- 1 root root 1883967 2022-03-30 22:37 ./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,13 +25,13 @@ 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 1474338 2022-03-28 19:39 ./FILELIST.TXT
|
||||
-rw-r--r-- 1 root root 1474338 2022-03-28 20:05 ./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
|
||||
-rw-r--r-- 1 root root 3635 2022-02-02 08:11 ./README.initrd
|
||||
-rw-r--r-- 1 root root 34162 2022-01-30 20:35 ./README_CRYPT.TXT
|
||||
-rw-r--r-- 1 root root 8751 2016-06-28 21:44 ./README_LVM.TXT
|
||||
-rw-r--r-- 1 root root 8754 2022-03-30 19:05 ./README_LVM.TXT
|
||||
-rw-r--r-- 1 root root 19658 2013-06-18 04:34 ./README_RAID.TXT
|
||||
-rw-r--r-- 1 root root 7928 2018-07-19 06:33 ./README_UEFI.TXT
|
||||
-rw-r--r-- 1 root root 7613 2022-02-03 04:38 ./RELEASE_NOTES
|
||||
|
@ -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-03-28 19:39 ./patches
|
||||
-rw-r--r-- 1 root root 27696 2022-03-28 19:39 ./patches/CHECKSUMS.md5
|
||||
-rw-r--r-- 1 root root 163 2022-03-28 19:39 ./patches/CHECKSUMS.md5.asc
|
||||
-rw-r--r-- 1 root root 37089 2022-03-28 19:39 ./patches/FILE_LIST
|
||||
-rw-r--r-- 1 root root 10890759 2022-03-28 19:39 ./patches/MANIFEST.bz2
|
||||
-rw-r--r-- 1 root root 18932 2022-03-28 19:39 ./patches/PACKAGES.TXT
|
||||
drwxr-xr-x 3 root root 4096 2022-03-28 19:39 ./patches/packages
|
||||
drwxr-xr-x 4 root root 4096 2022-03-30 22:39 ./patches
|
||||
-rw-r--r-- 1 root root 28808 2022-03-30 22:39 ./patches/CHECKSUMS.md5
|
||||
-rw-r--r-- 1 root root 163 2022-03-30 22:39 ./patches/CHECKSUMS.md5.asc
|
||||
-rw-r--r-- 1 root root 38520 2022-03-30 22:39 ./patches/FILE_LIST
|
||||
-rw-r--r-- 1 root root 10942859 2022-03-30 22:39 ./patches/MANIFEST.bz2
|
||||
-rw-r--r-- 1 root root 20190 2022-03-30 22:39 ./patches/PACKAGES.TXT
|
||||
drwxr-xr-x 3 root root 12288 2022-03-30 22:39 ./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
|
||||
|
@ -832,13 +832,19 @@ drwxr-xr-x 2 root root 4096 2022-03-09 04:17 ./patches/packages/linux-5.15
|
|||
-rw-r--r-- 1 root root 354 2022-02-15 18:37 ./patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txt
|
||||
-rw-r--r-- 1 root root 2805300 2022-02-15 18:37 ./patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txz
|
||||
-rw-r--r-- 1 root root 163 2022-02-15 18:37 ./patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txz.asc
|
||||
-rw-r--r-- 1 root root 383 2022-03-30 22:32 ./patches/packages/vim-8.2.4649-x86_64-1_slack15.0.txt
|
||||
-rw-r--r-- 1 root root 8140380 2022-03-30 22:32 ./patches/packages/vim-8.2.4649-x86_64-1_slack15.0.txz
|
||||
-rw-r--r-- 1 root root 163 2022-03-30 22:32 ./patches/packages/vim-8.2.4649-x86_64-1_slack15.0.txz.asc
|
||||
-rw-r--r-- 1 root root 503 2022-03-30 22:34 ./patches/packages/vim-gvim-8.2.4649-x86_64-1_slack15.0.txt
|
||||
-rw-r--r-- 1 root root 1660648 2022-03-30 22:34 ./patches/packages/vim-gvim-8.2.4649-x86_64-1_slack15.0.txz
|
||||
-rw-r--r-- 1 root root 163 2022-03-30 22:34 ./patches/packages/vim-gvim-8.2.4649-x86_64-1_slack15.0.txz.asc
|
||||
-rw-r--r-- 1 root root 367 2022-03-28 19:29 ./patches/packages/whois-5.5.12-x86_64-1_slack15.0.txt
|
||||
-rw-r--r-- 1 root root 60228 2022-03-28 19:29 ./patches/packages/whois-5.5.12-x86_64-1_slack15.0.txz
|
||||
-rw-r--r-- 1 root root 163 2022-03-28 19:29 ./patches/packages/whois-5.5.12-x86_64-1_slack15.0.txz.asc
|
||||
-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 27 root root 4096 2022-03-28 19:32 ./patches/source
|
||||
drwxr-xr-x 28 root root 4096 2022-03-30 22:36 ./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
|
||||
|
@ -1123,6 +1129,16 @@ drwxr-xr-x 2 root root 4096 2020-05-08 19:39 ./patches/source/util-linux/p
|
|||
-rw-r--r-- 1 root root 335 2014-07-03 08:34 ./patches/source/util-linux/util-linux.fdisk-no-solaris.diff.gz
|
||||
-rw-r--r-- 1 root root 10292 2009-05-30 01:25 ./patches/source/util-linux/ziptool-1.4.0.tar.xz
|
||||
-rw-r--r-- 1 root root 386 2009-05-30 01:25 ./patches/source/util-linux/ziptool-fix_build.patch.gz
|
||||
drwxr-xr-x 2 root root 4096 2022-03-30 18:18 ./patches/source/vim
|
||||
-rw-r--r-- 1 root root 299348 2009-07-09 22:03 ./patches/source/vim/ctags-5.8.tar.xz
|
||||
-rw-r--r-- 1 root root 2768 2022-02-12 08:11 ./patches/source/vim/ctags.use-conventional-unused-marker.patch.gz
|
||||
-rw-r--r-- 1 root root 8249 2006-01-19 17:01 ./patches/source/vim/gvim.png
|
||||
-rw-r--r-- 1 root root 834 2018-02-27 06:13 ./patches/source/vim/slack-desc.vim
|
||||
-rw-r--r-- 1 root root 959 2018-03-15 02:41 ./patches/source/vim/slack-desc.vim-gvim
|
||||
-rw-r--r-- 1 root root 10400559 2022-03-30 18:17 ./patches/source/vim/vim-8.2.4649.tar.lz
|
||||
-rwxr-xr-x 1 root root 6370 2022-03-30 22:26 ./patches/source/vim/vim-gvim.SlackBuild
|
||||
-rwxr-xr-x 1 root root 7934 2022-03-30 22:26 ./patches/source/vim/vim.SlackBuild
|
||||
-rw-r--r-- 1 root root 283 2019-01-11 20:43 ./patches/source/vim/vim.vimrc.diff.gz
|
||||
drwxr-xr-x 2 root root 4096 2022-02-24 19:37 ./patches/source/whois
|
||||
-rw-r--r-- 1 root root 820 2019-03-28 19:25 ./patches/source/whois/slack-desc
|
||||
-rw-r--r-- 1 root root 85013 2022-02-23 00:07 ./patches/source/whois/whois-5.5.12.tar.lz
|
||||
|
@ -2716,23 +2732,23 @@ 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:43 ./slackware64/kde/kqtquickcharts-21.12.1-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 658 2022-01-08 22:35 ./slackware64/kde/kquickcharts-5.90.0-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 122716 2022-01-08 22:35 ./slackware64/kde/kquickcharts-5.90.0-x86_64-1.txz
|
||||
-rw-r--r-- 1 root root 163 2022-01-08 22:35 ./slackware64/kde/kquickcharts-5.90.0-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 332 2022-01-06 22:24 ./slackware64/kde/krdc-21.12.1-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 1712532 2022-01-06 22:24 ./slackware64/kde/krdc-21.12.1-x86_64-1.txz
|
||||
-rw-r--r-- 1 root root 163 2022-01-06 22:24 ./slackware64/kde/krdc-21.12.1-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 460 2021-09-30 20:21 ./slackware64/kde/krename-5.0.1-x86_64-4.txt
|
||||
-rw-r--r-- 1 root root 454148 2021-09-30 20:21 ./slackware64/kde/krename-5.0.1-x86_64-4.txz
|
||||
-rw-r--r-- 1 root root 163 2021-09-30 20:21 ./slackware64/kde/krename-5.0.1-x86_64-4.txz.asc
|
||||
-rw-r--r-- 1 root root 462 2022-01-06 22:28 ./slackware64/kde/kreversi-21.12.1-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 1076000 2022-01-06 22:28 ./slackware64/kde/kreversi-21.12.1-x86_64-1.txz
|
||||
-rw-r--r-- 1 root root 163 2022-01-06 22:28 ./slackware64/kde/kreversi-21.12.1-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 330 2022-01-06 22:24 ./slackware64/kde/krfb-21.12.1-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 1396680 2022-01-06 22:24 ./slackware64/kde/krfb-21.12.1-x86_64-1.txz
|
||||
-rw-r--r-- 1 root root 163 2022-01-06 22:24 ./slackware64/kde/krfb-21.12.1-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 271 2022-01-27 19:47 ./slackware64/kde/krita-5.0.2-x86_64-2.txt
|
||||
-rw-r--r-- 1 root root 62751620 2022-01-27 19:47 ./slackware64/kde/krita-5.0.2-x86_64-2.txz
|
||||
-rw-r--r-- 1 root root 163 2022-01-27 19:47 ./slackware64/kde/krita-5.0.2-x86_64-2.txz.asc
|
||||
-rw-r--r-- 1 root root 340 2022-01-08 22:45 ./slackware64/kde/kross-5.90.0-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 163 2022-01-08 22:35 ./slackware64/kde/kquickcharts-5.90.0-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 332 2022-01-06 22:24 ./slackware64/kde/krdc-21.12.1-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 1712532 2022-01-06 22:24 ./slackware64/kde/krdc-21.12.1-x86_64-1.txz
|
||||
-rw-r--r-- 1 root root 163 2022-01-06 22:24 ./slackware64/kde/krdc-21.12.1-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 460 2021-09-30 20:21 ./slackware64/kde/krename-5.0.1-x86_64-4.txt
|
||||
-rw-r--r-- 1 root root 454148 2021-09-30 20:21 ./slackware64/kde/krename-5.0.1-x86_64-4.txz
|
||||
-rw-r--r-- 1 root root 163 2021-09-30 20:21 ./slackware64/kde/krename-5.0.1-x86_64-4.txz.asc
|
||||
-rw-r--r-- 1 root root 462 2022-01-06 22:28 ./slackware64/kde/kreversi-21.12.1-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 1076000 2022-01-06 22:28 ./slackware64/kde/kreversi-21.12.1-x86_64-1.txz
|
||||
-rw-r--r-- 1 root root 163 2022-01-06 22:28 ./slackware64/kde/kreversi-21.12.1-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 330 2022-01-06 22:24 ./slackware64/kde/krfb-21.12.1-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 1396680 2022-01-06 22:24 ./slackware64/kde/krfb-21.12.1-x86_64-1.txz
|
||||
-rw-r--r-- 1 root root 163 2022-01-06 22:24 ./slackware64/kde/krfb-21.12.1-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 271 2022-01-27 19:47 ./slackware64/kde/krita-5.0.2-x86_64-2.txt
|
||||
-rw-r--r-- 1 root root 62751620 2022-01-27 19:47 ./slackware64/kde/krita-5.0.2-x86_64-2.txz
|
||||
-rw-r--r-- 1 root root 163 2022-01-27 19:47 ./slackware64/kde/krita-5.0.2-x86_64-2.txz.asc
|
||||
-rw-r--r-- 1 root root 340 2022-01-08 22:45 ./slackware64/kde/kross-5.90.0-x86_64-1.txt
|
||||
-rw-r--r-- 1 root root 355560 2022-01-08 22:45 ./slackware64/kde/kross-5.90.0-x86_64-1.txz
|
||||
-rw-r--r-- 1 root root 163 2022-01-08 22:45 ./slackware64/kde/kross-5.90.0-x86_64-1.txz.asc
|
||||
-rw-r--r-- 1 root root 321 2022-01-06 22:08 ./slackware64/kde/kross-interpreters-21.12.1-x86_64-1.txt
|
||||
|
@ -5475,21 +5491,21 @@ drwxr-xr-x 2 root root 65536 2022-02-01 04:47 ./slackware64/x
|
|||
-rw-r--r-- 1 root root 51204 2021-02-13 13:16 ./slackware64/x/xf86-video-ast-1.1.5-x86_64-7.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-ast-1.1.5-x86_64-7.txz.asc
|
||||
-rw-r--r-- 1 root root 422 2021-02-13 13:16 ./slackware64/x/xf86-video-ati-19.1.0-x86_64-3.txt
|
||||
-rw-r--r-- 1 root root 163924 2021-02-13 13:16 ./slackware64/x/xf86-video-ati-19.1.0-x86_64-3.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-ati-19.1.0-x86_64-3.txz.asc
|
||||
-rw-r--r-- 1 root root 447 2021-02-13 13:16 ./slackware64/x/xf86-video-chips-1.4.0-x86_64-3.txt
|
||||
-rw-r--r-- 1 root root 76236 2021-02-13 13:16 ./slackware64/x/xf86-video-chips-1.4.0-x86_64-3.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-chips-1.4.0-x86_64-3.txz.asc
|
||||
-rw-r--r-- 1 root root 463 2021-02-13 13:16 ./slackware64/x/xf86-video-cirrus-1.5.3-x86_64-7.txt
|
||||
-rw-r--r-- 1 root root 42568 2021-02-13 13:16 ./slackware64/x/xf86-video-cirrus-1.5.3-x86_64-7.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-cirrus-1.5.3-x86_64-7.txz.asc
|
||||
-rw-r--r-- 1 root root 452 2021-02-13 13:16 ./slackware64/x/xf86-video-dummy-0.3.8-x86_64-5.txt
|
||||
-rw-r--r-- 1 root root 15632 2021-02-13 13:16 ./slackware64/x/xf86-video-dummy-0.3.8-x86_64-5.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-dummy-0.3.8-x86_64-5.txz.asc
|
||||
-rw-r--r-- 1 root root 452 2021-02-13 13:16 ./slackware64/x/xf86-video-glint-1.2.9-x86_64-5.txt
|
||||
-rw-r--r-- 1 root root 66204 2021-02-13 13:16 ./slackware64/x/xf86-video-glint-1.2.9-x86_64-5.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-glint-1.2.9-x86_64-5.txz.asc
|
||||
-rw-r--r-- 1 root root 441 2021-02-13 13:16 ./slackware64/x/xf86-video-i128-1.4.0-x86_64-3.txt
|
||||
-rw-r--r-- 1 root root 163924 2021-02-13 13:16 ./slackware64/x/xf86-video-ati-19.1.0-x86_64-3.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-ati-19.1.0-x86_64-3.txz.asc
|
||||
-rw-r--r-- 1 root root 447 2021-02-13 13:16 ./slackware64/x/xf86-video-chips-1.4.0-x86_64-3.txt
|
||||
-rw-r--r-- 1 root root 76236 2021-02-13 13:16 ./slackware64/x/xf86-video-chips-1.4.0-x86_64-3.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-chips-1.4.0-x86_64-3.txz.asc
|
||||
-rw-r--r-- 1 root root 463 2021-02-13 13:16 ./slackware64/x/xf86-video-cirrus-1.5.3-x86_64-7.txt
|
||||
-rw-r--r-- 1 root root 42568 2021-02-13 13:16 ./slackware64/x/xf86-video-cirrus-1.5.3-x86_64-7.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-cirrus-1.5.3-x86_64-7.txz.asc
|
||||
-rw-r--r-- 1 root root 452 2021-02-13 13:16 ./slackware64/x/xf86-video-dummy-0.3.8-x86_64-5.txt
|
||||
-rw-r--r-- 1 root root 15632 2021-02-13 13:16 ./slackware64/x/xf86-video-dummy-0.3.8-x86_64-5.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-dummy-0.3.8-x86_64-5.txz.asc
|
||||
-rw-r--r-- 1 root root 452 2021-02-13 13:16 ./slackware64/x/xf86-video-glint-1.2.9-x86_64-5.txt
|
||||
-rw-r--r-- 1 root root 66204 2021-02-13 13:16 ./slackware64/x/xf86-video-glint-1.2.9-x86_64-5.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-glint-1.2.9-x86_64-5.txz.asc
|
||||
-rw-r--r-- 1 root root 441 2021-02-13 13:16 ./slackware64/x/xf86-video-i128-1.4.0-x86_64-3.txt
|
||||
-rw-r--r-- 1 root root 36572 2021-02-13 13:16 ./slackware64/x/xf86-video-i128-1.4.0-x86_64-3.txz
|
||||
-rw-r--r-- 1 root root 163 2021-02-13 13:16 ./slackware64/x/xf86-video-i128-1.4.0-x86_64-3.txz.asc
|
||||
-rw-r--r-- 1 root root 435 2021-02-13 13:16 ./slackware64/x/xf86-video-i740-1.4.0-x86_64-3.txt
|
||||
|
@ -15125,20 +15141,20 @@ drwxr-xr-x 2 root root 4096 2021-06-25 04:15 ./source/xap/mozilla-thunder
|
|||
-rwxr-xr-x 1 root root 1926 2019-07-08 21:06 ./source/xap/mozilla-thunderbird/build-deps/cbindgen/cbindgen.build
|
||||
-rw-r--r-- 1 root root 35 2021-06-25 03:11 ./source/xap/mozilla-thunderbird/build-deps/cbindgen/cbindgen.url
|
||||
drwxr-xr-x 2 root root 4096 2021-10-12 20:16 ./source/xap/mozilla-thunderbird/build-deps/nodejs
|
||||
-rw-r--r-- 1 root root 33429880 2021-10-12 03:58 ./source/xap/mozilla-thunderbird/build-deps/nodejs/node-v16.11.1.tar.xz
|
||||
-rwxr-xr-x 1 root root 3013 2021-08-13 18:10 ./source/xap/mozilla-thunderbird/build-deps/nodejs/nodejs.build
|
||||
-rw-r--r-- 1 root root 86 2019-07-08 21:02 ./source/xap/mozilla-thunderbird/build-deps/nodejs/nodejs.url
|
||||
-rw-r--r-- 1 root root 609 2021-12-13 19:25 ./source/xap/mozilla-thunderbird/d30c921928a12fccd5085888011f899ff1c788cd.patch.gz
|
||||
-rw-r--r-- 1 root root 518 2021-03-15 17:43 ./source/xap/mozilla-thunderbird/gkrust.a.no.networking.check.diff.gz
|
||||
-rwxr-xr-x 1 root root 13127 2021-12-13 19:49 ./source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild
|
||||
-rw-r--r-- 1 root root 3378 2005-03-08 05:13 ./source/xap/mozilla-thunderbird/mozilla-thunderbird.desktop
|
||||
-rw-r--r-- 1 root root 1130 2018-02-27 06:47 ./source/xap/mozilla-thunderbird/slack-desc
|
||||
-rw-r--r-- 1 root root 330 2019-08-27 16:35 ./source/xap/mozilla-thunderbird/tb.ui.scrollToClick.diff.gz
|
||||
-rw-r--r-- 1 root root 405332676 2022-01-24 22:19 ./source/xap/mozilla-thunderbird/thunderbird-91.5.1.source.tar.xz
|
||||
-rw-r--r-- 1 root root 833 2022-01-24 22:19 ./source/xap/mozilla-thunderbird/thunderbird-91.5.1.source.tar.xz.asc
|
||||
drwxr-xr-x 2 root root 4096 2021-09-10 17:57 ./source/xap/network-manager-applet
|
||||
-rw-r--r-- 1 root root 173 2021-09-10 17:57 ./source/xap/network-manager-applet/doinst.sh.gz
|
||||
-rw-r--r-- 1 root root 1903280 2021-08-17 08:14 ./source/xap/network-manager-applet/network-manager-applet-1.24.0.tar.xz
|
||||
-rw-r--r-- 1 root root 33429880 2021-10-12 03:58 ./source/xap/mozilla-thunderbird/build-deps/nodejs/node-v16.11.1.tar.xz
|
||||
-rwxr-xr-x 1 root root 3013 2021-08-13 18:10 ./source/xap/mozilla-thunderbird/build-deps/nodejs/nodejs.build
|
||||
-rw-r--r-- 1 root root 86 2019-07-08 21:02 ./source/xap/mozilla-thunderbird/build-deps/nodejs/nodejs.url
|
||||
-rw-r--r-- 1 root root 609 2021-12-13 19:25 ./source/xap/mozilla-thunderbird/d30c921928a12fccd5085888011f899ff1c788cd.patch.gz
|
||||
-rw-r--r-- 1 root root 518 2021-03-15 17:43 ./source/xap/mozilla-thunderbird/gkrust.a.no.networking.check.diff.gz
|
||||
-rwxr-xr-x 1 root root 13127 2021-12-13 19:49 ./source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild
|
||||
-rw-r--r-- 1 root root 3378 2005-03-08 05:13 ./source/xap/mozilla-thunderbird/mozilla-thunderbird.desktop
|
||||
-rw-r--r-- 1 root root 1130 2018-02-27 06:47 ./source/xap/mozilla-thunderbird/slack-desc
|
||||
-rw-r--r-- 1 root root 330 2019-08-27 16:35 ./source/xap/mozilla-thunderbird/tb.ui.scrollToClick.diff.gz
|
||||
-rw-r--r-- 1 root root 405332676 2022-01-24 22:19 ./source/xap/mozilla-thunderbird/thunderbird-91.5.1.source.tar.xz
|
||||
-rw-r--r-- 1 root root 833 2022-01-24 22:19 ./source/xap/mozilla-thunderbird/thunderbird-91.5.1.source.tar.xz.asc
|
||||
drwxr-xr-x 2 root root 4096 2021-09-10 17:57 ./source/xap/network-manager-applet
|
||||
-rw-r--r-- 1 root root 173 2021-09-10 17:57 ./source/xap/network-manager-applet/doinst.sh.gz
|
||||
-rw-r--r-- 1 root root 1903280 2021-08-17 08:14 ./source/xap/network-manager-applet/network-manager-applet-1.24.0.tar.xz
|
||||
-rwxr-xr-x 1 root root 4333 2021-09-10 17:57 ./source/xap/network-manager-applet/network-manager-applet.SlackBuild
|
||||
-rw-r--r-- 1 root root 829 2018-02-27 06:13 ./source/xap/network-manager-applet/slack-desc
|
||||
drwxr-xr-x 2 root root 4096 2021-12-23 21:11 ./source/xap/pan
|
||||
|
|
11
patches/packages/vim-8.2.4649-x86_64-1_slack15.0.txt
Normal file
11
patches/packages/vim-8.2.4649-x86_64-1_slack15.0.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
vim: vim (Vi IMproved)
|
||||
vim:
|
||||
vim: Vim is an almost compatible version of the UNIX editor vi. Many new
|
||||
vim: features have been added: multi level undo, command line history,
|
||||
vim: filename completion, block operations, and more.
|
||||
vim:
|
||||
vim: Vim's development is led by Bram Moolenaar.
|
||||
vim:
|
||||
vim: This package also contains the Exuberant Ctags program
|
||||
vim: written by Darren Hiebert.
|
||||
vim:
|
11
patches/packages/vim-gvim-8.2.4649-x86_64-1_slack15.0.txt
Normal file
11
patches/packages/vim-gvim-8.2.4649-x86_64-1_slack15.0.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
vim-gvim: vim-gvim (gvim, the X/GTK3 enabled version of vim)
|
||||
vim-gvim:
|
||||
vim-gvim: Gvim is a graphical version of vim. Vim is an almost compatible
|
||||
vim-gvim: version of the UNIX editor vi. Many new features have been added,
|
||||
vim-gvim: such as multi level undo, command line history, filename completion,
|
||||
vim-gvim: block operations, and more.
|
||||
vim-gvim:
|
||||
vim-gvim: The main vim package in the AP series is required to use this package.
|
||||
vim-gvim:
|
||||
vim-gvim: Vim's development is led by Bram Moolenaar.
|
||||
vim-gvim:
|
305
patches/source/vim/ctags.use-conventional-unused-marker.patch
Normal file
305
patches/source/vim/ctags.use-conventional-unused-marker.patch
Normal file
|
@ -0,0 +1,305 @@
|
|||
From 9643017460c221fed5689bcc55a41230200c40cc Mon Sep 17 00:00:00 2001
|
||||
From: Simon Chopin <simon.chopin@canonical.com>
|
||||
Date: Fri, 13 Aug 2021 16:47:57 +0200
|
||||
Subject: build fix: Use conventional compiler attribute shorthand
|
||||
|
||||
The `__unused` macro has been used on Linux systems for this exact
|
||||
purpose for ages. On the other hand, using the non-standard __unused__
|
||||
breaks the build when compiling against glibc 2.34, as they use this
|
||||
identifier internally.
|
||||
|
||||
Last-Update: 2021-08-13
|
||||
|
||||
Patch-Name: use-conventional-unused-marker.patch
|
||||
---
|
||||
c.c | 4 ++--
|
||||
eiffel.c | 2 +-
|
||||
general.h | 6 ++++--
|
||||
lregex.c | 30 +++++++++++++++---------------
|
||||
lua.c | 2 +-
|
||||
main.c | 2 +-
|
||||
options.c | 24 ++++++++++++------------
|
||||
parse.c | 2 +-
|
||||
python.c | 2 +-
|
||||
routines.c | 2 +-
|
||||
10 files changed, 39 insertions(+), 37 deletions(-)
|
||||
|
||||
diff --git a/c.c b/c.c
|
||||
index 0cf0a14..c5d496b 100644
|
||||
--- a/c.c
|
||||
+++ b/c.c
|
||||
@@ -619,7 +619,7 @@ static const char *keywordString (const keywordId keyword)
|
||||
return name;
|
||||
}
|
||||
|
||||
-static void __unused__ pt (tokenInfo *const token)
|
||||
+static void __unused pt (tokenInfo *const token)
|
||||
{
|
||||
if (isType (token, TOKEN_NAME))
|
||||
printf ("type: %-12s: %-13s line: %lu\n",
|
||||
@@ -634,7 +634,7 @@ static void __unused__ pt (tokenInfo *const token)
|
||||
tokenString (token->type), token->lineNumber);
|
||||
}
|
||||
|
||||
-static void __unused__ ps (statementInfo *const st)
|
||||
+static void __unused ps (statementInfo *const st)
|
||||
{
|
||||
unsigned int i;
|
||||
printf ("scope: %s decl: %s gotName: %s gotParenName: %s\n",
|
||||
diff --git a/eiffel.c b/eiffel.c
|
||||
index e2f5a5c..67bfaa1 100644
|
||||
--- a/eiffel.c
|
||||
+++ b/eiffel.c
|
||||
@@ -807,7 +807,7 @@ static void findKeyword (tokenInfo *const token, const keywordId keyword)
|
||||
|
||||
static boolean parseType (tokenInfo *const token);
|
||||
|
||||
-static void parseGeneric (tokenInfo *const token, boolean declaration __unused__)
|
||||
+static void parseGeneric (tokenInfo *const token, boolean declaration __unused)
|
||||
{
|
||||
unsigned int depth = 0;
|
||||
#ifdef TYPE_REFERENCE_TOOL
|
||||
diff --git a/general.h b/general.h
|
||||
index 2d1d629..049e215 100644
|
||||
--- a/general.h
|
||||
+++ b/general.h
|
||||
@@ -57,10 +57,12 @@
|
||||
* to prevent warnings about unused variables.
|
||||
*/
|
||||
#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)) && !defined (__GNUG__)
|
||||
-# define __unused__ __attribute__((unused))
|
||||
+# ifndef __unused
|
||||
+# define __unused __attribute__((unused))
|
||||
+# endif
|
||||
# define __printf__(s,f) __attribute__((format (printf, s, f)))
|
||||
#else
|
||||
-# define __unused__
|
||||
+# define __unused
|
||||
# define __printf__(s,f)
|
||||
#endif
|
||||
|
||||
diff --git a/lregex.c b/lregex.c
|
||||
index 37d7ea0..964508b 100644
|
||||
--- a/lregex.c
|
||||
+++ b/lregex.c
|
||||
@@ -538,11 +538,11 @@ extern void findRegexTags (void)
|
||||
#endif /* HAVE_REGEX */
|
||||
|
||||
extern void addTagRegex (
|
||||
- const langType language __unused__,
|
||||
- const char* const regex __unused__,
|
||||
- const char* const name __unused__,
|
||||
- const char* const kinds __unused__,
|
||||
- const char* const flags __unused__)
|
||||
+ const langType language __unused,
|
||||
+ const char* const regex __unused,
|
||||
+ const char* const name __unused,
|
||||
+ const char* const kinds __unused,
|
||||
+ const char* const flags __unused)
|
||||
{
|
||||
#ifdef HAVE_REGEX
|
||||
Assert (regex != NULL);
|
||||
@@ -564,10 +564,10 @@ extern void addTagRegex (
|
||||
}
|
||||
|
||||
extern void addCallbackRegex (
|
||||
- const langType language __unused__,
|
||||
- const char* const regex __unused__,
|
||||
- const char* const flags __unused__,
|
||||
- const regexCallback callback __unused__)
|
||||
+ const langType language __unused,
|
||||
+ const char* const regex __unused,
|
||||
+ const char* const flags __unused,
|
||||
+ const regexCallback callback __unused)
|
||||
{
|
||||
#ifdef HAVE_REGEX
|
||||
Assert (regex != NULL);
|
||||
@@ -581,7 +581,7 @@ extern void addCallbackRegex (
|
||||
}
|
||||
|
||||
extern void addLanguageRegex (
|
||||
- const langType language __unused__, const char* const regex __unused__)
|
||||
+ const langType language __unused, const char* const regex __unused)
|
||||
{
|
||||
#ifdef HAVE_REGEX
|
||||
if (! regexBroken)
|
||||
@@ -602,7 +602,7 @@ extern void addLanguageRegex (
|
||||
*/
|
||||
|
||||
extern boolean processRegexOption (const char *const option,
|
||||
- const char *const parameter __unused__)
|
||||
+ const char *const parameter __unused)
|
||||
{
|
||||
boolean handled = FALSE;
|
||||
const char* const dash = strchr (option, '-');
|
||||
@@ -624,7 +624,7 @@ extern boolean processRegexOption (const char *const option,
|
||||
return handled;
|
||||
}
|
||||
|
||||
-extern void disableRegexKinds (const langType language __unused__)
|
||||
+extern void disableRegexKinds (const langType language __unused)
|
||||
{
|
||||
#ifdef HAVE_REGEX
|
||||
if (language <= SetUpper && Sets [language].count > 0)
|
||||
@@ -639,8 +639,8 @@ extern void disableRegexKinds (const langType language __unused__)
|
||||
}
|
||||
|
||||
extern boolean enableRegexKind (
|
||||
- const langType language __unused__,
|
||||
- const int kind __unused__, const boolean mode __unused__)
|
||||
+ const langType language __unused,
|
||||
+ const int kind __unused, const boolean mode __unused)
|
||||
{
|
||||
boolean result = FALSE;
|
||||
#ifdef HAVE_REGEX
|
||||
@@ -660,7 +660,7 @@ extern boolean enableRegexKind (
|
||||
return result;
|
||||
}
|
||||
|
||||
-extern void printRegexKinds (const langType language __unused__, boolean indent __unused__)
|
||||
+extern void printRegexKinds (const langType language __unused, boolean indent __unused)
|
||||
{
|
||||
#ifdef HAVE_REGEX
|
||||
if (language <= SetUpper && Sets [language].count > 0)
|
||||
diff --git a/lua.c b/lua.c
|
||||
index d385544..a2699c6 100644
|
||||
--- a/lua.c
|
||||
+++ b/lua.c
|
||||
@@ -37,7 +37,7 @@ static kindOption LuaKinds [] = {
|
||||
*/
|
||||
|
||||
/* for debugging purposes */
|
||||
-static void __unused__ print_string (char *p, char *q)
|
||||
+static void __unused print_string (char *p, char *q)
|
||||
{
|
||||
for ( ; p != q; p++)
|
||||
fprintf (errout, "%c", *p);
|
||||
diff --git a/main.c b/main.c
|
||||
index 79948fe..38ce218 100644
|
||||
--- a/main.c
|
||||
+++ b/main.c
|
||||
@@ -522,7 +522,7 @@ static void makeTags (cookedArgs *args)
|
||||
* Start up code
|
||||
*/
|
||||
|
||||
-extern int main (int __unused__ argc, char **argv)
|
||||
+extern int main (int __unused argc, char **argv)
|
||||
{
|
||||
cookedArgs *args;
|
||||
#ifdef VMS
|
||||
diff --git a/options.c b/options.c
|
||||
index ae773ef..029767c 100644
|
||||
--- a/options.c
|
||||
+++ b/options.c
|
||||
@@ -730,7 +730,7 @@ static void processEtagsInclude (
|
||||
}
|
||||
|
||||
static void processExcludeOption (
|
||||
- const char *const option __unused__, const char *const parameter)
|
||||
+ const char *const option __unused, const char *const parameter)
|
||||
{
|
||||
const char *const fileName = parameter + 1;
|
||||
if (parameter [0] == '\0')
|
||||
@@ -867,7 +867,7 @@ static void processFieldsOption (
|
||||
}
|
||||
|
||||
static void processFilterTerminatorOption (
|
||||
- const char *const option __unused__, const char *const parameter)
|
||||
+ const char *const option __unused, const char *const parameter)
|
||||
{
|
||||
freeString (&Option.filterTerminator);
|
||||
Option.filterTerminator = stringCopy (parameter);
|
||||
@@ -929,8 +929,8 @@ static void printProgramIdentification (void)
|
||||
}
|
||||
|
||||
static void processHelpOption (
|
||||
- const char *const option __unused__,
|
||||
- const char *const parameter __unused__)
|
||||
+ const char *const option __unused,
|
||||
+ const char *const parameter __unused)
|
||||
{
|
||||
printProgramIdentification ();
|
||||
putchar ('\n');
|
||||
@@ -1138,8 +1138,8 @@ static void processLanguagesOption (
|
||||
}
|
||||
|
||||
static void processLicenseOption (
|
||||
- const char *const option __unused__,
|
||||
- const char *const parameter __unused__)
|
||||
+ const char *const option __unused,
|
||||
+ const char *const parameter __unused)
|
||||
{
|
||||
printProgramIdentification ();
|
||||
puts ("");
|
||||
@@ -1165,8 +1165,8 @@ static void processListKindsOption (
|
||||
}
|
||||
|
||||
static void processListMapsOption (
|
||||
- const char *const __unused__ option,
|
||||
- const char *const __unused__ parameter)
|
||||
+ const char *const __unused option,
|
||||
+ const char *const __unused parameter)
|
||||
{
|
||||
if (parameter [0] == '\0' || strcasecmp (parameter, "all") == 0)
|
||||
printLanguageMaps (LANG_AUTO);
|
||||
@@ -1182,8 +1182,8 @@ static void processListMapsOption (
|
||||
}
|
||||
|
||||
static void processListLanguagesOption (
|
||||
- const char *const option __unused__,
|
||||
- const char *const parameter __unused__)
|
||||
+ const char *const option __unused,
|
||||
+ const char *const parameter __unused)
|
||||
{
|
||||
printLanguageList ();
|
||||
exit (0);
|
||||
@@ -1357,8 +1357,8 @@ static void processIgnoreOption (const char *const list)
|
||||
}
|
||||
|
||||
static void processVersionOption (
|
||||
- const char *const option __unused__,
|
||||
- const char *const parameter __unused__)
|
||||
+ const char *const option __unused,
|
||||
+ const char *const parameter __unused)
|
||||
{
|
||||
printProgramIdentification ();
|
||||
exit (0);
|
||||
diff --git a/parse.c b/parse.c
|
||||
index 0b5e2c3..7e7361b 100644
|
||||
--- a/parse.c
|
||||
+++ b/parse.c
|
||||
@@ -376,7 +376,7 @@ extern void freeParserResources (void)
|
||||
*/
|
||||
|
||||
extern void processLanguageDefineOption (
|
||||
- const char *const option, const char *const parameter __unused__)
|
||||
+ const char *const option, const char *const parameter __unused)
|
||||
{
|
||||
#ifdef HAVE_REGEX
|
||||
if (parameter [0] == '\0')
|
||||
diff --git a/python.c b/python.c
|
||||
index bf797de..f94e5de 100644
|
||||
--- a/python.c
|
||||
+++ b/python.c
|
||||
@@ -135,7 +135,7 @@ static boolean isIdentifierCharacter (int c)
|
||||
* extract all relevant information and create a tag.
|
||||
*/
|
||||
static void makeFunctionTag (vString *const function,
|
||||
- vString *const parent, int is_class_parent, const char *arglist __unused__)
|
||||
+ vString *const parent, int is_class_parent, const char *arglist __unused)
|
||||
{
|
||||
tagEntryInfo tag;
|
||||
initTagEntry (&tag, vStringValue (function));
|
||||
diff --git a/routines.c b/routines.c
|
||||
index 8ebe2e0..c465626 100644
|
||||
--- a/routines.c
|
||||
+++ b/routines.c
|
||||
@@ -526,7 +526,7 @@ static boolean isPathSeparator (const int c)
|
||||
|
||||
#if ! defined (HAVE_STAT_ST_INO)
|
||||
|
||||
-static void canonicalizePath (char *const path __unused__)
|
||||
+static void canonicalizePath (char *const path __unused)
|
||||
{
|
||||
#if defined (MSDOS_STYLE_PATH)
|
||||
char *p;
|
BIN
patches/source/vim/gvim.png
Normal file
BIN
patches/source/vim/gvim.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.1 KiB |
19
patches/source/vim/slack-desc.vim
Normal file
19
patches/source/vim/slack-desc.vim
Normal 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------------------------------------------------------|
|
||||
vim: vim (Vi IMproved)
|
||||
vim:
|
||||
vim: Vim is an almost compatible version of the UNIX editor vi. Many new
|
||||
vim: features have been added: multi level undo, command line history,
|
||||
vim: filename completion, block operations, and more.
|
||||
vim:
|
||||
vim: Vim's development is led by Bram Moolenaar.
|
||||
vim:
|
||||
vim: This package also contains the Exuberant Ctags program
|
||||
vim: written by Darren Hiebert.
|
||||
vim:
|
19
patches/source/vim/slack-desc.vim-gvim
Normal file
19
patches/source/vim/slack-desc.vim-gvim
Normal 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------------------------------------------------------|
|
||||
vim-gvim: vim-gvim (gvim, the X/GTK3 enabled version of vim)
|
||||
vim-gvim:
|
||||
vim-gvim: Gvim is a graphical version of vim. Vim is an almost compatible
|
||||
vim-gvim: version of the UNIX editor vi. Many new features have been added,
|
||||
vim-gvim: such as multi level undo, command line history, filename completion,
|
||||
vim-gvim: block operations, and more.
|
||||
vim-gvim:
|
||||
vim-gvim: The main vim package in the AP series is required to use this package.
|
||||
vim-gvim:
|
||||
vim-gvim: Vim's development is led by Bram Moolenaar.
|
||||
vim-gvim:
|
207
patches/source/vim/vim-gvim.SlackBuild
Executable file
207
patches/source/vim/vim-gvim.SlackBuild
Executable file
|
@ -0,0 +1,207 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Copyright 2008, 2009, 2010, 2013, 2016, 2018, 2019, 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.
|
||||
|
||||
# This package must be build right after the main vim package, and the
|
||||
# generated vim package must still be in $TMP.
|
||||
|
||||
# To prevent a collision with a vim.SlackBuild running at the same time (since
|
||||
# we'll try to build vim too, if it isn't available), we REQUIRE_GLOBAL_LOCK for
|
||||
# this package when used with make_world.sh.
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PKGNAM=vim-gvim
|
||||
VIMBRANCH=8.2
|
||||
VERSION=$(echo vim-${VIMBRANCH}*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)
|
||||
BUILD=${BUILD:-1_slack15.0}
|
||||
|
||||
# The possible settings for this are yes/no/dynamic.
|
||||
PERLINTERP=${PERLINTERP:-dynamic}
|
||||
|
||||
# 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
|
||||
|
||||
# If dynamic support for Ruby works with this $ARCH, then allow it:
|
||||
if [ "$ARCH" = "x86_64" ]; then
|
||||
RUBYDYNAMIC="=dynamic"
|
||||
fi
|
||||
|
||||
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
|
||||
|
||||
PYVER=$(python -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.)
|
||||
|
||||
if [ "$ARCH" = "x86_64" ]; then
|
||||
export SLKCFLAGS="-O2 -fPIC"
|
||||
export LIBDIRSUFFIX="64"
|
||||
else
|
||||
export SLKCFLAGS="-O2"
|
||||
export LIBDIRSUFFIX=""
|
||||
fi
|
||||
export SLKLDFLAGS="-L/usr/lib${LIBDIRSUFFIX}"
|
||||
|
||||
TMP=${TMP:-/tmp}
|
||||
PKG=$TMP/package-vim-gvim
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG
|
||||
|
||||
cd $TMP
|
||||
rm -rf vim-$VERSION
|
||||
tar xvf $CWD/vim-$VERSION.tar.?z || exit 1
|
||||
|
||||
config_vim() {
|
||||
CFLAGS="$SLKCFLAGS" LDFLAGS="$SLKLDFLAGS" \
|
||||
./configure \
|
||||
$* \
|
||||
--prefix=/usr \
|
||||
--with-python-config-dir=/usr/lib${LIBDIRSUFFIX}/python$PYVER/config \
|
||||
--with-python3-config-dir=$(python3-config --configdir) \
|
||||
--enable-perlinterp=$PERLINTERP \
|
||||
--enable-pythoninterp=dynamic \
|
||||
--enable-python3interp=dynamic \
|
||||
--enable-rubyinterp${RUBYDYNAMIC} \
|
||||
--enable-tclinterp=dynamic \
|
||||
--enable-multibyte \
|
||||
--enable-cscope \
|
||||
--with-features=huge \
|
||||
--with-compiledby="<volkerdi@slackware.com>" \
|
||||
--build=$ARCH-slackware-linux || exit 1
|
||||
}
|
||||
|
||||
cd $TMP/vim-$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 {} \+
|
||||
|
||||
config_vim --with-x --enable-gui=gtk3 || exit 1
|
||||
make $NUMJOBS || make || exit 1
|
||||
make install DESTDIR=$PKG || exit 1
|
||||
|
||||
rsync -lprvt $PKG/usr/share/man/ $PKG/usr/man/
|
||||
rm -r $PKG/usr/share/man
|
||||
|
||||
# Fix manpage symlinks:
|
||||
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
|
||||
|
||||
# Legacy binary links:
|
||||
( cd $PKG/usr/bin ; rm -rf rview )
|
||||
( cd $PKG/usr/bin ; ln -sf vim rview )
|
||||
( cd $PKG/usr/bin ; rm -rf rvim )
|
||||
( cd $PKG/usr/bin ; ln -sf vim rvim )
|
||||
( cd $PKG/usr/bin ; rm -rf view )
|
||||
( cd $PKG/usr/bin ; ln -sf vim view )
|
||||
( cd $PKG/usr/bin ; rm -rf eview )
|
||||
( cd $PKG/usr/bin ; ln -sf vim eview )
|
||||
( cd $PKG/usr/bin ; rm -rf evim )
|
||||
( cd $PKG/usr/bin ; ln -sf vim evim )
|
||||
|
||||
# These should not be shipped:
|
||||
rm -f $PKG/usr/bin/{ex,vi}
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc.vim-gvim > $PKG/install/slack-desc
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
|
||||
# You'll have to run "gvim" to get the graphical version.
|
||||
# Seems like this is the common way for console and gui versions
|
||||
# of vim to co-exist. If your "vi" symlink isn't pointed in a
|
||||
# way that suits you, it is fully user serviceable. :-)
|
||||
( cd $PKG/usr/bin
|
||||
rm -f gvim
|
||||
mv vim gvim
|
||||
for programlink in $(find . -type l | cut -b3-) ; do
|
||||
rm $programlink
|
||||
ln -sf gvim $programlink
|
||||
done
|
||||
)
|
||||
rm -f vimtutor xxd
|
||||
|
||||
# Perfect!
|
||||
# Now we get rid of everything that's not in the other vim package.
|
||||
# Let's assume (dangerous ;-) that we just built that in $TMP
|
||||
# and use it as a reference:
|
||||
if ! /bin/ls $TMP/vim-${VERSION}-${ARCH}-${BUILD}.txz 1> /dev/null 2> /dev/null ; then
|
||||
# We assumed wrong. So build it:
|
||||
$CWD/vim.SlackBuild
|
||||
fi
|
||||
mkdir $PKG/vim
|
||||
( cd $PKG
|
||||
( cd vim
|
||||
echo "Extracting reference package $TMP/vim-${VERSION}-${ARCH}-${BUILD}.txz:"
|
||||
explodepkg $TMP/vim-${VERSION}-${ARCH}-${BUILD}.txz 1> /dev/null
|
||||
sh install/doinst.sh
|
||||
)
|
||||
)
|
||||
rm -r $PKG/vim/install
|
||||
( cd $PKG
|
||||
find vim | cut -b4- | while read sharedfile ; do
|
||||
if [ ! -d $sharedfile ]; then
|
||||
rm --verbose $PKG/$sharedfile
|
||||
fi
|
||||
done
|
||||
)
|
||||
|
||||
# Finally, reference purge:
|
||||
rm -rf $PKG/vim
|
||||
|
||||
# Get rid of the terminal-based vim.desktop file:
|
||||
rm -f $PKG/usr/share/applications/vim.desktop
|
||||
|
||||
# Remove empty directories:
|
||||
find $PKG -type d -exec rmdir -p {} \+ 2> /dev/null
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $TMP/vim-gvim-$VERSION-$ARCH-$BUILD.txz
|
||||
|
241
patches/source/vim/vim.SlackBuild
Executable file
241
patches/source/vim/vim.SlackBuild
Executable file
|
@ -0,0 +1,241 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Copyright 2008, 2009, 2010, 2013, 2016, 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.
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PKGNAM=vim
|
||||
VIMBRANCH=8.2
|
||||
CTAGSVER=5.8
|
||||
BUILD=${BUILD:-1_slack15.0}
|
||||
|
||||
# The possible settings for this are yes/no/dynamic.
|
||||
PERLINTERP=${PERLINTERP:-dynamic}
|
||||
|
||||
if [ -r vim-${VIMBRANCH}*.tar.?z ]; then # if there's a source archive already, use the version number from it:
|
||||
VERSION=$(echo vim-${VIMBRANCH}*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)
|
||||
else # need to fetch the latest source archive for this branch:
|
||||
VERSION="$(wget -q -O - https://www.vim.org | grep "^${VIMBRANCH}" | head -n 1)"
|
||||
( lftpget https://github.com/vim/vim/archive/v${VERSION}.tar.gz
|
||||
gzip -d v${VERSION}.tar.gz
|
||||
mv v${VERSION}.tar vim-${VERSION}.tar
|
||||
plzip -9 -n 6 vim-${VERSION}.tar
|
||||
if [ ! -r vim-${VERSION}.tar.lz ]; then
|
||||
echo "ERROR: Something went wrong trying to fetch https://github.com/vim/vim/archive/v${VERSION}.tar.gz"
|
||||
exit 1
|
||||
fi
|
||||
) || exit 1
|
||||
fi
|
||||
|
||||
# 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
|
||||
|
||||
# If dynamic support for Ruby works with this $ARCH, then allow it:
|
||||
if [ "$ARCH" = "x86_64" ]; then
|
||||
RUBYDYNAMIC="=dynamic"
|
||||
fi
|
||||
|
||||
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
|
||||
|
||||
PYVER=$(python -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.)
|
||||
|
||||
if [ "$ARCH" = "x86_64" ]; then
|
||||
export SLKCFLAGS="-O2 -fPIC"
|
||||
export LIBDIRSUFFIX="64"
|
||||
else
|
||||
export SLKCFLAGS="-O2"
|
||||
export LIBDIRSUFFIX=""
|
||||
fi
|
||||
export SLKLDFLAGS="-L/usr/lib${LIBDIRSUFFIX}"
|
||||
|
||||
TMP=${TMP:-/tmp}
|
||||
PKG=$TMP/package-vim
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG
|
||||
|
||||
# ctags was once a part of vim,
|
||||
# but now we have to bundle it in
|
||||
cd $TMP
|
||||
rm -rf ctags-$CTAGSVER
|
||||
tar xvf $CWD/ctags-$CTAGSVER.tar.?z || exit 1
|
||||
cd ctags-$CTAGSVER || 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 {} \+
|
||||
|
||||
# patch to solve an issue introduced by glibc-2.34 from http://deb.debian.org/debian/pool/main/e/exuberant-ctags/exuberant-ctags_5.9~svn20110310-15.debian.tar.xz
|
||||
zcat $CWD/ctags.use-conventional-unused-marker.patch.gz | patch -Esp1 --verbose || exit 1
|
||||
|
||||
CFLAGS="$SLKCFLAGS" LDFLAGS="$SLKLDFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--build=$ARCH-slackware-linux
|
||||
make $NUMJOBS || make || exit 1
|
||||
mkdir -p $PKG/usr/bin
|
||||
cat ctags > $PKG/usr/bin/ctags
|
||||
chmod 755 $PKG/usr/bin/ctags
|
||||
mkdir -p $PKG/usr/man/man1
|
||||
cat ctags.1 | gzip -9c > $PKG/usr/man/man1/ctags.1.gz
|
||||
mkdir -p $PKG/usr/doc/ctags-$CTAGSVER
|
||||
cp -a \
|
||||
COPYING* EXTENDING.html FAQ INSTALL INSTALL.oth NEWS README* \
|
||||
$PKG/usr/doc/ctags-$CTAGSVER
|
||||
chmod 644 $PKG/usr/doc/ctags-$CTAGSVER/*
|
||||
|
||||
cd $TMP
|
||||
rm -rf vim-${VERSION}
|
||||
tar xvf $CWD/vim-${VERSION}.tar.?z || exit 1
|
||||
|
||||
config_vim() {
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
$* \
|
||||
--prefix=/usr \
|
||||
--with-python-config-dir=/usr/lib${LIBDIRSUFFIX}/python$PYVER/config \
|
||||
--with-python3-config-dir=$(python3-config --configdir) \
|
||||
--enable-perlinterp=$PERLINTERP \
|
||||
--enable-pythoninterp=dynamic \
|
||||
--enable-python3interp=dynamic \
|
||||
--enable-rubyinterp${RUBYDYNAMIC} \
|
||||
--enable-tclinterp=dynamic \
|
||||
--disable-canberra \
|
||||
--enable-multibyte \
|
||||
--enable-cscope \
|
||||
--with-features=huge \
|
||||
--with-compiledby="<volkerdi@slackware.com>" \
|
||||
--build=$ARCH-slackware-linux || exit 1
|
||||
}
|
||||
|
||||
cd $TMP/vim-$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 {} \+
|
||||
|
||||
config_vim --without-x --disable-gui || exit 1
|
||||
make $NUMJOBS || make || exit 1
|
||||
make install DESTDIR=$PKG || exit 1
|
||||
|
||||
rsync -lprvt $PKG/usr/share/man/ $PKG/usr/man/
|
||||
rm -r $PKG/usr/share/man
|
||||
|
||||
# Don't make backups in /var/spool/cron/*, which fixes "crontab -e":
|
||||
zcat $CWD/vim.vimrc.diff.gz | patch -p1 --verbose || exit 1
|
||||
|
||||
cp -a runtime/vimrc_example.vim runtime/vimrc.new
|
||||
|
||||
# Add patched vimrc to the package:
|
||||
cat runtime/vimrc.new > $PKG/usr/share/vim/vimrc.new
|
||||
|
||||
# Don't package gvim.desktop - it will be included in the vim-gvim package:
|
||||
rm -f $PKG/usr/share/applications/gvim.desktop
|
||||
|
||||
# Move the vim.desktop into the docs directory. There's really not much use
|
||||
# for this .desktop file. It's easy enough to just open a terminal and run
|
||||
# vim in it without this.
|
||||
mkdir -p $PKG/usr/doc/vim-$VERSION
|
||||
mv $PKG/usr/share/applications/vim.desktop $PKG/usr/doc/vim-$VERSION
|
||||
|
||||
# Remove empty directory:
|
||||
rmdir $PKG/usr/share/applications
|
||||
|
||||
# Fix manpage symlinks:
|
||||
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
|
||||
|
||||
# Legacy binary links:
|
||||
( cd $PKG/usr/bin ; rm -rf rview )
|
||||
( cd $PKG/usr/bin ; ln -sf vim rview )
|
||||
( cd $PKG/usr/bin ; rm -rf rvim )
|
||||
( cd $PKG/usr/bin ; ln -sf vim rvim )
|
||||
( cd $PKG/usr/bin ; rm -rf view )
|
||||
( cd $PKG/usr/bin ; ln -sf vim view )
|
||||
( cd $PKG/usr/bin ; rm -rf eview )
|
||||
( cd $PKG/usr/bin ; ln -sf vim eview )
|
||||
( cd $PKG/usr/bin ; rm -rf evim )
|
||||
( cd $PKG/usr/bin ; ln -sf vim evim )
|
||||
|
||||
# These should not be shipped:
|
||||
rm -f $PKG/usr/bin/{ex,vi}
|
||||
|
||||
mkdir -p $PKG/usr/doc/vim-$VERSION
|
||||
cp -a README.txt $PKG/usr/doc/vim-$VERSION
|
||||
find $PKG/usr/doc/vim-$VERSION -type f | xargs chmod 644
|
||||
( cd $PKG/usr/doc/vim-$VERSION ; rm -rf doc )
|
||||
( cd $PKG/usr/doc/vim-$VERSION ; ln -sf /usr/share/vim/vim$(echo $VIMBRANCH | tr -d .) doc )
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc.vim > $PKG/install/slack-desc
|
||||
cat << EOF > $PKG/install/doinst.sh
|
||||
#!/bin/bash
|
||||
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...
|
||||
}
|
||||
config usr/share/vim/vimrc.new
|
||||
EOF
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $TMP/vim-$VERSION-$ARCH-$BUILD.txz
|
||||
|
12
patches/source/vim/vim.vimrc.diff
Normal file
12
patches/source/vim/vim.vimrc.diff
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ./runtime/vimrc_example.vim.orig 2019-01-04 17:35:22.000000000 -0600
|
||||
+++ ./runtime/vimrc_example.vim 2019-01-11 14:43:36.366302054 -0600
|
||||
@@ -49,6 +49,9 @@
|
||||
|
||||
endif " has("autocmd")
|
||||
|
||||
+" Make vim work with the 'crontab -e' command
|
||||
+set backupskip+=/var/spool/cron/*,/run/cron/*
|
||||
+
|
||||
" Add optional packages.
|
||||
"
|
||||
" The matchit plugin makes the % command work better, but it is not backwards
|
|
@ -1180,6 +1180,8 @@ gzip ./patches/source/python3/python3.distutils.x86_64.diff
|
|||
gzip ./patches/source/seamonkey/autoconf/autoconf-2.13-consolidated_fixes-1.patch
|
||||
gzip ./patches/source/seamonkey/doinst.sh
|
||||
gzip ./patches/source/seamonkey/sm.ui.scrollToClick.diff
|
||||
gzip ./patches/source/vim/ctags.use-conventional-unused-marker.patch
|
||||
gzip ./patches/source/vim/vim.vimrc.diff
|
||||
gzip ./patches/source/libxslt/libxslt.xsltMaxDepth.diff
|
||||
gzip ./patches/source/openssl/doinst.sh-openssl-solibs
|
||||
gzip ./patches/source/openssl/doinst.sh-openssl
|
||||
|
|
Loading…
Reference in a new issue