mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-19 17:53:00 +01:00
curl: update + remove pregened files
This commit is contained in:
parent
04a4b8aba4
commit
2e18c35df8
10 changed files with 51 additions and 51 deletions
31
steps/curl-8.17.0/patches/timeless-mk-ca-bundle.patch
Normal file
31
steps/curl-8.17.0/patches/timeless-mk-ca-bundle.patch
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
SPDX-FileCopyrightText: 2023 Eduardo Sánchez Muñoz <eduardosm-dev@e64.io>
|
||||
|
||||
SPDX-License-Identifier: curl
|
||||
|
||||
Disables checking current date in mk-ca-bundle script, so it produces
|
||||
reproducible bundles.
|
||||
|
||||
diff --color -ru curl-8.17.0/scripts/mk-ca-bundle.pl curl-8.17.0/scripts/mk-ca-bundle.pl
|
||||
--- curl-8.17.0/scripts/mk-ca-bundle.pl 2025-12-25 22:23:04.570441299 +1100
|
||||
+++ curl-8.17.0/scripts/mk-ca-bundle.pl 2025-12-25 22:23:39.749439976 +1100
|
||||
@@ -495,19 +495,7 @@
|
||||
if($main_block) {
|
||||
push @precert, $_ if not /^#$/;
|
||||
if(/^# Not Valid After : (.*)/) {
|
||||
- my $stamp = $1;
|
||||
- use Time::Piece;
|
||||
- # Not Valid After : Thu Sep 30 14:01:15 2021
|
||||
- my $t = Time::Piece->strptime($stamp, "%a %b %d %H:%M:%S %Y");
|
||||
- my $delta = ($t->epoch - time()); # negative means no longer valid
|
||||
- if($delta < 0) {
|
||||
- $skipnum++;
|
||||
- report "Skipping: $main_block_name is not valid anymore" if($opt_v);
|
||||
- $valid = 0;
|
||||
- }
|
||||
- else {
|
||||
- $valid = 1;
|
||||
- }
|
||||
+ $valid = 1;
|
||||
}
|
||||
}
|
||||
next;
|
||||
Loading…
Add table
Add a link
Reference in a new issue