1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 5 |
%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 |
37 |
|
- zoneminder needs ffmpeg from zmrepo [SME: 10539] |
38 |
|
|
39 |
|
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-11.sme |
40 |
|
- zmrepo url has changed [SME: 10675] |
41 |
|
|
42 |
|
* Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme |
43 |
|
- Add libreswan repo [SME: 10605] |
44 |
|
- remove duplicate remi-safe entry |
45 |
|
|
46 |
|
* Mon Jun 25 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-6.sme |
47 |
|
- Update reetp URL [SME: 10604] |
48 |
|
|
49 |
* 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 |
50 |
- add elrepo-kernel repo [SME: 10581] |
- add elrepo-kernel repo [SME: 10581] |
51 |
|
|
112 |
|
|
113 |
|
|
114 |
|
|
|
#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 |
|
|
|
|
115 |
###################### |
###################### |
116 |
##################### |
##################### |
117 |
# asterisk 13 LTS |
# asterisk 13 LTS |
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' |
238 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
239 |
createrepo |
createrepo |
240 |
|
|
|
|
|
241 |
##################### |
##################### |
242 |
##################### |
##################### |
243 |
#egroupware |
#egroupware |
421 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
422 |
createrepo |
createrepo |
423 |
|
|
424 |
|
##################### |
425 |
|
##################### |
426 |
|
# Libreswan |
427 |
|
##################### |
428 |
|
##################### |
429 |
|
REPO['reponame']='libreswan' |
430 |
|
REPO['fullreponame']='Libreswan' |
431 |
|
REPO['EnableGroups']='no' |
432 |
|
REPO['Visible']='no' |
433 |
|
REPO['status']='disabled' |
434 |
|
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/6/x86_64/' |
435 |
|
REPO['MirrorList']='' |
436 |
|
REPO['GPGCheck']='yes' |
437 |
|
REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan' |
438 |
|
REPO['Exclude']='' |
439 |
|
REPO['IncludePkgs']='' |
440 |
|
createrepo |
441 |
|
|
442 |
|
|
443 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
444 |
##################### |
##################### |
445 |
##################### |
##################### |
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 |
##################### |
##################### |
524 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
525 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
526 |
REPO['status']='disabled' |
REPO['status']='disabled' |
527 |
REPO['BaseURL']='https://reetspetit.com/smeserver/$releasever' |
REPO['BaseURL']='https://www.reetspetit.com/smeserver/$releasever' |
528 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
529 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
530 |
REPO['GPGKey']='https://reetspetit.com/RPM-GPG-KEY' |
REPO['GPGKey']='https://www.reetspetit.com/RPM-GPG-KEY' |
531 |
REPO['Exclude']='' |
REPO['Exclude']='' |
532 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
533 |
createrepo |
createrepo |
534 |
|
|
535 |
|
##################### |
536 |
|
##################### |
537 |
#remi-safe |
#remi-safe |
538 |
|
##################### |
539 |
|
##################### |
540 |
REPO['reponame']='remi-safe' |
REPO['reponame']='remi-safe' |
541 |
REPO['fullreponame']='Remi - safe' |
REPO['fullreponame']='Remi - safe' |
542 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
838 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
839 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
840 |
REPO['status']='disabled' |
REPO['status']='disabled' |
841 |
REPO['BaseURL']='http://zmrepo.mehvc.com/el/$releasever/$basearch' |
REPO['BaseURL']='http://zmrepo.zoneminder.com/el/$releasever/$basearch' |
842 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
843 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
844 |
REPO['GPGKey']="" |
REPO['GPGKey']="" |
845 |
REPO['Exclude']='ffmpeg-2.6.4,celt-0.11' |
REPO['Exclude']='' |
846 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
847 |
createrepo |
createrepo |
848 |
|
|
912 |
|
|
913 |
EOF |
EOF |
914 |
|
|
915 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10zmrepo |
916 |
|
{ |
917 |
|
for my $name ( qw(zmrepo) ) |
918 |
|
{ |
919 |
|
my $repo = $DB->get($name) or next; |
920 |
|
my $BaseURL = $repo->prop('BaseURL') || ''; |
921 |
|
$BaseURL =~ s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g; |
922 |
|
$repo->set_prop('BaseURL', $BaseURL); |
923 |
|
$repo->delete('Exclude'); |
924 |
|
} |
925 |
|
|
926 |
|
} |
927 |
|
|
928 |
|
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 |
|
|
959 |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
960 |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
961 |
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
962 |
|
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
963 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
964 |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
965 |
fi |
fi |
1083 |
%files geekery -f %{name}-%{version}-filelist-geekery |
%files geekery -f %{name}-%{version}-filelist-geekery |
1084 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1085 |
|
|
1086 |
|
%package libreswan |
1087 |
|
Summary: Libreswan Repository |
1088 |
|
%description libreswan |
1089 |
|
Geekery Repository |
1090 |
|
%files libreswan -f %{name}-%{version}-filelist-libreswan |
1091 |
|
%defattr(-,root,root) |
1092 |
|
|
1093 |
%package odoo |
%package odoo |
1094 |
Summary: Odoo 10 Nightly - EL7 Repository |
Summary: Odoo 10 Nightly - EL7 Repository |
1095 |
Distribution: el7 |
Distribution: el7 |