• Home
  • Raw
  • Download

Lines Matching full:patch

75 class Patch:  class
79 "backport-0101-curl-7.32.0-multilib.patch",
80 "backport-CVE-2022-22576.patch",
81 "backport-CVE-2022-27775.patch",
82 "backport-CVE-2022-27776.patch",
83 "backport-pre-CVE-2022-27774.patch",
84 "backport-001-CVE-2022-27774.patch",
85 "backport-002-CVE-2022-27774.patch",
86 "backport-CVE-2022-27781.patch",
87 "backport-pre-CVE-2022-27782.patch",
88 "backport-CVE-2022-27782.patch",
89 "backport-CVE-2022-32205.patch",
90 "backport-CVE-2022-32206.patch",
91 "backport-CVE-2022-32207.patch",
92 "backport-CVE-2022-32208.patch",
93 "backport-fix-configure-disable-http-auth-build-error.patch",
94 "backport-CVE-2022-35252-cookie-reject-cookies-with-control-bytes.patch",
95 "backport-CVE-2022-32221.patch",
96 "backport-CVE-2022-42916.patch",
97 "backport-CVE-2022-42915.patch",
98 "backport-CVE-2022-43551-http-use-the-IDN-decoded-name-in-HSTS-checks.patch",
99 "backport-CVE-2022-43552-smb-telnet-do-not-free-the-protocol-struct-in-_done.patch",
100 "backport-0001-CVE-2023-23914-CVE-2023-23915.patch",
101 "backport-0002-CVE-2023-23914-CVE-2023-23915.patch",
102 "backport-0003-CVE-2023-23914-CVE-2023-23915.patch",
103 "backport-0004-CVE-2023-23914-CVE-2023-23915.patch",
104 "backport-0005-CVE-2023-23914-CVE-2023-23915.patch",
105 "backport-0001-CVE-2023-23916.patch",
106 "backport-0002-CVE-2023-23916.patch",
107 "backport-CVE-2023-27533.patch",
108 "backport-CVE-2023-27534-pre1.patch",
109 "backport-CVE-2023-27534.patch",
110 "backport-CVE-2023-27538.patch",
111 "backport-CVE-2023-27535-pre1.patch",
112 "backport-CVE-2023-27536.patch",
113 "backport-CVE-2023-27535.patch",
114 "backport-after-CVE-2022-32207-to-fix-build-error-when-user-don-t-use-glibc.patch",
115 "backport-CVE-2023-28321.patch",
116 "backport-CVE-2023-28322.patch",
117 "backport-0001-CVE-2023-28320.patch",
118 "backport-0002-CVE-2023-28320.patch",
119 "backport-0003-CVE-2023-28320.patch"
127 Patch._patch_path = patch_path
128 Patch._source_path = source_path
143 def _do_patch(patch_path, patch): argument
144 patch_file = os.path.join(patch_path, patch)
146 cmd = "cd %s; patch -p1 < %s 2>&1; echo $?;" % (Patch._source_path, patch_file)
149 CurlLog.info("%s patch result empty" % (patch_file))
151 isSuccess = Patch._is_success(messages)
153 CurlLog.error("patch error %s" % (patch_file))
156 CurlLog.info("patch result [%s]" % (message.rstrip()))
158 CurlLog.error("patch result [%s]" % (message.rstrip()))
160 CurlLog.error("patch does not exits %s" % (patch_file))
166 for patch in Patch._all_patchs:
168 CurlLog.info("the OpenEuler Curl's %d patch %s" % (count, patch))
169 Patch._do_patch(Patch._patch_path, patch)
172 my_pathch_path = os.path.join(Patch._patch_path, "customized", "patch")
173 for patch in Patch._my_patchs:
175 CurlLog.info("my OpenEuler Curl's %d patch %s" % (count, patch))
176 Patch._do_patch(my_pathch_path, patch)
187Patch.init(self.script_home, os.path.join(self.script_home, Installer._open_euler_curl_source_path…
247 CurlLog.info("patch OpenEuler Curl")
248 Patch.patch_all()