summaryrefslogtreecommitdiffstats
path: root/mkallrepo
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-01-09 11:31:27 +0100
committerRemi Collet <remi@php.net>2024-01-09 11:31:27 +0100
commit2b203a2087beea72298b1da6fc481174d57a98d1 (patch)
treee83d52dd1c279d6ea3191ddda6ea16380acc5625 /mkallrepo
parentc0bfd6b88835f9dd0d5ad01fca1b996586793128 (diff)
add 2024 key
Diffstat (limited to 'mkallrepo')
-rwxr-xr-xmkallrepo15
1 files changed, 12 insertions, 3 deletions
diff --git a/mkallrepo b/mkallrepo
index 5720c90..313ec6e 100755
--- a/mkallrepo
+++ b/mkallrepo
@@ -7,10 +7,11 @@ TMPSIG2018=$(mktemp -t XXXXXXXX.2018)
TMPSIG2021=$(mktemp -t XXXXXXXX.2021)
TMPSIG2022=$(mktemp -t XXXXXXXX.2022)
TMPSIG2023=$(mktemp -t XXXXXXXX.2023)
+TMPSIG2024=$(mktemp -t XXXXXXXX.2024)
cd /home/rpmbuild/site/rpms
-for dep in fedora/{36,37,38,39}/*/{i386,x86_64,aarch64} enterprise/{7,8,9}/*/{i386,x86_64,armhfp,aarch64}
+for dep in fedora/{37,38,39}/*/{i386,x86_64,aarch64} enterprise/{7,8,9}/*/{i386,x86_64,armhfp,aarch64}
do
[[ $dep =~ /modular ]] && continue
[[ $dep =~ /debug-modular ]] && continue
@@ -51,10 +52,18 @@ if [ -s $TMPSIG ]; then
grep fc36 $TMPSIG > $TMPSIG2022
grep fc37 $TMPSIG >> $TMPSIG2022
# 2023
- grep src.rpm $TMPSIG > $TMPSIG2023
- grep fc38 $TMPSIG >> $TMPSIG2023
+ grep fc38 $TMPSIG > $TMPSIG2023
grep fc39 $TMPSIG >> $TMPSIG2023
+ # 2024
+ grep src.rpm $TMPSIG > $TMPSIG2024
+ if [ -s $TMPSIG2024 ]; then
+ echo "== Signature des $(cat $TMPSIG2023 | wc -l) nouveaux RPM (2024) =="
+ if rpmsign --define '_gpg_path /home/remi/.gnupgrpm' --define "_gpg_name CF1DF0057CE85DFF5B2F2A37C2FD3B2C2A0948E4" --addsign $(cat $TMPSIG2024)
+ then echo done.
+ else exit 1
+ fi
+ fi
if [ -s $TMPSIG2023 ]; then
echo "== Signature des $(cat $TMPSIG2023 | wc -l) nouveaux RPM (2023) =="
if rpmsign --define '_gpg_path /home/remi/.gnupgrpm' --define "_gpg_name 50A5E157DFE548EC7C05E9D8D5933DAB6DEFD35E" --addsign $(cat $TMPSIG2023)