-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libgsasl: add libgsasl/2.2.0 #13711
libgsasl: add libgsasl/2.2.0 #13711
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
recipes/libgsasl/all/conanfile.py
Outdated
|
||
def validate(self): | ||
# Currently tested only on Linux platform. | ||
if self.settings.os == "Windows" or self.settings.os == "Macos": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if self.settings.os == "Windows" or self.settings.os == "Macos": | |
if self.info.settings.os in ["Macos", "Windows"]: |
description = "Portable gsasl C library" | ||
url = "https://github.com/conan-io/conan-center-index" | ||
homepage = "https://www.gnu.org/software/gsasl/" | ||
license = "BSD-3-Clause" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The library itself is licensed under the LGPL. The command-line utility and tests are licensed under the GPL.
license = "BSD-3-Clause" | |
license = "LGPL-2.1-or-later" |
url = "https://github.com/conan-io/conan-center-index" | ||
homepage = "https://www.gnu.org/software/gsasl/" | ||
license = "BSD-3-Clause" | ||
topics = ("libgsasl") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The library's name shouldn't be reproduced in the topics
.
topics = ("libgsasl") | |
topics = "authentication", "gnu", "security" |
|
||
class LibgsaslConan(ConanFile): | ||
name = "libgsasl" | ||
description = "Portable gsasl C library" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description = "Portable gsasl C library" | |
description = "An implementation of the Simple Authentication and Security Layer framework and a few common SASL mechanisms" |
requires = ("libiconv/1.17", | ||
"libidn/1.36" | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should be moved to the requirements()
method.
recipes/libgsasl/all/conanfile.py
Outdated
copy(self, "ABOUT-NLS", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses")) | ||
copy(self, "NEWS", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses")) | ||
copy(self, "AUTHORS", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses")) | ||
copy(self, "COPYING", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses")) | ||
copy(self, "COPYING.LIB", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses")) | ||
copy(self, "README", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses")) | ||
copy(self, "THANKS", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should just be the licenses, I believe.
copy(self, "ABOUT-NLS", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses")) | |
copy(self, "NEWS", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses")) | |
copy(self, "AUTHORS", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses")) | |
copy(self, "COPYING", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses")) | |
copy(self, "COPYING.LIB", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses")) | |
copy(self, "README", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses")) | |
copy(self, "THANKS", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses")) | |
copy(self, "COPYING", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses")) | |
copy(self, "COPYING.LIB", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses")) |
from conan import ConanFile | ||
from conan.errors import ConanInvalidConfiguration | ||
from conan.tools.apple import fix_apple_shared_install_name | ||
from conan.tools.files import apply_conandata_patches, copy, export_conandata_patches, get, rm, rmdir |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from conan.tools.files import apply_conandata_patches, copy, export_conandata_patches, get, rm, rmdir | |
from conan.tools.files import copy, get, rm, rmdir |
NO patches needed
from conan.tools.layout import basic_layout | ||
import os | ||
|
||
required_conan_version = ">=1.52.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
required_conan_version = ">=1.52.0" | |
required_conan_version = ">=1.50.0" |
1.51.3 more than enough without export_conandata_patches
description = "GNU Simple Authentication and Security Layer" | ||
settings = "os", "compiler", "build_type", "arch" | ||
options = { | ||
"shared": [True, False], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no fPIC?
@@ -0,0 +1,7 @@ | |||
sources: | |||
"1.8.0": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need both versions? Otherwise, keep only the latest. We try to avoid extra versions which are not directly requested by users.
Conan v1 pipelineFailure in build 5 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. |
Please, add a test_v1_package based on https://github.com/conan-io/conan-center-index/tree/master/docs/package_templates/autotools_package/all/test_v1_package |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions. |
ligbsasl/2.2.0
gsasl is widely used.
add a recipe for it.
#13710