45 |
keyname => 'SME Server 7 signing key <bugteam@contribs.org>', |
keyname => 'SME Server 7 signing key <bugteam@contribs.org>', |
46 |
checksum => 'sha256', |
checksum => 'sha256', |
47 |
}, |
}, |
48 |
'10' => { active => 0, |
'10' => { active => 1, |
49 |
centos => 7, |
centos => 7, |
50 |
archs => [ 'x86_64' ], |
archs => [ 'x86_64' ], |
51 |
repo => '/build/smeserver/repo/testing/10/', |
repo => '/build/smeserver/repo/testing/10/', |
53 |
community => '/build/builds/smeserver-10-contribs/', |
community => '/build/builds/smeserver-10-contribs/', |
54 |
stage => '/build/smeserver/stage/10/', |
stage => '/build/smeserver/stage/10/', |
55 |
sign => 1, |
sign => 1, |
56 |
keyname => 'SME Server 7 signing key <bugteam@contribs.org>', |
keyname => 'Koozali SME Server signing key (10) <bugteam@koozali.org>', |
57 |
checksum => 'sha256', |
checksum => 'sha256', |
58 |
}, |
}, |
59 |
}; |
}; |
162 |
} |
} |
163 |
next unless -d $adir; |
next unless -d $adir; |
164 |
opendir DIR, $adir or next; |
opendir DIR, $adir or next; |
165 |
process_rpm("$adir$_", $ver, $baserepo->{$dir}) foreach readdir DIR; |
my @txt = grep { /\.rpm$/ && -f "$adir/$_" } readdir DIR; |
166 |
closedir DIR; |
closedir DIR; |
167 |
|
if (scalar(@txt)) { |
168 |
|
opendir DIR, $adir or next; |
169 |
|
process_rpm("$adir$_", $ver, $baserepo->{$dir}) foreach readdir DIR; |
170 |
|
closedir DIR; |
171 |
|
} elsif ($baserepo->{$dir} eq 'epel') { |
172 |
|
# EPEL 7 uses a structure with subfolders of first letter of package |
173 |
|
find( { wanted => sub { process_rpm($_, $ver, $baserepo->{$dir}) if ($_ =~ m/\.rpm$/);}, no_chdir => 1, follow_fast => 1 }, $adir ); |
174 |
|
} |
175 |
last unless $dir =~ m{~A}; |
last unless $dir =~ m{~A}; |
176 |
} |
} |
177 |
} |
} |