-
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
openssh/9.1p1: Added openssh recipe #19031
Conversation
This comment has been minimized.
This comment has been minimized.
9a7234d
to
2c7d962
Compare
This comment has been minimized.
This comment has been minimized.
59bf3f6
to
be32ec2
Compare
This comment has been minimized.
This comment has been minimized.
be32ec2
to
a4bd699
Compare
This comment has been minimized.
This comment has been minimized.
a4bd699
to
7a461f7
Compare
This comment has been minimized.
This comment has been minimized.
7a461f7
to
d95b84d
Compare
This comment has been minimized.
This comment has been minimized.
d95b84d
to
0d58467
Compare
This comment has been minimized.
This comment has been minimized.
0d58467
to
04ead47
Compare
This comment has been minimized.
This comment has been minimized.
04ead47
to
765edba
Compare
This comment has been minimized.
This comment has been minimized.
765edba
to
de6e47e
Compare
This comment has been minimized.
This comment has been minimized.
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.
Thanks a lot! I have a few comments, but the overall structure of the recipe looks good, thank you as always :)
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.
Hi! Sorry about the delay - the PR fell thru the cracks and got lost on the sea of PRs
The good news is that the PR looks great, one minor thing remaining before merging - feel free to ping me directly once that's done so that I can approve asap :)
Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es>
@RubenRBS your suggestion is committed! Have a nice weekend! |
This comment has been minimized.
This comment has been minimized.
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.
LGTM, but I would adjust the negative option values a bit to match other recipes better.
Co-authored-by: Martin Valgur <martin.valgur@gmail.com>
Co-authored-by: Martin Valgur <martin.valgur@gmail.com>
This comment has been minimized.
This comment has been minimized.
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.
Thanks a lot for adding this recipe, and sorry for the long delay in reviewing this PR.
I just added one commit to simplify a couple of things, but it looks great! 👏
Before approving, I have a question. I just tried this command and got some errors in macOS Sonoma 14.4.1 (failed with both *:shared=True and False):
$ conan create . --version 9.6p1 --build missing -o with_libcrypto="libressl"
. . .
cc -m64 -O3 -pipe -Wunknown-warning-option -Qunused-arguments -Wall -Wextra -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-parameter -Wno-unused-result -Wmisleading-indentation -Wbitwise-instead-of-logical -fno-strict-aliasing -mretpoline -D_FORTIFY_SOURCE=2 -ftrapv -fzero-call-used-regs=used -ftrivial-auto-var-init=zero -fno-builtin-memset -fstack-protector-strong -fPIC -I. -I.. -I/Users/conanuser/.conan2/p/b/opensc8a0037d6a765/b/src/openbsd-compat -I/Users/conanuser/.conan2/p/b/opensc8a0037d6a765/b/src/openbsd-compat/.. -I/Users/conanuser/.conan2/p/b/libreef807320845de/p/include -I/Users/conanuser/.conan2/p/b/libreef807320845de/p/include -I/Users/conanuser/.conan2/p/b/zlibf6519252f237d/p/include -DNDEBUG -DHAVE_CONFIG_H -c /Users/conanuser/.conan2/p/b/opensc8a0037d6a765/b/src/openbsd-compat/fmt_scaled.c
/Users/conanuser/.conan2/p/b/opensc8a0037d6a765/b/src/openbsd-compat/xcrypt.c:88:4: error: call to undeclared function 'explicit_bzero'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
explicit_bzero(passwd, strlen(passwd));
^
1 error generated.
make[1]: *** [xcrypt.o] Error 1
make[1]: *** Waiting for unfinished jobs....
/Users/conanuser/.conan2/p/b/opensc8a0037d6a765/b/src/openbsd-compat/bcrypt_pbkdf.c:108:2: error: call to undeclared function 'explicit_bzero'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
explicit_bzero(ciphertext, sizeof(ciphertext));
^
/Users/conanuser/.conan2/p/b/opensc8a0037d6a765/b/src/openbsd-compat/bcrypt_pbkdf.c:177:2: error: call to undeclared function 'freezero'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
freezero(countsalt, saltlen + 4);
^
/Users/conanuser/.conan2/p/b/opensc8a0037d6a765/b/src/openbsd-compat/bcrypt_pbkdf.c:178:2: error: call to undeclared function 'explicit_bzero'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
explicit_bzero(out, sizeof(out));
^
3 errors generated.
make[1]: *** [bcrypt_pbkdf.o] Error 1
make: *** [openbsd-compat/libopenbsd-compat.a] Error 2
openssh/9.6p1: ERROR:
Package '9831a80989c890ca8957350d5a90e23b88ab109c' build failed
openssh/9.6p1: WARN: Build folder /Users/conanuser/.conan2/p/b/opensc8a0037d6a765/b/build-release
ERROR: openssh/9.6p1: Error in build() method, line 110
autotools.make()
ConanException: Error 2 while executing
Could it be a bug in openssh using libressl
in macOS? Maybe related to this openssh/openssh-portable#203 ??
For the record, I just tried it in Linux and it works fine.
This comment has been minimized.
This comment has been minimized.
@franramirez688 I recently worked with the |
Thanks @jwillikers for the explanation. Given that, would it make sense to add a |
@franramirez688 The configure output should note whether |
@franramirez688 Perhaps |
@jwillikers thanks for that one. Indeed, it was the key point. Using Waiting for your PR to be merged, so we can add it directly here. |
Conan v1 pipeline ✔️All green in build 6 (
Conan v2 pipeline ✔️
All green in build 6 ( |
* openssh: Added openssh recipe * Update zlib dependency range Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es> * Empty commit for pipeline re-run * openssh: Disbaled zlib version check during configure * Simplify conditional patching & test package * Update recipes/openssh/all/conanfile.py Co-authored-by: Jordan Williams <jordan@jwillikers.com> * Update recipes/openssh/all/conanfile.py Co-authored-by: Jordan Williams <jordan@jwillikers.com> * Update recipes/openssh/all/conanfile.py Co-authored-by: Jordan Williams <jordan@jwillikers.com> * openssh: Updated recipe according to PR discusion and suggestions * openssh:: Fixed imports and indentation * openssh: Fixed configure args * openssh: removed support for old version 8.1p1 * Update recipes/openssh/all/conanfile.py Co-authored-by: Jordan Williams <jordan@jwillikers.com> * openssh: Added support for libressl * Update recipes/openssh/all/conanfile.py Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es> * Update recipes/openssh/all/conanfile.py Co-authored-by: Martin Valgur <martin.valgur@gmail.com> * Update recipes/openssh/all/conanfile.py Co-authored-by: Martin Valgur <martin.valgur@gmail.com> * openssh: Updated with_pam default value * Limited use of virtualrunenv in build scope. Applied suggestions * Solved implicit function declarations errors --------- Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es> Co-authored-by: Rubén Rincón <rubenrb@jfrog.com> Co-authored-by: Jordan Williams <jordan@jwillikers.com> Co-authored-by: Martin Valgur <martin.valgur@gmail.com> Co-authored-by: Francisco Ramirez de Anton <franchuti688@gmail.com>
* openssh: Added openssh recipe * Update zlib dependency range Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es> * Empty commit for pipeline re-run * openssh: Disbaled zlib version check during configure * Simplify conditional patching & test package * Update recipes/openssh/all/conanfile.py Co-authored-by: Jordan Williams <jordan@jwillikers.com> * Update recipes/openssh/all/conanfile.py Co-authored-by: Jordan Williams <jordan@jwillikers.com> * Update recipes/openssh/all/conanfile.py Co-authored-by: Jordan Williams <jordan@jwillikers.com> * openssh: Updated recipe according to PR discusion and suggestions * openssh:: Fixed imports and indentation * openssh: Fixed configure args * openssh: removed support for old version 8.1p1 * Update recipes/openssh/all/conanfile.py Co-authored-by: Jordan Williams <jordan@jwillikers.com> * openssh: Added support for libressl * Update recipes/openssh/all/conanfile.py Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es> * Update recipes/openssh/all/conanfile.py Co-authored-by: Martin Valgur <martin.valgur@gmail.com> * Update recipes/openssh/all/conanfile.py Co-authored-by: Martin Valgur <martin.valgur@gmail.com> * openssh: Updated with_pam default value * Limited use of virtualrunenv in build scope. Applied suggestions * Solved implicit function declarations errors --------- Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es> Co-authored-by: Rubén Rincón <rubenrb@jfrog.com> Co-authored-by: Jordan Williams <jordan@jwillikers.com> Co-authored-by: Martin Valgur <martin.valgur@gmail.com> Co-authored-by: Francisco Ramirez de Anton <franchuti688@gmail.com>
openssh/9.1p1
openssh/8.1p1
Added recipe!