1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 5 |
%define release 16 |
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 |
|
* Tue Jan 03 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-16.sme |
22 |
|
- Add more Excludes to Openfusion |
23 |
|
|
24 |
|
* Mon Jan 02 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-15.sme |
25 |
|
- Exclude mod_perl and other files from OpenFusion repo |
26 |
|
|
27 |
|
* Sat Dec 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-14.sme |
28 |
|
- fix typo in asterisk-current |
29 |
|
- fix typo in migrate fragment for zmrepo |
30 |
|
- renamed digium as digium-current |
31 |
|
|
32 |
|
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme |
33 |
|
- zoneminder needs ffmpeg from zmrepo [SME: 10539] |
34 |
|
|
35 |
|
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-11.sme |
36 |
|
- zmrepo url has changed [SME: 10675] |
37 |
|
|
38 |
|
* Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme |
39 |
|
- Add libreswan repo [SME: 10605] |
40 |
|
- remove duplicate remi-safe entry |
41 |
|
|
42 |
|
* Mon Jun 25 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-6.sme |
43 |
|
- Update reetp URL [SME: 10604] |
44 |
|
|
45 |
* Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-5.sme |
* Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-5.sme |
46 |
- add elrepo-kernel repo [SME: 10581] |
- add elrepo-kernel repo [SME: 10581] |
47 |
|
|
108 |
|
|
109 |
|
|
110 |
|
|
|
#remi-safe |
|
|
REPO['reponame']='remi-safe' |
|
|
REPO['fullreponame']='Remi - safe' |
|
|
REPO['EnableGroups']='no' |
|
|
REPO['GPGCheck']='yes' |
|
|
REPO['Visible']='yes' |
|
|
REPO['status']='enabled' |
|
|
REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/safe/$basearch/' |
|
|
REPO['MirrorList']='' |
|
|
REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi' |
|
|
REPO['Exclude']='' |
|
|
REPO['IncludePkgs']='' |
|
|
createrepo |
|
|
|
|
111 |
###################### |
###################### |
112 |
##################### |
##################### |
113 |
# asterisk 13 LTS |
# asterisk 13 LTS |
137 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
138 |
REPO['Visible']='no' |
REPO['Visible']='no' |
139 |
REPO['status']='disabled' |
REPO['status']='disabled' |
140 |
REPO['BaseURL']='http://packages.asterisk.org/centos$releasever/current/$basearch/' |
REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/' |
141 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
142 |
REPO['GPGKey']='' |
REPO['GPGKey']='' |
143 |
REPO['Exclude']='' |
REPO['Exclude']='' |
149 |
# Digium Repo |
# Digium Repo |
150 |
##################### |
##################### |
151 |
##################### |
##################### |
152 |
REPO['reponame']='digium' |
REPO['reponame']='digium-current' |
153 |
REPO['fullreponame']='Digium packages - EL' |
REPO['fullreponame']='Digium packages - EL' |
154 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
155 |
REPO['Visible']='no' |
REPO['Visible']='no' |
234 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
235 |
createrepo |
createrepo |
236 |
|
|
|
|
|
237 |
##################### |
##################### |
238 |
##################### |
##################### |
239 |
#egroupware |
#egroupware |
417 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
418 |
createrepo |
createrepo |
419 |
|
|
420 |
|
##################### |
421 |
|
##################### |
422 |
|
# Libreswan |
423 |
|
##################### |
424 |
|
##################### |
425 |
|
REPO['reponame']='libreswan' |
426 |
|
REPO['fullreponame']='Libreswan' |
427 |
|
REPO['EnableGroups']='no' |
428 |
|
REPO['Visible']='no' |
429 |
|
REPO['status']='disabled' |
430 |
|
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/6/x86_64/' |
431 |
|
REPO['MirrorList']='' |
432 |
|
REPO['GPGCheck']='yes' |
433 |
|
REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan' |
434 |
|
REPO['Exclude']='' |
435 |
|
REPO['IncludePkgs']='' |
436 |
|
createrepo |
437 |
|
|
438 |
|
|
439 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
440 |
##################### |
##################### |
441 |
##################### |
##################### |
506 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
507 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
508 |
REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' |
REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' |
509 |
REPO['Exclude']='' |
REPO['Exclude']='daemontools,mod_auth_tkt,mod_perl,nmap,mutt,perl-Apache-AuthTkt,perl-Archive-Tar,perl-Authen-SASL,perl-B-Keywords,perl-BSD-Resource,perl-Class-Inspector,perl-Clone,perl-Compress-Raw-Bzip2,perl-Compress-Raw-Zlib,perl-Compress-Zlib,perl-Config-IniFiles,perl-Config-Tiny,perl-Convert-ASN1,perl-CPAN,perl-Crypt-OpenSSL-RSA,perl-Data-Validate-Domain,perl-Date-Manip,perl-DBD-MySQL,perl-DBD-SQLite,perl-Devel-StackTrace,perl-Digest-HMAC,perl-Digest-SHA,perl-Digest-SHA1,perl-Email-Address,perl-Email-Date-Format,perl-Email-MessageID,perl-Email-MIME-ContentType,perl-Email-MIME-Encodings,perl-Email-MIME,perl-Email-Simple,perl-Exception-Class,perl-Exporter-Tiny,Perl-ExtUtils-MakeMaker,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-Compress-Base,perl-IO-Compress-Base2,perl-IO-Compress-Zlib,perl-IO-Compress,perl-IO-Socket-INET6,perl-IO-Socket-IP,perl-IO-Socket-SSL,perl-IP-Country,perl-JSON,perl-libwww-perl,Perl-List-MoreUtils,perl-Mail-SPF,perl-MailTools,perl-MIME-Lite,perl-MIME-tools,perl-MIME-Types,perl-Module-Pluggable,perl-Mojolicious,perl-Moo,perl-Net-CIDR-Lite,perl-Net-DNS,perl-Net-Domain-TLD,perl-Net-IP,perl-Net-Server,perl-Net-SSLeay,perl-NetAddr-IP,perl-Number-Compare,perl-Params-Util,Perl-parent,perl-Perl-Critic,perl-Pod-Simple,perl-PPI,perl-Proc-ProcessTable,perl-Role-Tiny,perl-RPM2,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-version,perl-WWW-Curl,perl-XML-LibXML,perl-XML-NamespaceSupport,perl-XML-Parser,perl-XML-SAX,perl-YAML-Syck,tokyocabinet,urlview' |
510 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
511 |
createrepo |
createrepo |
512 |
|
|
520 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
521 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
522 |
REPO['status']='disabled' |
REPO['status']='disabled' |
523 |
REPO['BaseURL']='https://reetspetit.com/smeserver/$releasever' |
REPO['BaseURL']='https://www.reetspetit.com/smeserver/$releasever' |
524 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
525 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
526 |
REPO['GPGKey']='https://reetspetit.com/RPM-GPG-KEY' |
REPO['GPGKey']='https://www.reetspetit.com/RPM-GPG-KEY' |
527 |
REPO['Exclude']='' |
REPO['Exclude']='' |
528 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
529 |
createrepo |
createrepo |
530 |
|
|
531 |
|
##################### |
532 |
|
##################### |
533 |
#remi-safe |
#remi-safe |
534 |
|
##################### |
535 |
|
##################### |
536 |
REPO['reponame']='remi-safe' |
REPO['reponame']='remi-safe' |
537 |
REPO['fullreponame']='Remi - safe' |
REPO['fullreponame']='Remi - safe' |
538 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
834 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
835 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
836 |
REPO['status']='disabled' |
REPO['status']='disabled' |
837 |
REPO['BaseURL']='http://zmrepo.mehvc.com/el/$releasever/$basearch' |
REPO['BaseURL']='http://zmrepo.zoneminder.com/el/$releasever/$basearch' |
838 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
839 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
840 |
REPO['GPGKey']="" |
REPO['GPGKey']="" |
841 |
REPO['Exclude']='ffmpeg-2.6.4,celt-0.11' |
REPO['Exclude']='' |
842 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
843 |
createrepo |
createrepo |
844 |
|
|
908 |
|
|
909 |
EOF |
EOF |
910 |
|
|
911 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10zmrepo |
912 |
|
{ |
913 |
|
for my $name ( qw(zmrepo) ) |
914 |
|
{ |
915 |
|
my $repo = $DB->get($name) or next; |
916 |
|
my $BaseURL = $repo->prop('BaseURL') || ''; |
917 |
|
$BaseURL =~ s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g; |
918 |
|
$repo->set_prop('BaseURL', $BaseURL); |
919 |
|
$repo->delete('Exclude'); |
920 |
|
} |
921 |
|
|
922 |
|
} |
923 |
|
|
924 |
|
EOF |
925 |
|
|
926 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk |
927 |
|
{ |
928 |
|
for my $name ( qw(asterisk-current) ) |
929 |
|
{ |
930 |
|
my $repo = $DB->get($name) or next; |
931 |
|
my $BaseURL = $repo->prop('BaseURL') || ''; |
932 |
|
$BaseURL =~ s/centos\$/centos\/\$/g; |
933 |
|
$repo->set_prop('BaseURL', $BaseURL); |
934 |
|
} |
935 |
|
|
936 |
|
} |
937 |
|
|
938 |
|
EOF |
939 |
|
|
940 |
|
|
941 |
|
|
955 |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
956 |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
957 |
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
958 |
|
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
959 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
960 |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
961 |
fi |
fi |
1079 |
%files geekery -f %{name}-%{version}-filelist-geekery |
%files geekery -f %{name}-%{version}-filelist-geekery |
1080 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1081 |
|
|
1082 |
|
%package libreswan |
1083 |
|
Summary: Libreswan Repository |
1084 |
|
%description libreswan |
1085 |
|
Geekery Repository |
1086 |
|
%files libreswan -f %{name}-%{version}-filelist-libreswan |
1087 |
|
%defattr(-,root,root) |
1088 |
|
|
1089 |
%package odoo |
%package odoo |
1090 |
Summary: Odoo 10 Nightly - EL7 Repository |
Summary: Odoo 10 Nightly - EL7 Repository |
1091 |
Distribution: el7 |
Distribution: el7 |