49 Commits

Author SHA1 Message Date
boypt
5235c2cf1d docs: trim el5/el6/el7 READMEs to per-dir specifics
Drop stale hardcoded versions (point to version.env) and content already
covered by the root README; fix el7 socket-activation wording, document
the openssh.initv.spec variant and SPECFILE switch.
2026-08-24 14:14:30 +08:00
boypt
370f4310df refactor: drop .keep placeholder files in favor of explicit mkdir
BUILD_RPM now creates the rpmbuild _topdir subdirs (BUILD/RPMS/SRPMS/
SOURCES/SPECS) itself, so the 11 tracked .keep placeholders (downloads,
output, el*/{BUILD,RPMS,SRPMS}) are no longer needed; output/ and
downloads/ were already created by compile.sh/pullsrc.sh.
2026-08-24 14:07:09 +08:00
boypt
277ccf7ec4 cleanup: remove deprecated --with-md5-passwords, --with-smartcard, --with-systemd, and fix kerberos5 in initv spec 2026-08-16 10:59:00 +08:00
boypt
ef31f9cb53 refactor: consolidate UOS20 spec into main openssh.spec via UOS20=1
The UOS 20 build was previously a near-duplicate spec (openssh.uos20.spec)
with only the kernel-panic patch as an intentional difference. The
kerberos5 and gssapi drift was unintentional and caused maintenance pain
upstream changes had to be applied in two places.

Now there is one spec. The kernel-panic patch is gated on a uos20 macro
that compile.sh sets only when UOS20=1 is in the environment, so non-UOS
builds cannot accidentally pick it up. When UOS20=1, PKGREL is prefixed
with 'uos20' so the resulting RPMs are distinguishable from the standard
build (e.g. PKGREL=1 -> uos201).

Delete openssh.uos20.spec, document UOS20=1 in AGENTS.md.
2026-08-07 16:12:21 +08:00
boypt
fc0fd802a6 refactor: rename aarch64-kernel-panic patch to uos20-kernel-panic, switch to Patch999
The do_dup2() NULL pointer dereference panic affects all UOS 20 systems,
not just aarch64, so the patch name is generalized. Move the patch slot
from Patch100 (which collides with 10.4-fix-gssapi.patch in other specs)
to Patch999. Add an inline comment documenting the panic call trace and
fix mechanism.
2026-08-07 16:01:40 +08:00
boypt
b4e4764bb9 fix: patch applying 2026-07-10 16:01:47 +08:00
boypt
aa5a4b8162 fix: upstream bug with GSSAPI options 2026-07-10 15:47:02 +08:00
boypt
97fe71453a fix: set kerberos5=1 as default 2026-07-07 13:40:53 +08:00
boypt
a76ff4e992 fix: K5DIR was nerver defined 2026-07-07 11:58:48 +08:00
boypt
60cfc56214 add: case patch to uos20@aarch64 kernel crash 2026-04-09 16:30:16 +08:00
boypt
b036889913 openssl: add no-dgram no-tests to skip dependencies 2026-04-03 09:53:10 +08:00
boypt
f31bc01fdb add docs 2026-01-04 10:21:51 +08:00
boypt
566d2c14c2 remove build6x option from el7 spec 2025-12-31 14:37:45 +08:00
boypt
e3149740ee add missing source 2025-12-31 05:59:34 +00:00
boypt
4e7269cdb7 systemd socket support 2025-12-31 13:39:17 +08:00
boypt
8cc5afe351 add systemd support on el7 built 2025-12-30 09:04:30 +00:00
boypt
619b1bfaec fix: dont add ssh-rsa when with_openssl=0 2025-12-26 17:54:54 +08:00
boypt
a2ab36729c WITH_OPENSSL accepts as env variable 2025-12-26 17:22:53 +08:00
boypt
f193c78e39 fix: accept --defined with_openssl 2025-12-26 15:19:50 +08:00
boypt
3bbf1db8be refactor: with_openssl switch 2025-12-26 15:13:57 +08:00
boypt
a8859a5cac support openssh 10.0 2025-04-10 13:35:17 +08:00
ChowRex
b6a92f734d Fix traditional ssh RSA support and add useful README (#21)
- Modify `openssh.spec` to fix traditional ssh RSA alg support, ensure git works well.
- Modify `modify_yum_source.sh`, add support for support CentOS 7 with arm arch.
- Modify `Dockerfile.centos-stream`, fix CentOS 8 yum mirror china mirror error.
- Modify `docker.README.md`, add TL;DR part and some usefule tip for arm users.
2024-07-03 09:13:19 +08:00
boypt
add7055604 fix 9.8p1 spec missing file 2024-07-02 09:39:28 +08:00
boypt
9c2e9333c9 include ssh-copy-id command in the package 2024-02-29 13:45:55 +08:00
BEN
fecceda7c4 merge pr with a lot fixes (#15)
* Add support for Amazon Linux and Docker (#13)

* Modify OpenSSL version to 3.0.8

Version `3.0.0` and `3.0.8` is recommanded by the official, which are FIPS validated. See more: [[ Downloads ] - /source/index.html](https://www.openssl.org/source/)

* Use OpenSSH 9.6p1 official file

Update the baseline file to 9.6p1
Add some comments

* Update README.md

Add a desc for CentOS 7 to install packages

* Update spec file
- Sync spec file to latest(9.6p1)

* Update requirement src
- Add Perl for CentOS 5

* Add support for Amazon Linux and Docker!
- Add support for Amazon Linux 1 / Amazon Linux 2 / Amazon Linux 2023
- Add Dockerfile for CentOS and Amazon Linux
- Fix compile.sh error for using CentOS 5

* only download perl5 when necessary

* only check perl 5 source on el5

* perl not need install in el5

* bump openssl verion

* add notes in pullsrc.sh when download fails

* fix: perl install inside build dir

---------

Co-authored-by: ChowRex <zrx879582094@gmail.com>
2024-02-26 15:51:18 +08:00
boypt
6bc9562d0d define ssl version in args 2022-11-08 15:47:34 +08:00
lms1206
bd1388b7f0 update el7-openssh.spec ssl 1.1.1s
sync modify
2022-11-08 13:23:52 +08:00
pt
efe2b3f118 use version variable 2022-08-10 14:10:29 +08:00
boypt
3f5957c198 bump rpm rel version 2022-07-26 10:19:04 +08:00
boypt
3cb4eeb4ec openssl 1.1.1q 2022-07-26 09:57:07 +08:00
boypt
d5aa9a1bf8 openssl 1.1.1o 2022-05-06 14:30:55 +08:00
boypt
2fc35f0531 openssh9.0 2022-04-11 09:11:51 +08:00
boypt
fa750d5484 with openssl 1.1.1n 2022-03-17 08:50:49 +08:00
boypt
4861c10633 bump openssl 1.1.1m 2022-02-24 09:54:58 +08:00
boypt
c4d5453a49 bump to 8.9p1 2022-02-24 09:52:09 +08:00
boypt
37db335940 fix: openssh 8.8 pubkey algm add ssh-rsa 2021-09-27 15:38:01 +08:00
boypt
49a8408891 8.8 src 2021-09-27 15:38:01 +08:00
boypt
613daa18ab smp_mflag 2021-08-26 10:59:41 +08:00
boypt
405efd97fb enable askpass on el6/7 2021-08-25 15:41:45 +08:00
boypt
2822616c9a check ask 2021-08-25 15:41:45 +08:00
boypt
d8068be692 el7 cond 2021-08-25 13:47:36 +08:00
boypt
991981fc28 ssl 1.1.1l 2021-08-25 09:31:22 +08:00
boypt
6aab16f39b sshd_config use pam/allow root/nodns 2021-08-24 17:37:57 +08:00
boypt
4e50a82914 opessl sourceurl 2021-08-24 15:52:39 +08:00
boypt
c580f5e875 ssl dir abs path variable 2021-08-24 15:34:11 +08:00
boypt
daa6546350 fix path 2021-08-24 10:43:18 +08:00
boypt
dd94a7f173 ssl dir abs 2021-08-24 10:22:41 +08:00
boypt
fbba6d4d43 build ssl inside sepc 2021-08-24 10:18:24 +08:00
boypt
41a5ac5154 init ver 2021-08-23 18:15:46 +08:00