1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 12 |
%define release 15 |
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 |
|
* Mon Jan 02 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-15.sme |
22 |
|
- Exclude mod_perl and other files from OpenFusion repo |
23 |
|
|
24 |
|
* Sat Dec 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-14.sme |
25 |
|
- fix typo in asterisk-current |
26 |
|
- fix typo in migrate fragment for zmrepo |
27 |
|
- renamed digium as digium-current |
28 |
|
|
29 |
* 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 |
30 |
- zoneminder needs ffmpeg from zmrepo [SME: 10539] |
- zoneminder needs ffmpeg from zmrepo [SME: 10539] |
31 |
|
|
134 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
135 |
REPO['Visible']='no' |
REPO['Visible']='no' |
136 |
REPO['status']='disabled' |
REPO['status']='disabled' |
137 |
REPO['BaseURL']='http://packages.asterisk.org/centos$releasever/current/$basearch/' |
REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/' |
138 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
139 |
REPO['GPGKey']='' |
REPO['GPGKey']='' |
140 |
REPO['Exclude']='' |
REPO['Exclude']='' |
146 |
# Digium Repo |
# Digium Repo |
147 |
##################### |
##################### |
148 |
##################### |
##################### |
149 |
REPO['reponame']='digium' |
REPO['reponame']='digium-current' |
150 |
REPO['fullreponame']='Digium packages - EL' |
REPO['fullreponame']='Digium packages - EL' |
151 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
152 |
REPO['Visible']='no' |
REPO['Visible']='no' |
503 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
504 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
505 |
REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' |
REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' |
506 |
REPO['Exclude']='' |
REPO['Exclude']='mod_auth_tkt,mod_perl,nmap,perl-Apache-AuthTkt,perl-Archive-Tar,perl-Authen-SASL,perl-B-Keywords,perl-BSD-Resource,perl-CPAN,perl-Class-Inspector,perl-Clone,perl-Compress-Raw-Bzip2,perl-Compress-Raw-Zlib,perl-Config-IniFiles,perl-Config-Tiny,perl-Convert-ASN1,perl-Crypt-OpenSSL-RSA,perl-DBD-MySQL,perl-DBD-SQLite,perl-Data-Validate-Domain,perl-Date-Manip,perl-Devel-StackTrace,perl-Digest-HMAC,perl-Digest-SHA,perl-Digest-SHA1,perl-Email-Address,perl-Email-Date-Format,perl-Email-MIME,perl-Email-MIME-ContentType,perl-Email-MIME-Encodings,perl-Email-MessageID,perl-Email-Simple,perl-Exception-Class,perl-Exporter-Tiny,perl-ExtUtils-ParseXS,perl-File-HomeDir,perl-File-MMagic,perl-File-ShareDir,perl-Geo-IP,perl-Geography-Countries,perl-HTML-Parser,perl-HTML-Tabulate,perl-IO-Socket-INET6,perl-IO-Socket-IP,perl-IO-Socket-SSL,perl-IP-Country,perl-JSON,perl-MIME-Lite,perl-MIME-Types,perl-MIME-tools,perl-Mail-SPF,perl-MailTools,perl-Module-Pluggable,perl-Mojolicious,perl-Moo,perl-Net-CIDR-Lite,perl-Net-DNS,perl-Net-Domain-TLD,perl-Net-IP,perl-Net-SSLeay,perl-Net-Server,perl-NetAddr-IP,perl-Number-Compare,perl-PPI,perl-Params-Util,perl-Perl-Critic,perl-Pod-Simple,perl-Proc-ProcessTable,perl-RPM2,perl-Role-Tiny,perl-String-Format,perl-Sub-Install,perl-Taint-Util,perl-Test-Harness,perl-Test-Simple,perl-Text-Glob,perl-Text-Template,perl-Time-Local,perl-Time-TAI64,perl-URI,perl-WWW-Curl,perl-XML-LibXML,perl-XML-NamespaceSupport,perl-XML-Parser,perl-XML-SAX,perl-YAML-Syck,perl-libwww-perl,tokyocabinet,daemontools,daemontools-encore,mutt,perl-Compress-Zlib,perl-IO-Compress,perl-IO-Compress-Base,perl-IO-Compress-Base2,perl-IO-Compress-Zlib,urlview' |
507 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
508 |
createrepo |
createrepo |
509 |
|
|
911 |
{ |
{ |
912 |
my $repo = $DB->get($name) or next; |
my $repo = $DB->get($name) or next; |
913 |
my $BaseURL = $repo->prop('BaseURL') || ''; |
my $BaseURL = $repo->prop('BaseURL') || ''; |
914 |
$BaseURL = s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g; |
$BaseURL =~ s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g; |
915 |
$repo->set_prop('Exclude', join(',', @exclude)); |
$repo->set_prop('BaseURL', $BaseURL); |
916 |
|
$repo->delete('Exclude'); |
917 |
} |
} |
918 |
|
|
919 |
} |
} |
920 |
|
|
921 |
EOF |
EOF |
922 |
|
|
923 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk |
924 |
|
{ |
925 |
|
for my $name ( qw(asterisk-current) ) |
926 |
|
{ |
927 |
|
my $repo = $DB->get($name) or next; |
928 |
|
my $BaseURL = $repo->prop('BaseURL') || ''; |
929 |
|
$BaseURL =~ s/centos\$/centos\/\$/g; |
930 |
|
$repo->set_prop('BaseURL', $BaseURL); |
931 |
|
} |
932 |
|
|
933 |
|
} |
934 |
|
|
935 |
|
EOF |
936 |
|
|
937 |
|
|
938 |
|
|