====== Dépôts tiers utiles ======
Tout ces dépôts sont pour SME8
===== Pour SME Server =====
==== FWS ====
db yum_repositories set fws repository \
BaseURL http://repo.firewall-services.com/centos/\$releasever \
EnableGroups no GPGCheck yes \
Name "Firewall Services" \
GPGKey http://repo.firewall-services.com/RPM-GPG-KEY \
Visible yes status disabled
signal-event yum-modify
==== FWS Testing ====
db yum_repositories set fws-testing repository \
BaseURL http://repo.firewall-services.com/centos-testing/\$releasever \
EnableGroups no GPGCheck yes \
Name "Firewall Services Testing" \
GPGKey http://repo.firewall-services.com/RPM-GPG-KEY \
Visible yes status disabled
signal-event yum-modify
==== iPasserelle ====
db yum_repositories set ipasserelle repository \
BaseURL http://repo.firewall-services.com/ipasserelle/\$releasever \
EnableGroups no GPGCheck yes \
Name "iPasserelle Testing" \
GPGKey http://repo.firewall-services.com/RPM-GPG-KEY \
Visible yes status disabled
signal-event yum-modify
==== iPasserelle Testing ====
db yum_repositories set ipasserelle-testing repository \
BaseURL http://repo.firewall-services.com/ipasserelle-testing/\$releasever \
EnableGroups no GPGCheck yes \
Name "iPasserelle Testing" \
GPGKey http://repo.firewall-services.com/RPM-GPG-KEY \
Visible yes status disabled
signal-event yum-modify
==== Dag (rpmforge) ====
/sbin/e-smith/db yum_repositories set rpmforge repository \
Name 'Dag - EL5' \
BaseURL 'http://apt.sw.be/redhat/el5/en/$basearch/dag' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \
Visible no \
Exclude freetype,htop,iptraf,rsync,syslinux \
status disabled
signal-event yum-modify
==== ATrpms ====
/sbin/e-smith/db yum_repositories set atrpms repository \
Name 'atrpms - EL5' \
BaseURL 'http://dl.atrpms.net/el5-$basearch/atrpms/stable' \
EnableGroups no \
GPGCheck yes \
GPGKey http://ATrpms.net/RPM-GPG-KEY.atrpms \
Visible no \
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 \
status disabled
signal-event yum-modify
==== EPEL ====
db yum_repositories set epel repository \
Name 'Extra Packages for Enterprise Linux' \
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-\$releasever&arch=\$basearch' \
status disabled GPGCheck yes \
GPGKey http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL
signal-event yum-modify
==== sme7contribs ====
db yum_repositories set sme7contribs repository EnableGroups yes \
GPGCheck yes \
MirrorList http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smecontribs-7 \
Name 'SME Server - contribs 7.X' \
Visible no \
status disabled
signal-event yum-modify
===== Pour CentOS 5 =====
==== FWS et FWS Testing ====
wget http://repo.firewall-services.com/fws.repo -O /etc/yum.repos.d/fws.repo
==== RpmForge ====
(http://dag.wieers.com/rpm/FAQ.php#B)
rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
sed -i -e 's/enabled = 1/enabled = 0/' /etc/yum.repos.d/rpmforge.repo
==== Atrpms ====
rpm -Uvh http://dl.atrpms.net/el5-x86_64/atrpms/stable/atrpms-repo-5-6.el5.x86_64.rpm
sed -i -e 's/enabled=1/enabled=0/' /etc/yum.repos.d/atrpms.repo
==== EPEL ====
rpm -Uvh http://mirrors.ircam.fr/pub/fedora/epel/5/x86_64/epel-release-5-4.noarch.rpm
Ces dépôt pourront être activés à la demande directement depuis yum:
yum --enablerepo=rpmforge install etc...
===== Pour CentOS 6 =====
==== fws et fws-testing ====
yum -y install wget
wget http://repo.firewall-services.com/fws.repo -O /etc/yum.repos.d/fws.repo
==== EPEL ====
rpm -Uvh http://fr2.rpmfind.net/linux/epel/6/i386/epel-release-6-8.noarch.rpm
===== Pour CentOS 7 =====
==== fws et fws-testing ====
cat << '_EOF' > /etc/yum.repos.d/fws.repo
[fws]
enabled=1
baseurl=http://repo.firewall-services.com/centos/$releasever/
name=Firewall Services
gpgcheck=1
gpgkey=http://repo.firewall-services.com/RPM-GPG-KEY
enablegroups=0
[fws-testing]
enabled=0
baseurl=http://repo.firewall-services.com/centos-testing/$releasever/
name=Firewall Services Testing
gpgcheck=1
gpgkey=http://repo.firewall-services.com/RPM-GPG-KEY
enablegroups=0
_EOF
==== EPEL ====
yum install epel-release
==== ELrepo ====
Dans certains cas, il faudra aussi configurer ELrepo
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
===== Réinitialisation des dépôts =====
rm -vf /home/e-smith/db/yum_repositories
/etc/e-smith/events/actions/initialize-default-databases
expand-template /etc/yum.smerepos.d/sme-base.repo