1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 6 |
%define release 9 |
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 |
* Mon Jun 25 2018 John Crisp <jcrisp@safeandsounit.co.uk> 0.1-6.sme |
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-9.sme |
22 |
- Update reetp URL |
- 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] |
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 |
##################### |
##################### |
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 |
|
} |
905 |
|
|
906 |
|
} |
907 |
|
|
908 |
|
EOF |
909 |
|
|
910 |
|
|
911 |
|
|
926 |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
927 |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
928 |
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
929 |
|
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
930 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
931 |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
932 |
fi |
fi |
1050 |
%files geekery -f %{name}-%{version}-filelist-geekery |
%files geekery -f %{name}-%{version}-filelist-geekery |
1051 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1052 |
|
|
1053 |
|
%package libreswan |
1054 |
|
Summary: Libreswan Repository |
1055 |
|
%description libreswan |
1056 |
|
Geekery Repository |
1057 |
|
%files libreswan -f %{name}-%{version}-filelist-libreswan |
1058 |
|
%defattr(-,root,root) |
1059 |
|
|
1060 |
%package odoo |
%package odoo |
1061 |
Summary: Odoo 10 Nightly - EL7 Repository |
Summary: Odoo 10 Nightly - EL7 Repository |
1062 |
Distribution: el7 |
Distribution: el7 |