[Home]

Summary:ASTERISK-26981: contrib: Patch for install_prereq script to support correct packages for Fedora F25
Reporter:Said Masoud (saidmasoud)Labels:patch
Date Opened:2017-05-04 08:57:38Date Closed:2018-01-19 08:23:52.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Contrib/General
Versions:14.4.0 Frequency of
Occurrence
Related
Issues:
is duplicated byASTERISK-27598 [patch] install_prereq: Support package manager DNF.
is duplicated byASTERISK-27599 [patch] install_prereq: Update RHEL/CentOS/Fedora libraries.
Environment:OS: Fedora F25Attachments:( 0) install_prereq
Description:The instell_prereq script fails to run on Fedora, due to two minor package naming differences between RedHat/CentOS and Fedora. The two packages in question are (RH equivalent->Fedora equivalent):

* gmime22-devel -> gmime-devel
* radiusclient-ng-devel -> freeradius-client-devel

In addition, there is one additional package that is required for Asterisk to run properly on Fedora: redhat-rpm-config. I have created a patch to the install_prereq script which installs these three packages when Fedora is properly detected on the machine. With this patch, Asterisk can be successfully installed, configured, started, and used on a local machine running Fedora F25.

Steps to reproduce:

# Install Fedora F25
# Download Asterisk 14.4.0 tarball and extract
# run: './contrib/scripts/install_prereq install'

Patch will be attached.
Comments:By: Asterisk Team (asteriskteam) 2017-05-04 08:57:39.400-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Rusty Newton (rnewton) 2017-05-04 09:07:01.801-0500

Thanks Said, if you want to put the patch up on Gerrit[1] too, that would get things moving along quickly.

[1]: https://wiki.asterisk.org/wiki/display/AST/Gerrit+Usage

By: Said Masoud (saidmasoud) 2017-05-04 10:01:51.590-0500

Hi Rusty,

Thanks for the quick response. I am trying to log into Gerrit, but it appears that my Atlassian credentials have not yet synced to the Asterisk OpenID site.

By: Joshua C. Colp (jcolp) 2017-05-04 10:19:56.345-0500

In order to attach patches or log into Gerrit the license agreement has to be signed, until that is done and accepted neither can be done.

By: Said Masoud (saidmasoud) 2017-05-04 10:24:45.377-0500

Hi Joshua,

I have already signed the license agreement, and have attached the patch to this ticket:

https://issues.asterisk.org/jira/secure/attachment/55441/install_prereq

By: Rusty Newton (rnewton) 2017-05-05 11:02:53.189-0500

Thanks. At this point you should be able to proceed with [Gerrit|https://wiki.asterisk.org/wiki/display/AST/Gerrit+Usage] then. Let us know if you run into any issues with it.

By: Richard Mudgett (rmudgett) 2018-01-19 08:23:52.477-0600

Closing in favor of ASTERISK-27599