From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 3.x development tree branch, master, updated. a8a8fc6638fa4a2a4a6810821fcc3d6c843d2861 Date: Tue, 21 Mar 2023 18:34:17 +0000 Message-ID: <4Ph0cp4WMDz2xjD@people01.haj.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1694789070476804997==" List-Id: --===============1694789070476804997== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 3.x development tree". The branch, master has been updated via a8a8fc6638fa4a2a4a6810821fcc3d6c843d2861 (commit) via 636e102cc400e16aae2a2db990cad7c5c57fd9a1 (commit) via 87829961505bf57d0dcaff7638e895c066144ec8 (commit) via 6b93b933546d24ab0f8b7ad3646df628789f2b1b (commit) via 31bc0a598805a8c3ec29535f52fcc92c4d221895 (commit) via 27a002f43ae4cdd20d54cfc50abc0151bdce746d (commit) via 85964a3c4b77aa08ab783e13ac14fed52179cee8 (commit) via ebb66ccf61c6b1fc6259bdc36afe60a631e159d6 (commit) via 3f76c300c0badcebfb9cd735a185461ed68606b5 (commit) via 39c24e2b7f896989723efe81c7ea42563aa36a80 (commit) via c27b32b6dc1201d435c39c10939dad79629df2af (commit) via c0ca282ac7cae4b874b70cdb095409a50d6a794c (commit) via 1ba42494349e382881a4aa03ceff2aa3044d5644 (commit) via 6704e6147eeb46311b14e922deb4ad070354adcf (commit) via fb4b78cd72f13a1dae4b78bfc68163273585f9d9 (commit) via b4df42b998ff6a4e2db22c4bd7552b6550615885 (commit) via 8bb9c712f43795119d912832666a25ba8ba78d73 (commit) via f2ea1686f659217d0e6330f158191de52a66a5c3 (commit) via 03a80d8e0861758cbc20d9e517d8aaef81d7eac6 (commit) via fd82b10b794cc93213c41602ccafda58172dbb34 (commit) via 219c8795d3b44996f45ebfb0af26634c4e5cc1d8 (commit) via 43d20aa03ec4132c7b1387ed75a4404d5b53c29d (commit) via 5b701f740e34558995744019135dd85a7fcab476 (commit) via b07c8a3a156af9c9cbeb2faa6ea83cfe7dc3e67b (commit) via 6259d545737f7bf71f030cb585f08de53b6fb6a8 (commit) via 26038bccc895d929819ed2419cbc7dc750d5f1ad (commit) via 064c414364ebbe58ba76d12f55f1764277b04e39 (commit) via bae1ac3c3d868deece6a3140baee3de55a0eb21e (commit) via 043812ee2fc5d6b8d9598aafec9def9aa44f8049 (commit) via 8a161868d7dab959dde48b1b6ec0c3cc08636ba5 (commit) via b3a7567879d5ef40548cbb74178786c3ec66889f (commit) via 2ed3fd1396f49d9fbaebfa9805ce5a1b0b85dbff (commit) via bbfccb7592622bfc3be98625494ef78dabe677aa (commit) via 028bb2d0a498d671239d1b6acaf8608cf8285415 (commit) via 399ad458ce891ebaf2ad386ddd4b0557173cc30e (commit) via 783346bcbbf28f8402cbc725be4114611928e2cb (commit) via 5b1e664f59de03230b175d04427a03e0476fbe95 (commit) via 0cea553154a1fe259579c9909694aa5af8d2646d (commit) via 512b34071cf0e1ef04a7c950c5b95af3880d9760 (commit) via 28127228921c3ad1729961a8e4eec1219209476a (commit) via 8c7451543bdd415b7812eff7445f43f5320ec93e (commit) via a581c88cbffb0a34fdf90c4855bfbc119276d737 (commit) via 88452aab8647da88cbc99421003f58fb59da4356 (commit) via ff56eb248a00073214c661111e0e4f62c6487474 (commit) via 3e98b4628285764c471ad8b27efdf12e9ab83d59 (commit) via 21987bed02991f46bbb50e105f525f0f73b31d00 (commit) via d5df5d8de232760173aaa83e067f94b20934a7d2 (commit) via 6de61f743416634c44ec395f138660c40ef80d95 (commit) via 1e431bbd6e69976965f36ef9463d91e41ae9e67d (commit) via c29b2a4d1705d1c03c5012d843f8048ec9f6601f (commit) via 78e327905aeb400c030f4b9b960630517c1e306d (commit) via fe5c2860c0ec96070172d0d12dc000afcb70a61d (commit) via cf038b7b5ef8968dda47384db96163fda7ac37de (commit) via 3b750b7cb29d8b02bc85200a6d0c5a98317cad8d (commit) via 6ef843bce621401c0d2367da753e7b464f5fbf1f (commit) via 2fec7288a775dec5a20b8ec2bb927a380cd49dc2 (commit) via 281c7352ce6fd8a070decfe6a310406ff4b77097 (commit) via fd400b7617f89689c29edd33dc0ae9c5ea7bf5f7 (commit) via ce79e5ec81d988764262afb53a61c9a696b64ed0 (commit) via 6049dfdecf39c00046d45d3c47c43cb94ff43f0d (commit) via ea3d83fd8bdb0adb8bc89d5b532748a84c624662 (commit) via 438f71de4b1fa7f012cb540524f4c07dab7e64f5 (commit) via 5b2a8058cf187c93e4374a04841e4ec329169314 (commit) via 2af13801f93e742041ebcfdf48042f5af82466e7 (commit) via 01d132b2557ddfc8d2098fec5091ceeb3bdace5f (commit) via 4a394d6269b369e34f3eb617991031795686f3b2 (commit) via 76e876d2599eac895f9475f54824b348b264636a (commit) via daf193ba4c9eb11454e33a618ee6e427599f887d (commit) via bab10c261dc238c10f12445c20e9079dac74b26e (commit) via 410af549636529928133ece25a7ae6b209059027 (commit) via a1993fb58e2c13317d64259875a19079c676891c (commit) via a7c62c012bc7eecf4a66e0662b0ad9186199acb2 (commit) via c64008121bb22325c37973b9e53b2ca8bc997562 (commit) via c903105ea033c0a10b4acc54bcbb3c0e2f00f117 (commit) via 24613fea5239a637a5ec7f3d33ae221f51e44031 (commit) via 4bf81562d7735a0fc66311182da44731f8a911cf (commit) via 50292f2c7858f96f67d906c1cefc59f28ac043e6 (commit) via 68a22b2996b3f1a46da0e01be458cdda0ae0ce20 (commit) via 85965730acc503789058df27b61d2fc9f8e42112 (commit) via 6e7857b2412e59cfc3becdf3d34ee83e6737b056 (commit) via 39c6a57b958d81ead59117593f806645b0a76d79 (commit) via 2f36f464cae8770929e90b3e8f27b976f4544f79 (commit) via 26b098c6dd2920d993931ee8458d79e92f8d7773 (commit) via 5e6ef4c802cdcbd61b857de495cb579f8a227c62 (commit) from bf86a0e10d65377dea53319d98f75e06b368a093 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit a8a8fc6638fa4a2a4a6810821fcc3d6c843d2861 Author: Stefan Schantl Date: Mon Mar 20 18:47:48 2023 +0100 filesystem: Make filesystem structure FHS compliant =20 Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer commit 636e102cc400e16aae2a2db990cad7c5c57fd9a1 Author: Stefan Schantl Date: Tue Mar 21 11:20:16 2023 +0100 kernel: Proper build the helper binaries with our C and LDFLAGS =20 Signed-off-by: Stefan Schantl commit 87829961505bf57d0dcaff7638e895c066144ec8 Author: Stefan Schantl Date: Mon Mar 20 12:41:11 2023 +0100 liboping: Re-enable setting capabilities =20 Signed-off-by: Stefan Schantl commit 6b93b933546d24ab0f8b7ad3646df628789f2b1b Author: Stefan Schantl Date: Mon Mar 20 12:40:19 2023 +0100 iputils: Re-enable setting capabilities =20 Signed-off-by: Stefan Schantl commit 31bc0a598805a8c3ec29535f52fcc92c4d221895 Author: Stefan Schantl Date: Mon Mar 20 12:39:16 2023 +0100 util-linux: Re-enable setting capabilities =20 Signed-off-by: Stefan Schantl commit 27a002f43ae4cdd20d54cfc50abc0151bdce746d Author: Stefan Schantl Date: Mon Mar 20 12:35:52 2023 +0100 nfs-utils: mount.nfs - Use capabilities instead of suid bit =20 Signed-off-by: Stefan Schantl commit 85964a3c4b77aa08ab783e13ac14fed52179cee8 Author: Stefan Schantl Date: Mon Mar 20 12:04:14 2023 +0100 shadow-utils: Use capabilites and remove more unused binaries =20 Signed-off-by: Stefan Schantl commit ebb66ccf61c6b1fc6259bdc36afe60a631e159d6 Author: Stefan Schantl Date: Mon Mar 20 12:01:37 2023 +0100 unbound: Use /run instead of /var/run =20 Signed-off-by: Stefan Schantl commit 3f76c300c0badcebfb9cd735a185461ed68606b5 Author: Stefan Schantl Date: Mon Mar 20 11:43:42 2023 +0100 screen: Make screen FHS compliant =20 * Explicit use pam. * Change socket dir to /run and add tmpfiles file. * Only ship a simple screen binary without version fragments * Remove SUID bit from binary =20 Signed-off-by: Stefan Schantl commit 39c24e2b7f896989723efe81c7ea42563aa36a80 Author: Stefan Schantl Date: Mon Mar 20 11:31:49 2023 +0100 sudo: Fix library permissions =20 Signed-off-by: Stefan Schantl commit c27b32b6dc1201d435c39c10939dad79629df2af Author: Stefan Schantl Date: Sun Mar 19 16:02:04 2023 +0100 network: Add patch to fix logdir =20 Add upstream patch to proper set the location to the logdir. =20 Signed-off-by: Stefan Schantl commit c0ca282ac7cae4b874b70cdb095409a50d6a794c Author: Stefan Schantl Date: Sun Mar 19 15:49:00 2023 +0100 openssh: Change privsep directory to /var/lib/sshd =20 The old one /var/empty/sshd violated our FHS =20 Signed-off-by: Stefan Schantl commit 1ba42494349e382881a4aa03ceff2aa3044d5644 Author: Stefan Schantl Date: Sun Mar 19 15:48:19 2023 +0100 samba: Drop /var/run =20 Signed-off-by: Stefan Schantl commit 6704e6147eeb46311b14e922deb4ad070354adcf Author: Stefan Schantl Date: Sun Mar 19 15:19:41 2023 +0100 unbound: Do not create /var/run =20 This violates our FHS specs. =20 Signed-off-by: Stefan Schantl commit fb4b78cd72f13a1dae4b78bfc68163273585f9d9 Author: Stefan Schantl Date: Sun Mar 19 15:13:54 2023 +0100 tcl: Fix library permissions =20 Signed-off-by: Stefan Schantl commit b4df42b998ff6a4e2db22c4bd7552b6550615885 Author: Stefan Schantl Date: Sun Mar 19 15:01:44 2023 +0100 sssd: Use /var/lib/sss and drop /var/run =20 Signed-off-by: Stefan Schantl commit 8bb9c712f43795119d912832666a25ba8ba78d73 Author: Stefan Schantl Date: Sun Mar 19 14:39:26 2023 +0100 squid: Drop /var/run =20 Signed-off-by: Stefan Schantl commit f2ea1686f659217d0e6330f158191de52a66a5c3 Author: Stefan Schantl Date: Sun Mar 19 12:07:16 2023 +0100 snort: Set correct permissions of helper script =20 Signed-off-by: Stefan Schantl commit 03a80d8e0861758cbc20d9e517d8aaef81d7eac6 Author: Stefan Schantl Date: Sun Mar 19 11:43:19 2023 +0100 spectre-meltdown-checker: Install binary with correct permissions =20 Signed-off-by: Stefan Schantl commit fd82b10b794cc93213c41602ccafda58172dbb34 Author: Stefan Schantl Date: Sun Mar 19 11:36:03 2023 +0100 python3-pygobject3: Fix header file permissions =20 Signed-off-by: Stefan Schantl commit 219c8795d3b44996f45ebfb0af26634c4e5cc1d8 Author: Stefan Schantl Date: Sun Mar 19 11:26:55 2023 +0100 python3-cairo: Fix header permissions =20 Signed-off-by: Stefan Schantl commit 43d20aa03ec4132c7b1387ed75a4404d5b53c29d Author: Stefan Schantl Date: Sun Mar 19 11:25:03 2023 +0100 ppp: Fix binary permissions and drop deprecated dirs in /var =20 Signed-off-by: Stefan Schantl commit 5b701f740e34558995744019135dd85a7fcab476 Author: Stefan Schantl Date: Sun Mar 19 11:16:49 2023 +0100 plymouth: Drop /var/run =20 Signed-off-by: Stefan Schantl commit b07c8a3a156af9c9cbeb2faa6ea83cfe7dc3e67b Author: Stefan Schantl Date: Sun Mar 19 11:09:57 2023 +0100 perl-WWW-Curl: Fix library permissions =20 Signed-off-by: Stefan Schantl commit 6259d545737f7bf71f030cb585f08de53b6fb6a8 Author: Stefan Schantl Date: Sun Mar 19 11:09:24 2023 +0100 perl-WWW-Curl: Enable testsuite =20 Signed-off-by: Stefan Schantl commit 26038bccc895d929819ed2419cbc7dc750d5f1ad Author: Stefan Schantl Date: Sun Mar 19 11:07:39 2023 +0100 perl-XML-Parser: Fix library permissions =20 * Also enable the testsuite * Drop old fragment from QA =20 Signed-off-by: Stefan Schantl commit 064c414364ebbe58ba76d12f55f1764277b04e39 Author: Stefan Schantl Date: Sun Mar 19 11:06:31 2023 +0100 perl-XML-Parser: Set correct perl dependencies =20 Do not longer use perl-core/perl-devel as build dependencies. =20 Signed-off-by: Stefan Schantl commit bae1ac3c3d868deece6a3140baee3de55a0eb21e Author: Stefan Schantl Date: Sun Mar 19 10:53:45 2023 +0100 perl-TermReadkey: Enable testsuite =20 Signed-off-by: Stefan Schantl commit 043812ee2fc5d6b8d9598aafec9def9aa44f8049 Author: Stefan Schantl Date: Sun Mar 19 10:53:08 2023 +0100 perl-TermReadkey: Fix library permissions =20 Signed-off-by: Stefan Schantl commit 8a161868d7dab959dde48b1b6ec0c3cc08636ba5 Author: Stefan Schantl Date: Sun Mar 19 10:47:48 2023 +0100 perl-SGMLSpm: Drop unneccessary perl script =20 We do not need this and it violates our FHS specs. =20 Signed-off-by: Stefan Schantl commit b3a7567879d5ef40548cbb74178786c3ec66889f Author: Stefan Schantl Date: Sun Mar 19 10:37:25 2023 +0100 perl-Parse-Yapp: Fix library and binary permissions =20 Signed-off-by: Stefan Schantl commit 2ed3fd1396f49d9fbaebfa9805ce5a1b0b85dbff Author: Stefan Schantl Date: Sun Mar 19 10:32:49 2023 +0100 perl-Net-SSLeay: Fix library permissions =20 Signed-off-by: Stefan Schantl commit bbfccb7592622bfc3be98625494ef78dabe677aa Author: Stefan Schantl Date: Sun Mar 19 10:31:06 2023 +0100 perl-libintl-perl: Fix library permissions =20 Signed-off-by: Stefan Schantl commit 028bb2d0a498d671239d1b6acaf8608cf8285415 Author: Stefan Schantl Date: Sun Mar 19 10:29:11 2023 +0100 perl-IO-AIO: Fix library permissions =20 Signed-off-by: Stefan Schantl commit 399ad458ce891ebaf2ad386ddd4b0557173cc30e Author: Stefan Schantl Date: Sun Mar 19 10:26:38 2023 +0100 perl-HTML-Tagset: Add proper perl build dependencies =20 Do not longer depend on perl-core or perl-devel. =20 Signed-off-by: Stefan Schantl commit 783346bcbbf28f8402cbc725be4114611928e2cb Author: Stefan Schantl Date: Sun Mar 19 10:24:07 2023 +0100 perl-HTML-Parser: Fix library permissions =20 Signed-off-by: Stefan Schantl commit 5b1e664f59de03230b175d04427a03e0476fbe95 Author: Stefan Schantl Date: Sun Mar 19 10:22:25 2023 +0100 perl-GSSAPI: Fix library permissions =20 * Also enable the testsuite =20 Signed-off-by: Stefan Schantl commit 0cea553154a1fe259579c9909694aa5af8d2646d Author: Stefan Schantl Date: Sun Mar 19 10:20:34 2023 +0100 perl-FCGI: Fix library permissions =20 Signed-off-by: Stefan Schantl commit 512b34071cf0e1ef04a7c950c5b95af3880d9760 Author: Stefan Schantl Date: Sun Mar 19 10:17:20 2023 +0100 perl-DBI: Fix library and binary permissions =20 Signed-off-by: Stefan Schantl commit 28127228921c3ad1729961a8e4eec1219209476a Author: Stefan Schantl Date: Sun Mar 19 10:16:43 2023 +0100 perl-Digest-SHA1: Enable testsuite =20 Signed-off-by: Stefan Schantl commit 8c7451543bdd415b7812eff7445f43f5320ec93e Author: Stefan Schantl Date: Sun Mar 19 10:16:07 2023 +0100 perl-Digest-SHA1: Fix library permissions =20 Signed-off-by: Stefan Schantl commit a581c88cbffb0a34fdf90c4855bfbc119276d737 Author: Stefan Schantl Date: Sun Mar 19 10:06:18 2023 +0100 perl-Crypt-OpenSSL-X509: Enable testsuite =20 Signed-off-by: Stefan Schantl commit 88452aab8647da88cbc99421003f58fb59da4356 Author: Stefan Schantl Date: Sun Mar 19 10:01:19 2023 +0100 perl-Crypt-OpenSSL-X509: Fix library permissions =20 Signed-off-by: Stefan Schantl commit ff56eb248a00073214c661111e0e4f62c6487474 Author: Stefan Schantl Date: Sun Mar 19 09:59:31 2023 +0100 perl-Coro: Fix library permissions =20 Signed-off-by: Stefan Schantl commit 3e98b4628285764c471ad8b27efdf12e9ab83d59 Author: Stefan Schantl Date: Sun Mar 19 09:57:44 2023 +0100 perl-BDB: Fix library permissions =20 Signed-off-by: Stefan Schantl commit 21987bed02991f46bbb50e105f525f0f73b31d00 Author: Stefan Schantl Date: Sat Mar 18 23:00:19 2023 +0100 libvirt: Fix binary permissions and drop /var/run =20 Signed-off-by: Stefan Schantl commit d5df5d8de232760173aaa83e067f94b20934a7d2 Author: Stefan Schantl Date: Sat Mar 18 22:58:22 2023 +0100 pciutils: Install header files with correct permissions =20 Signed-off-by: Stefan Schantl commit 6de61f743416634c44ec395f138660c40ef80d95 Author: Stefan Schantl Date: Sat Mar 18 22:15:52 2023 +0100 bash: Set correct permissions for /root and binaries =20 Signed-off-by: Stefan Schantl commit 1e431bbd6e69976965f36ef9463d91e41ae9e67d Author: Stefan Schantl Date: Sat Mar 18 21:45:09 2023 +0100 openssh: Fix permissions for sshd-keygen =20 Signed-off-by: Stefan Schantl commit c29b2a4d1705d1c03c5012d843f8048ec9f6601f Author: Stefan Schantl Date: Sat Mar 18 21:35:23 2023 +0100 openldap: Do not ship /run/openldap anymore =20 This violetes our FHS specs =20 Signed-off-by: Stefan Schantl commit 78e327905aeb400c030f4b9b960630517c1e306d Author: Stefan Schantl Date: Sat Mar 18 21:34:06 2023 +0100 nettle: Fix library permissions =20 Signed-off-by: Stefan Schantl commit fe5c2860c0ec96070172d0d12dc000afcb70a61d Author: Stefan Schantl Date: Sat Mar 18 21:30:41 2023 +0100 net-snmp: Do not create /var/run anymore =20 Signed-off-by: Stefan Schantl commit cf038b7b5ef8968dda47384db96163fda7ac37de Author: Stefan Schantl Date: Sat Mar 18 21:24:11 2023 +0100 netpbm: Drop unneeded pkgconfig_template file =20 Anyway it was located at an invalid place. =20 Signed-off-by: Stefan Schantl commit 3b750b7cb29d8b02bc85200a6d0c5a98317cad8d Author: Stefan Schantl Date: Sat Mar 18 21:21:21 2023 +0100 mdadm: Use systemd tmpfile =20 Signed-off-by: Stefan Schantl commit 6ef843bce621401c0d2367da753e7b464f5fbf1f Author: Stefan Schantl Date: Sat Mar 18 21:15:26 2023 +0100 lvm2: Do not ship /run and it's content =20 This violetes our FHS specs =20 Signed-off-by: Stefan Schantl commit 2fec7288a775dec5a20b8ec2bb927a380cd49dc2 Author: Stefan Schantl Date: Sat Mar 18 21:07:19 2023 +0100 lm-sensors: Proper use compiler and linker flags during build time =20 Those flags are required during build time and not during installation. =20 Signed-off-by: Stefan Schantl commit 281c7352ce6fd8a070decfe6a310406ff4b77097 Author: Stefan Schantl Date: Sat Mar 18 20:49:10 2023 +0100 lldpd: Do not create /run/lldpd =20 This violates our FHS specs. =20 Signed-off-by: Stefan Schantl commit fd400b7617f89689c29edd33dc0ae9c5ea7bf5f7 Author: Stefan Schantl Date: Sat Mar 18 20:47:24 2023 +0100 kea: Drop /var/run =20 Signed-off-by: Stefan Schantl commit ce79e5ec81d988764262afb53a61c9a696b64ed0 Author: Stefan Schantl Date: Sat Mar 18 20:32:35 2023 +0100 krb5: Change /var/kerberos to /var/lib/kerberos =20 Signed-off-by: Stefan Schantl commit 6049dfdecf39c00046d45d3c47c43cb94ff43f0d Author: Stefan Schantl Date: Sat Mar 18 20:29:58 2023 +0100 libdb: Fix binary and header file permissions =20 Signed-off-by: Stefan Schantl commit ea3d83fd8bdb0adb8bc89d5b532748a84c624662 Author: Stefan Schantl Date: Sat Mar 18 19:52:37 2023 +0100 iptraf-ng: Proper use our compiler and linker flags =20 Signed-off-by: Stefan Schantl commit 438f71de4b1fa7f012cb540524f4c07dab7e64f5 Author: Stefan Schantl Date: Sat Mar 18 19:47:36 2023 +0100 iptraf-ng: Do not longer create /var/lock =20 This folder violetes our FHS specs. =20 Signed-off-by: Stefan Schantl commit 5b2a8058cf187c93e4374a04841e4ec329169314 Author: Stefan Schantl Date: Sat Mar 18 19:44:06 2023 +0100 intel-microcode: Set correct permissions for dirs and files =20 Signed-off-by: Stefan Schantl commit 2af13801f93e742041ebcfdf48042f5af82466e7 Author: Stefan Schantl Date: Sat Mar 18 17:17:25 2023 +0100 gettext: The config.rpath script needs to be executeable =20 Signed-off-by: Stefan Schantl commit 01d132b2557ddfc8d2098fec5091ceeb3bdace5f Author: Stefan Schantl Date: Sat Mar 18 17:12:51 2023 +0100 dma: Update to 0.13 =20 Signed-off-by: Stefan Schantl commit 4a394d6269b369e34f3eb617991031795686f3b2 Author: Stefan Schantl Date: Sat Mar 18 16:58:42 2023 +0100 chrpath: Install documentation to the correct place =20 Signed-off-by: Stefan Schantl commit 76e876d2599eac895f9475f54824b348b264636a Author: Stefan Schantl Date: Sat Mar 18 16:48:23 2023 +0100 dhcpcd: Fix permissions of dhcpcd binary =20 Signed-off-by: Stefan Schantl commit daf193ba4c9eb11454e33a618ee6e427599f887d Author: Stefan Schantl Date: Sat Mar 18 16:35:35 2023 +0100 cyrus-sasl: Use /run instead of /var/run =20 Signed-off-by: Stefan Schantl commit bab10c261dc238c10f12445c20e9079dac74b26e Author: Stefan Schantl Date: Sat Mar 18 16:33:13 2023 +0100 cups: Fix file permissions in /usr/include and drop /var/run =20 Signed-off-by: Stefan Schantl commit 410af549636529928133ece25a7ae6b209059027 Author: Stefan Schantl Date: Sat Mar 18 16:05:26 2023 +0100 sudo: Use systemd tmpfiles mechanism =20 Use the tmpfiles mechanism from systemd to proper recreate the /run/sudo directory. =20 Signed-off-by: Stefan Schantl commit a1993fb58e2c13317d64259875a19079c676891c Author: Stefan Schantl Date: Sat Mar 18 15:37:20 2023 +0100 bird: Drop /var/run =20 Signed-off-by: Stefan Schantl commit a7c62c012bc7eecf4a66e0662b0ad9186199acb2 Author: Stefan Schantl Date: Sat Mar 18 15:05:20 2023 +0100 git: Hook examples should not be executeable =20 Signed-off-by: Stefan Schantl commit c64008121bb22325c37973b9e53b2ca8bc997562 Author: Stefan Schantl Date: Sat Mar 18 14:19:01 2023 +0100 gettext: Drop unneccessary stuff =20 Signed-off-by: Stefan Schantl commit c903105ea033c0a10b4acc54bcbb3c0e2f00f117 Author: Stefan Schantl Date: Sat Mar 18 10:02:50 2023 +0100 sgml-common: Drop HTML documentation =20 We do not need this on our systems - anyway it has been installed in a wrong directory. =20 Also replaced all hardcoded path values. =20 Signed-off-by: Stefan Schantl commit 24613fea5239a637a5ec7f3d33ae221f51e44031 Author: Stefan Schantl Date: Sat Mar 18 09:52:40 2023 +0100 docbook-xsl: Fix file and directory permissions =20 The violated our FHS standards. =20 Signed-off-by: Stefan Schantl commit 4bf81562d7735a0fc66311182da44731f8a911cf Author: Stefan Schantl Date: Sat Mar 18 09:50:57 2023 +0100 docbook-utils: Drop HTML documentation =20 We do not need this on our systems - Anyway it has been installed to a wrong place by default. =20 Signed-off-by: Stefan Schantl commit 50292f2c7858f96f67d906c1cefc59f28ac043e6 Author: Stefan Schantl Date: Sat Mar 18 09:49:50 2023 +0100 docbook-dtds: Install files not executeable =20 This is not required and vilates our FSH standards. =20 Signed-off-by: Stefan Schantl commit 68a22b2996b3f1a46da0e01be458cdda0ae0ce20 Author: Stefan Schantl Date: Fri Mar 17 19:41:42 2023 +0100 qemu: Drop unused firmware files and /var/run =20 * Drop firmware files for platforms we do not support. * Drop /var/run directory which violetes the FSH. =20 Signed-off-by: Stefan Schantl commit 85965730acc503789058df27b61d2fc9f8e42112 Author: Stefan Schantl Date: Fri Mar 17 18:30:32 2023 +0100 perl: Fix library permissions =20 They did not fit the FSH and our own specs. =20 Signed-off-by: Stefan Schantl commit 6e7857b2412e59cfc3becdf3d34ee83e6737b056 Author: Stefan Schantl Date: Fri Mar 17 16:08:23 2023 +0100 util-linux: Do no create /run/uuidd =20 The folder will be created by systemd and violates the FSH. =20 Signed-off-by: Stefan Schantl commit 39c6a57b958d81ead59117593f806645b0a76d79 Author: Stefan Schantl Date: Fri Mar 17 15:56:08 2023 +0100 systemd: Do not create /run/log/journal =20 This will be done by the corresponding tmpfiles configuration and violetes the FHS. =20 Signed-off-by: Stefan Schantl commit 2f36f464cae8770929e90b3e8f27b976f4544f79 Author: Stefan Schantl Date: Fri Mar 17 15:48:36 2023 +0100 setup: Do not create /run/motd.d folder =20 This folder will be created from systemd by the corresponding tmpfiles script and fails our FHS checks. =20 Signed-off-by: Stefan Schantl commit 26b098c6dd2920d993931ee8458d79e92f8d7773 Author: Stefan Schantl Date: Mon Mar 20 20:06:43 2023 +0100 dwz: New package =20 Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer commit 5e6ef4c802cdcbd61b857de495cb579f8a227c62 Author: Stefan Schantl Date: Mon Mar 20 20:06:24 2023 +0100 xxhash: New package =20 Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer ----------------------------------------------------------------------- Summary of changes: bash/bash.nm | 7 ++- bird/bird.nm | 7 ++- chrpath/chrpath.nm | 16 +++++- cups/cups.nm | 14 ++++- cyrus-sasl/cyrus-sasl.nm | 6 +- dhcpcd/dhcpcd.nm | 5 +- dma/dma.nm | 9 ++- docbook-dtds/docbook-dtds.nm | 10 ++-- docbook-utils/docbook-utils.nm | 9 ++- docbook-xsl/docbook-xsl.nm | 8 ++- dwz/dwz.nm | 66 ++++++++++++++++++++= ++ filesystem/filesystem.nm | 26 +++------ gettext/gettext.nm | 12 +++- git/git.nm | 6 +- intel-microcode/intel-microcode.nm | 6 +- iptraf-ng/iptraf-ng.nm | 11 +++- iputils/iputils.nm | 8 +-- kea/kea.nm | 5 +- kernel/kernel.nm | 9 ++- krb5/kdc.conf | 4 +- krb5/krb5.nm | 10 ++-- krb5/systemd/kadmin.service | 2 +- krb5/systemd/kprop.service | 2 +- libdb/libdb.nm | 10 +++- liboping/liboping.nm | 7 ++- libvirt/libvirt.nm | 8 ++- lldpd/lldpd.nm | 8 +-- lm-sensors/lm-sensors.nm | 13 +++-- lvm2/lvm2.nm | 5 +- mdadm/mdadm.nm | 7 +-- mdadm/mdadm.tmpfiles | 1 + net-snmp/net-snmp.nm | 6 +- netpbm/netpbm.nm | 4 +- nettle/nettle.nm | 7 ++- network/network.nm | 2 +- network/patches/network-fix-logdir-path.patch | 23 ++++++++ nfs-utils/nfs-utils.nm | 7 ++- openldap/openldap.nm | 4 +- openssh/openssh.nm | 10 ++-- pciutils/pciutils.nm | 10 ++-- perl-BDB/perl-BDB.nm | 9 ++- perl-Coro/perl-Coro.nm | 8 ++- perl-Crypt-OpenSSL-X509/perl-Crypt-OpenSSL-X509.nm | 16 +++++- perl-DBI/perl-DBI.nm | 12 +++- perl-Digest-SHA1/perl-Digest-SHA1.nm | 14 ++++- perl-FCGI/perl-FCGI.nm | 10 +++- perl-GSSAPI/perl-GSSAPI.nm | 14 ++++- perl-HTML-Parser/perl-HTML-Parser.nm | 9 ++- perl-HTML-Tagset/perl-HTML-Tagset.nm | 6 +- perl-IO-AIO/perl-IO-AIO.nm | 6 +- perl-Net-SSLeay/perl-Net-SSLeay.nm | 10 +++- perl-Parse-Yapp/perl-Parse-Yapp.nm | 12 +++- perl-SGMLSpm/perl-SGMLSpm.nm | 8 ++- perl-TermReadKey/perl-TermReadKey.nm | 13 ++++- perl-WWW-Curl/perl-WWW-Curl.nm | 33 +++++++++-- perl-XML-Parser/perl-XML-Parser.nm | 21 ++++--- perl-libintl-perl/perl-libintl-perl.nm | 9 ++- perl/perl.nm | 5 +- plymouth/plymouth.nm | 5 +- ppp/ppp.nm | 7 ++- python3-cairo/python3-cairo.nm | 6 +- python3-gobject3/python3-gobject3.nm | 6 +- qemu/qemu.nm | 15 ++++- samba/samba.nm | 10 +--- screen/screen.nm | 17 ++++-- screen/screen.tmpfiles | 1 + setup/setup.nm | 3 +- sgml-common/sgml-common.nm | 47 +++++++-------- shadow-utils/shadow-utils.nm | 10 ++-- snort/snort.nm | 7 ++- .../spectre-meltdown-checker.nm | 4 +- squid/squid.nm | 5 +- sssd/sssd.nm | 13 +++-- sudo/sudo.nm | 13 ++++- systemd/systemd.nm | 6 +- tcl/tcl.nm | 10 +++- unbound/unbound.nm | 8 +-- unbound/unbound.tmpfiles | 2 +- util-linux/util-linux.nm | 10 ++-- xxhash/xxhash.nm | 60 ++++++++++++++++++++ 80 files changed, 644 insertions(+), 226 deletions(-) create mode 100644 dwz/dwz.nm create mode 100644 mdadm/mdadm.tmpfiles create mode 100644 network/patches/network-fix-logdir-path.patch create mode 100644 screen/screen.tmpfiles create mode 100644 xxhash/xxhash.nm Difference in files: diff --git a/bash/bash.nm b/bash/bash.nm index cbe78a422..845eca8da 100644 --- a/bash/bash.nm +++ b/bash/bash.nm @@ -5,7 +5,7 @@ =20 name =3D bash version =3D 5.2.9 -release =3D 1 +release =3D 2 =20 groups =3D System/Tools url =3D http://www.gnu.org/software/bash/ @@ -67,7 +67,7 @@ build =20 install_cmds mkdir -pv %{BUILDROOT}%{sysconfdir}/{profile.d,skel} - mkdir -pv %{BUILDROOT}/root + install -v -m 700 -d %{BUILDROOT}/root =20 # Bash startup files cp -vf %{DIR_SOURCE}/dot_bash_logout %{BUILDROOT}%{sysconfdir}/skel/.bash_= logout @@ -92,6 +92,9 @@ build ) > "%{BUILDROOT}/%{bindir}/${f}" chmod +x "%{BUILDROOT}%{bindir}/${f}" done + + # Set correct permissions for binaries. + find %{BUILDROOT}%{bindir} -type f -executable -exec chmod 755 {} \; end end =20 diff --git a/bird/bird.nm b/bird/bird.nm index cee24efd5..350cd0eae 100644 --- a/bird/bird.nm +++ b/bird/bird.nm @@ -5,7 +5,7 @@ =20 name =3D bird version =3D 2.0.10 -release =3D 1 +release =3D 2 =20 groups =3D Networking/Routing url =3D https://bird.network.cz/ @@ -26,6 +26,11 @@ build ncurses-devel readline-devel end + + install_cmds + # Drop /var/run + rm -rvf %{BUILDROOT}%{localstatedir}/run + end end =20 packages diff --git a/chrpath/chrpath.nm b/chrpath/chrpath.nm index 5739082b4..6f24793cb 100644 --- a/chrpath/chrpath.nm +++ b/chrpath/chrpath.nm @@ -5,7 +5,7 @@ =20 name =3D chrpath version =3D 0.16 -release =3D 1 +release =3D 2 =20 groups =3D Development/Tools url =3D https://directory.fsf.org/wiki/Chrpath/ @@ -22,6 +22,20 @@ end source_dl =3D https://deb.debian.org/debian/pool/main/c/chrpath/ sources =3D %{name}_%{version}.orig.tar.gz =20 +build + configure_options +=3D \ + --docdir=3D%{docdir} + + install_cmds + # Chrpath ignores the docdir swith during configure. + # Move the documentation to the correct place. + mv -vf %{BUILDROOT}/usr/doc/%{name}-* %{BUILDROOT}%{docdir} + + # Remove empty directory + rm -rvf %{BUILDROOT}/usr/doc + end +end + packages package %{name} =20 diff --git a/cups/cups.nm b/cups/cups.nm index d038d41c8..113819ee2 100644 --- a/cups/cups.nm +++ b/cups/cups.nm @@ -5,7 +5,7 @@ =20 name =3D cups version =3D 2.3.6 -release =3D 2 +release =3D 3 =20 groups =3D Applications/Printing url =3D https://cups.org/software.php @@ -56,12 +56,20 @@ build --enable-webif \ --with-xinetd=3Dno =20 - install - make install BUILDROOT=3D%{BUILDROOT} + make_install_targets +=3D \ + BUILDROOT=3D%{BUILDROOT} =20 + install_cmds # Install default config file. mkdir -pv %{BUILDROOT}/etc/cups cp -vf %{DIR_APP}/conf/cupsd.conf %{BUILDROOT}/etc/cups/ + + # Fix file permissions in /usr/include + find %{BUILDROOT}%{includedir} -type f -iname "*.h" \ + -exec chmod 644 {} \; + + # Drop /var/run + rm -rvf %{BUILDROOT}%{localstatedir}/run end end =20 diff --git a/cyrus-sasl/cyrus-sasl.nm b/cyrus-sasl/cyrus-sasl.nm index 1ede85d0a..9288350dc 100644 --- a/cyrus-sasl/cyrus-sasl.nm +++ b/cyrus-sasl/cyrus-sasl.nm @@ -5,7 +5,7 @@ =20 name =3D cyrus-sasl version =3D 2.1.28 -release =3D 3 +release =3D 4 =20 groups =3D System/Libraries url =3D https://github.com/cyrusimap/cyrus-sasl @@ -33,7 +33,7 @@ build --with-configdir=3D%{libdir}/sasl2:/etc/sasl2 \ --with-plugindir=3D%{libdir}/sasl2 \ --with-dbpath=3D/var/lib/sasl/sasldb2 \ - --with-saslauthd=3D/var/run/saslauthd + --with-saslauthd=3D/run/saslauthd =20 make_install_targets +=3D sasldir=3D%{libdir}/sasl2 =20 @@ -44,7 +44,7 @@ build mkdir -pv %{BUILDROOT}%{libdir}/sasl2 cp -vf %{DIR_SOURCE}/smtpd.conf %{BUILDROOT}%{libdir}/sasl2/ =20 - install -v -m700 -d %{BUILDROOT}/var/lib/sasl %{BUILDROOT}/var/run/saslaut= hd + install -v -m700 -d %{BUILDROOT}/var/lib/sasl end end =20 diff --git a/dhcpcd/dhcpcd.nm b/dhcpcd/dhcpcd.nm index 99c244498..48c692144 100644 --- a/dhcpcd/dhcpcd.nm +++ b/dhcpcd/dhcpcd.nm @@ -5,7 +5,7 @@ =20 name =3D dhcpcd version =3D 9.4.1 -release =3D 1 +release =3D 2 =20 groups =3D Network/Base url =3D https://roy.marples.name/projects/dhcpcd/ @@ -35,6 +35,9 @@ build install_cmds # Assign db directory to the correct user and group. chown dhcpcd:dhcpcd %{BUILDROOT}%{sharedstatedir}/dhcpcd + + # Fix permission of /sbin/dhcpcd + chmod 755 %{BUILDROOT}%{sbindir}/dhcpcd end end =20 diff --git a/dma/dma.nm b/dma/dma.nm index 259421ac6..8a4533459 100644 --- a/dma/dma.nm +++ b/dma/dma.nm @@ -4,7 +4,7 @@ ############################################################################= ### =20 name =3D dma -version =3D 0.10 +version =3D 0.13 release =3D 1 =20 groups =3D Mail @@ -21,6 +21,8 @@ description SMTP authentication. end =20 +source_dl =3D https://github.com/corecode/dma/archive/v%{version}.tar.gz#/ + build requires bison @@ -34,10 +36,13 @@ build make_build_targets +=3D LEX=3D"flex -l" =20 make_install_targets +=3D PREFIX=3D%{prefix} \ - sendmail-link mailq-link install-spool-dirs install-etc + sendmail-link mailq-link install-etc =20 install_cmds install -m 755 %{DIR_SOURCE}/dma-cleanup-spool %{BUILDROOT}%{sbindir} + + # Set corret ownwership. + chown root:root %{BUILDROOT}%{sbindir}/dma end end =20 diff --git a/docbook-dtds/docbook-dtds.nm b/docbook-dtds/docbook-dtds.nm index eaf363c21..1ed875384 100644 --- a/docbook-dtds/docbook-dtds.nm +++ b/docbook-dtds/docbook-dtds.nm @@ -5,7 +5,7 @@ =20 name =3D docbook-dtds version =3D 1.0 -release =3D 6 +release =3D 7 arch =3D noarch =20 groups =3D Applications/Text @@ -106,11 +106,11 @@ build DESTDIR=3D%{BUILDROOT}/usr/share/sgml/docbook/$fmt-dtd-$ver mkdir -pv $DESTDIR case $fmt in - sgml) mkdir -pv $DESTDIR; install -v *.dcl $DESTDIR ;; - xml) mkdir -pv $DESTDIR/ent; install -v ent/* $DESTDIR/ent ;; + sgml) mkdir -pv $DESTDIR; install -v -m 644 *.dcl $DESTDIR ;; + xml) mkdir -pv $DESTDIR/ent; install -v -m 644 ent/* $DESTDIR/ent ;; esac - install -v *.dtd *.mod $DESTDIR - install -v docbook.cat $DESTDIR/catalog + install -v -m 644 *.dtd *.mod $DESTDIR + install -v -m 644 docbook.cat $DESTDIR/catalog touch %{BUILDROOT}/etc/sgml/${dir#*-}-docbook-$ver.cat done end diff --git a/docbook-utils/docbook-utils.nm b/docbook-utils/docbook-utils.nm index 9790d5ac1..b97c93ba8 100644 --- a/docbook-utils/docbook-utils.nm +++ b/docbook-utils/docbook-utils.nm @@ -5,7 +5,7 @@ =20 name =3D docbook-utils version =3D 0.6.14 -release =3D 2 +release =3D 3 =20 groups =3D Applications/Text url =3D http://sources.redhat.com/docbook-tools/ @@ -39,7 +39,12 @@ build =20 configure_options +=3D \ --libdir=3D%{libdir} \ - --mandir=3D/usr/share/man + --mandir=3D%{mandir} + + install_cmds + # Drop unneeded and wrongly installed HTML documentation. + rm -rvf %{BUILDROOT}%{prefix}/doc + end end =20 packages diff --git a/docbook-xsl/docbook-xsl.nm b/docbook-xsl/docbook-xsl.nm index c1c5caf3c..0ae968c93 100644 --- a/docbook-xsl/docbook-xsl.nm +++ b/docbook-xsl/docbook-xsl.nm @@ -5,7 +5,7 @@ =20 name =3D docbook-xsl version =3D 1.79.2 -release =3D 2 +release =3D 3 arch =3D noarch =20 groups =3D Applications/Text @@ -48,6 +48,12 @@ build =20 # Remove unneeded tool for .epub formats. rm -rvf %{BUILDROOT}/%{datadir}/sgml/docbook/xsl-stylesheets-%{version}/ep= ub + + # Fix directory permissions. + find %{BUILDROOT}%{datadir} -type d -exec chmod 755 {} \; + + # Fix file permissions. + find %{BUILDROOT}%{datadir} -type f -exec chmod 644 {} \; end end =20 diff --git a/dwz/dwz.nm b/dwz/dwz.nm new file mode 100644 index 000000000..8b63a64fc --- /dev/null +++ b/dwz/dwz.nm @@ -0,0 +1,66 @@ +############################################################################= ### +# IPFire.org - An Open Source Firewall Solution = # +# Copyright (C) - IPFire Development Team = # +############################################################################= ### + +name =3D dwz +version =3D 0.15 +release =3D 1 + +groups =3D Development/Tools +url =3D https://sourceware.org/dwz/ +license =3D GPLv2+ and GPLv3+ +summary =3D DWARF optimization and duplicate removal tool + +description + The dwz package contains a program that attempts to optimize DWARF + debugging information contained in ELF shared libraries and ELF executables + for size, by replacing DWARF information representation with equivalent + smaller representation where possible and by reducing the amount of + duplication using techniques from DWARF standard appendix E - creating + DW_TAG_partial_unit compilation units (CUs) for duplicated information + and using DW_TAG_imported_unit to import it into each CU that needs it. +end + +source_dl =3D https://sourceware.org/ftp/dwz/releases/ +sources =3D %{thisapp}.tar.xz + +build + requires + elfutils-devel + xxhash-devel + + # Testsuite + dejagnu + gdb + end + + DIR_APP =3D %{DIR_SRC}/%{name} + + make_build_targets +=3D \ + CFLAGS=3D"%{CFLAGS}" \ + LDFLAGS=3D"%{LDFLAGS}" \ + srcdir=3D%{DIR_APP} \ + prefix=3D%{prefix} \ + bindir=3D%{bindir} \ + mandir=3D%{mandir} + + test + # Compile the testsuite without any compiler or linker flags. + CFLAGS=3D LDFLAGS=3D srcdir=3D%{DIR_APP} make check + end + + make_install_targets +=3D \ + srcdir=3D%{DIR_APP} \ + prefix=3D%{prefix} \ + bindir=3D%{bindir} \ + mandir=3D%{mandir} +end + +packages + package %{name} + + package %{name}-debuginfo + template DEBUGINFO + end +end diff --git a/filesystem/filesystem.nm b/filesystem/filesystem.nm index f94eedbac..f270b8616 100644 --- a/filesystem/filesystem.nm +++ b/filesystem/filesystem.nm @@ -5,7 +5,7 @@ =20 name =3D filesystem version =3D 002 -release =3D 4 +release =3D 5 =20 maintainer =3D Michael Tremer groups =3D Base Build System/Base @@ -44,10 +44,8 @@ build opt \ proc \ root \ - run/lock \ srv \ sys \ - tmp \ usr/bin \ usr/include \ usr/lib \ @@ -60,11 +58,9 @@ build usr/src \ var/empty \ var/lib \ - var/local \ var/log \ - var/nis \ - var/preserve \ - var/spool/{mail,lpd} \ + var/mail \ + var/spool \ var/tmp \ var/db \ var/cache @@ -74,20 +70,12 @@ build ln -snf usr/lib lib [ "%{lib}" =3D "lib" ] || ln -snf usr/%{lib} %{lib} =20 - ln -snf ../var/tmp usr/tmp - ln -snf spool/mail var/mail - ln -snf ../run var/run - ln -snf ../run/lock var/lock - # Setting correct permissions. - chmod 1777 %{BUILDROOT}/{,var/}tmp - chown root:mail %{BUILDROOT}/var/spool/mail - chmod 775 %{BUILDROOT}/var/spool/mail + chmod -v 755 %{BUILDROOT}/var/tmp + chown -v root:mail %{BUILDROOT}/var/mail + chmod -v 755 %{BUILDROOT}/var/mail + chmod -v 700 %{BUILDROOT}/root end - - # XXX not implemented at the moment - export QUALITY_AGENT_NO_DIRECTORY_CHECK =3D yes - export QUALITY_AGENT_NO_DIRECTORY_PRUNE =3D yes end =20 packages diff --git a/gettext/gettext.nm b/gettext/gettext.nm index 1e2af67f7..000db01b2 100644 --- a/gettext/gettext.nm +++ b/gettext/gettext.nm @@ -5,7 +5,7 @@ =20 name =3D gettext version =3D 0.21.1 -release =3D 3 +release =3D 5 =20 groups =3D System/Base url =3D https://www.gnu.org/software/gettext/ @@ -65,6 +65,16 @@ build =20 # Fix library permissions. chmod 755 %{BUILDROOT}%{libdir}/preloadable_libintl.so + + # Remove examples. + rm -rvf %{BUILDROOT}%{docdir}/%{name}/examples + + # Gettext provides only a HTML documentation, so we + # safely can drop the remaining doc directory. + rm -rvf %{BUILDROOT}%{docdir} + + # Drop trigger and team-address files for GNOME, KDE and TP projects + rm -rvf %{BUILDROOT}%{datadir}/%{name}/projects end end =20 diff --git a/git/git.nm b/git/git.nm index b3b5f789b..adb785081 100644 --- a/git/git.nm +++ b/git/git.nm @@ -5,7 +5,7 @@ =20 name =3D git version =3D 2.38.1 -release =3D 3 +release =3D 4 =20 groups =3D Development/Tools url =3D http://git-scm.com/ @@ -96,6 +96,10 @@ build rm -rvf %{BUILDROOT}/usr/lib/git-core/*p4* rm -rvf %{BUILDROOT}/usr/lib/git-core/mergetools/p4* rm -rvf %{BUILDROOT}%{mandir}/man1/*p4* + + # Fix file permissions of the hook examples. + find %{BUILDROOT}%{datadir}/git-core/ -type f -iname "*.sample" \ + -exec chmod 644 {} \; end end =20 diff --git a/intel-microcode/intel-microcode.nm b/intel-microcode/intel-micro= code.nm index ca1881a2c..b29557baf 100644 --- a/intel-microcode/intel-microcode.nm +++ b/intel-microcode/intel-microcode.nm @@ -5,7 +5,7 @@ =20 name =3D intel-microcode version =3D 20221108 -release =3D 1 +release =3D 2 arch =3D noarch thisapp =3D microcode-%{version} =20 @@ -32,6 +32,10 @@ build install mkdir -pv %{BUILDROOT}%{prefix}/lib/firmware cp -prv intel-ucode %{BUILDROOT}%{prefix}/lib/firmware + + # Set correct permissions for directories and firmware files. + find %{BUILDROOT}%{prefix}/lib/firmware -type d -exec chmod 755 {} \; + find %{BUILDROOT}%{prefix}/lib/firmware -type f -exec chmod 644 {} \; end end =20 diff --git a/iptraf-ng/iptraf-ng.nm b/iptraf-ng/iptraf-ng.nm index f7b4eb5c3..4e7fea29e 100644 --- a/iptraf-ng/iptraf-ng.nm +++ b/iptraf-ng/iptraf-ng.nm @@ -5,7 +5,7 @@ =20 name =3D iptraf-ng version =3D 1.2.1 -release =3D 1 +release =3D 3 =20 groups =3D Networking/Tools url =3D https://github.com/iptraf-ng/iptraf-ng @@ -38,10 +38,15 @@ build ncurses-devel end =20 - make_install_targets +=3D prefix=3D%{prefix} + make_build_targets +=3D \ + CFLAGS=3D"%{CFLAGS}" \ + LDFLAGS=3D"%{LDFLAGS}" + + make_install_targets +=3D \ + prefix=3D%{prefix} =20 install_cmds - mkdir -pv %{BUILDROOT}%{localstatedir}/{lock,log,lib}/iptraf-ng + mkdir -pv %{BUILDROOT}%{localstatedir}/{log,lib}/iptraf-ng end end =20 diff --git a/iputils/iputils.nm b/iputils/iputils.nm index 5bcab41e9..d94645446 100644 --- a/iputils/iputils.nm +++ b/iputils/iputils.nm @@ -5,7 +5,7 @@ =20 name =3D iputils version =3D 20221126 -release =3D 1 +release =3D 2 =20 groups =3D Networking/Tools url =3D https://www.skbuff.net/iputils @@ -49,9 +49,9 @@ build ln -svf tracepath %{BUILDROOT}%{bindir}/tracepath6 ln -svf tracepath.8 %{BUILDROOT}%{mandir}/man8/tracepath6.8 =20 - # This currently does not work in pakfire - #setcap cap_net_admin=3Dep %{BUILDROOT}%{bindir}/ping - #setcap cap_net_raw=3Dep %{BUILDROOT}%{bindir}/arping + # Set capabilities + setcap cap_net_admin=3Dep %{BUILDROOT}%{bindir}/ping + setcap cap_net_raw=3Dep %{BUILDROOT}%{bindir}/arping end end =20 diff --git a/kea/kea.nm b/kea/kea.nm index c4e23a23f..a0dab0262 100644 --- a/kea/kea.nm +++ b/kea/kea.nm @@ -5,7 +5,7 @@ =20 name =3D kea version =3D 2.3.5 -release =3D 1 +release =3D 2 =20 groups =3D System/Daemons url =3D http://kea.isc.org @@ -49,6 +49,9 @@ build mkdir -pv %{BUILDROOT}%{sharedstatedir}/kea/ touch %{BUILDROOT}%{sharedstatedir}/kea/kea-leases4.csv touch %{BUILDROOT}%{sharedstatedir}/kea/kea-leases6.csv + + # Drop /var/run + rm -rvf %{BUILDROOT}%{localstatedir}/run end end =20 diff --git a/kernel/kernel.nm b/kernel/kernel.nm index 9b340f8b3..cf6b1c620 100644 --- a/kernel/kernel.nm +++ b/kernel/kernel.nm @@ -5,7 +5,7 @@ =20 name =3D kernel version =3D 6.2 -release =3D 2 +release =3D 3 thisapp =3D linux-%{version} =20 maintainer =3D Arne Fitzenreiter @@ -131,9 +131,12 @@ build cat .config =20 # Run the build. - make ARCH=3D%{kernel_arch} olddefconfig >/dev/null + make ARCH=3D%{kernel_arch} HOSTCFLAGS=3D"%{CFLAGS}" \ + HOSTLDFLAGS=3D"%{LDFLAGS}" olddefconfig >/dev/null + make ARCH=3D%{kernel_arch} %{kernel_target} modules \ - KERNELRELEASE=3D${fullversion} %{PARALLELISMFLAGS} + KERNELRELEASE=3D${fullversion} HOSTCFLAGS=3D"%{CFLAGS}" \ + HOSTLDFLAGS=3D"%{LDFLAGS}" %{PARALLELISMFLAGS} =20 # Compile Flattened Device Tree database case "${DISTRO_ARCH}" in diff --git a/krb5/kdc.conf b/krb5/kdc.conf index a4f590150..ef9974454 100644 --- a/krb5/kdc.conf +++ b/krb5/kdc.conf @@ -5,8 +5,8 @@ [realms] EXAMPLE.COM =3D { #master_key_type =3D aes256-cts - acl_file =3D /var/kerberos/krb5kdc/kadm5.acl + acl_file =3D /var/lib/kerberos/krb5kdc/kadm5.acl dict_file =3D /usr/share/dict/words - admin_keytab =3D /var/kerberos/krb5kdc/kadm5.keytab + admin_keytab =3D /var/lib/kerberos/krb5kdc/kadm5.keytab supported_enctypes =3D aes256-cts:normal aes128-cts:normal des3-hmac-sha1:= normal arcfour-hmac:normal des-hmac-sha1:normal des-cbc-md5:normal des-cbc-cr= c:normal } diff --git a/krb5/krb5.nm b/krb5/krb5.nm index 9113a4a55..075019d3c 100644 --- a/krb5/krb5.nm +++ b/krb5/krb5.nm @@ -7,7 +7,7 @@ name =3D krb5 version =3D %{ver_maj}.%{ver_min} ver_maj =3D 1.20 ver_min =3D 1 -release =3D 3 +release =3D 4 =20 groups =3D System/Libraries url =3D https://web.mit.edu/kerberos/www/ @@ -47,7 +47,7 @@ build configure_options +=3D \ --enable-shared \ --disable-rpath \ - --localstatedir=3D/var/kerberos \ + --localstatedir=3D%{sharedstatedir}/kerberos \ --with-system-et \ --with-system-ss \ --with-netlib=3D-lresolv \ @@ -70,9 +70,9 @@ build =20 install_cmds # Sample KDC config files (bundled kdc.conf and kadm5.acl). - mkdir -pv %{BUILDROOT}%{localstatedir}/kerberos/krb5kdc - install -pm 600 %{DIR_SOURCE}/kdc.conf %{BUILDROOT}%{localstatedir}/kerber= os/krb5kdc/ - install -pm 600 %{DIR_SOURCE}/kadm5.acl %{BUILDROOT}%{localstatedir}/kerbe= ros/krb5kdc/ + mkdir -pv %{BUILDROOT}%{sharedstatedir}/kerberos/krb5kdc + install -pm 600 %{DIR_SOURCE}/kdc.conf %{BUILDROOT}%{sharedstatedir}/kerbe= ros/krb5kdc/ + install -pm 600 %{DIR_SOURCE}/kadm5.acl %{BUILDROOT}%{sharedstatedir}/kerb= eros/krb5kdc/ =20 # Default configuration file for everything. mkdir -pv %{BUILDROOT}/etc diff --git a/krb5/systemd/kadmin.service b/krb5/systemd/kadmin.service index 7775ea74c..4d8bbbf57 100644 --- a/krb5/systemd/kadmin.service +++ b/krb5/systemd/kadmin.service @@ -1,7 +1,7 @@ [Unit] Description=3DKerberos 5 Password-changing and Administration After=3Dsyslog.target network.target -ConditionPathExists=3D!/var/kerberos/krb5kdc/kpropd.acl +ConditionPathExists=3D!/var/lib/kerberos/krb5kdc/kpropd.acl =20 [Service] Type=3Dforking diff --git a/krb5/systemd/kprop.service b/krb5/systemd/kprop.service index 99ba12976..3f5816535 100644 --- a/krb5/systemd/kprop.service +++ b/krb5/systemd/kprop.service @@ -1,7 +1,7 @@ [Unit] Description=3DKerberos 5 Propagation After=3Dsyslog.target network.target -ConditionPathExists=3D/var/kerberos/krb5kdc/kpropd.acl +ConditionPathExists=3D/var/lib/kerberos/krb5kdc/kpropd.acl =20 [Service] Type=3Dforking diff --git a/libdb/libdb.nm b/libdb/libdb.nm index ed20767cd..08d60a401 100644 --- a/libdb/libdb.nm +++ b/libdb/libdb.nm @@ -8,7 +8,7 @@ version_major =3D 6 version_minor =3D 1 version_patch =3D 26 version =3D %{version_major}.%{version_minor}.%{version_patch} -release =3D 3 +release =3D 4 thisapp =3D db-%{version} =20 soversion =3D %{version_major}.%{version_minor} @@ -85,6 +85,14 @@ build for i in db.h db_cxx.h db_185.h; do ln -svf %{name}/${i} %{BUILDROOT}/%{includedir} done + + # Fix binary permissions. + find %{BUILDROOT}%{bindir} -type f -executable \ + -exec chmod 755 {} \; + + # Fix header permissions. + find %{BUILDROOT}%{includedir} -type f -iname "*.h" \ + -exec chmod 644 {} \; end end =20 diff --git a/liboping/liboping.nm b/liboping/liboping.nm index 8f2296e7f..480ccf014 100644 --- a/liboping/liboping.nm +++ b/liboping/liboping.nm @@ -5,7 +5,7 @@ =20 name =3D liboping version =3D 1.10.0 -release =3D 4 +release =3D 5 =20 groups =3D Development/Tools url =3D https://noping.cc/ @@ -32,8 +32,9 @@ build --without-perl-bindings =20 install_cmds - #setcap cap_net_raw=3Dep %{BUILDROOT}%{bindir}/oping - #setcap cap_net_raw=3Dep %{BUILDROOT}%{bindir}/noping + # Set capabilities + setcap cap_net_raw=3Dep %{BUILDROOT}%{bindir}/oping + setcap cap_net_raw=3Dep %{BUILDROOT}%{bindir}/noping end end =20 diff --git a/libvirt/libvirt.nm b/libvirt/libvirt.nm index 0014ab38f..9c0b0a91b 100644 --- a/libvirt/libvirt.nm +++ b/libvirt/libvirt.nm @@ -5,7 +5,7 @@ =20 name =3D libvirt version =3D 8.10.0 -release =3D 4 +release =3D 5 =20 maintainer =3D Jonatan Schlag groups =3D Applications/Virtualization @@ -134,6 +134,12 @@ build =20 install %{meson_install} + + # Fix binary permissions. + find %{BUILDROOT}%{bindir} -type f -executable -exec chmod 755 {} \; + + # Drop /var/run + rm -rvf %{BUILDROOT}%{localstatedir}/run end end =20 diff --git a/lldpd/lldpd.nm b/lldpd/lldpd.nm index 54f00168d..0736fe310 100644 --- a/lldpd/lldpd.nm +++ b/lldpd/lldpd.nm @@ -5,7 +5,7 @@ =20 name =3D lldpd version =3D 1.0.16 -release =3D 1.1 +release =3D 2 =20 groups =3D Networking/Tools url =3D https://lldpd.github.io @@ -47,12 +47,6 @@ build prepare_cmds %{create_user} end - - install_cmds - # Create tmp directory. - mkdir -pv -m 700 %{BUILDROOT}/run/lldpd - chown -v lldpd.lldpd %{BUILDROOT}/run/lldpd - end end =20 create_user diff --git a/lm-sensors/lm-sensors.nm b/lm-sensors/lm-sensors.nm index b49b296e0..464ed1a5c 100644 --- a/lm-sensors/lm-sensors.nm +++ b/lm-sensors/lm-sensors.nm @@ -5,7 +5,7 @@ =20 name =3D lm-sensors version =3D 3.6.0 -release =3D 1 +release =3D 2 thisapp =3D %{name}-3-6-0 =20 groups =3D Applications/Statistics @@ -27,14 +27,19 @@ build rrdtool-devel end =20 + make_build_targets +=3D \ + CFLAGS=3D"%{CFLAGS}" \ + LDFLAGS=3D"%{LDFLAGS}" \ + EXLDFLAGS=3D"%{LDFLAGS}" \ + BUILD_STATIC_LIB=3D0 \ + PROG_EXTRA=3Dsensord + make_install_targets +=3D \ PREFIX=3D%{prefix} \ LIBDIR=3D%{libdir} \ MANDIR=3D%{mandir} \ - PROG_EXTRA=3Dsensord \ BUILD_STATIC_LIB=3D0 \ - CFLAGS=3D"%{CFLAGS}" \ - EXLDFLAGS=3D"%{LDFLAGS}"=20 + PROG_EXTRA=3Dsensord end =20 packages diff --git a/lvm2/lvm2.nm b/lvm2/lvm2.nm index abcdd1bd9..4acd10799 100644 --- a/lvm2/lvm2.nm +++ b/lvm2/lvm2.nm @@ -5,7 +5,7 @@ =20 name =3D lvm2 version =3D 2.03.16 -release =3D 1 +release =3D 2 thisapp =3D LVM2.%{version} =20 groups =3D System/Base @@ -72,6 +72,9 @@ build make install_systemd_units DESTDIR=3D%{BUILDROOT} make install_systemd_generators DESTDIR=3D%{BUILDROOT} make install_tmpfiles_configuration DESTDIR=3D%{BUILDROOT} + + # Remove /run and it's content. + rm -rvf %{BUILDROOT}/run end end =20 diff --git a/mdadm/mdadm.nm b/mdadm/mdadm.nm index d4a25fdee..d40dfe51a 100644 --- a/mdadm/mdadm.nm +++ b/mdadm/mdadm.nm @@ -5,7 +5,7 @@ =20 name =3D mdadm version =3D 4.2 -release =3D 1 +release =3D 2 =20 groups =3D System/Base url =3D http://www.kernel.org/pub/linux/utils/raid/mdadm/ @@ -48,11 +48,6 @@ build BINDIR=3D%{sbindir} \ UDEVDIR=3D%{prefix}/%{lib}/udev \ SYSTEMD_DIR=3D"%{unitdir}" - - install_cmds - mkdir -pv %{BUILDROOT}/var/run/mdadm - chmod 700 %{BUILDROOT}/var/run/mdadm - end end =20 packages diff --git a/mdadm/mdadm.tmpfiles b/mdadm/mdadm.tmpfiles new file mode 100644 index 000000000..e163ef8f9 --- /dev/null +++ b/mdadm/mdadm.tmpfiles @@ -0,0 +1 @@ +d /run/mdadm 0700 root root - diff --git a/net-snmp/net-snmp.nm b/net-snmp/net-snmp.nm index 1bcc538ac..26e905313 100644 --- a/net-snmp/net-snmp.nm +++ b/net-snmp/net-snmp.nm @@ -5,7 +5,7 @@ =20 name =3D net-snmp version =3D 5.9.3 -release =3D 2 +release =3D 3 =20 groups =3D Networking/Daemons url =3D http://net-snmp.sourceforge.net @@ -93,8 +93,8 @@ build install -v -m644 %{DIR_SOURCE}/snmptrapd.conf \ %{BUILDROOT}%{sysconfdir}/snmp/snmptrapd.conf =20 - # Prepare runtime directories. - mkdir -pv %{BUILDROOT}%{localstatedir}/{lib,run}/net-snmp + # Prepare runtime directory + mkdir -pv %{BUILDROOT}%{sharedstatedir}/net-snmp =20 # Remove scripts in /bin which requires the SNMP # perl bindings. diff --git a/netpbm/netpbm.nm b/netpbm/netpbm.nm index cbafb517c..bca23a696 100644 --- a/netpbm/netpbm.nm +++ b/netpbm/netpbm.nm @@ -5,7 +5,7 @@ =20 name =3D netpbm version =3D 10.73.42 -release =3D 2 +release =3D 3 =20 groups =3D System/Libraries url =3D https://netpbm.sourceforge.net/ @@ -86,7 +86,7 @@ build fi ln -svf libnetpbm.so.11 %{BUILDROOT}%{libdir}/libnetpbm.so =20 - rm -rvf %{BUILDROOT}%{prefix}/{README,VERSION,link,misc,man,pkginfo,config= _template} + rm -rvf %{BUILDROOT}%{prefix}/{README,VERSION,link,misc,man,pkginfo,config= _template,pkgconfig_template} rm -rvf %{BUILDROOT}%{bindir}/doc.url end end diff --git a/nettle/nettle.nm b/nettle/nettle.nm index 253119d03..b6a0657b8 100644 --- a/nettle/nettle.nm +++ b/nettle/nettle.nm @@ -5,7 +5,7 @@ =20 name =3D nettle version =3D 3.8.1 -release =3D 1 +release =3D 2 =20 groups =3D System/Libraries url =3D http://www.lysator.liu.se/~nisse/nettle/ @@ -34,6 +34,11 @@ build test make check end + + install_cmds + # Fix library permissions. + find %{BUILDROOT}%{libdir} -type f -exec chmod 755 {} \; + end end =20 packages diff --git a/network/network.nm b/network/network.nm index 4879f71f9..85a9d15b3 100644 --- a/network/network.nm +++ b/network/network.nm @@ -5,7 +5,7 @@ =20 name =3D network version =3D 010 -release =3D 4.2 +release =3D 5 =20 maintainer =3D Michael Tremer groups =3D Base Networking/Tools diff --git a/network/patches/network-fix-logdir-path.patch b/network/patches/= network-fix-logdir-path.patch new file mode 100644 index 000000000..f708c030a --- /dev/null +++ b/network/patches/network-fix-logdir-path.patch @@ -0,0 +1,23 @@ +commit 88e5f32944b8dc1c4b1c74028c7d46c37b2aad34 +Author: Stefan Schantl +Date: Sun Mar 19 15:58:11 2023 +0100 + + Makefile.am: Fix typo defining the logdir + =20 + The correct value name should be "localstatedir" + =20 + Signed-off-by: Stefan Schantl + +diff --git a/Makefile.am b/Makefile.am +index 893f1b8..5dc4629 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -51,7 +51,7 @@ hooks_zonesdir =3D $(hooksdir)/zones +=20 + triggersdir =3D $(networkdir)/triggers +=20 +-logdir =3D $(localestatedir)/log/network ++logdir =3D $(localstatedir)/log/network + utildir =3D $(networkdir) +=20 + CLEANFILES =3D diff --git a/nfs-utils/nfs-utils.nm b/nfs-utils/nfs-utils.nm index 771c47636..9cc6740bb 100644 --- a/nfs-utils/nfs-utils.nm +++ b/nfs-utils/nfs-utils.nm @@ -5,7 +5,7 @@ =20 name =3D nfs-utils version =3D 2.6.2 -release =3D 4 +release =3D 5 =20 groups =3D Networking/Tools url =3D http://nfs.sourceforge.net/ @@ -51,6 +51,7 @@ build --enable-mountconfig \ --enable-ipv6 \ --enable-gss \ + --enable-caps \ --with-statedir=3D/var/lib/nfs \ --with-statdpath=3D/var/lib/nfs/statd \ --with-start-statd=3D/usr/bin/start-statd \ @@ -82,6 +83,10 @@ build =20 mkdir -pv %{BUILDROOT}/var/lib/nfs/statd/sm{,.bak} chown rpcuser:rpcuser -Rv %{BUILDROOT}/var/lib/nfs/statd + + # Set capabilities + chmod -v 0755 %{BUILDROOT}%{bindir}/mount.nfs + setcap CAP_DAC_OVERRIDE,CAP_SYS_ADMIN=3Dep %{BUILDROOT}%{bindir}/mount.nfs end end =20 diff --git a/openldap/openldap.nm b/openldap/openldap.nm index afda58701..2fef95225 100644 --- a/openldap/openldap.nm +++ b/openldap/openldap.nm @@ -5,7 +5,7 @@ =20 name =3D openldap version =3D 2.6.4 -release =3D 2 +release =3D 3 =20 groups =3D System/Daemons url =3D https://www.openldap.org/ @@ -92,12 +92,10 @@ build # Create directoires. mkdir -pv %{BUILDROOT}%{sysconfdir}/%{name}/slapd.d mkdir -pv %{BUILDROOT}%{sysconfdir}/%{name}/certs - mkdir -pv %{BUILDROOT}/run/%{name} mkdir -pv %{BUILDROOT}%{sharedstatedir}/ldap =20 # Fix permissions and ownerships. chown -Rv ldap:ldap %{BUILDROOT}%{sysconfdir}/%{name} - chown ldap:ldap %{BUILDROOT}/run/%{name} chown ldap:ldap %{BUILDROOT}%{sharedstatedir}/ldap chmod 700 -Rv %{BUILDROOT}%{sharedstatedir}/ldap end diff --git a/openssh/openssh.nm b/openssh/openssh.nm index 9ae7bf738..2d90ee6ba 100644 --- a/openssh/openssh.nm +++ b/openssh/openssh.nm @@ -5,7 +5,7 @@ =20 name =3D openssh version =3D 9.1p1 -release =3D 2 +release =3D 4 =20 groups =3D Application/Internet url =3D https://www.openssh.com/portable.html @@ -41,7 +41,7 @@ build --libexecdir=3D%{libdir}/openssh \ --with-default-path=3D/usr/local/bin:/bin:/usr/bin \ --with-superuser-path=3D/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbi= n:/usr/bin \ - --with-privsep-path=3D/var/empty/sshd \ + --with-privsep-path=3D%{sharedstatedir}/sshd \ --enable-vendor-patchlevel=3D"%{DISTRO_NAME} %{thisver}" \ --disable-strip \ --with-ssl-engine \ @@ -68,7 +68,7 @@ build =20 # Install scriptfile for key generation mkdir -pv %{BUILDROOT}%{sbindir} - install -m 754 %{DIR_SOURCE}/sshd-keygen %{BUILDROOT}%{sbindir} + install -m 755 %{DIR_SOURCE}/sshd-keygen %{BUILDROOT}%{sbindir} =20 # Install ssh-copy-id. install -m755 contrib/ssh-copy-id %{BUILDROOT}%{bindir} @@ -147,7 +147,7 @@ packages %{mandir}/man5/moduli.5* %{mandir}/man8/sshd.8* %{mandir}/man8/sftp-server.8* - /var/empty/sshd + %{sharedstatedir}/sshd end =20 configfiles @@ -164,7 +164,7 @@ packages getent group sshd >/dev/null || groupadd -r sshd getent passwd sshd >/dev/null || useradd -r -g sshd \ -c "Privilege-separated SSH" \ - -d /var/empty/sshd -s /sbin/nologin sshd + -d /var/lib/sshd -s /sbin/nologin sshd end =20 script postin diff --git a/pciutils/pciutils.nm b/pciutils/pciutils.nm index 976bcc48c..8a819fbc8 100644 --- a/pciutils/pciutils.nm +++ b/pciutils/pciutils.nm @@ -5,7 +5,7 @@ =20 name =3D pciutils version =3D 3.9.0 -release =3D 1 +release =3D 2 =20 groups =3D System/Base url =3D https://mj.ucw.cz/sw/pciutils/ @@ -46,10 +46,10 @@ build =20 # Install headers. mkdir -pv %{BUILDROOT}%{includedir}/pci - install -p lib/pci.h %{BUILDROOT}%{includedir}/pci - install -p lib/header.h %{BUILDROOT}%{includedir}/pci - install -p lib/config.h %{BUILDROOT}%{includedir}/pci - install -p lib/types.h %{BUILDROOT}%{includedir}/pci + install -p -m 644 lib/pci.h %{BUILDROOT}%{includedir}/pci + install -p -m 644 lib/header.h %{BUILDROOT}%{includedir}/pci + install -p -m 644 lib/config.h %{BUILDROOT}%{includedir}/pci + install -p -m 644 lib/types.h %{BUILDROOT}%{includedir}/pci =20 # Install pkg-config files. mkdir -pv %{BUILDROOT}%{libdir}/pkgconfig diff --git a/perl-BDB/perl-BDB.nm b/perl-BDB/perl-BDB.nm index 326ee37cb..3ad22acf0 100644 --- a/perl-BDB/perl-BDB.nm +++ b/perl-BDB/perl-BDB.nm @@ -5,7 +5,7 @@ =20 name =3D perl-BDB version =3D 1.91 -release =3D 1.1 +release =3D 2 thisapp =3D BDB-%{version} =20 groups =3D Development/Libraries @@ -25,7 +25,6 @@ build perl(ExtUtils::MakeMaker) perl(ExtUtils::ParseXS) libdb-devel - pakfire >=3D 0.9.26-3.1 end =20 build @@ -39,6 +38,12 @@ build =20 make_install_targets =3D \ pure_install DESTDIR=3D%{BUILDROOT} + + install_cmds + # Set correct library permissions. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ + -exec chmod 755 {} \; + end end =20 packages diff --git a/perl-Coro/perl-Coro.nm b/perl-Coro/perl-Coro.nm index 7a87e13d1..c5b8e22ef 100644 --- a/perl-Coro/perl-Coro.nm +++ b/perl-Coro/perl-Coro.nm @@ -5,7 +5,7 @@ =20 name =3D perl-Coro version =3D 6.57 -release =3D 1 +release =3D 2 thisapp =3D Coro-%{version} =20 groups =3D Development/Libraries @@ -45,6 +45,12 @@ build =20 make_install_targets =3D \ pure_install DESTDIR=3D%{BUILDROOT} + + install_cmds + # Set correct library permissions. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ + -exec chmod 755 {} \; + end end =20 packages diff --git a/perl-Crypt-OpenSSL-X509/perl-Crypt-OpenSSL-X509.nm b/perl-Crypt-= OpenSSL-X509/perl-Crypt-OpenSSL-X509.nm index 9ab4b1fbe..1a09bce7c 100644 --- a/perl-Crypt-OpenSSL-X509/perl-Crypt-OpenSSL-X509.nm +++ b/perl-Crypt-OpenSSL-X509/perl-Crypt-OpenSSL-X509.nm @@ -5,7 +5,7 @@ =20 name =3D perl-Crypt-OpenSSL-X509 version =3D 1.914 -release =3D 1 +release =3D 3 thisapp =3D Crypt-OpenSSL-X509-%{version} =20 groups =3D Development/Libraries @@ -21,9 +21,11 @@ source_dl =3D https://cpan.metacpan.org/authors/id/J/JO/J= ONASBN/ =20 build requires + openssl-devel perl(Crypt::OpenSSL::Guess) + perl(Convert::ASN1) perl(ExtUtils::MakeMaker) - openssl-devel + perl(Test::More) end =20 build @@ -33,6 +35,16 @@ build =20 make_install_targets =3D \ pure_install + + test + make test + end + + install_cmds + # Set correct library permissions. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ + -exec chmod 755 {} \; + end end =20 packages diff --git a/perl-DBI/perl-DBI.nm b/perl-DBI/perl-DBI.nm index 3d1d668d4..e7c581687 100644 --- a/perl-DBI/perl-DBI.nm +++ b/perl-DBI/perl-DBI.nm @@ -5,7 +5,7 @@ =20 name =3D perl-DBI version =3D 1.643 -release =3D 1.1 +release =3D 2 thisapp =3D DBI-%{version} =20 groups =3D Development/Libraries @@ -67,6 +67,16 @@ build =20 make_install_targets =3D \ pure_install DESTDIR=3D%{BUILDROOT} + + install_cmds + # Set correct library permissions. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ + -exec chmod 755 {} \; + + # Set correct binary permissions. + find %{BUILDROOT}%{bindir} -type f -executable \ + -exec chmod 755 {} \; + end end =20 packages diff --git a/perl-Digest-SHA1/perl-Digest-SHA1.nm b/perl-Digest-SHA1/perl-Dig= est-SHA1.nm index ac3aaa4ea..b9b607e2d 100644 --- a/perl-Digest-SHA1/perl-Digest-SHA1.nm +++ b/perl-Digest-SHA1/perl-Digest-SHA1.nm @@ -5,7 +5,7 @@ =20 name =3D perl-Digest-SHA1 version =3D 2.13 -release =3D 4.1 +release =3D 6 thisapp =3D Digest-SHA1-%{version} =20 groups =3D Development/Libraries @@ -33,7 +33,7 @@ build requires perl(ExtUtils::MakeMaker) perl(ExtUtils::ParseXS) - pakfire >=3D 0.9.26-3.1 + perl(Test::More) end =20 build @@ -41,8 +41,18 @@ build make %{PARALLELISMFLAGS} end =20 + test + make test + end + make_install_targets =3D \ pure_install + + install_cmds + # Set correct library permissions. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ + -exec chmod 755 {} \; + end end =20 packages diff --git a/perl-FCGI/perl-FCGI.nm b/perl-FCGI/perl-FCGI.nm index c2f3a3b8e..73ac9047e 100644 --- a/perl-FCGI/perl-FCGI.nm +++ b/perl-FCGI/perl-FCGI.nm @@ -5,7 +5,7 @@ =20 name =3D perl-FCGI version =3D 0.77 -release =3D 1.1 +release =3D 2 thisapp =3D FCGI-%{version} =20 groups =3D Development/Libraries @@ -23,7 +23,7 @@ build requires perl(ExtUtils::MakeMaker) perl(ExtUtils::ParseXS) - pakfire >=3D 0.9.26-3.1 + perl(Test::More) end =20 build @@ -37,6 +37,12 @@ build =20 make_install_targets =3D \ pure_install DESTDIR=3D%{BUILDROOT} + + install_cmds + # Set correct library permissions. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ + -exec chmod 755 {} \; + end end =20 packages diff --git a/perl-GSSAPI/perl-GSSAPI.nm b/perl-GSSAPI/perl-GSSAPI.nm index ca2e5dec7..18ed8f2c0 100644 --- a/perl-GSSAPI/perl-GSSAPI.nm +++ b/perl-GSSAPI/perl-GSSAPI.nm @@ -5,7 +5,7 @@ =20 name =3D perl-GSSAPI version =3D 0.28 -release =3D 1 +release =3D 2 thisapp =3D GSSAPI-%{version} =20 groups =3D Development/Libraries @@ -25,7 +25,7 @@ build requires krb5-devel perl(ExtUtils::MakeMaker) - perl(Test::More) >=3D 0.47 + perl(Test::More) end =20 build @@ -33,6 +33,16 @@ build INSTALLDIRS=3Dvendor OPTIMIZE=3D"%{CFLAGS}" make %{PARALLELISMFLAGS} end + + test + make test + end + + install_cmds + # Set correct library permissions. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ + -exec chmod 755 {} \; + end end =20 packages diff --git a/perl-HTML-Parser/perl-HTML-Parser.nm b/perl-HTML-Parser/perl-HTM= L-Parser.nm index 02d8b3c9a..f5cb7b857 100644 --- a/perl-HTML-Parser/perl-HTML-Parser.nm +++ b/perl-HTML-Parser/perl-HTML-Parser.nm @@ -5,7 +5,7 @@ =20 name =3D perl-HTML-Parser version =3D 3.71 -release =3D 1.1 +release =3D 2 =20 groups =3D Development/Libratries url =3D http://search.cpan.org/dist/HTML-Parser/ @@ -28,7 +28,6 @@ build perl-devel perl(HTML::Tagset) perl(Test::More) - pakfire >=3D 0.9.26-3.1 end =20 build @@ -39,6 +38,12 @@ build test make test end + + install_cmds + # Set correct library permissions. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ + -exec chmod 755 {} \; + end end =20 packages diff --git a/perl-HTML-Tagset/perl-HTML-Tagset.nm b/perl-HTML-Tagset/perl-HTM= L-Tagset.nm index 9a1d342c0..cb6f21ac6 100644 --- a/perl-HTML-Tagset/perl-HTML-Tagset.nm +++ b/perl-HTML-Tagset/perl-HTML-Tagset.nm @@ -5,7 +5,7 @@ =20 name =3D perl-HTML-Tagset version =3D 3.20 -release =3D 1 +release =3D 2 arch =3D noarch thisapp =3D HTML-Tagset-%{version} =20 @@ -23,8 +23,8 @@ source_dl =3D http://search.cpan.org/CPAN/authors/id/P/PE/= PETDANCE/ =20 build requires - perl-core - perl-devel + perl(ExtUtils::MakeMaker) + perl(Test::More) end =20 build diff --git a/perl-IO-AIO/perl-IO-AIO.nm b/perl-IO-AIO/perl-IO-AIO.nm index dd29ef244..0149ca8b1 100644 --- a/perl-IO-AIO/perl-IO-AIO.nm +++ b/perl-IO-AIO/perl-IO-AIO.nm @@ -5,7 +5,7 @@ =20 name =3D perl-IO-AIO version =3D 4.32 -release =3D 1.2 +release =3D 2 thisapp =3D IO-AIO-%{version} =20 groups =3D Development/Libraries @@ -45,6 +45,10 @@ build install_cmds # Remove script we don't want packaged rm -rvf %{BUILDROOT}%{bindir}/treescan + + # Set correct library permissions. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ + -exec chmod 755 {} \; end end =20 diff --git a/perl-Net-SSLeay/perl-Net-SSLeay.nm b/perl-Net-SSLeay/perl-Net-SS= Leay.nm index 3083b1eac..f4774caf3 100644 --- a/perl-Net-SSLeay/perl-Net-SSLeay.nm +++ b/perl-Net-SSLeay/perl-Net-SSLeay.nm @@ -5,7 +5,7 @@ =20 name =3D perl-Net-SSLeay version =3D 1.85 -release =3D 1 +release =3D 2 thisapp =3D Net-SSLeay-%{version} =20 groups =3D Development/Libraries @@ -26,7 +26,7 @@ build perl(FindBin) perl(ExtUtils::MakeMaker) perl(Module::Install) - perl(Test::More) >=3D 0.47 + perl(Test::More) zlib-devel end =20 @@ -40,6 +40,12 @@ build #test # make test #end + + install_cmds + # Set correct library permissions. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ + -exec chmod 755 {} \; + end end =20 packages diff --git a/perl-Parse-Yapp/perl-Parse-Yapp.nm b/perl-Parse-Yapp/perl-Parse-= Yapp.nm index 4ceb6441b..663b48b89 100644 --- a/perl-Parse-Yapp/perl-Parse-Yapp.nm +++ b/perl-Parse-Yapp/perl-Parse-Yapp.nm @@ -5,7 +5,7 @@ =20 name =3D perl-Parse-Yapp version =3D 1.21 -release =3D 1 +release =3D 2 thisapp =3D Parse-Yapp-%{version} =20 groups =3D Development/Libratries @@ -35,6 +35,16 @@ build test make test end + + install_cmds + # Set correct library permissions. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ + -exec chmod 755 {} \; + + # Set correct binary permissions. + find %{BUILDROOT}%{bindir} -type f -executable \ + -exec chmod 755 {} \; + end end =20 packages diff --git a/perl-SGMLSpm/perl-SGMLSpm.nm b/perl-SGMLSpm/perl-SGMLSpm.nm index bc03dd3e8..a408ae7c5 100644 --- a/perl-SGMLSpm/perl-SGMLSpm.nm +++ b/perl-SGMLSpm/perl-SGMLSpm.nm @@ -5,7 +5,7 @@ =20 name =3D perl-SGMLSpm version =3D 1.1 -release =3D 1 +release =3D 2 thisapp =3D SGMLSpm-%{version} arch =3D noarch =20 @@ -24,6 +24,7 @@ source_dl =3D https://cpan.metacpan.org/authors/id/R/RA/RA= AB/ build requires perl(ExtUtils::MakeMaker) + perl(Test::More) end =20 build @@ -34,6 +35,11 @@ build test make test end + + install_cmds + # Drop unwanted script + rm -rvf %{BUILDROOT}%{bindir}/sgmlspl.pl + end end =20 packages diff --git a/perl-TermReadKey/perl-TermReadKey.nm b/perl-TermReadKey/perl-Ter= mReadKey.nm index e3822cc2d..5c21cc897 100644 --- a/perl-TermReadKey/perl-TermReadKey.nm +++ b/perl-TermReadKey/perl-TermReadKey.nm @@ -5,7 +5,7 @@ =20 name =3D perl-TermReadKey version =3D 2.38 -release =3D 1 +release =3D 3 thisapp =3D TermReadKey-%{version} =20 groups =3D Development/Libraries @@ -31,6 +31,7 @@ build perl(Carp) perl(Exporter) perl(ExtUtils::MakeMaker) + perl(Test::More) end =20 build @@ -38,8 +39,18 @@ build make %{PARALLELISMFLAGS} end =20 + test + make test + end + make_install_targets =3D \ pure_install + + install_cmds + # Set correct library permissions. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ + -exec chmod 755 {} \; + end end =20 packages diff --git a/perl-WWW-Curl/perl-WWW-Curl.nm b/perl-WWW-Curl/perl-WWW-Curl.nm index 20619266a..c7b69426e 100644 --- a/perl-WWW-Curl/perl-WWW-Curl.nm +++ b/perl-WWW-Curl/perl-WWW-Curl.nm @@ -5,7 +5,7 @@ =20 name =3D perl-WWW-Curl version =3D 4.17 -release =3D 1.2 +release =3D 3 thisapp =3D WWW-Curl-%{version} =20 groups =3D Development/Libraries @@ -21,12 +21,12 @@ source_dl =3D http://search.cpan.org/CPAN/authors/id/S/S= Z/SZBALINT/ =20 build requires + libcurl-devel perl(FindBin) perl(ExtUtils::MakeMaker) perl(ExtUtils::ParseXS) perl(Module::Install) - libcurl-devel - pakfire >=3D 0.9.26-3.1 + perl(Test::More) end =20 build @@ -34,7 +34,32 @@ build make %{PARALLELISMFLAGS} end =20 - make_install_targets =3D pure_install + test + # The following tests requires network connectivity + # Remove them + rm t/01basic.t + rm t/02callbacks.t + rm t/04abort-test.t + rm t/05progress.t + rm t/08ssl.t + rm t/09times.t + rm t/14duphandle.t + rm t/15duphandle-callback.t + rm t/18twinhandles.t + rm t/19multi.t + rm t/21write-to-scalar.t + + make test + end + + make_install_targets =3D \ + pure_install + + install_cmds + # Set correct library permissions. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ + -exec chmod 755 {} \; + end end =20 packages diff --git a/perl-XML-Parser/perl-XML-Parser.nm b/perl-XML-Parser/perl-XML-Pa= rser.nm index eae88d709..d1d2e540d 100644 --- a/perl-XML-Parser/perl-XML-Parser.nm +++ b/perl-XML-Parser/perl-XML-Parser.nm @@ -5,7 +5,7 @@ =20 name =3D perl-XML-Parser version =3D 2.44 -release =3D 2 +release =3D 4 thisapp =3D XML-Parser-%{version} =20 groups =3D Development/Libraries @@ -24,20 +24,25 @@ source_dl =3D http://search.cpan.org/CPAN/authors/id/T/T= O/TODDR/ build requires expat-devel - pakfire >=3D 0.9.26-3.1 - perl-core - perl-devel + perl(English) + perl(ExtUtils::MakeMaker) + perl(FileHandle) + perl(Test::More) end =20 build perl Makefile.PL INSTALLDIRS=3Dvendor make %{PARALLELISMFLAGS} end -end =20 -quality-agent - whitelist_rpath - /lib + test + make test + end + + install_cmds + # Set correct library permissions. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ + -exec chmod 755 {} \; end end =20 diff --git a/perl-libintl-perl/perl-libintl-perl.nm b/perl-libintl-perl/perl-= libintl-perl.nm index f7cd25eec..588bb633f 100644 --- a/perl-libintl-perl/perl-libintl-perl.nm +++ b/perl-libintl-perl/perl-libintl-perl.nm @@ -5,7 +5,7 @@ =20 name =3D perl-libintl-perl version =3D 1.33 -release =3D 1 +release =3D 2 thisapp =3D libintl-perl-%{version} =20 groups =3D Development/Libraries @@ -27,7 +27,6 @@ build perl(locale) perl(ExtUtils::MakeMaker) perl(Test::More) - pakfire >=3D 0.9.26-3.1 end =20 build @@ -41,6 +40,12 @@ build =20 make_install_targets =3D \ pure_install DESTDIR=3D%{BUILDROOT} + + install_cmds + # Set correct library permissions. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ + -exec chmod 755 {} \; + end end =20 packages diff --git a/perl/perl.nm b/perl/perl.nm index 3a7bad525..a19be3dcc 100644 --- a/perl/perl.nm +++ b/perl/perl.nm @@ -10,7 +10,7 @@ ver_plevel =3D 0 version =3D %{ver_major}.%{ver_minor}.%{ver_plevel} =20 # Never reset release in this package, just increase. -release =3D 3 +release =3D 4 =20 thisver =3D %{version}-%{_release} =20 @@ -143,6 +143,9 @@ build install_cmds # Remove precreated directories rm -rfv %{BUILDROOT}/usr/local + + # Fix filer permissions of the so files. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" -exec chmod 755 {} \; end end =20 diff --git a/plymouth/plymouth.nm b/plymouth/plymouth.nm index 429551896..57b878dab 100644 --- a/plymouth/plymouth.nm +++ b/plymouth/plymouth.nm @@ -5,7 +5,7 @@ =20 name =3D plymouth version =3D 22.02.122 -release =3D 4 +release =3D 5 =20 groups =3D System/Base url =3D https://www.freedesktop.org/wiki/Software/Plymouth @@ -58,6 +58,9 @@ build rm -vf %{BUILDROOT}%{datadir}/plymouth/themes/spinfinity/header-image.png cp -vf %{datadir}/pixmaps/system-logo-white.png \ %{BUILDROOT}%{datadir}/plymouth/themes/spinfinity/header-image.png + + # Drop /var/run directory + rm -rvf %{BUILDROOT}%{localstatedir}/run end end =20 diff --git a/ppp/ppp.nm b/ppp/ppp.nm index dc57a1b45..8013c4818 100644 --- a/ppp/ppp.nm +++ b/ppp/ppp.nm @@ -5,7 +5,7 @@ =20 name =3D ppp version =3D 2.4.9 -release =3D 3.1 +release =3D 4 =20 groups =3D System/Daemons url =3D https://ppp.samba.org/ @@ -58,8 +58,9 @@ build ln -svf secrets %{BUILDROOT}/etc/ppp/pap-secrets ln -svf secrets %{BUILDROOT}/etc/ppp/chap-secrets =20 - mkdir -pv %{BUILDROOT}%{localstatedir}/lock/ppp - mkdir -pv %{BUILDROOT}/run/ppp + # Fix binary permissions. + find %{BUILDROOT}%{sbindir} -type f -executable \ + -exec chmod 755 {} \; end end =20 diff --git a/python3-cairo/python3-cairo.nm b/python3-cairo/python3-cairo.nm index 88fa587ea..29a2187f2 100644 --- a/python3-cairo/python3-cairo.nm +++ b/python3-cairo/python3-cairo.nm @@ -5,7 +5,7 @@ =20 name =3D python3-cairo version =3D 1.23.0 -release =3D 1 +release =3D 2 thisapp =3D pycairo-%{version} =20 groups =3D Development/Tools @@ -33,6 +33,10 @@ build =20 install %{python3} setup.py install --skip-build --root=3D"%{BUILDROOT}" + + # Fix header permissions. + find %{BUILDROOT}%{includedir} -type f -iname "*.h" \ + -exec chmod -v 644 {} \; end end =20 diff --git a/python3-gobject3/python3-gobject3.nm b/python3-gobject3/python3-= gobject3.nm index f98cd5769..50518fea5 100644 --- a/python3-gobject3/python3-gobject3.nm +++ b/python3-gobject3/python3-gobject3.nm @@ -7,7 +7,7 @@ name =3D python3-gobject3 version =3D %{ver_major}.%{ver_minor} ver_major =3D 3.42 ver_minor =3D 2 -release =3D 1 +release =3D 2 thisapp =3D pygobject-%{version} =20 groups =3D Development/Tools @@ -41,6 +41,10 @@ build =20 install %{python3} setup.py install --skip-build --root=3D%{BUILDROOT} + + # Set correct header file permissions. + find %{BUILDROOT}%{includedir} -type f -iname "*.h" \ + -exec chmod -v 644 {} \; end=09 end =20 diff --git a/qemu/qemu.nm b/qemu/qemu.nm index 84a9f8d4d..f0ca0b84f 100644 --- a/qemu/qemu.nm +++ b/qemu/qemu.nm @@ -5,7 +5,7 @@ =20 name =3D qemu version =3D 7.2.0 -release =3D 2 +release =3D 3 =20 groups =3D Applications/Virtualization url =3D https://www.qemu.org @@ -92,6 +92,19 @@ build # Remove ivshm stuff rm -vf %{BUILDROOT}%{bindir}/ivshmem* %{BUILDROOT}%{mandir}/ivshmem* =20 + # Remove deprecated run directory. + rm -rvf %{BUILDROOT}/var/run + + # Remove firmware files for non supported platforms. + rm -rvf %{BUILDROOT}%{datadir}/%{name}/hppa-firmware.img + rm -rvf %{BUILDROOT}%{datadir}/%{name}/openbios-ppc + rm -rvf %{BUILDROOT}%{datadir}/%{name}/openbios-sparc32 + rm -rvf %{BUILDROOT}%{datadir}/%{name}/openbios-sparc64 + rm -rvf %{BUILDROOT}%{datadir}/%{name}/palcode-clipper + rm -rvf %{BUILDROOT}%{datadir}/%{name}/s390-ccw.img + rm -rvf %{BUILDROOT}%{datadir}/%{name}/s390-netboot.img + rm -rvf %{BUILDROOT}%{datadir}/%{name}/u-boot.e500 + # Make firmware non-executable find %{BUILDROOT}%{datadir}/%{name} -type f -executable | xargs chmod -v a= -x end diff --git a/samba/samba.nm b/samba/samba.nm index e407f4988..2500967d7 100644 --- a/samba/samba.nm +++ b/samba/samba.nm @@ -5,7 +5,7 @@ =20 name =3D samba version =3D 4.17.5 -release =3D 1.1 +release =3D 2 =20 groups =3D Networking/Daemons url =3D http://www.samba.org/ @@ -100,13 +100,9 @@ build mkdir -pv %{BUILDROOT}%{sysconfdir}/samba echo "127.0.0.1 localhost" > %{BUILDROOT}%{sysconfdir}/samba/lmhosts cp -vf %{DIR_SOURCE}/smb.conf %{BUILDROOT}/%{sysconfdir}/%{name} - end -end =20 -quality-agent - whitelist_rpath - %{libdir}/samba - %{libdir}/tdb + # Drop /var/run + rm -rvf %{BUILDROOT}%{localstatedir}/run end end =20 diff --git a/screen/screen.nm b/screen/screen.nm index eb8add2c0..4fe960b05 100644 --- a/screen/screen.nm +++ b/screen/screen.nm @@ -5,7 +5,7 @@ =20 name =3D screen version =3D 4.9.0 -release =3D 1.1 +release =3D 2 =20 groups =3D Application/System url =3D https://www.gnu.org/software/screen @@ -32,8 +32,9 @@ build end =20 configure_options +=3D \ - --with-socket-dir=3D/var/run/screen \ - --with-sys-screenrc=3D/etc/screenrc + --enable-pam \ + --with-socket-dir=3D/run/screen \ + --with-sys-screenrc=3D%{sysconfdir}/screenrc =20 prepare_cmds ./autogen.sh @@ -41,8 +42,14 @@ build =20 install_cmds # Install screenrc - mkdir -pv %{BUILDROOT}/etc - cp -vf %{DIR_SOURCE}/screenrc %{BUILDROOT}/etc/screenrc + mkdir -pv %{BUILDROOT}%{sysconfdir} + cp -vf %{DIR_SOURCE}/screenrc %{BUILDROOT}%{sysconfdir}/screenrc + + # Rename versioned screen binary into simple screen + mv -vf %{BUILDROOT}%{bindir}/screen{-%{version},} + + # Remove suid bit from binary. + chmod -v -s %{BUILDROOT}%{bindir}/screen end end =20 diff --git a/screen/screen.tmpfiles b/screen/screen.tmpfiles new file mode 100644 index 000000000..9e4da5690 --- /dev/null +++ b/screen/screen.tmpfiles @@ -0,0 +1 @@ +d /run/screen 0775 root root diff --git a/setup/setup.nm b/setup/setup.nm index 3b41b2d3f..cee66fab4 100644 --- a/setup/setup.nm +++ b/setup/setup.nm @@ -5,7 +5,7 @@ =20 name =3D setup version =3D 3.0 -release =3D 17 +release =3D 18 arch =3D noarch =20 groups =3D Base Build System/Base @@ -60,7 +60,6 @@ build =20 # Create MOTD (message of the day) folder layout.=09 mkdir -p %{BUILDROOT}/etc/motd.d - mkdir -p %{BUILDROOT}/run/motd.d mkdir -p %{BUILDROOT}/usr/lib/motd.d touch %{BUILDROOT}/usr/lib/motd =09 diff --git a/sgml-common/sgml-common.nm b/sgml-common/sgml-common.nm index e1e3f13f3..5a3a72483 100644 --- a/sgml-common/sgml-common.nm +++ b/sgml-common/sgml-common.nm @@ -5,7 +5,7 @@ =20 name =3D sgml-common version =3D 0.6.3 -release =3D 2 +release =3D 3 arch =3D noarch =20 groups =3D Applications/Text @@ -31,60 +31,63 @@ build end =20 configure_options +=3D \ - --mandir=3D/usr/share/man \ - --sysconfdir=3D/etc + --mandir=3D%{mandir} \ + --sysconfdir=3D%{sysconfdir} =20 prepare_cmds for i in COPYING INSTALL install-sh missing mkinstalldirs; do \ rm -f ${i}; \ - cp -pvf /usr/share/automake*/${i} .; \ + cp -pvf %{datadir}/automake*/${i} .; \ done end =20 install_cmds - mkdir -pv %{BUILDROOT}/etc/{sg,x}ml/docbook - mkdir -pv %{BUILDROOT}/usr/share/sgml/docbook + mkdir -pv %{BUILDROOT}%{sysconfdir}/{sg,x}ml/docbook + mkdir -pv %{BUILDROOT}%{datadir}/sgml/docbook =20 # Touch SGML catalog - touch %{BUILDROOT}/etc/sgml/catalog + touch %{BUILDROOT}%{sysconfdir}/sgml/catalog =20 # Create an empty XML catalog. - xmlcatalog --noout --create %{BUILDROOT}/etc/xml/catalog + xmlcatalog --noout --create %{BUILDROOT}%{sysconfdir}/xml/catalog =20 # Now put the common DocBook entries in it xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//ENTITIES DocBook XML" \ - "file:///etc/sgml/docbook/xmlcatalog" %{BUILDROOT}/etc/xml/catalog + "file://%{sysconfdir}/sgml/docbook/xmlcatalog" %{BUILDROOT}%{sysconfdir}/= xml/catalog =20 xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//DTD DocBook XML" \ - "file:///etc/sgml/docbook/xmlcatalog" %{BUILDROOT}/etc/xml/catalog + "file://%{sysconfdir}/sgml/docbook/xmlcatalog" %{BUILDROOT}%{sysconfdir}/= xml/catalog =20 xmlcatalog --noout --add "delegatePublic" \ "ISO 8879:1986" \ - "file:///etc/sgml/docbook/xmlcatalog" %{BUILDROOT}/etc/xml/catalog + "file://%{sysconfdir}/sgml/docbook/xmlcatalog" %{BUILDROOT}%{sysconfdir}/= xml/catalog =20 xmlcatalog --noout --add "delegateSystem" \ "http://www.oasis-open.org/docbook/" \ - "file:///etc/sgml/docbook/xmlcatalog" %{BUILDROOT}/etc/xml/catalog + "file://%{sysconfdir}/sgml/docbook/xmlcatalog" %{BUILDROOT}%{sysconfdir}/= xml/catalog =20 xmlcatalog --noout --add "delegateURI" \ "http://www.oasis-open.org/docbook/" \ - "file:///etc/sgml/docbook/xmlcatalog" %{BUILDROOT}/etc/xml/catalog + "file://%{sysconfdir}/sgml/docbook/xmlcatalog" %{BUILDROOT}%{sysconfdir}/= xml/catalog =20 # Also create the common DocBook catalog xmlcatalog --noout --create \ - %{BUILDROOT}/etc/sgml/docbook/xmlcatalog + %{BUILDROOT}%{sysconfdir}/sgml/docbook/xmlcatalog =20 - ln -svf ../../../../etc/sgml/docbook/xmlcatalog \ - %{BUILDROOT}/usr/share/sgml/docbook/xmlcatalog + ln -svf ../../../..%{sysconfdir}/sgml/docbook/xmlcatalog \ + %{BUILDROOT}%{datadir}/sgml/docbook/xmlcatalog =20 - rm -f %{BUILDROOT}/usr/share/sgml/xml.dcl + rm -rvf %{BUILDROOT}%{datadir}/sgml/xml.dcl =20 install -p -m0644 %{DIR_SOURCE}/*.dcl %{DIR_SOURCE}/*.soc \ - %{BUILDROOT}/usr/share/sgml + %{BUILDROOT}%{datadir}/sgml =20 - rm -rf %{BUILDROOT}/usr/share/xml/* + rm -rvf %{BUILDROOT}%{datadir}/xml/* + + # Remove unused and wrongly installed HTML documentation. + rm -rvf %{BUILDROOT}%{prefix}/doc end end =20 @@ -104,9 +107,9 @@ packages end =20 files - /etc/xml - /etc/sgml/docbook/xmlcatalog - /usr/share/sgml/docbook/xmlcatalog + %{sysconfdir}/xml + %{sysconfdir}/sgml/docbook/xmlcatalog + %{datadir}/sgml/docbook/xmlcatalog end end end diff --git a/shadow-utils/shadow-utils.nm b/shadow-utils/shadow-utils.nm index 1b3be3674..fcc4fd5fd 100644 --- a/shadow-utils/shadow-utils.nm +++ b/shadow-utils/shadow-utils.nm @@ -5,7 +5,7 @@ =20 name =3D shadow-utils version =3D 4.13 -release =3D 1 +release =3D 2 thisapp =3D shadow-%{version} =20 groups =3D System/Base @@ -51,14 +51,12 @@ build --with-yescrypt \ --without-audit \ --without-selinux \ - --without-su - - # This should be enabled, but our environment currently does not support th= is - configure_options +=3D --without-fcaps + --without-su \ + --with-fcaps =20 install_cmds rm -vf \ - %{BUILDROOT}/{%{bindir},%{sbindir},%{mandir}/*}/{chfn,chsh,login,logoutd,= newgrp,nologin,sg,vigr,vipw}* + %{BUILDROOT}/{%{bindir},%{sbindir},%{mandir}/*}/{chage,chfn,chsh,expiry,l= ogin,logoutd,newgrp,nologin,sg,vigr,vipw}* end end =20 diff --git a/snort/snort.nm b/snort/snort.nm index 3334d5b9b..53389edf9 100644 --- a/snort/snort.nm +++ b/snort/snort.nm @@ -5,7 +5,7 @@ =20 name =3D snort version =3D 3.1.50.0 -release =3D 1 +release =3D 2 thisapp =3D snort3-%{version} =20 groups =3D Networking/Tools @@ -45,6 +45,11 @@ build =20 make %{PARALLELISMFLAGS} end + + install_cmds + # Set correct permissions for helper script. + chmod -v 755 %{BUILDROOT}%{bindir}/appid_detector_builder.sh + end end =20 packages diff --git a/spectre-meltdown-checker/spectre-meltdown-checker.nm b/spectre-m= eltdown-checker/spectre-meltdown-checker.nm index 11cfb1818..96f10326c 100644 --- a/spectre-meltdown-checker/spectre-meltdown-checker.nm +++ b/spectre-meltdown-checker/spectre-meltdown-checker.nm @@ -5,7 +5,7 @@ =20 name =3D spectre-meltdown-checker version =3D 0.45 -release =3D 1 +release =3D 2 =20 groups =3D Development/Tools url =3D https://github.com/speed47/spectre-meltdown-checker @@ -26,7 +26,7 @@ build =20 install mkdir -pv %{BUILDROOT}%{sbindir} - install -v -m 754 spectre-meltdown-checker.sh \ + install -v -m 755 spectre-meltdown-checker.sh \ %{BUILDROOT}%{sbindir}/spectre-meltdown-checker end end diff --git a/squid/squid.nm b/squid/squid.nm index eca35788f..053c05543 100644 --- a/squid/squid.nm +++ b/squid/squid.nm @@ -7,7 +7,7 @@ name =3D squid major_ver =3D 5 minor_ver =3D 7 version =3D %{major_ver}.%{minor_ver} -release =3D 1.2 +release =3D 2 =20 groups =3D Networking/Daemons url =3D https://www.squid-cache.org/ @@ -106,6 +106,9 @@ build cp -vf %{DIR_SOURCE}/cache_swap.sh %{BUILDROOT}/usr/lib/squid/ chmod 755 %{BUILDROOT}/usr/lib/squid/cache_swap.sh chown -Rv squid:squid %{BUILDROOT}/usr/lib/squid/cache_swap.sh + + # Drop /var/run + rm -rvf %{BUILDROOT}%{localstatedir}/run end end =20 diff --git a/sssd/sssd.nm b/sssd/sssd.nm index 2a6c8aa19..90d804469 100644 --- a/sssd/sssd.nm +++ b/sssd/sssd.nm @@ -5,7 +5,7 @@ =20 name =3D sssd version =3D 2.8.2 -release =3D 1.1 +release =3D 2 =20 groups =3D System/Tools url =3D https://github.com/SSSD/sssd @@ -63,10 +63,10 @@ build =20 configure_options +=3D \ --with-crypto=3Dlibcrypto \ - --with-db-path=3D%{localstatedir}/sss/db \ - --with-pipe-path=3D%{localstatedir}/sss/pipe \ - --with-pubconf-path=3D%{localstatedir}/sss/pubconf \ - --with-mcache-path=3D%{localstatedir}/sss/mc \ + --with-db-path=3D%{sharedstatedir}/sss/db \ + --with-pipe-path=3D%{sharedstatedir}/sss/pipe \ + --with-pubconf-path=3D%{sharedstatedir}/sss/pubconf \ + --with-mcache-path=3D%{sharedstatedir}/sss/mc \ --with-krb5-rcache-dir=3D%{localstatedir}/cache/krb5rcache \ --with-default-ccache-dir=3D/run/user/%U \ --with-default-ccname-template=3DDIR:%d/krb5cc \ @@ -92,6 +92,9 @@ build =20 # Remove old sysVinit stuff. rm -rvf %{BUILDROOT}%{sysconfdir}/rc.d + + # Drop /var/run + rm -rvf %{BUILDROOT}%{localstatedir}/run end end =20 diff --git a/sudo/sudo.nm b/sudo/sudo.nm index 1ccd04f3c..55e4d42e1 100644 --- a/sudo/sudo.nm +++ b/sudo/sudo.nm @@ -5,7 +5,7 @@ =20 name =3D sudo version =3D 1.9.12p1 -release =3D 1 +release =3D 3 =20 groups =3D Applications/System url =3D https://www.sudo.ws/ @@ -46,7 +46,8 @@ build --with-ignore-dot \ --with-tty-tickets \ --with-ldap \ - --with-passprompt=3D"[sudo] password for %p: " + --with-passprompt=3D"[sudo] password for %p: " \ + --enable-tmpfiles.d=3D%{tmpfilesdir} =20 prepare_cmds # The tarball contains files owned by a stange uid:gid which will let @@ -59,8 +60,16 @@ build end =20 install_cmds + # Create sudoers config file. mkdir -pv %{BUILDROOT}%{sysconfdir} cp -vf %{DIR_SOURCE}/sudoers %{BUILDROOT}%{sysconfdir}/sudoers + + # Do not ship /run. + rm -rvf %{BUILDROOT}/run + + # Fix library permissions. + find %{BUILDROOT}%{libdir}/%{name} -type f -iname "*.so" -exec chmod 755 {= } \; + end end =20 diff --git a/systemd/systemd.nm b/systemd/systemd.nm index 9bcefa3a7..30d1e829f 100644 --- a/systemd/systemd.nm +++ b/systemd/systemd.nm @@ -5,7 +5,7 @@ =20 name =3D systemd version =3D 252 -release =3D 2.1 +release =3D 3 =20 maintainer =3D Stefan Schantl groups =3D System/Base @@ -193,10 +193,6 @@ build # Don't let udev set up any networking rm -vf %{BUILDROOT}/usr/lib/udev/rules.d/80-net-setup-link.rules =20 - # Create journald related folders. - mkdir -pv %{BUILDROOT}/run/log/journal - chown root:systemd-journal %{BUILDROOT}/run/log/journal - mkdir -pv %{BUILDROOT}/var/log/journal chown root:systemd-journal %{BUILDROOT}/var/log/journal =20 diff --git a/tcl/tcl.nm b/tcl/tcl.nm index 76bc6eea9..19e5024d2 100644 --- a/tcl/tcl.nm +++ b/tcl/tcl.nm @@ -6,7 +6,7 @@ name =3D tcl major_ver =3D 8.6 version =3D %{major_ver}.13 -release =3D 1.2 +release =3D 2 thisapp =3D tcl%{version} =20 groups =3D Development/Languages @@ -15,8 +15,8 @@ license =3D TCL summary =3D Tool Command Language, pronounced tickle. =20 description - The Tcl (Tool Command Language) provides a powerful platform for\ - creating integration applications that tie together diverse \ + The Tcl (Tool Command Language) provides a powerful platform for + creating integration applications that tie together diverse applications, protocols, devices, and frameworks. end =20 @@ -64,6 +64,10 @@ build =20 # Fix permissions. chmod 644 %{BUILDROOT}%{libdir}/libtclstub%{major_ver}.a + + # Fix private shared library permissions. + find %{BUILDROOT}%{libdir} -type f -iname "*.so" \ + -exec chmod -v 755 {} \; end end =20 diff --git a/unbound/unbound.nm b/unbound/unbound.nm index 2feaf3296..daba56558 100644 --- a/unbound/unbound.nm +++ b/unbound/unbound.nm @@ -5,7 +5,7 @@ =20 name =3D unbound version =3D 1.17.0 -release =3D 1 +release =3D 3 =20 groups =3D System/Daemons url =3D https://www.nlnetlabs.nl/unbound/ @@ -33,7 +33,7 @@ build =20 configure_options +=3D \ --with-conf-file=3D%{sysconfdir}/%{name}/unbound.conf \ - --with-pidfile=3D%{localstatedir}/run/%{name}/%{name}.pid \ + --with-pidfile=3D/run/%{name}/%{name}.pid \ --with-rootkey-file=3D%{sharedstatedir}/unbound/root.key \ --without-libevent \ --with-pthreads \ @@ -53,10 +53,6 @@ build end =20 install_cmds - # Create directories. - mkdir -pv %{BUILDROOT}%{localstatedir}/run/%{name} - mkdir -pv %{BUILDROOT}%{sharedstatedir}/%{name} - # Directory for user specified and additional config files. mkdir -pv %{BUILDROOT}%{sysconfdir}/%{name}/conf.d/ =20 diff --git a/unbound/unbound.tmpfiles b/unbound/unbound.tmpfiles index d6255896c..bb88f01e2 100644 --- a/unbound/unbound.tmpfiles +++ b/unbound/unbound.tmpfiles @@ -1 +1 @@ -D /var/run/unbound 0755 unbound unbound - +D /run/unbound 0755 unbound unbound - diff --git a/util-linux/util-linux.nm b/util-linux/util-linux.nm index 684e57b0a..fbb17f901 100644 --- a/util-linux/util-linux.nm +++ b/util-linux/util-linux.nm @@ -6,7 +6,7 @@ name =3D util-linux ver_maj =3D 2.38 version =3D %{ver_maj}.1 -release =3D 1 +release =3D 3 =20 maintainer =3D Stefan Schantl groups =3D System/Base @@ -70,7 +70,6 @@ build %{BUILDROOT}/var/lib/libuuid \ %{BUILDROOT}/var/lib/hwclock \ %{BUILDROOT}/usr/share/man/man8 \ - %{BUILDROOT}/run/uuidd \ %{BUILDROOT}/var/log =20 touch %{BUILDROOT}/var/log/lastlog @@ -84,15 +83,14 @@ build rm -fv %{BUILDROOT}/usr/share/getopt/*.tcsh =20 # Set capabilities - # XXX: Setting capabilities is currently unusable due to #13010 chmod -v -s %{BUILDROOT}%{bindir}/mount - #setcap CAP_DAC_OVERRIDE,CAP_SYS_ADMIN=3Dep %{BUILDROOT}%{bindir}/mount + setcap CAP_DAC_OVERRIDE,CAP_SYS_ADMIN=3Dep %{BUILDROOT}%{bindir}/mount chmod -v -s %{BUILDROOT}%{bindir}/umount - #setcap CAP_DAC_OVERRIDE,CAP_SYS_ADMIN=3Dep %{BUILDROOT}%{bindir}/umount + setcap CAP_DAC_OVERRIDE,CAP_SYS_ADMIN=3Dep %{BUILDROOT}%{bindir}/umount =20 # su (set right capabilities) chmod -v u-s %{BUILDROOT}%{bindir}/su - #setcap cap_setgid,cap_setuid+ep %{BUILDROOT}%{bindir}/su + setcap cap_setgid,cap_setuid+ep %{BUILDROOT}%{bindir}/su end end =20 diff --git a/xxhash/xxhash.nm b/xxhash/xxhash.nm new file mode 100644 index 000000000..d551178ae --- /dev/null +++ b/xxhash/xxhash.nm @@ -0,0 +1,60 @@ +############################################################################= ### +# IPFire.org - An Open Source Firewall Solution = # +# Copyright (C) - IPFire Development Team = # +############################################################################= ### + +name =3D xxhash +version =3D 0.8.1 +release =3D 1 + +groups =3D System/Libraries +url =3D https://www.xxhash.com/ +license =3D BSD and GPLv2+ +summary =3D Extremely fast hash algorithm + +description + xxHash is an Extremely fast Hash algorithm, running at RAM speed + limits. +end + +source_dl =3D https://github.com/Cyan4973/xxHash/archive/v%{version}/ +sources =3D %{thisapp}.tar.gz + +build + DIR_APP =3D %{DIR_SRC}/xxHash-%{version} + + make_build_targets +=3D \ + MOREFLAGS=3D"%{CFLAGS} %{LDFLAGS}" + + test + make check + make test-xxhsum-c + end + + make_install_targets +=3D \ + PREFIX=3D%{prefix} \ + LIBDIR=3D%{libdir} + + install_cmds + # Fix broken symlinks. + for bit in 32 64 128; do + ln -svf xxhsum.1 %{BUILDROOT}%{mandir}/man1/xxh${bit}sum.1 + done + end +end + +packages + package %{name} + + package %{name}-libs + template LIBS + end + + package %{name}-devel + template DEVEL + end + + package %{name}-debuginfo + template DEBUGINFO + end +end hooks/post-receive -- IPFire 3.x development tree --===============1694789070476804997==--