1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 12 |
%define release 17 |
4 |
Summary: easy configuration of extra yum repo |
Summary: easy configuration of extra yum repo |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
18 |
Provides configuration for external yum repository comaptible with Koozali SME Server. |
Provides configuration for external yum repository comaptible with Koozali SME Server. |
19 |
|
|
20 |
%changelog |
%changelog |
21 |
|
* Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-17.sme |
22 |
|
- revised Include and Exclude to prevident accidental update |
23 |
|
- updated incorrect changelog dates |
24 |
|
|
25 |
|
* Thu Jan 03 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-16.sme |
26 |
|
- Add more Excludes to Openfusion |
27 |
|
|
28 |
|
* Tue Jan 01 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-15.sme |
29 |
|
- Exclude mod_perl and other files from OpenFusion repo |
30 |
|
|
31 |
|
* Sat Dec 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-14.sme |
32 |
|
- fix typo in asterisk-current |
33 |
|
- fix typo in migrate fragment for zmrepo |
34 |
|
- renamed digium as digium-current |
35 |
|
|
36 |
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme |
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme |
37 |
- zoneminder needs ffmpeg from zmrepo [SME: 10539] |
- zoneminder needs ffmpeg from zmrepo [SME: 10539] |
38 |
|
|
141 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
142 |
REPO['Visible']='no' |
REPO['Visible']='no' |
143 |
REPO['status']='disabled' |
REPO['status']='disabled' |
144 |
REPO['BaseURL']='http://packages.asterisk.org/centos$releasever/current/$basearch/' |
REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/' |
145 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
146 |
REPO['GPGKey']='' |
REPO['GPGKey']='' |
147 |
REPO['Exclude']='' |
REPO['Exclude']='' |
153 |
# Digium Repo |
# Digium Repo |
154 |
##################### |
##################### |
155 |
##################### |
##################### |
156 |
REPO['reponame']='digium' |
REPO['reponame']='digium-current' |
157 |
REPO['fullreponame']='Digium packages - EL' |
REPO['fullreponame']='Digium packages - EL' |
158 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
159 |
REPO['Visible']='no' |
REPO['Visible']='no' |
510 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
511 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
512 |
REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' |
REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' |
513 |
REPO['Exclude']='' |
REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-Exporter-Tiny,perl-ExtUtils-Install,perl-parent,perl-version' |
514 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent,perl-version' |
515 |
createrepo |
createrepo |
516 |
|
|
517 |
##################### |
##################### |
918 |
{ |
{ |
919 |
my $repo = $DB->get($name) or next; |
my $repo = $DB->get($name) or next; |
920 |
my $BaseURL = $repo->prop('BaseURL') || ''; |
my $BaseURL = $repo->prop('BaseURL') || ''; |
921 |
$BaseURL = s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g; |
$BaseURL =~ s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g; |
922 |
$repo->set_prop('Exclude', join(',', @exclude)); |
$repo->set_prop('BaseURL', $BaseURL); |
923 |
|
$repo->delete('Exclude'); |
924 |
} |
} |
925 |
|
|
926 |
} |
} |
927 |
|
|
928 |
EOF |
EOF |
929 |
|
|
930 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk |
931 |
|
{ |
932 |
|
for my $name ( qw(asterisk-current) ) |
933 |
|
{ |
934 |
|
my $repo = $DB->get($name) or next; |
935 |
|
my $BaseURL = $repo->prop('BaseURL') || ''; |
936 |
|
$BaseURL =~ s/centos\$/centos\/\$/g; |
937 |
|
$repo->set_prop('BaseURL', $BaseURL); |
938 |
|
} |
939 |
|
|
940 |
|
} |
941 |
|
|
942 |
|
EOF |
943 |
|
|
944 |
|
|
945 |
|
|