1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 22 |
%define release 23 |
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 |
|
* Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-23.sme |
22 |
|
- add event on update to avoid reboot [SME: 11181] |
23 |
|
- remove remi-safe as it is now in core rpm [SME: 11182] |
24 |
|
|
25 |
* Tue Oct 27 2020 Brian Read <brianr@bjsystems.co.uk> 0.1-22.sme |
* Tue Oct 27 2020 Brian Read <brianr@bjsystems.co.uk> 0.1-22.sme |
26 |
- Initial import to SME10 tree [SME: 11057] |
- Initial import to SME10 tree [SME: 11057] |
27 |
|
|
118 |
echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible |
echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible |
119 |
echo "${REPO['status']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status |
echo "${REPO['status']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status |
120 |
echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type |
echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type |
121 |
|
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['reponame']}-update/templates2expand/etc/yum.smerepos.d/ |
122 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/smeserver-extrarepositories-${REPO['reponame']}-update/templates2expand/etc/yum.smerepos.d/sme-base.repo |
123 |
|
|
124 |
[[ "${REPO['BaseURL']}" != '' ]] && echo "${REPO['BaseURL']}" >\ |
[[ "${REPO['BaseURL']}" != '' ]] && echo "${REPO['BaseURL']}" >\ |
125 |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL |
$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL |
126 |
[[ "${REPO['GPGKey']}" != '' ]] && echo "${REPO['GPGKey']}" >\ |
[[ "${REPO['GPGKey']}" != '' ]] && echo "${REPO['GPGKey']}" >\ |
701 |
REPO['Exclude']='' |
REPO['Exclude']='' |
702 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
703 |
createrepo |
createrepo |
|
|
|
|
##################### |
|
|
##################### |
|
|
#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 |
|
704 |
|
|
705 |
##################### |
##################### |
706 |
##################### |
##################### |