internlm/SWE-Fixer-Train-110K huggingface dataset:
Repository: conan-io/conan-center-index

Issue:
[request] openssl/3.0.7
### Package Details
  * Package Name/Version: **openssl/3.0.7**
  * Changelog: 
  
  ### Changes between 3.0.6 and 3.0.7 [1 Nov 2022]

 * Fixed two buffer overflows in punycode decoding functions.

   A buffer overrun can be triggered in X.509 certificate verification,
   specifically in name constraint checking. Note that this occurs after
   certificate chain signature verification and requires either a CA to
   have signed the malicious certificate or for the application to continue
   certificate verification despite failure to construct a path to a trusted
   issuer.

   In a TLS client, this can be triggered by connecting to a malicious
   server.  In a TLS server, this can be triggered if the server requests
   client authentication and a malicious client connects.

   An attacker can craft a malicious email address to overflow
   an arbitrary number of bytes containing the `.`  character (decimal 46)
   on the stack.  This buffer overflow could result in a crash (causing a
   denial of service).
   ([CVE-2022-3786])

   An attacker can craft a malicious email address to overflow four
   attacker-controlled bytes on the stack.  This buffer overflow could
   result in a crash (causing a denial of service) or potentially remote code
   execution depending on stack layout for any given platform/compiler.
   ([CVE-2022-3602])

   *Paul Dale*

 * Removed all references to invalid OSSL_PKEY_PARAM_RSA names for CRT
   parameters in OpenSSL code.
   Applications should not use the names OSSL_PKEY_PARAM_RSA_FACTOR,
   OSSL_PKEY_PARAM_RSA_EXPONENT and OSSL_PKEY_PARAM_RSA_COEFFICIENT.
   Use the numbered names such as OSSL_PKEY_PARAM_RSA_FACTOR1 instead.
   Using these invalid names may cause algorithms to use slower methods
   that ignore the CRT parameters.

   *Shane Lontis*

 * Fixed a regression introduced in 3.0.6 version raising errors on some stack
   operations.

   *Tomáš Mráz*

 * Fixed a regression introduced in 3.0.6 version not refreshing the certificate
   data to be signed before signing the certificate.

   *Gibeom Gwon*

 * Added RIPEMD160 to the default provider.

   *Paul Dale*

 * Ensured that the key share group sent or accepted for the key exchange
   is allowed for the protocol version.

   *Matt Caswell*

The above mentioned version is newly released by the upstream project and not yet available as a recipe. Please add this version.



Discussion:

Resolving patch:
diff --git a/recipes/openssl/3.x.x/conanfile.py b/recipes/openssl/3.x.x/conanfile.py
--- a/recipes/openssl/3.x.x/conanfile.py
+++ b/recipes/openssl/3.x.x/conanfile.py
@@ -120,7 +120,7 @@ def configure(self):
 
     def requirements(self):
         if not self.options.no_zlib:
-            self.requires("zlib/1.2.12")
+            self.requires("zlib/1.2.13")
 
     def build_requirements(self):
         if self._settings_build.os == "Windows":


Test patch:
Repository: conan-io/conan-center-index

Issue:
update poco to 1.12.4
Specify library name and version:  **poco/1.12.4**

This is also a good place to share with all of us **why you are submitting this PR** (specially if it is a new addition to ConanCenter): is it a dependency of other libraries you want to package? Are you the author of the library? Thanks!

---

- [x] I've read the [guidelines](https://github.com/conan-io/conan-center-index/blob/master/docs/how_to_add_packages.md) for contributing.
- [x] I've followed the [PEP8](https://www.python.org/dev/peps/pep-0008/) style guides for Python code in the recipes.
- [x] I've used the [latest](https://github.com/conan-io/conan/releases/latest) Conan client version.
- [ ] I've tried at least one configuration locally with the [conan-center hook](https://github.com/conan-io/hooks.git) activated.



Discussion:

Resolving patch:
diff --git a/recipes/poco/all/conanfile.py b/recipes/poco/all/conanfile.py
--- a/recipes/poco/all/conanfile.py
+++ b/recipes/poco/all/conanfile.py
@@ -122,7 +122,7 @@ def requirements(self):
             self.requires("pcre2/10.40")
         self.requires("zlib/1.2.13")
         if self.options.enable_xml:
-            self.requires("expat/2.4.9")
+            self.requires("expat/2.5.0")
         if self.options.enable_data_sqlite:
             self.requires("sqlite3/3.39.4")
         if self.options.enable_apacheconnector:
@@ -132,7 +132,7 @@ def requirements(self):
            self.options.get_safe("enable_jwt"):
             self.requires("openssl/1.1.1s")
         if self.options.enable_data_odbc and self.settings.os != "Windows":
-            self.requires("odbc/2.3.9")
+            self.requires("odbc/2.3.11")
         if self.options.get_safe("enable_data_postgresql"):
             self.requires("libpq/14.5")
         if self.options.get_safe("enable_data_mysql"):


Test patch:
Repository: conan-io/conan-center-index

Issue:
[service] msbuild package template has import incompatible with Conan 2.0
At https://github.com/conan-io/conan-center-index/blob/53ef0688c436c6697d8312d47fcdef68fe7e6955/docs/package_templates/msbuild_package/all/conanfile.py#L4, `vs_layout` is imported from `conan.tools.layout`. However, when using this import in [my PR](https://github.com/conan-io/conan-center-index/pull/13646), the CI informed me that the recipe was not ready for Conan v2, citing this import error:

```
ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-13646/recipes/lzham/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-13646/recipes/lzham/all/conanfile.py
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/conan/w/prod_cci_PR-13646/recipes/lzham/all/conanfile.py", line 8, in <module>
    from conan.tools.layout import vs_layout
ImportError: cannot import name 'vs_layout' from 'conan.tools.layout' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conan/tools/layout/__init__.py)
```
Therefore, it seems the msbuild template should import `vs_layout` from `conan.tools.microsoft` instead.



Discussion:

Resolving patch:
diff --git a/docs/package_templates/msbuild_package/all/conanfile.py b/docs/package_templates/msbuild_package/all/conanfile.py
--- a/docs/package_templates/msbuild_package/all/conanfile.py
+++ b/docs/package_templates/msbuild_package/all/conanfile.py
@@ -1,7 +1,6 @@
 from conan import ConanFile
 from conan.errors import ConanInvalidConfiguration
-from conan.tools.microsoft import is_msvc, MSBuildDeps, MSBuildToolchain, MSBuild, VCVars
-from conan.tools.layout import vs_layout
+from conan.tools.microsoft import is_msvc, vs_layout, MSBuildDeps, MSBuildToolchain, MSBuild, VCVars
 from conan.tools.files import apply_conandata_patches, export_conandata_patches, get, copy, rm, replace_in_file
 import os
 


Test patch:
Repository: conan-io/conan-center-index

Issue:
[option] boost/all: Add option for BOOST_DLL_USE_STD_FS
### Package Details
  * Package Name/Version: **boost/all**
  * Website: **https://www.boost.org/doc/libs/1_70_0/doc/html/BOOST_DLL_USE_STD_FS.html**


### Description Of The Library / Tool
BOOST_DLL_USE_STD_FS — Define this macro to make Boost.DLL use C++17's std::filesystem::path, std::system_error and std::error_code.


Discussion:

Resolving patch:
diff --git a/recipes/boost/all/conanfile.py b/recipes/boost/all/conanfile.py
--- a/recipes/boost/all/conanfile.py
+++ b/recipes/boost/all/conanfile.py
@@ -78,6 +78,7 @@ class BoostConan(ConanFile):
         "system_no_deprecated": [True, False],
         "asio_no_deprecated": [True, False],
         "filesystem_no_deprecated": [True, False],
+        "filesystem_use_std_fs": [True, False],
         "filesystem_version": [None, "3", "4"],
         "fPIC": [True, False],
         "layout": ["system", "versioned", "tagged", "b2-default"],
@@ -116,6 +117,7 @@ class BoostConan(ConanFile):
         "system_no_deprecated": False,
         "asio_no_deprecated": False,
         "filesystem_no_deprecated": False,
+        "filesystem_use_std_fs": False,
         "filesystem_version": None,
         "fPIC": True,
         "layout": "system",
@@ -1080,6 +1082,8 @@ def add_defines(library):
             flags.append("define=BOOST_ASIO_NO_DEPRECATED=1")
         if self.options.filesystem_no_deprecated:
             flags.append("define=BOOST_FILESYSTEM_NO_DEPRECATED=1")
+        if self.options.filesystem_use_std_fs:
+            flags.append("define=BOOST_DLL_USE_STD_FS=1")
         if self.options.system_use_utf8:
             flags.append("define=BOOST_SYSTEM_USE_UTF8=1")
         if self.options.segmented_stacks:
@@ -1449,6 +1453,9 @@ def package_info(self):
         if self.options.filesystem_no_deprecated:
             self.cpp_info.components["headers"].defines.append("BOOST_FILESYSTEM_NO_DEPRECATED")
 
+        if self.options.filesystem_use_std_fs:
+            self.cpp_info.components["headers"].defines.append("BOOST_DLL_USE_STD_FS")
+
         if self.options.filesystem_version:
             self.cpp_info.components["headers"].defines.append(f"BOOST_FILESYSTEM_VERSION={self.options.filesystem_version}")
 


Test patch:
Repository: conan-io/conan-center-index

Issue:
[package] qt/6.4.1: qwebengine requires dbus on linux
### Description

When building qt 6.4.1 on linux with qwebengine, qwebengine requires dbus.
An extra validation is needed that qt is built with the `with_dbus` option enabled when compiling for linux.

I'm not sure how to handle the cross compilation case, so I did not open a PR.



### Package and Environment Details

* Operating System+version: **Alma linux 8.6**
* Compiler+version: **GCC 10**


### Conan profile

[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=10
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
[conf]
tools.system.package_manager:mode=install
tools.cmake.cmaketoolchain:generator=Ninja

### Steps to reproduce

conan install -r conancenter qt/6.4.1@ -pr:b=default -pr:h=default -o shared=True -o qtwebengine=True -o qtwebchannel=True -o qtwebsockets=True

### Logs

<details><summary>Click to expand log</summary>

```
Configuring submodule 'qtwebchannel'
Configuring submodule 'qtwebengine'
-- Checking 'ulimit -n'
 -- Open files limit 1048576
-- Support check for QtWebEngine failed: Build requires dbus.
Configuring submodule 'qtwebview'
```

</details>



Discussion:
Don't hesitate to make a pull request. Cross compiling qtwebengine is not supported anyway 

Resolving patch:
diff --git a/recipes/qt/6.x.x/conanfile.py b/recipes/qt/6.x.x/conanfile.py
--- a/recipes/qt/6.x.x/conanfile.py
+++ b/recipes/qt/6.x.x/conanfile.py
@@ -281,6 +281,8 @@ def validate(self):
 
             if not (self.options.gui and self.options.qtdeclarative and self.options.qtwebchannel):
                 raise ConanInvalidConfiguration("option qt:qtwebengine requires also qt:gui, qt:qtdeclarative and qt:qtwebchannel")
+            if not self.options.with_dbus and self.settings.os == "Linux":
+                raise ConanInvalidConfiguration("option qt:webengine requires also qt:with_dbus on Linux")
 
             if hasattr(self, "settings_build") and cross_building(self, skip_x64_x86=True):
                 raise ConanInvalidConfiguration("Cross compiling Qt WebEngine is not supported")


Test patch:
Repository: conan-io/conan-center-index

Issue:
[request] libzip/1.9.2
### Package Details
  * Package Name/Version: **libzip/1.9.2**
  * Changelog: **https://github.com/nih-at/libzip/releases**


The above mentioned version is newly released by the upstream project and not yet available as a recipe. Please add this version.



Discussion:

Resolving patch:
diff --git a/recipes/libzip/all/conanfile.py b/recipes/libzip/all/conanfile.py
--- a/recipes/libzip/all/conanfile.py
+++ b/recipes/libzip/all/conanfile.py
@@ -114,8 +114,13 @@ def _patch_sources(self):
         top_cmakelists = os.path.join(self.source_folder, "CMakeLists.txt")
         # Honor zstd enabled
         if self._has_zstd_support:
+            def zstd_find_package_pattern(version):
+                if version >= "1.9.2":
+                    return "find_package(Zstd 1.3.6)"
+                else:
+                    return "find_package(Zstd)"
             lib_cmakelists = os.path.join(self.source_folder, "lib", "CMakeLists.txt")
-            replace_in_file(self, top_cmakelists, "find_package(Zstd)", "find_package(zstd)")
+            replace_in_file(self, top_cmakelists, zstd_find_package_pattern(Version(self.version)), "find_package(zstd)")
             replace_in_file(self, top_cmakelists, "Zstd_FOUND", "zstd_FOUND")
             replace_in_file(
                 self,


Test patch:
Repository: conan-io/conan-center-index

Issue:
[request] geotrans/3.9
### Package Name/Version

geotrans/3.9

### Changelog

https://earth-info.nga.mil/php/download.php?file=wgs-rel

### Context about the new update

The above-mentioned version is newly released by the upstream project and not yet available as a recipe.
Please add this version.

Source code linux: https://earth-info.nga.mil/php/download.php?file=wgs-mastertgz
Source code windows: https://earth-info.nga.mil/php/download.php?file=wgs-masterzip

As discussed in https://github.com/conan-io/conan-center-index/pull/6512, the source code will need to be mirrored by CCI since the authoritative URL is not versioned.


Discussion:

Resolving patch:
diff --git a/recipes/geotrans/all/conanfile.py b/recipes/geotrans/all/conanfile.py
--- a/recipes/geotrans/all/conanfile.py
+++ b/recipes/geotrans/all/conanfile.py
@@ -57,7 +57,7 @@ def validate(self):
 
     def source(self):
         get(self, **self.conan_data["sources"][self.version],
-            destination=self.source_folder, strip_root=True)
+            destination=self.source_folder, strip_root=True, filename=f"geotrans-{self.version}.tgz")
 
     def generate(self):
         tc = CMakeToolchain(self)


Test patch:
Repository: conan-io/conan-center-index

Issue:
[package] hiredis/1.1.0: referencing self.info.settings instead of self.settings
### Description

I am trying to build the Hiredis package for conan2, but it fails with the error:

```
ERROR: hiredis/1.1.0: Error in package_info() method, line 95
        if self.info.settings.build_type == "Debug":
        ConanException: 'self.info' access in 'package_info()' method is forbidden
```

I pulled the code locally and I think the fix should be:

```
diff --git a/recipes/hiredis/all/conanfile.py b/recipes/hiredis/all/conanfile.py
index 40c8d8d1f..f2c851704 100644
--- a/recipes/hiredis/all/conanfile.py
+++ b/recipes/hiredis/all/conanfile.py
@@ -92,7 +92,7 @@ class HiredisConan(ConanFile):
         if Version(self.version) >= "1.1.0":
             if is_msvc(self) and not self.options.shared:
                 suffix += "_static"
-            if self.info.settings.build_type == "Debug":
+            if self.settings.build_type == "Debug":
                 suffix += "d"

         # hiredis
```

### Package and Environment Details

* Package Name/Version: **hiredis/1.1.0**
* Operating System+version: **Linux Ubuntu 22.04**
* Compiler+version: **GCC 9**
* Conan version: **conan 2.0.0beta8**
* Python version: **Python 3.8.10**


### Conan profile

[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu14
compiler.libcxx=libstdc++11
compiler.version=9
os=Linux

### Steps to reproduce

 conan install -r conancenter hiredis/1.1.0@ -pr:b=default -pr:h=default

### Logs

<details><summary>Click to expand log</summary>

```
-------- Installing (downloading, building) binaries... --------
hiredis/1.1.0: Already installed!
ERROR: hiredis/1.1.0: Error in package_info() method, line 95
        if self.info.settings.build_type == "Debug":
        ConanException: 'self.info' access in 'package_info()' method is forbidden
```

</details>



Discussion:

Resolving patch:
diff --git a/recipes/hiredis/all/conanfile.py b/recipes/hiredis/all/conanfile.py
--- a/recipes/hiredis/all/conanfile.py
+++ b/recipes/hiredis/all/conanfile.py
@@ -92,7 +92,7 @@ def package_info(self):
         if Version(self.version) >= "1.1.0":
             if is_msvc(self) and not self.options.shared:
                 suffix += "_static"
-            if self.info.settings.build_type == "Debug":
+            if self.settings.build_type == "Debug":
                 suffix += "d"
 
         # hiredis


Test patch:
Repository: conan-io/conan-center-index

Issue:
sdl_image/2.0.5: PNG_LOAD_DYNAMIC should be string
### Description

Now sdl_image recipe defines `LOAD_PNG_DYNAMIC` as True or False, which leads to crashes in this piece of code due to if this defined as boolean 
```c        
lib.handle = SDL_LoadObject(LOAD_PNG_DYNAMIC);
```
(as a package, with_libpng is set). This should be set as library name instead (like libpng.so.16 for Linux).

### Package and Environment Details

* Package Name/Version: **sdl_image/2.0.5**
* Operating System+version: **ArchLinux**
* Compiler+version: **GCC 12 (MinGW-Cross)**
* Conan version: **conan 1.57.0**
* Python version: **Python 3.10**


### Conan profile

toolchain=/usr/i686-w64-mingw32
target_host=i686-w64-mingw32

[settings]
os=Windows
arch=x86
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=10
build_type=Release
compiler.cppstd=11

[conf]
tools.cmake.cmaketoolchain:generator = Ninja
tools.build:compiler_executables = {"c": "i686-w64-mingw32-gcc", "cpp": "i686-w64-mingw32-g++"}
tools.build:cflags = ["-msse2"]
tools.build:cxxflags = ["-msse2"]
tools.build:sysroot = $toolchain

[env]
CONAN_CROSS_COMPILE=$target_host-
CONAN_SYSTEM_LIBRARY_LOCATION=/usr/lib/gcc/i686-w64-mingw32/10-posix/
CHOST=$target_host
AR=$target_host-ar
AS=$target_host-as
CC=$target_host-gcc
CXX=$target_host-g++
RANLIB=$target_host-ranlib
STRIP=$target_host-strip
RC=$target_host-windres

### Steps to reproduce

Try to compile and run something which use IMG_Load_RW with PNG image, for example, Battle for Wesnoth or VCMI.



### Logs

<details><summary>Click to expand log</summary>

```
Thread 2 "01e4" received signal SIGSEGV, Segmentation fault.
```

</details>



Discussion:

Resolving patch:
diff --git a/recipes/sdl_image/all/conanfile.py b/recipes/sdl_image/all/conanfile.py
--- a/recipes/sdl_image/all/conanfile.py
+++ b/recipes/sdl_image/all/conanfile.py
@@ -119,11 +119,6 @@ def generate(self):
         tc.variables["XCF"] = self.options.xcf
         tc.variables["XPM"] = self.options.xpm
         tc.variables["XV"] = self.options.xv
-        # TODO: https://github.com/bincrafters/community/pull/1317#pullrequestreview-584847138
-        tc.variables["TIF_DYNAMIC"] = self.dependencies["libtiff"].options.shared if self.options.with_libtiff else False
-        tc.variables["JPG_DYNAMIC"] = self.dependencies["libjpeg"].options.shared if self.options.with_libjpeg else False
-        tc.variables["PNG_DYNAMIC"] = self.dependencies["libpng"].options.shared if self.options.with_libpng else False
-        tc.variables["WEBP_DYNAMIC"] = self.dependencies["libwebp"].options.shared if self.options.with_libwebp else False
         tc.variables["SDL_IS_SHARED"] = self.dependencies["sdl"].options.shared
         tc.generate()
         cd = CMakeDeps(self)


Test patch:
Repository: conan-io/conan-center-index

Issue:
[request] libtiff/4.5.0
### Package Name/Version

libtiff/4.5.0

### Changelog

http://www.simplesystems.org/libtiff/releases/v4.5.0.html

### Context about the new update

The above-mentioned version is newly released by the upstream project and not yet available as a recipe.
Please add this version.



Discussion:

Resolving patch:
diff --git a/recipes/libtiff/all/conanfile.py b/recipes/libtiff/all/conanfile.py
--- a/recipes/libtiff/all/conanfile.py
+++ b/recipes/libtiff/all/conanfile.py
@@ -121,6 +121,12 @@ def generate(self):
             tc.variables["webp"] = self.options.webp
         if Version(self.version) >= "4.3.0":
             tc.variables["lerc"] = False # TODO: add lerc support for libtiff versions >= 4.3.0
+        if Version(self.version) >= "4.5.0":
+            # Disable tools, test, contrib, man & html generation
+            tc.variables["tiff-tools"] = False
+            tc.variables["tiff-tests"] = False
+            tc.variables["tiff-contrib"] = False
+            tc.variables["tiff-docs"] = False
         tc.variables["cxx"] = self.options.cxx
         # BUILD_SHARED_LIBS must be set in command line because defined upstream before project()
         tc.cache_variables["BUILD_SHARED_LIBS"] = bool(self.options.shared)
@@ -137,9 +143,10 @@ def _patch_sources(self):
                               "set_target_properties(tiffxx PROPERTIES SOVERSION ${SO_COMPATVERSION} WINDOWS_EXPORT_ALL_SYMBOLS ON)")
 
         # Disable tools, test, contrib, man & html generation
-        replace_in_file(self, os.path.join(self.source_folder, "CMakeLists.txt"),
-                              "add_subdirectory(tools)\nadd_subdirectory(test)\nadd_subdirectory(contrib)\nadd_subdirectory(build)\n"
-                              "add_subdirectory(man)\nadd_subdirectory(html)", "")
+        if Version(self.version) < "4.5.0":
+            replace_in_file(self, os.path.join(self.source_folder, "CMakeLists.txt"),
+                                  "add_subdirectory(tools)\nadd_subdirectory(test)\nadd_subdirectory(contrib)\nadd_subdirectory(build)\n"
+                                  "add_subdirectory(man)\nadd_subdirectory(html)", "")
 
     def build(self):
         self._patch_sources()
@@ -148,7 +155,8 @@ def build(self):
         cmake.build()
 
     def package(self):
-        copy(self, "COPYRIGHT", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses"), ignore_case=True, keep_path=False)
+        license_file = "COPYRIGHT" if Version(self.version) < "4.5.0" else "LICENSE.md"
+        copy(self, license_file, src=self.source_folder, dst=os.path.join(self.package_folder, "licenses"), ignore_case=True, keep_path=False)
         cmake = CMake(self)
         cmake.install()
         rmdir(self, os.path.join(self.package_folder, "lib", "cmake"))


Test patch: