Commit Graph

67 Commits

Author SHA1 Message Date
boypt
cbb519644d lint: add shellcheck/shfmt rules to AGENTS.md, format compile.sh and pullsrc.sh 2026-08-16 11:21:01 +08:00
boypt
4c8b1fb2e9 fix: use '.' separator in UOS20 PKGREL prefix to avoid illegal '-' in Release field
RPM does not allow '-' in the Release field (it is the Version/Release
delimiter). The 'uos20-' prefix produced Release values like 'uos20-b1.el8'
which rpmbuild rejects with 'Illegal char '-' (0x2d)'. Switch to 'uos20.'.
2026-08-11 15:17:39 +08:00
boypt
d6bcab2809 fix: use 'uos20-' as PKGREL prefix to avoid unreadable 'uos201'
PKGREL=1 + 'uos20' prefix concatenated to 'uos201', which reads as
'uos two hundred one' rather than 'uos20 version 1'. Add a hyphen
('uos20-') so the resulting release tag is 'uos20-1' / 'uos20-b12' etc.

Update compile.sh logic and the three doc references (README,
AGENTS.md, docker/README.md) to match.
2026-08-07 16:48:38 +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
6eb13e831a refactor: map el8+ to el7 in GUESS_DIST, add AGENTS.md 2026-07-29 09:49:14 +08:00
boypt
aa5a4b8162 fix: upstream bug with GSSAPI options 2026-07-10 15:47:02 +08:00
boypt
fd02898584 fix: force gssapi enabled 2026-07-10 14:13:18 +08:00
boypt
e631cda76c fix: move the el5 krb5 linking hack to SPCE 2026-07-10 09:09:14 +08:00
boypt
fb9940fc8c fix: remove tab indent 2026-07-09 16:42:26 +08:00
boypt
ed95794b1f fix: el5 perl ver check 2026-07-09 16:12:38 +08:00
boypt
2d5684db77 fix: el5 fake perl src 2026-07-09 16:08:10 +08:00
boypt
9227ec48d8 fix: el5 build hacks 2026-07-09 15:59:10 +08:00
boypt
26bb728182 fix: el5 build 2026-07-09 15:48:02 +08:00
boypt
018d9130ab fix: krb5 in el5 hack 2026-07-09 13:48:41 +08:00
boypt
196031cca0 fix: support krb5 in M32=1 2026-07-09 13:14:52 +08:00
boypt
0317be588e fix: script may fail to report error code in EL5 2026-07-07 16:06:26 +08:00
boypt
50a8e37784 fix: default env vars 2026-04-10 16:12:24 +08:00
boypt
2bc8ccb42f add: accept env var SPECFILE 2026-04-09 16:25:40 +08:00
boypt
d4871f62d3 fix: rewrite el5 fixes 2026-04-09 05:32:13 +00:00
boypt
eab167afe1 fix: el5 dir match 2026-04-09 05:09:33 +00:00
boypt
b2eaa692fa docker: centos 5 builder; fix CMD 2026-04-09 03:45:27 +00:00
boypt
f6ac3ec47c feat: copy rpms to output 2026-04-08 07:39:52 +00:00
boypt
3f4f5801f6 docker: reduce depens; el5 add m32 2026-04-08 05:42:06 +00:00
boypt
60eb6f3244 use static ssl for older dist 2026-01-06 14:09:38 +08:00
boypt
286d2d072a add subcmd notice 2025-12-31 13:44:09 +08:00
boypt
05fc533165 try: version-local.env 2025-12-30 13:47:20 +08:00
boypt
58291e2c48 fix compatible 2025-12-26 17:34:01 +08:00
boypt
a2ab36729c WITH_OPENSSL accepts as env variable 2025-12-26 17:22:53 +08:00
boypt
9de9103bed fix el8 logic; uos 2025-12-26 15:48:12 +08:00
boypt
1a678d6092 use el8 logic 2025-12-26 15:43:43 +08:00
boypt
10c4588c2c drop amzn dist dir 2025-12-26 15:28:53 +08:00
boypt
3bbf1db8be refactor: with_openssl switch 2025-12-26 15:13:57 +08:00
boypt
1c454c0b5a avoid debug package 2025-12-24 16:34:43 +08:00
boypt
cd2fba3d5d fix: use rpm arch name 2025-04-10 14:49:06 +08:00
boypt
0031ccf0c9 fix: use array as build opt 2025-01-02 14:10:21 +08:00
boypt
b7a229e1ab avoid weird bash array subscribtion 2025-01-02 13:58:22 +08:00
boypt
1464e28cc3 fix bash array subs (fix #34) 2024-12-20 09:49:37 +08:00
boypt
cdf2a91ec1 add defined variable in argumets 2024-12-19 14:56:23 +08:00
boypt
a707b98ef7 fix: dist define 2024-12-18 16:31:05 +08:00
boypt
533bfd5b55 add dist if not defined 2024-12-18 15:31:37 +08:00
ChowRex
f0b2bf7905 Important Version Updates (#19)
* Important Version Updates
- Add dockerfile support for centos 8 series.
- Modify Dockerfile.centos to add CentOS 8 support and fix the problem of CentOS 5 series not being able to build.
- Modify modify_yum_source.sh to add CentOS 8 support and fix CentOS 5 series yum source problem.

* Update CentOS Stream support                                                                           INT ✘  base 
- Changed compile.sh to add support for CentOS Stream 8/9 series.
- Modified docker.README.md to add Stream series description.
- Modified Dockerfile.amazonlinux to add cleanup operations and reduce image size.
- Modify Dockerfile.centos, add cleanup operation, reduce image size
- Added Dockerfile.centos-stream to support Stream series build images.
- Added modify_dnf_source.pl to add Stream series yum source modification function.
- Modified README.md to add Stream series test pass information and correct formatting and word spelling errors.

---------

Co-authored-by: Rex Zhou <zhouruixi@goldwind.com>
2024-06-04 17:01:06 +08:00
boypt
ee23f00538 support anolisos 2024-03-12 16:59:07 +08:00
boypt
a9127e8f16 show rpm vendor 2024-02-27 16:02:57 +08:00
boypt
27f64b6e22 sub cmd 2024-02-27 15:58:21 +08:00
boypt
3964d561be script refactor 2024-02-27 13:41:34 +08:00
boypt
9bef98774d el8 use el7 dir 2024-02-27 11:20:35 +08:00
boypt
6e30f23f9e add GETEL subcmd to compile 2024-02-27 10:43:33 +08:00
boypt
91f6f7d0ac fix: el8 dir not yet ready 2024-02-27 10:22:36 +08:00
boypt
a145806035 script guess el version by glibc ver 2024-02-27 10:10:52 +08:00
boypt
27d6389dc7 dont assume 2024-02-26 17:17:05 +08:00