1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 4 |
%define release 8 |
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 |
22 |
|
- zmrepo url has changed [SME: 10675] |
23 |
|
|
24 |
|
* Mon Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme |
25 |
|
- Add libreswan repo [SME: 10605] |
26 |
|
- remove duplicate remi-safe entry |
27 |
|
|
28 |
|
* Mon Jun 25 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-6.sme |
29 |
|
- Update reetp URL [SME: 10604] |
30 |
|
|
31 |
|
* Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-5.sme |
32 |
|
- add elrepo-kernel repo [SME: 10581] |
33 |
|
|
34 |
* 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 |
35 |
- 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] |
36 |
- 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 |
94 |
|
|
95 |
|
|
96 |
|
|
|
#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 |
|
|
|
|
97 |
###################### |
###################### |
98 |
##################### |
##################### |
99 |
# asterisk 13 LTS |
# asterisk 13 LTS |
220 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
221 |
createrepo |
createrepo |
222 |
|
|
|
|
|
223 |
##################### |
##################### |
224 |
##################### |
##################### |
225 |
#egroupware |
#egroupware |
270 |
REPO['Visible']='no' |
REPO['Visible']='no' |
271 |
REPO['status']='disabled' |
REPO['status']='disabled' |
272 |
REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch' |
REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch' |
273 |
REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.$releasever' |
REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.el$releasever' |
274 |
REPO['GPGCheck']='yes' |
REPO['GPGCheck']='yes' |
275 |
REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org' |
REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org' |
276 |
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' |
279 |
|
|
280 |
##################### |
##################### |
281 |
##################### |
##################### |
282 |
|
#ELRepo kernel |
283 |
|
##################### |
284 |
|
##################### |
285 |
|
REPO['reponame']='elrepo-kernel' |
286 |
|
REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel' |
287 |
|
REPO['EnableGroups']='no' |
288 |
|
REPO['Visible']='no' |
289 |
|
REPO['status']='disabled' |
290 |
|
REPO['BaseURL']='http://elrepo.org/linux/kernel/el$releasever/$basearch' |
291 |
|
REPO['MirrorList']='http://elrepo.org/mirrors-elrepo-kernel.el$releasever' |
292 |
|
REPO['GPGCheck']='yes' |
293 |
|
REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org' |
294 |
|
REPO['Exclude']='' |
295 |
|
REPO['IncludePkgs']='' |
296 |
|
createrepo |
297 |
|
|
298 |
|
##################### |
299 |
|
##################### |
300 |
#EPEL |
#EPEL |
301 |
##################### |
##################### |
302 |
##################### |
##################### |
403 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
404 |
createrepo |
createrepo |
405 |
|
|
406 |
|
##################### |
407 |
|
##################### |
408 |
|
# Libreswan |
409 |
|
##################### |
410 |
|
##################### |
411 |
|
REPO['reponame']='libreswan' |
412 |
|
REPO['fullreponame']='Libreswan' |
413 |
|
REPO['EnableGroups']='no' |
414 |
|
REPO['Visible']='no' |
415 |
|
REPO['status']='disabled' |
416 |
|
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/6/x86_64/' |
417 |
|
REPO['MirrorList']='' |
418 |
|
REPO['GPGCheck']='yes' |
419 |
|
REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan' |
420 |
|
REPO['Exclude']='' |
421 |
|
REPO['IncludePkgs']='' |
422 |
|
createrepo |
423 |
|
|
424 |
|
|
425 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
426 |
##################### |
##################### |
427 |
##################### |
##################### |
506 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
507 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
508 |
REPO['status']='disabled' |
REPO['status']='disabled' |
509 |
REPO['BaseURL']='https://reetspetit.com/smeserver/$releasever' |
REPO['BaseURL']='https://www.reetspetit.com/smeserver/$releasever' |
510 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
511 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
512 |
REPO['GPGKey']='https://reetspetit.com/RPM-GPG-KEY' |
REPO['GPGKey']='https://www.reetspetit.com/RPM-GPG-KEY' |
513 |
REPO['Exclude']='' |
REPO['Exclude']='' |
514 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
515 |
createrepo |
createrepo |
516 |
|
|
517 |
|
##################### |
518 |
|
##################### |
519 |
#remi-safe |
#remi-safe |
520 |
|
##################### |
521 |
|
##################### |
522 |
REPO['reponame']='remi-safe' |
REPO['reponame']='remi-safe' |
523 |
REPO['fullreponame']='Remi - safe' |
REPO['fullreponame']='Remi - safe' |
524 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
820 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
821 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
822 |
REPO['status']='disabled' |
REPO['status']='disabled' |
823 |
REPO['BaseURL']='http://zmrepo.mehvc.com/el/$releasever/$basearch' |
REPO['BaseURL']='http://zmrepo.zoneminder.com/el/$releasever/$basearch' |
824 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
825 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
826 |
REPO['GPGKey']="" |
REPO['GPGKey']="" |
894 |
|
|
895 |
EOF |
EOF |
896 |
|
|
897 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel |
898 |
|
{ |
899 |
|
for my $name ( qw(zmrepo) ) |
900 |
|
{ |
901 |
|
my $repo = $DB->get($name) or next; |
902 |
|
my $BaseURL = $repo->prop('BaseURL') || ''; |
903 |
|
my $BaseURL = s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g; |
904 |
|
} |
905 |
|
|
906 |
|
} |
907 |
|
|
908 |
|
EOF |
909 |
|
|
910 |
|
|
911 |
|
|
925 |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
926 |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
927 |
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
928 |
|
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
929 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
930 |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
931 |
fi |
fi |
1049 |
%files geekery -f %{name}-%{version}-filelist-geekery |
%files geekery -f %{name}-%{version}-filelist-geekery |
1050 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1051 |
|
|
1052 |
|
%package libreswan |
1053 |
|
Summary: Libreswan Repository |
1054 |
|
%description libreswan |
1055 |
|
Geekery Repository |
1056 |
|
%files libreswan -f %{name}-%{version}-filelist-libreswan |
1057 |
|
%defattr(-,root,root) |
1058 |
|
|
1059 |
%package odoo |
%package odoo |
1060 |
Summary: Odoo 10 Nightly - EL7 Repository |
Summary: Odoo 10 Nightly - EL7 Repository |
1061 |
Distribution: el7 |
Distribution: el7 |