tune patch info

This commit is contained in:
kangenbo 2020-01-11 14:29:32 +08:00
parent b8ba855862
commit c79af3f693
3 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
From 72ffc473b79180c38918d2e8e46f8f6707e35628 Mon Sep 17 00:00:00 2001 From 72ffc473b79180c38918d2e8e46f8f6707e35628 Mon Sep 17 00:00:00 2001
From: kangenbo <kangenbo@huawei.com> From: kangenbo <kangenbo@huawei.com>
Date: Sat, 11 Jan 2020 13:04:09 +0800 Date: Sat, 11 Jan 2020 13:04:09 +0800
Subject: [PATCH 1/2] Limit number of comparison characters to 4 Subject: Limit number of comparison characters to 4
Replace the function strcasecmp with strncasecmp Replace the function strcasecmp with strncasecmp
--- ---

View File

@ -1,8 +1,9 @@
From f73a0e2c031a482683f39fd8a6aa122186b67a99 Mon Sep 17 00:00:00 2001 From f73a0e2c031a482683f39fd8a6aa122186b67a99 Mon Sep 17 00:00:00 2001
From: kangenbo <kangenbo@huawei.com> From: kangenbo <kangenbo@huawei.com>
Date: Sat, 11 Jan 2020 13:08:08 +0800 Date: Sat, 11 Jan 2020 13:08:08 +0800
Subject: [PATCH 2/2] Limit maximum of RPC port Subject: Limit maximum of RPC port
Limit maximum of RPC port
--- ---
rquota_svc.c | 8 +++++++- rquota_svc.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-) 1 file changed, 7 insertions(+), 1 deletion(-)

View File

@ -12,8 +12,8 @@ Source2: quota_nld.sysconfig
Source3: rpc-rquotad.service Source3: rpc-rquotad.service
Source4: rpc-rquotad.sysconfig Source4: rpc-rquotad.sysconfig
Patch0000: 0000-Limit-number-of-comparison-characters-to-4.patch Patch9000: 9000-Limit-number-of-comparison-characters-to-4.patch
Patch0001: 0001-Limit-maximum-of-RPC-port.patch Patch9001: 9001-Limit-maximum-of-RPC-port.patch
BuildRequires: autoconf, automake, coreutils, rpcgen, systemd BuildRequires: autoconf, automake, coreutils, rpcgen, systemd
BuildRequires: e2fsprogs-devel, gettext-devel, openldap-devel BuildRequires: e2fsprogs-devel, gettext-devel, openldap-devel