100 Commits

Author SHA1 Message Date
hugel
e5d58d19d7 Require macro filenames to end in alphanum char
(cherry picked from commit 698ba6426d83d1aa7b67127b4cd262ef23d59032)
2024-11-27 11:12:21 +08:00
hugel
69863c5692 sync patches from upstream
(cherry picked from commit 30d8a11850652cd3ef7c05d1b140bd8c3dcb5f23)
2024-11-26 17:17:59 +08:00
xujing
24cbd83f22 Support sm2p256v1 of ECDSA and sm3 of hash 2024-10-30 20:43:22 +08:00
Funda Wang
0a3f16e8fc fix RPM_LD_FLAGS not got exported
(cherry picked from commit 79449a6f79c719532324fe53c88000daf65a5135)
2024-10-28 11:04:14 +08:00
xuce
af6fe15caf Separate the SELinux patch from the IMA digest list patch
Signed-off-by: xuce <xuce10@h-partners.com>
(cherry picked from commit 9e27ae8ee13d4d4e8f43923626e3bfc88fc90158)
2024-10-25 15:30:46 +08:00
hugel
2cde8864f5 Fix testcase failed of rpm addsign
(cherry picked from commit b8cc47e953395d3e1450ac626a47c8c383250f8d)
2024-09-29 11:13:55 +08:00
Funda Wang
6269483179 Remove symlinks towards libtool .la also
(cherry picked from commit 14372ac27b8bc7899e6923f755870ce4074744f8)
2024-09-23 15:21:51 +08:00
Huaxin Lu
4032dfcfbd Fix the log level of IMA digest_list 2024-08-21 17:25:31 +08:00
hugel
171b6429f4 Backport some patches from upstream
(cherry picked from commit 20927880aed58dc64076e646f44bb5e549fe39ec)
2024-09-04 18:54:39 +08:00
hugel
42033e500c Backport some patches from upstream
(cherry picked from commit 98e23cf086aae61f875bce4d105746a670279c0e)
2024-09-03 11:21:11 +08:00
Huaxin Lu
d801cf18d6 Fix the calculation of hdr size 2024-08-21 12:07:27 +08:00
Huaxin Lu
9819a1507a Fix the wrong IMA signature header check 2024-08-16 12:34:33 +08:00
Huaxin Lu
6f8288b49f Fix the judgement of digests count 2024-08-16 11:58:19 +08:00
Huaxin Lu
266aba8e10 IMA digest list plugin support signature within IMA header 2024-08-16 10:35:00 +08:00
gengqihu
19a6b95203 Backport some patches from upstream
(cherry picked from commit dc2d4dc8f6325495fda6b2b2565b76b5b8d9a0fe)
2024-07-24 11:45:27 +08:00
zhangxingrong
bd836d9bf3 Free old cookie value to prevent a memory leak
(cherry picked from commit 2e7407c6ad18387e8885ed2947b3adc0d6508031)
2024-07-24 10:13:29 +08:00
gengqihu
62be8d09e6 Backport some patches from upstream
(cherry picked from commit 5ed1ce4d84635b87310b6677903920144198c7ff)
2024-06-03 10:11:48 +08:00
hongjinghao
0b3f75bd68 Fix memleak and let eBPF ELF files be packaged in noarch packages
(cherry picked from commit 445d246981ab5480d7f412723fc2faff02cc5e65)
2024-03-25 19:12:08 +08:00
zgzxx
21d379187d ima digest list support modsig
(cherry picked from commit d3ff959c951f6827ab3409d596406e6e1df2460d)
2024-03-25 15:00:49 +08:00
gengqihu
fe12fc1112 backport some patches from upstream
(cherry picked from commit 04e38a0ba9a37ea6eba759f5b3f03225d37d061e)
2024-03-14 14:32:45 +08:00
gengqihu
2953f76d9b Modify the version of zstd in Requires 2024-02-21 17:32:08 +08:00
xujing
d735d23562 rpm: update version to 4.18.2 2024-01-27 17:28:34 +08:00
renxichen
6e620ddbf6 Fix potential segmentation fault 2023-09-26 02:28:28 +00:00
renxichen
09e25fe3bd support _disable_auto_rebuilddb macro in posttrans 2023-09-08 15:35:17 +08:00
renxichen
7737224928 Fix a copy-paste error in --help 2023-09-06 17:07:37 +08:00
renxichen
f340b294aa Fix the coredump which may occur during upgrading of rpm 2023-09-05 19:20:09 +08:00
hongjinghao
cf99ee44a5 Fix a segfault on a non-stringable argument to macro call from Lua 2023-09-05 11:49:14 +08:00
renxichen
ba20e36659 Check inside --root when querying for files 2023-08-30 16:28:51 +08:00
renxichen
62e41a01f2 backport some patches from upstream 2023-08-02 16:25:10 +08:00
xujing
7388a6180a fix Unbundle-config-site-and-add-RPM-LD-FLAGS-macro.patch is incorrectly adapted 2023-07-21 09:38:37 +08:00
renxichen
cd8a4991bd upgrade version to 4.18.1 2023-06-28 17:42:42 +08:00
renxichen
1ce10ab6e7 Fix per-file plugin hook regression introduced in 4.18 2023-06-21 11:03:58 +08:00
renxichen
77331d205f Fix a segfault on a non-stringable argument to macro call from Lua 2023-06-19 09:54:26 +08:00
zhoushuiqing
156752125d Add digest list plugin support 2023-06-16 12:51:27 +08:00
renxichen
7077cd6d0a Fix a copy-paste --help description of --whatconflicts 2023-06-14 10:02:59 +08:00
renxichen
c2ec49004f bugfix with upstream patches about fifo 2023-02-28 20:00:58 +08:00
gaoyusong
f9c1b12731 Revert digest list patches
Signed-off-by: gaoyusong <gaoyusong2@huawei.com>
2023-02-09 09:53:58 +08:00
gaoyusong
3471713e62 Sync IMA related patches
Signed-off-by: gaoyusong <gaoyusong2@huawei.com>
2023-02-08 11:29:39 +08:00
gaoyusong
b8562822b3 Add digest list plugin support
Signed-off-by: gaoyusong <gaoyusong2@huawei.com>
2023-02-08 11:04:17 +08:00
xujing
c9d5dc3b3a make clean after check to adapt rpm upstream logic 2023-02-06 19:40:02 +08:00
xujing
3b68526e40 don't automatically execute rmbuild 2023-02-06 11:01:52 +08:00
xujing
4217383ce8 update version to 4.18.0 2023-02-02 11:40:22 +08:00
xujing
d9c1e51e2d backport patches from upstream to fix resource leak 2022-12-26 16:16:36 +08:00
xujing
334225414d Fix file leak when src rpm in URL format is used for installation 2022-12-20 09:31:20 +08:00
xujing
01c6d2c1c3 backport patches from upstream to fix memleak 2022-12-20 09:30:28 +08:00
renxichen
e2e8cf7efc Move file metadata setting back to unpack stage 2022-11-28 14:32:40 +08:00
Jingyun Hua
8001027705 add default machine name loongarch support
disable test on loongarch

Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
2022-11-19 06:52:32 +00:00
renxichen
6517998347 fix rpm is blocked when open fifo file 2022-11-16 10:31:44 +08:00
yuelg
d9b5856b8f Move rpm-build's manpages to rpm-build binery package 2022-11-15 09:44:43 +08:00
wzx
9538ab058c Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com>
2022-11-14 15:42:48 +08:00