1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 8 |
%define release 13 |
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 Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-8.sme |
* Sat Dec 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-13.sme |
22 |
|
- fix typo in asterisk-current |
23 |
|
- fix typo in migrate fragment for zmrepo |
24 |
|
|
25 |
|
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme |
26 |
|
- zoneminder needs ffmpeg from zmrepo [SME: 10539] |
27 |
|
|
28 |
|
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-11.sme |
29 |
- zmrepo url has changed [SME: 10675] |
- zmrepo url has changed [SME: 10675] |
30 |
|
|
31 |
* Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme |
* Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme |
130 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
131 |
REPO['Visible']='no' |
REPO['Visible']='no' |
132 |
REPO['status']='disabled' |
REPO['status']='disabled' |
133 |
REPO['BaseURL']='http://packages.asterisk.org/centos$releasever/current/$basearch/' |
REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/' |
134 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
135 |
REPO['GPGKey']='' |
REPO['GPGKey']='' |
136 |
REPO['Exclude']='' |
REPO['Exclude']='' |
831 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
832 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
833 |
REPO['GPGKey']="" |
REPO['GPGKey']="" |
834 |
REPO['Exclude']='ffmpeg-2.6.4,celt-0.11' |
REPO['Exclude']='' |
835 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
836 |
createrepo |
createrepo |
837 |
|
|
901 |
|
|
902 |
EOF |
EOF |
903 |
|
|
904 |
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel |
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10zmrepo |
905 |
{ |
{ |
906 |
for my $name ( qw(zmrepo) ) |
for my $name ( qw(zmrepo) ) |
907 |
{ |
{ |
908 |
my $repo = $DB->get($name) or next; |
my $repo = $DB->get($name) or next; |
909 |
my $BaseURL = $repo->prop('BaseURL') || ''; |
my $BaseURL = $repo->prop('BaseURL') || ''; |
910 |
my $BaseURL = s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g; |
$BaseURL =~ s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g; |
911 |
|
$repo->set_prop('BaseURL', $BaseURL); |
912 |
|
$repo->delete('Exclude'); |
913 |
|
} |
914 |
|
|
915 |
|
} |
916 |
|
|
917 |
|
EOF |
918 |
|
|
919 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk |
920 |
|
{ |
921 |
|
for my $name ( qw(asterisk-current) ) |
922 |
|
{ |
923 |
|
my $repo = $DB->get($name) or next; |
924 |
|
my $BaseURL = $repo->prop('BaseURL') || ''; |
925 |
|
$BaseURL =~ s/centos\$/centos\/\$/g; |
926 |
|
$repo->set_prop('BaseURL', $BaseURL); |
927 |
} |
} |
928 |
|
|
929 |
} |
} |