3rd-Party Yum Repositories setup
If you use the commands below to add 3rd party yum repositories, they will be added to your yum.conf file,
but not enabled by default, so this will not affect automatic yum upgrades, it only adds options for running
yum manually. They are also set up to block you from installing rpms that exist already in SME Server 7.0.
With everyone having yum repositories set up the same way, Howto authors can now use instructions like:
yum --enablerepo=dag install dansguardian
...in their howto instructions, instead of using wget and rpm -Uvh. This should greatly simplify howto instructions.
Commands to add the yum repositories:
Sorry the lines are long, but it it so you can cut and paste. Also note that you shouldn't enable these reositories
in the server-manager, they should just be used at the command line with "yum install", and not with "yum upgrade".
/sbin/e-smith/db yum_repositories set dag repository \ Name 'Dag - EL4' \ BaseURL 'http://apt.sw.be/redhat/el4/en/$basearch/dag' \ EnableGroups no \ GPGCheck yes \ GPGKey http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \ Visible yes \ Exclude freetype,htop,iptraf,rsync,syslinux \ status disabled /sbin/e-smith/db yum_repositories set kbs-centos-extras repository \ Name 'CentOS.Karan.Org-EL4 Extras - Stable' \ BaseURL 'http://centos.karan.org/el4/extras/stable/$basearch/RPMS/' \ EnableGroups no \ GPGCheck yes \ GPGKey http://centos.karan.org/RPM-GPG-KEY-karan.org.txt \ Visible yes \ Exclude oidentd,perl-FreezeThaw,perl-IO-stringy,perl-Net-Server,perl-Test-Inline,perl-Text-Template,ulogd \ status disabled /sbin/e-smith/db yum_repositories set kbs-centos-misc repository \ Name 'CentOS.Karan.Org-EL4 Misc - Stable' \ BaseURL 'http://centos.karan.org/el4/misc/stable/$basearch/RPMS/' \ EnableGroups no \ GPGCheck yes \ GPGKey http://centos.karan.org/RPM-GPG-KEY-karan.org.txt \ Visible yes \ status disabled /sbin/e-smith/db yum_repositories set atrpms repository \ Name 'atrpms - EL4' \ BaseURL 'http://dl.atrpms.net/el4-$basearch/atrpms/stable' \ EnableGroups no \ GPGCheck yes \ GPGKey http://ATrpms.net/RPM-GPG-KEY.atrpms \ Visible yes \ 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 /sbin/e-smith/db yum_repositories set dries repository \ Name 'dries - EL4' \ BaseURL 'http://ftp.belnet.be/packages/dries.ulyssis.org/redhat/el4/en/i386/dries/RPMS' \ EnableGroups no \ GPGCheck yes \ GPGKey http://dries.studentenweb.org/rpm/RPM-GPG-KEY.dries.txt \ Visible yes \ Exclude iptraf,iptstate,perl-Convert-ASN1,perl-Digest-SHA1,perl-XML-NamespaceSupport,perl-XML-SAX,python-elementtree,spamassassin,perl-Authen-PAM,perl-IO-stringy,perl-MIME-tools,perl-Net-Server,perl-Quota \ status disabled /sbin/e-smith/db yum_repositories set razorsedge repository \ Name 'razorsedge - EL4' \ BaseURL 'http://rpm.razorsedge.org/centos-4/RE/i386/' \ EnableGroups no \ GPGCheck yes \ GPGKey http://rpm.razorsedge.org/RPM-GPG-KEY.RE.txt \ Visible yes \ Exclude ucspi-tcp \ status disabled /sbin/e-smith/db yum_repositories set jpackage-1.6-rhel4-free repository \ Name 'jpackage-1.6-rhel4-free' \ BaseURL 'http://mirrors.dotsrc.org/jpackage/1.6/redhat-el-4.0/free/' \ EnableGroups no \ GPGCheck yes \ GPGKey http://jpackage.org/jpackage.asc \ Visible yes \ status disabled /sbin/e-smith/db yum_repositories set jpackage-1.6-generic-free repository \ Name 'jpackage-1.6-generic-free' \ BaseURL 'http://mirrors.dotsrc.org/jpackage/1.6/generic/free/' \ EnableGroups no \ GPGCheck yes \ GPGKey http://jpackage.org/jpackage.asc \ Visible yes \ status disabled /sbin/e-smith/db yum_repositories set jpackage-1.6-generic-non-free repository \ Name 'jpackage-1.6-generic-non-free' \ BaseURL 'http://mirrors.dotsrc.org/jpackage/1.6/generic/non-free/' \ EnableGroups no \ GPGCheck yes \ GPGKey http://jpackage.org/jpackage.asc \ Visible yes \ status disabled /sbin/e-smith/db yum_repositories set silfreed repository \ Name 'Silfreed - EL4' \ BaseURL 'http://www.silfreed.net/download/repo/rhel/4/i386/silfreednet/' \ EnableGroups no \ GPGCheck yes \ GPGKey http://www.silfreed.net/download/pubkey.txt \ Visible yes \ status disabled /sbin/e-smith/db yum_repositories set dungog repository \ Name 'SME Server 7 - dungog' \ BaseURL 'http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/' \ EnableGroups yes \ GPGCheck no \ Visible yes \ status disabled /sbin/e-smith/db yum_repositories set c4-testing repository \ Name 'CentOS-4 Testing' \ BaseURL 'http://dev.centos.org/centos/4/testing/i386/' \ EnableGroups no \ GPGCheck yes \ GPGKey http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing \ Visible yes \ status disabled /sbin/e-smith/db yum_repositories set paulomatos repository \ Name 'Paulo Matos - RT 3.4.x' \ BaseURL 'http://campus.fct.unl.pt/paulomatos/rt/repository/3.4.x/' \ EnableGroups no \ GPGCheck no \ Visible yes \ status disabled /sbin/e-smith/db yum_repositories set chaapai repository \ Name 'SME Server - Chaapai contribs' \ BaseURL ftp://ftp.chaapai.homelinux.net/yum-smeserver/7.0pre1/smechaapai/i386/ \ EnableGroups no \ GPGCheck no \ Visible yes \ status disabled
After the above commands, do this:
expand-template /etc/yum.conf