Compare commits

..

41 commits

Author SHA1 Message Date
Troy Dawson
425535033a Tweak crb script. Add FORCE_DNF option
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2025-04-22 10:15:00 -07:00
Martin Hoyer
53b723b42a Add FORCE_DNF option to crb script
This is useful for testing, where subscription-manager might not
be fully configured.
2025-04-22 10:02:48 -07:00
Carl George
5cade1a93e Remove the use of $releasever rhbz#2219796 2024-11-27 20:11:05 -06:00
Troy Dawson
31d354c752 Tweak crb script. Fix for RHEL rhui repos (#2308671)
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2024-08-30 13:49:05 -07:00
Neal Gompa
3a30f9e7dd Fix typo to actually enable EPEL OpenH264 repo 2023-08-17 05:47:15 -04:00
Neal Gompa
f9f09ef74a Add EPEL OpenH264 repository (#2053295) 2023-08-15 15:03:20 -04:00
Troy Dawson
631a6701f1 Tweak crb script, check os-release for RHEL (#2186721) 2023-04-14 14:20:32 -07:00
Troy Dawson
a70326a276 Tweak crb script, Recommends dnf-command(config-manager) (#2115602) 2022-08-09 06:38:25 -07:00
Troy Dawson
3750a54112 Add crb script to allow users to --enable, --disable
or --status the CRB repo.

Signed-off-by: Troy Dawson <tdawson@redhat.com>
2022-06-29 14:18:56 -07:00
Carl George
65609096ed Enable epel9 repo files 2021-12-01 16:52:32 -06:00
Carl George
6b70e4bc57 Initial package for epel9-next 2021-10-11 12:43:50 -05:00
Kevin Fenzi
7aa72a94b7 epel-playground: add /tree to debug repo example.
Fixes https://pagure.io/epel/issue/120

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-04 10:26:07 -07:00
Mohan Boddu
a789d4f410 Change the baseurl to point to source/tree for srpms
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2021-09-03 11:27:00 -04:00
Kevin Fenzi
50e24524a9 Enable certbot-renew.timer ( rhbz#1986205 ) 2021-07-30 10:49:49 -07:00
Maxwell G
e48e79ee7c
Fixes spelling error
Signed-off-by: Maxwell G <gotmax@e.email>
2021-07-12 20:02:08 -05:00
Carl George
0bf1a81fdc Add epel-next-release subpackage 2021-06-03 04:37:19 -05:00
Kevin Fenzi
7b2d1272a8 Re-add commented out baseurls, change download to example and add note about using baseurls
Keep the commented out baseurl in the repo files, but make it a invalid
domain so people have to fill it in and add a note about metalink being
more secure.

This should allow people to still use sed to enable a baseurl for a
local mirror or whatever.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-01 15:51:40 -07:00
Miro Hrončok
06ecfc2e10 Update the text of GPL, especially the FSF address
See https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
See https://bugzilla.redhat.com/show_bug.cgi?id=1852583#c2
2020-12-16 14:18:52 +01:00
Miro Hrončok
cab5082e5f Move the license file from %doc to %license 2020-12-16 14:17:02 +01:00
Miro Hrončok
041f1b0024 Remove deprecated constructs 2020-12-16 14:16:40 +01:00
Miro Hrončok
9f03ce23e9 Replace $RPM_BUILD_ROOT with %{buildroot} 2020-12-16 14:15:42 +01:00
Miro Hrončok
fe154087fd Replace hardcoded /etc with %{_sysconfdir}
See https://bugzilla.redhat.com/show_bug.cgi?id=1852583#c2
2020-12-16 14:14:45 +01:00
Kevin Fenzi
f73269dee1 Add x509watch.timer enabled by default. Fixes bug #1901721 2020-12-05 13:12:26 -08:00
Kevin Fenzi
7436783da1 Add countme feature for epel. Fixes bug #1825984 2020-10-31 13:29:13 -07:00
Kevin Fenzi
ce09debe68 Enabled countme for epel8 repos - fixes bug 1825984
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-31 13:18:34 -07:00
Troy Dawson
a165aceeef remove package.cfg per new epel-playground policy 2020-09-24 17:10:32 +00:00
Merlin Mathesius
26af6a99d7 Add modular repos.
Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
2019-12-13 14:09:37 -06:00
Stephen Smoogen
ad94ea654d Remove failovermethod from EPEL8 tree. It is no longer needed. 2019-10-10 15:57:35 +00:00
Stephen Smoogen
9b32700e81 Change gpg key to use -8 versus -$releasever. This fixes bash problem 2019-09-16 21:06:59 +00:00
Stephen Smoogen
0398dcb08f Fix playground release to have os/ on its name [Kevin Fenzi]
Make sure all values of $release are $releasever
2019-08-06 18:16:10 +00:00
Kevin Fenzi
f2598f0371 epel-playground.repo: Need a /os/ at the end.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-08-05 10:57:50 -07:00
Stephen Smoogen
0995c916b7 Put in %dist into release 2019-08-01 22:08:03 +00:00
Pablo Greco
b59329d676 Use https in baseurl 2019-08-01 16:39:08 -03:00
Pablo Greco
5b8f9944f4 Remove epel-modules repo 2019-08-01 16:37:15 -03:00
Pablo Greco
9da52b4677 Update playground source url 2019-08-01 16:37:11 -03:00
Pablo Greco
2daff7c80b Use the correct dnf var for release 2019-08-01 16:36:55 -03:00
Stephen Smoogen
57036bfd91 Make sure that the key name is named correctly 2019-08-01 18:23:12 +00:00
Stephen Smoogen
a22cc24750 Fix docs
Make it so we only build epel-release against epel8
2019-08-01 16:51:53 +00:00
Stephen Smoogen
e98c609e48 Make baseurl paths match dl.fedoraproject.org
Add draft of epel8 packaging
2019-08-01 16:18:58 +00:00
Stephen Smoogen
e65f7f3d23 Update for RHEL-8
Add playground repo data
Clean out 90-epel.preset to make sure we dont override RHEL-8 items. Just add items in which EPEL needs.
2019-07-18 16:29:48 -04:00
Mohan Boddu
982f5c4c9f "Adding package.cfg file" 2019-07-18 09:17:12 -04:00
14 changed files with 483 additions and 145 deletions

View file

@ -1,5 +1,9 @@
# See https://docs.fedoraproject.org/en-US/packaging-guidelines/DefaultServices/
# for the Fedora policy. EPEL follows the same policy. The EPEL Steering
# Committee can approve exceptions to the policy, which will be defined in this
# file.
# Also see:
# https://fedoraproject.org/wiki/Starting_services_by_default
#
# https://bugzilla.redhat.com/show_bug.cgi?id=1901721
enable x509watch.timer
#
# https://bugzilla.redhat.com/show_bug.cgi?id=1986205
#
enable certbot-renew.timer

View file

@ -1,8 +1,16 @@
*****************************************************************************
The following copyright applies to the Red Hat Linux compilation and any
portions of Red Hat Linux it does not conflict with. Whenever this
policy does conflict with the copyright of any individual portion of Red Hat
Linux, it does not apply.
*****************************************************************************
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
<https://fsf.org/>
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@ -304,7 +312,8 @@ the "copyright" line and a pointer to where the full notice is found.
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, see <https://www.gnu.org/licenses/>.
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
@ -328,8 +337,8 @@ necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Moe Ghoul>, 1 April 1989
Moe Ghoul, President of Vice
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may

View file

@ -1,29 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBGV4X6kBEAC3eQxgiWuo08uc3mHo4ELux++uqTnYz/tJzEf9Ou3h36WnhumA
Nvs+Ts5h8PBx879Y9/aIX1Z20p1kf6tBCinZnEJu59n+TAAsph0+XQlV1l5YkleK
Z2ff/Fg65k8QcLXWaIGykA/FaKznRiSurGuD6tRGhJw7DawEwBJr8QZSkRUpnH1L
URW97Q/iKrRPiE5VEayE0y8eAL28jIIiFvR+4oJMzvCsRRB/2wYZ2MlJOW91hcYf
mbUoXKOBD5UzsJylu7kj25K/ge8rEJ7KicOOwcdYddxsU3DxGSSfwF8AMagENcm2
XROeXknjm84A8sNlUkFZBJwfuc7eRTiZGJrnQQVYLrkKj8Mxpq9Ts7hU51TqAWNI
uvGDlJdYNE3D2RMqjMEsZ8ej08Thrib6xslu4Nz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Wv20+ttYu1A5WvtHJPzwbj0U4yF
3zTQpBglQ2UfkRpYdipTlT3Ih6j5h2VmgRPtINCc/ZE28adrWpBoeFIS2YAKOCLC
nZYtHl2nCoLq1U7FSttUGsZ/t8uGCBgnugTfnIYcmlP1jKKA6RJAclK89evDQX5n
R9ZD+Cq3CBMlttvSTCht0qQVlwycedH8iWyYgP/mF0W35BIn7NuuZwWhgR00n/VG
4nbKPOzTWbsP45awcmivdrS74P6mL84WfkghipdmcoyVb1B8ZP4Y/Ke0RXOnLhNe
CfrXXvuW+Pvg2RTfwRDtehGQPAgXbmLmz2ZkV69RGIr54HJv84NDbqZovRTMr7gL
9k3ciCzXCiYQgM8yAyGHV0KEhFSQ1HV7gMnt9UmxbxBE2pGU7vu3CwjYga5DpwU7
w5wu1TmM5KgZtZvuWOTDnqDLf0cKoIbW8FeeCOn24elcj32bnQDuF9DPey1mqcvT
/yEo/Ushyz6CVYxN8DGgcy2M9JOsnmjDx02h6qgWGWDuKgb9jZrvRedpAQCeemEd
fhEs6ihqVxRFl16HxC4EVijybhAL76SsM2nbtIqW1apBQJQpXWtQwwdvgTVpdEtE
r4ArVJYX5LrswnWEQMOelugUG6S3ZjMfcyOa/O0364iY73vyVgaYK+2XtT2usMux
VL469Kj5m13T6w==
=Mjs/
-----END PGP PUBLIC KEY BLOCK-----

9
crb
View file

@ -1,14 +1,5 @@
#!/bin/bash
#
# Enable / Disable / Status the codeready-builder(CRB) or equivalent repo.
#
# Copyright (C) 2024
# SPDX-License-Identifier: GPL-2.0-only
#
# Authors:
# Troy Dawson <tdawson@redhat.com>
#
###############
# Show help

33
epel-cisco-openh264.repo Normal file
View file

@ -0,0 +1,33 @@
[epel-cisco-openh264]
name=Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - $basearch
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-cisco-openh264-9&arch=$basearch
type=rpm
enabled=1
metadata_expire=14d
repo_gpgcheck=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
skip_if_unavailable=True
[epel-cisco-openh264-debuginfo]
name=Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - $basearch - Debug
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-cisco-openh264-debug-9&arch=$basearch
type=rpm
enabled=0
metadata_expire=14d
repo_gpgcheck=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
skip_if_unavailable=True
[epel-cisco-openh264-source]
name=Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - $basearch - Source
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-cisco-openh264-source-9&arch=$basearch
type=rpm
enabled=0
metadata_expire=14d
repo_gpgcheck=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
skip_if_unavailable=True

30
epel-modular.repo Normal file
View file

@ -0,0 +1,30 @@
[epel-modular]
name=Extra Packages for Enterprise Linux Modular 9 - $basearch
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/9/Modular/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-modular-9&arch=$basearch&infra=$infra&content=$contentdir
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
[epel-modular-debuginfo]
name=Extra Packages for Enterprise Linux Modular 9 - $basearch - Debug
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/9/Modular/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-modular-debug-9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
gpgcheck=1
[epel-modular-source]
name=Extra Packages for Enterprise Linux Modular 9 - $basearch - Source
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/9/Modular/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-modular-source-9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
gpgcheck=1

30
epel-next-testing.repo Normal file
View file

@ -0,0 +1,30 @@
[epel-next-testing]
name=Extra Packages for Enterprise Linux 9 - Next - Testing - $basearch
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/testing/next/9/Everything/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-testing-next-9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
[epel-next-testing-debuginfo]
name=Extra Packages for Enterprise Linux 9 - Next - Testing - $basearch - Debug
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/testing/next/9/Everything/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-testing-next-debug-9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
gpgcheck=1
[epel-next-testing-source]
name=Extra Packages for Enterprise Linux 9 - Next - Testing - $basearch - Source
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/testing/next/9/Everything/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-testing-next-source-9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
gpgcheck=1

30
epel-next.repo Normal file
View file

@ -0,0 +1,30 @@
[epel-next]
name=Extra Packages for Enterprise Linux 9 - Next - $basearch
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/next/9/Everything/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-next-9&arch=$basearch&infra=$infra&content=$contentdir
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
[epel-next-debuginfo]
name=Extra Packages for Enterprise Linux 9 - Next - $basearch - Debug
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/next/9/Everything/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-next-debug-9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
gpgcheck=1
[epel-next-source]
name=Extra Packages for Enterprise Linux 9 - Next - $basearch - Source
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/next/9/Everything/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-next-source-9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
gpgcheck=1

30
epel-playground.repo Normal file
View file

@ -0,0 +1,30 @@
[epel-playground]
name=Extra Packages for Enterprise Linux 9 - Playground - $basearch
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/playground/9/Everything/$basearch/os/
metalink=https://mirrors.fedoraproject.org/metalink?repo=playground-epel9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
[epel-playground-debuginfo]
name=Extra Packages for Enterprise Linux 9 - Playground - $basearch - Debug
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/playground/9/Everything/$basearch/debug/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=playground-debug-epel9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
gpgcheck=1
[epel-playground-source]
name=Extra Packages for Enterprise Linux 9 - Playground - $basearch - Source
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/playground/9/Everything/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=playground-source-epel9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
gpgcheck=1

View file

@ -1,73 +1,100 @@
%bcond_without base
%bcond_without next
%bcond_without openh264
%bcond_with modular
%bcond_with playground
Name: epel-release
Version: 10
Release: %autorelease
Version: 9
Release: 10%{dist}
Summary: Extra Packages for Enterprise Linux repository configuration
# Most things in this package are not considered copyrightable. If that were
# true for everything in the package, the license identifier would be
# LicenseRef-Not-Copyrightable. However, the exception is the crb script,
# which is GPL-2.0-only. Per advice from Fedora Legal, we should use
# GPL-2.0-only as the license identifier for the package in this scenario.
# https://bugzilla.redhat.com/show_bug.cgi?id=2302438
License: GPL-2.0-only
License: GPLv2
# This is a EPEL maintained package which is specific to
# our distribution. Thus the source is only available from
# within this srpm.
URL: http://download.fedoraproject.org/pub/epel
Source0: http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-%{version}
Source1: GPL
Source100: epel.repo
Source101: epel-next.repo
Source102: epel-modular.repo
Source103: epel-playground.repo
Source104: epel-cisco-openh264.repo
Source200: epel-testing.repo
Source201: epel-next-testing.repo
Source202: epel-testing-modular.repo
# EPEL default preset policy (borrowed from fedora's 90-default.preset)
Source300: 90-epel.preset
# Add epel crb repo
Source301: crb
BuildArch: noarch
URL: https://epel.io
# keys
Source10: https://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-%{version}
# repo configs
Source20: epel.repo
Source21: epel-testing.repo
# preset policy
Source30: 90-epel.preset
# Add epel crb script
Source31: crb
# epel crb script is licensed GPL-2.0-only
Source32: GPL-2.0-only.txt
# The setup process for EPEL involves installing epel-release before the EPEL
# repository is available. For this to continue to work correctly, all
# dependencies of this package must be available from the default repositories.
# Notably, if weak dependencies of this package are not present at the time of
# installation, they will be skipped and never get installed.
# https://pagure.io/epel/issue/328
# This should only be installed on Enterprise Linux with the same major version
Requires: (redhat-release >= %{version} with redhat-release < %[%{version} + 1])
Requires: redhat-release >= %{version}
# epel-release is only for enterprise linux, not fedora
Conflicts: fedora-release
# crb needs config-manager to run
# But only recommend it, incase people do not need crb
Recommends: dnf-command(config-manager)
# SELinux policy modules related to EPEL
Recommends: (selinux-policy-extra if selinux-policy)
%if %{with next}
Recommends: (epel-next-release if centos-stream-release)
%endif
%description
This package contains the Extra Packages for Enterprise Linux (EPEL) repository
configuration and GPG key.
GPG key as well as configuration for yum.
%if %{with next}
%package -n epel-next-release
Summary: Extra Packages for Enterprise Linux Next repository configuration
Requires: %{name} = %{version}-%{release}
%description -n epel-next-release
This package contains the Extra Packages for Enterprise Linux (EPEL) Next
configuration for yum.
%endif
%prep
%setup -q -c -T
# Add epel crb script license
install -pm 644 %{SOURCE32} .
install -pm 644 %{SOURCE1} .
%install
# keys
install -Dp -m 0644 -t %{buildroot}%{_sysconfdir}/pki/rpm-gpg %{S:10}
# GPG Key
install -Dpm 644 %{SOURCE0} \
%{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-EPEL-%{version}
# repo configs
install -Dp -m 0644 -t %{buildroot}%{_sysconfdir}/yum.repos.d %{S:20} %{S:21}
# yum repo configs
install -dm 755 %{buildroot}%{_sysconfdir}/yum.repos.d
%if %{with base}
install -pm 644 %{SOURCE100} %{SOURCE200} %{buildroot}%{_sysconfdir}/yum.repos.d
%endif
%if %{with next}
install -pm 644 %{SOURCE101} %{SOURCE201} %{buildroot}%{_sysconfdir}/yum.repos.d
%endif
%if %{with modular}
install -pm 644 %{SOURCE102} %{SOURCE202} %{buildroot}%{_sysconfdir}/yum.repos.d
%endif
%if %{with playground}
install -pm 644 %{SOURCE103} %{buildroot}%{_sysconfdir}/yum.repos.d
%endif
%if %{with openh264}
install -pm 644 %{SOURCE104} %{buildroot}%{_sysconfdir}/yum.repos.d
%endif
# preset policy
install -Dp -m 0644 -t %{buildroot}%{_prefix}/lib/systemd/system-preset %{S:30}
# Add epel crb script
install -D -pm744 -t %{buildroot}%{_bindir} %{SOURCE31}
# systemd presets
install -pm 644 -D %{SOURCE300} %{buildroot}%{_prefix}/lib/systemd/system-preset/90-epel.preset
# Add epel crb repo
install -D -pm744 -t %{buildroot}%{_bindir} %{SOURCE301}
%post
# Doing a check to see if crb is enabled is as hard and resource intense as enabling or disabling crb.
@ -79,13 +106,149 @@ fi
%files
%license GPL-2.0-only.txt
%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-EPEL-%{version}
%license GPL
%if %{with base}
%config(noreplace) %{_sysconfdir}/yum.repos.d/epel.repo
%config(noreplace) %{_sysconfdir}/yum.repos.d/epel-testing.repo
%endif
%if %{with modular}
%config(noreplace) %{_sysconfdir}/yum.repos.d/epel-modular.repo
%config(noreplace) %{_sysconfdir}/yum.repos.d/epel-testing-modular.repo
%endif
%if %{with playground}
%config(noreplace) %{_sysconfdir}/yum.repos.d/epel-playground.repo
%endif
%if %{with openh264}
%config(noreplace) %{_sysconfdir}/yum.repos.d/epel-cisco-openh264.repo
%endif
%{_sysconfdir}/pki/rpm-gpg/*
%{_prefix}/lib/systemd/system-preset/90-epel.preset
%{_bindir}/crb
%if %{with next}
%files -n epel-next-release
%config(noreplace) %{_sysconfdir}/yum.repos.d/epel-next.repo
%config(noreplace) %{_sysconfdir}/yum.repos.d/epel-next-testing.repo
%endif
%changelog
%autochangelog
* Tue Apr 22 2025 Troy Dawson <tdawson@redhat.com> - 9-10
- Tweak crb script. Add FORCE_DNF option
* Thu Nov 28 2024 Carl George <carlwgeorge@fedoraproject.org> - 9-9
- Remove the use of $releasever rhbz#2219796
* Fri Aug 30 2024 Troy Dawson <tdawson@redhat.com> - 9-8
- Tweak crb script. Fix for RHEL rhui repos (#2308671)
* Thu Aug 17 2023 Neal Gompa <ngompa@fedoraproject.org> - 9-7
- Fix typo to actually enable EPEL OpenH264 repo
* Tue Aug 15 2023 Neal Gompa <ngompa@fedoraproject.org> - 9-6
- Add EPEL OpenH264 repository (#2053295)
* Fri Apr 14 2023 Troy Dawson <tdawson@redhat.com> - 9-5
- Tweak crb script, check os-release for RHEL (#2186721)
* Tue Aug 09 2022 Troy Dawson <tdawson@redhat.com> - 9-4
- Tweak crb script, Recommends dnf-command(config-manager) (#2115602)
* Wed Jun 29 2022 Troy Dawson <tdawson@redhat.com> - 9-3
- Add crb script
* Wed Dec 01 2021 Carl George <carl@george.computer> - 9-2
- Enable epel9 repo files
* Fri Oct 08 2021 Carl George <carl@redhat.com> - 9-1
- Initial package for epel9-next
* Fri Sep 03 2021 Mohan Boddu <mboddu@bhujji.com> - 8-13
- Change the baseurl to point to source/tree for srpms
* Fri Jul 30 2021 Kevin Fenzi <kevin@scrye.com> - 8-12
- Enable certbot-renew.timer ( rhbz#1986205 )
* Thu Jun 03 2021 Carl George <carl@george.computer> - 8-11
- Add epel-next-release subpackage
* Sat Dec 05 2020 Kevin Fenzi <kevin@scrye.com> - 8-10
- Add x509watch.timer enabled by default. Fixes bug #1901721
* Sat Oct 31 2020 Kevin Fenzi <kevin@scrye.com> - 8-9
- Add countme feature for epel. Fixes bug #1825984
* Fri Dec 13 2019 Merlin Mathesius <mmathesi@redhat.com> - 8-8%{dist}
- Add modular repos.
* Thu Oct 10 2019 Stephen Smoogen <smooge@fedoraproject.org> - 8-7%{dist}
- Remove failovermethod from EPEL8 tree. It is no longer needed.
* Mon Sep 16 2019 Stephen Smoogen <smooge@fedoraproject.org> - 8-6%{dist}
- Change gpg key to use -8 versus -$releasever. This fixes bash problem
* Tue Aug 6 2019 Stephen Smoogen <smooge@fedoraproject.org> - 8-5%{dist}
- Fix playground release to have os/ on its name [Kevin Fenzi]
- Make sure all values of $release are $releasever
* Thu Aug 1 2019 Pablo Greco <pgreco@centosproject.org> - 8-4
- Use the correct var for dnf to expand
- Update playground source url
- Remove epel-modules repo
- Use https in baseurl
* Thu Aug 1 2019 Stephen Smoogen <smooge@fedoraproject.org> - 8-3
- Make sure that the key name is named correctly
* Thu Aug 1 2019 Stephen Smoogen <smooge@fedoraproject.org> - 8-2
- Make baseurl paths match dl.fedoraproject.org
- Add draft of epel8 packaging
- Fix docs
* Thu Jul 18 2019 Stephen Smoogen <smooge@smoogen-laptop.localdomain> - 8-1
- Update for RHEL-8
- Add playground repo data
- Clean out 90-epel.preset to make sure we dont override RHEL-8 items. Just add items in which EPEL needs.
* Mon Oct 02 2017 Kevin Fenzi <kevin@scrye.com> - 7-11
- Add Conflicts on fedora-release to prevent people from installing on Fedora systems. Fixes bug #1497702
* Sat Jun 24 2017 Kevin Fenzi <kevin@scrye.com> - 7-10
- Change mirrorlist= in repo files to be metalink= (as thats what they are). Fixes bug #1451212
* Tue Dec 27 2016 Kevin Fenzi <kevin@scrye.com> - 7-9
- Add preset for drbdlinks package. Fixes bug #1405744
* Sat Jul 23 2016 Kevin Fenzi <kevin@scrye.com> - 7-8
- Drop duplicate libstoragemgmt from presets. Fixes bug #1358971
* Fri Jun 03 2016 Kevin Fenzi <kevin@scrye.com> - 7-7
- Drop initial-setup from presets. Fixes bug #1342511
* Wed Mar 30 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 7-6
- Remove macros.epel; let epel-rpm-macros handle it instead.
* Tue Nov 25 2014 Rex Dieter <rdieter@fedoraproject.org> 7-5
- fix typo in macros.epel
* Fri Nov 21 2014 Rex Dieter <rdieter@fedoraproject.org> 7-4
- add systemd 90-epel.preset
* Fri Nov 21 2014 Rex Dieter <rdieter@fedoraproject.org> 7-3
- implement %%epel macro
* Tue Sep 02 2014 Kevin Fenzi <kevin@scrye.com> 7-2
- Make repo files config(noreplace). Fixes bug #1135576
* Thu Aug 28 2014 Dennis Gilmore <dennis@ausil.us> - 7-1
- enable gpg checking now we are out of beta
* Wed Jun 18 2014 Kevin Fenzi <kevin@scrye.com> 7-0.2
- Drop unneeded up2date post/postun
- Fixed up description.
- Fixes bugs #1052434 and #1093918
* Mon Dec 16 2013 Dennis Gilmore <dennis@ausil.us> - 7-0.1
- initial epel 7 build. gpg cheking is disabled

30
epel-testing-modular.repo Normal file
View file

@ -0,0 +1,30 @@
[epel-testing-modular]
name=Extra Packages for Enterprise Linux Modular 9 - Testing - $basearch
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/testing/9/Modular/$basearch
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-modular-epel9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
[epel-testing-modular-debuginfo]
name=Extra Packages for Enterprise Linux Modular 9 - Testing - $basearch - Debug
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/testing/9/Modular/$basearch/debug
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-modular-debug-epel9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
gpgcheck=1
[epel-testing-modular-source]
name=Extra Packages for Enterprise Linux Modular 9 - Testing - $basearch - Source
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/testing/9/Modular/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-modular-source-epel9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
gpgcheck=1

View file

@ -1,36 +1,30 @@
[epel-testing]
name=Extra Packages for Enterprise Linux $releasever - Testing - $basearch
name=Extra Packages for Enterprise Linux 9 - Testing - $basearch
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/testing/$releasever${releasever_minor:+z}/Everything/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel${releasever_minor:+-z}-testing-$releasever&arch=$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever_major
gpgcheck=1
repo_gpgcheck=0
metadata_expire=24h
countme=1
#baseurl=https://download.example/pub/epel/testing/9/Everything/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-epel9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
[epel-testing-debuginfo]
name=Extra Packages for Enterprise Linux $releasever - Testing - $basearch - Debug
name=Extra Packages for Enterprise Linux 9 - Testing - $basearch - Debug
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/testing/$releasever${releasever_minor:+z}/Everything/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel${releasever_minor:+-z}-testing-debug-$releasever&arch=$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever_major
gpgcheck=1
repo_gpgcheck=0
metadata_expire=24h
#baseurl=https://download.example/pub/epel/testing/9/Everything/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
gpgcheck=1
[epel-testing-source]
name=Extra Packages for Enterprise Linux $releasever - Testing - $basearch - Source
name=Extra Packages for Enterprise Linux 9 - Testing - $basearch - Source
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/testing/$releasever${releasever_minor:+z}/Everything/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel${releasever_minor:+-z}-testing-source-$releasever&arch=source
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever_major
gpgcheck=1
repo_gpgcheck=0
metadata_expire=24h
#baseurl=https://download.example/pub/epel/testing/9/Everything/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
gpgcheck=1

View file

@ -1,36 +1,30 @@
[epel]
name=Extra Packages for Enterprise Linux $releasever - $basearch
name=Extra Packages for Enterprise Linux 9 - $basearch
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/$releasever${releasever_minor:+z}/Everything/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel${releasever_minor:+-z}-$releasever&arch=$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever_major
gpgcheck=1
repo_gpgcheck=0
metadata_expire=24h
countme=1
#baseurl=https://download.example/pub/epel/9/Everything/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-9&arch=$basearch&infra=$infra&content=$contentdir
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
[epel-debuginfo]
name=Extra Packages for Enterprise Linux $releasever - $basearch - Debug
name=Extra Packages for Enterprise Linux 9 - $basearch - Debug
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/$releasever${releasever_minor:+z}/Everything/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel${releasever_minor:+-z}-debug-$releasever&arch=$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever_major
gpgcheck=1
repo_gpgcheck=0
metadata_expire=24h
#baseurl=https://download.example/pub/epel/9/Everything/$basearch/debug/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
gpgcheck=1
[epel-source]
name=Extra Packages for Enterprise Linux $releasever - $basearch - Source
name=Extra Packages for Enterprise Linux 9 - $basearch - Source
# It is much more secure to use the metalink, but if you wish to use a local mirror
# place its address here.
#baseurl=https://download.example/pub/epel/$releasever${releasever_minor:+z}/Everything/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel${releasever_minor:+-z}-source-$releasever&arch=source
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$releasever_major
gpgcheck=1
repo_gpgcheck=0
metadata_expire=24h
#baseurl=https://download.example/pub/epel/9/Everything/source/tree/
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-9&arch=$basearch&infra=$infra&content=$contentdir
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
gpgcheck=1