1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 5 |
%define release 10 |
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-10.sme |
22 |
|
- zmrepo url has changed [SME: 10675] |
23 |
|
|
24 |
|
* Fri 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 |
* Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-5.sme |
32 |
- add elrepo-kernel repo [SME: 10581] |
- add elrepo-kernel repo [SME: 10581] |
33 |
|
|
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 |
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/10zmrepo |
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 |
|
$repo->set_prop('Exclude', join(',', @exclude)); |
905 |
|
} |
906 |
|
|
907 |
|
} |
908 |
|
|
909 |
|
EOF |
910 |
|
|
911 |
|
|
912 |
|
|
927 |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
928 |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
929 |
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
930 |
|
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
931 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
932 |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
933 |
fi |
fi |
1051 |
%files geekery -f %{name}-%{version}-filelist-geekery |
%files geekery -f %{name}-%{version}-filelist-geekery |
1052 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1053 |
|
|
1054 |
|
%package libreswan |
1055 |
|
Summary: Libreswan Repository |
1056 |
|
%description libreswan |
1057 |
|
Geekery Repository |
1058 |
|
%files libreswan -f %{name}-%{version}-filelist-libreswan |
1059 |
|
%defattr(-,root,root) |
1060 |
|
|
1061 |
%package odoo |
%package odoo |
1062 |
Summary: Odoo 10 Nightly - EL7 Repository |
Summary: Odoo 10 Nightly - EL7 Repository |
1063 |
Distribution: el7 |
Distribution: el7 |