Skip to content

Instantly share code, notes, and snippets.

@jfinstrom
Created May 14, 2020 18:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfinstrom/f052f0cd730876e8c7a7c81445fa8698 to your computer and use it in GitHub Desktop.
Save jfinstrom/f052f0cd730876e8c7a7c81445fa8698 to your computer and use it in GitHub Desktop.
FreePBX Yum Repos
## TO USE
## Place these contents in /etc/yum.repos.d/sangoma-freepbx.repo
## run: echo 7 > /etc/yum/vars/customver
# This is the standard Sangoma Yum Repository
[sng-base]
name=Sangoma-$customver - Base
mirrorlist=http://mirrorlist.sangoma.net/?release=$customver&arch=$basearch&repo=os&dist=$dist&staging=$staging
#baseurl=http://package1.sangoma.net/os/$customver/os/x86_64/
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Sangoma-7
[sng-updates]
name=Sangoma-$customver - Updates
mirrorlist=http://mirrorlist.sangoma.net/?release=$customver&arch=$basearch&repo=updates&dist=$dist&staging=$staging
#baseurl=http://package1.sangoma.net/os/$customver/updates/x86_64/
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Sangoma-7
[sng-extras]
name=Sangoma-$customver - Extras
mirrorlist=http://mirrorlist.sangoma.net/?release=$customver&arch=$basearch&repo=extras&dist=$dist&staging=$staging
#baseurl=http://package1.sangoma.net/os/$customver/extras/x86_64/
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Sangoma-7
[sng-pkgs]
name=Sangoma-$customver - Sangoma Open Source Packages
mirrorlist=http://mirrorlist.sangoma.net/?release=$customver&arch=$basearch&repo=sng7&dist=$dist&staging=$staging
#baseurl=http://package1.sangoma.net/sng7/sng7
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Sangoma-7
[sng-epel]
name=Sangoma-$customver - Sangoma Epel mirror
mirrorlist=http://mirrorlist.sangoma.net/?release=$customver&arch=$basearch&repo=epel&dist=$dist&staging=$staging
#baseurl=http://package1.sangoma.net/sng7/epel
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
[sng-commercial]
name=Sangoma-$customver - Commercial Modules
mirrorlist=http://mirrorlist.sangoma.net/?release=$customver&arch=$basearch&repo=commercial&dist=$dist
#baseurl=http:/package1.sangoma.net/sng7/$customver/commercial/$basearch/
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Sangoma-7
enabled=0
# Sangoma-CR.repo
#
# The Continuous Release ( CR ) repository contains rpms that are due in the next
# release for a specific Sangoma Linux Version ( eg. next release in Sangoma-7 );
# these rpms are far less tested, with no integration checking or update path
# testing having taken place. They are still built from the upstream sources, but
# might not map to an exact upstream distro release.
#
# These packages are made available soon after they are built, for people willing
# to test their environments, provide feedback on content for the next release, and
# for people looking for early-access to next release content.
#
# The CR repo is shipped in a disabled state by default; its important that users
# understand the implications of turning this on.
#
# NOTE: We do not use a mirrorlist for the CR repos, to ensure content is available
# to everyone as soon as possible, and not need to wait for the external
# mirror network to seed first. However, many local mirrors will carry CR repos
# and if desired you can use one of these local mirrors by editing the baseurl
# line in the repo config below.
#
[sng-cr]
name=Sangoma-$customver - cr
baseurl=http://package1.sangoma.net/sng7/$customver/cr/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0
[fasttrack]
name=Sangoma-7 - fasttrack
mirrorlist=http://mirrorlist.sangoma.net/?release=$customver&arch=$basearch&repo=fasttrack&dist=$dist
#baseurl=http:/package1.sangoma.net/sng7/$customver/fasttrack/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
# Sangoma-Media.repo
#
# This repo can be used with mounted DVD media, verify the mount point for
# Sangoma-7. You can use this repo and yum to install items directly off the
# DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
# yum --enablerepo=sng7-media [command]
#
# or for ONLY the media repo, do this:
#
# yum --disablerepo=\* --enablerepo=sng7-media [command]
[sng7-media]
name=Sangoma-$customver - Media
baseurl=file:///media/Sangoma/
file:///media/cdrom/
file:///media/cdrecorder/
gpgcheck=0
enabled=0
# Source RPM Repositories
[src-sng]
name=SRPMs for Sanoma specific packages
baseurl=http://sng7.com/src
gpgcheck=0
enabled=0
[src-sng-os]
name=SRPMs for Sanoma OS
baseurl=http://sng7.com/sng7/src/os
gpgcheck=0
enabled=0
[src-sng-updates]
name=SRPMs for Sanoma Updates
baseurl=http://sng7.com/sng7/src/updates
gpgcheck=0
enabled=0
[src-sng-epel]
name=SRPMs for Epel Packages
baseurl=http://sng7.com/sng7/src/epel
gpgcheck=0
enabled=0
# This is loaded and enabled with the 'sangoma-devel' RPM
[sng7-testing]
name=Sangomga-$customver - Staging
baseurl=http://package1.sangoma.net/sng7/testing/
gpgcheck=0
enabled=1
[sng7-debuginfo]
name=Sangomga-$customver - Debug packages
baseurl=http://package1.sangoma.net/sng7/debuginfo/
gpgcheck=0
enabled=1
[centos7-debuginfo]
name=CentOS-7 - Debuginfo
baseurl=http://debuginfo.centos.org/7/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Debug-7
enabled=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment