1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 4 |
%define release 19 |
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 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-19.sme |
22 |
|
- improve zmrepo migrate fragment to avoid action if not needed. |
23 |
|
- migrate fragment for openfusion |
24 |
|
|
25 |
|
* Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-18.sme |
26 |
|
- remove perl-version from pkg lists |
27 |
|
|
28 |
|
* Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-17.sme |
29 |
|
- revised Include and Exclude to prevident accidental update |
30 |
|
- updated incorrect changelog dates |
31 |
|
|
32 |
|
* Thu Jan 03 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-16.sme |
33 |
|
- Add more Excludes to Openfusion |
34 |
|
|
35 |
|
* Tue Jan 01 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-15.sme |
36 |
|
- Exclude mod_perl and other files from OpenFusion repo |
37 |
|
|
38 |
|
* Sat Dec 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-14.sme |
39 |
|
- fix typo in asterisk-current |
40 |
|
- fix typo in migrate fragment for zmrepo |
41 |
|
- renamed digium as digium-current |
42 |
|
|
43 |
|
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme |
44 |
|
- zoneminder needs ffmpeg from zmrepo [SME: 10539] |
45 |
|
|
46 |
|
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-11.sme |
47 |
|
- zmrepo url has changed [SME: 10675] |
48 |
|
|
49 |
|
* Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme |
50 |
|
- Add libreswan repo [SME: 10605] |
51 |
|
- remove duplicate remi-safe entry |
52 |
|
|
53 |
|
* Mon Jun 25 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-6.sme |
54 |
|
- Update reetp URL [SME: 10604] |
55 |
|
|
56 |
|
* Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-5.sme |
57 |
|
- add elrepo-kernel repo [SME: 10581] |
58 |
|
|
59 |
* Sun Mar 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme |
* Sun Mar 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme |
60 |
- exclude ffmpeg-2.6.4 and celt-0.11 from zmrepo [SME: 10543] |
- exclude ffmpeg-2.6.4 and celt-0.11 from zmrepo [SME: 10543] |
61 |
- add Sogo4 repo + migrate to exclude gnustep from epel if sogo repo present |
- add Sogo4 repo + migrate to exclude gnustep from epel if sogo repo present |
119 |
|
|
120 |
|
|
121 |
|
|
|
#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 |
|
|
|
|
122 |
###################### |
###################### |
123 |
##################### |
##################### |
124 |
# asterisk 13 LTS |
# asterisk 13 LTS |
148 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
149 |
REPO['Visible']='no' |
REPO['Visible']='no' |
150 |
REPO['status']='disabled' |
REPO['status']='disabled' |
151 |
REPO['BaseURL']='http://packages.asterisk.org/centos$releasever/current/$basearch/' |
REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/' |
152 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
153 |
REPO['GPGKey']='' |
REPO['GPGKey']='' |
154 |
REPO['Exclude']='' |
REPO['Exclude']='' |
160 |
# Digium Repo |
# Digium Repo |
161 |
##################### |
##################### |
162 |
##################### |
##################### |
163 |
REPO['reponame']='digium' |
REPO['reponame']='digium-current' |
164 |
REPO['fullreponame']='Digium packages - EL' |
REPO['fullreponame']='Digium packages - EL' |
165 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
166 |
REPO['Visible']='no' |
REPO['Visible']='no' |
245 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
246 |
createrepo |
createrepo |
247 |
|
|
|
|
|
248 |
##################### |
##################### |
249 |
##################### |
##################### |
250 |
#egroupware |
#egroupware |
295 |
REPO['Visible']='no' |
REPO['Visible']='no' |
296 |
REPO['status']='disabled' |
REPO['status']='disabled' |
297 |
REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch' |
REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch' |
298 |
REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.$releasever' |
REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.el$releasever' |
299 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
300 |
REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org' |
REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org' |
301 |
REPO['Exclude']='clamav,spamassassin,libselinux,perl-HTML-Parser,lm_sensors,perl-IO-stringy,perl-XML-Parser,razor-agents,libgcrypt,rpm-python,libxml2,zlib,gnupg,libxml2-python,yum,module-init-tools,rpm,gettext,librpm4,glib2,perl-libwww-perl,perl-Convert-ASN1,beecrypt,fetchmail,libacl,libtool-ltdl,popt,libgpg-error,freetype,perl-MIME-tools,mutt,gd,perl-TimeDate,librpm4.4' |
REPO['Exclude']='clamav,spamassassin,libselinux,perl-HTML-Parser,lm_sensors,perl-IO-stringy,perl-XML-Parser,razor-agents,libgcrypt,rpm-python,libxml2,zlib,gnupg,libxml2-python,yum,module-init-tools,rpm,gettext,librpm4,glib2,perl-libwww-perl,perl-Convert-ASN1,beecrypt,fetchmail,libacl,libtool-ltdl,popt,libgpg-error,freetype,perl-MIME-tools,mutt,gd,perl-TimeDate,librpm4.4' |
304 |
|
|
305 |
##################### |
##################### |
306 |
##################### |
##################### |
307 |
|
#ELRepo kernel |
308 |
|
##################### |
309 |
|
##################### |
310 |
|
REPO['reponame']='elrepo-kernel' |
311 |
|
REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel' |
312 |
|
REPO['EnableGroups']='no' |
313 |
|
REPO['Visible']='no' |
314 |
|
REPO['status']='disabled' |
315 |
|
REPO['BaseURL']='http://elrepo.org/linux/kernel/el$releasever/$basearch' |
316 |
|
REPO['MirrorList']='http://elrepo.org/mirrors-elrepo-kernel.el$releasever' |
317 |
|
REPO['GPGCheck']='yes' |
318 |
|
REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org' |
319 |
|
REPO['Exclude']='' |
320 |
|
REPO['IncludePkgs']='' |
321 |
|
createrepo |
322 |
|
|
323 |
|
##################### |
324 |
|
##################### |
325 |
#EPEL |
#EPEL |
326 |
##################### |
##################### |
327 |
##################### |
##################### |
428 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
429 |
createrepo |
createrepo |
430 |
|
|
431 |
|
##################### |
432 |
|
##################### |
433 |
|
# Libreswan |
434 |
|
##################### |
435 |
|
##################### |
436 |
|
REPO['reponame']='libreswan' |
437 |
|
REPO['fullreponame']='Libreswan' |
438 |
|
REPO['EnableGroups']='no' |
439 |
|
REPO['Visible']='no' |
440 |
|
REPO['status']='disabled' |
441 |
|
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/6/x86_64/' |
442 |
|
REPO['MirrorList']='' |
443 |
|
REPO['GPGCheck']='yes' |
444 |
|
REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan' |
445 |
|
REPO['Exclude']='' |
446 |
|
REPO['IncludePkgs']='' |
447 |
|
createrepo |
448 |
|
|
449 |
|
|
450 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
451 |
##################### |
##################### |
452 |
##################### |
##################### |
517 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
518 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
519 |
REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' |
REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion' |
520 |
REPO['Exclude']='' |
REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-Exporter-Tiny,perl-ExtUtils-Install,perl-parent' |
521 |
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' |
522 |
createrepo |
createrepo |
523 |
|
|
524 |
##################### |
##################### |
531 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
532 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
533 |
REPO['status']='disabled' |
REPO['status']='disabled' |
534 |
REPO['BaseURL']='https://reetspetit.com/smeserver/$releasever' |
REPO['BaseURL']='https://www.reetspetit.com/smeserver/$releasever' |
535 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
536 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
537 |
REPO['GPGKey']='https://reetspetit.com/RPM-GPG-KEY' |
REPO['GPGKey']='https://www.reetspetit.com/RPM-GPG-KEY' |
538 |
REPO['Exclude']='' |
REPO['Exclude']='' |
539 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
540 |
createrepo |
createrepo |
541 |
|
|
542 |
|
##################### |
543 |
|
##################### |
544 |
#remi-safe |
#remi-safe |
545 |
|
##################### |
546 |
|
##################### |
547 |
REPO['reponame']='remi-safe' |
REPO['reponame']='remi-safe' |
548 |
REPO['fullreponame']='Remi - safe' |
REPO['fullreponame']='Remi - safe' |
549 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
845 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
846 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
847 |
REPO['status']='disabled' |
REPO['status']='disabled' |
848 |
REPO['BaseURL']='http://zmrepo.mehvc.com/el/$releasever/$basearch' |
REPO['BaseURL']='http://zmrepo.zoneminder.com/el/$releasever/$basearch' |
849 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
850 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
851 |
REPO['GPGKey']="" |
REPO['GPGKey']="" |
852 |
REPO['Exclude']='ffmpeg-2.6.4,celt-0.11' |
REPO['Exclude']='' |
853 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
854 |
createrepo |
createrepo |
855 |
|
|
919 |
|
|
920 |
EOF |
EOF |
921 |
|
|
922 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10zmrepo |
923 |
|
{ |
924 |
|
for my $name ( qw(zmrepo) ) |
925 |
|
{ |
926 |
|
my $repo = $DB->get($name) or next; |
927 |
|
my $BaseURL = $repo->prop('BaseURL') || ''; |
928 |
|
if ($BaseURL =~ s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g) |
929 |
|
{$repo->set_prop('BaseURL', $BaseURL);} |
930 |
|
$repo->delete('Exclude') if $repo->prop('delete'); |
931 |
|
} |
932 |
|
|
933 |
|
} |
934 |
|
|
935 |
|
EOF |
936 |
|
|
937 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk |
938 |
|
{ |
939 |
|
for my $name ( qw(asterisk-current) ) |
940 |
|
{ |
941 |
|
my $repo = $DB->get($name) or next; |
942 |
|
my $BaseURL = $repo->prop('BaseURL') || ''; |
943 |
|
if ($BaseURL =~ s/centos\$/centos\/\$/g) |
944 |
|
{$repo->set_prop('BaseURL', $BaseURL);} |
945 |
|
} |
946 |
|
|
947 |
|
} |
948 |
|
|
949 |
|
EOF |
950 |
|
|
951 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10openfusion |
952 |
|
{ |
953 |
|
my @addexclude = split(/,/,"perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-Exporter-Tiny,perl-ExtUtils-Install,perl-parent"); |
954 |
|
my %removeexclude = map { $_ => 1 } split(/[,; ]+/, 'perl-version'); |
955 |
|
my @addinclude = split(/,/,"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"); |
956 |
|
my %removeinclude = map { $_ => 1 } split(/[,; ]+/, ''); |
957 |
|
|
958 |
|
for my $name ( qw(openfusion) ) |
959 |
|
{ |
960 |
|
my $repo = $DB->get($name) or next; |
961 |
|
|
962 |
|
my @exclude = split(/,/, $repo->prop('Exclude') || ''); |
963 |
|
push @exclude, @addexclude; |
964 |
|
@exclude = grep(!defined $removeexclude{$_} , @exclude); |
965 |
|
# remove duplicates |
966 |
|
undef %saw; |
967 |
|
@exclude = grep(!$saw{$_}++, @exclude); |
968 |
|
if ($#exclude >= 0) |
969 |
|
{ |
970 |
|
$repo->set_prop('Exclude', join(',', @exclude)); |
971 |
|
} |
972 |
|
else |
973 |
|
{ |
974 |
|
$repo->delete('Exclude'); |
975 |
|
} |
976 |
|
|
977 |
|
my @include = split(/,/, $repo->prop('IncludePkgs') || ''); |
978 |
|
push @include, @addinclude; |
979 |
|
@include = grep(!defined $removeinclude{$_} , @include); |
980 |
|
# remove duplicates |
981 |
|
undef %saw; |
982 |
|
@include = grep(!$saw{$_}++, @include); |
983 |
|
if ($#include >= 0) |
984 |
|
{ |
985 |
|
$repo->set_prop('IncludePkgs', join(',', @include)); |
986 |
|
} |
987 |
|
else |
988 |
|
{ |
989 |
|
$repo->delete('IncludePkgs'); |
990 |
|
} |
991 |
|
|
992 |
|
|
993 |
|
|
994 |
|
} |
995 |
|
|
996 |
|
} |
997 |
|
|
998 |
|
EOF |
999 |
|
|
1000 |
|
|
1001 |
|
|
1015 |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
1016 |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
1017 |
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
1018 |
|
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
1019 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
1020 |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
1021 |
fi |
fi |
1139 |
%files geekery -f %{name}-%{version}-filelist-geekery |
%files geekery -f %{name}-%{version}-filelist-geekery |
1140 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1141 |
|
|
1142 |
|
%package libreswan |
1143 |
|
Summary: Libreswan Repository |
1144 |
|
%description libreswan |
1145 |
|
Geekery Repository |
1146 |
|
%files libreswan -f %{name}-%{version}-filelist-libreswan |
1147 |
|
%defattr(-,root,root) |
1148 |
|
|
1149 |
%package odoo |
%package odoo |
1150 |
Summary: Odoo 10 Nightly - EL7 Repository |
Summary: Odoo 10 Nightly - EL7 Repository |
1151 |
Distribution: el7 |
Distribution: el7 |