Curl Spec File

Home » CentOS » Curl Spec File
CentOS 7 Comments

Hi, I saw this spec file for curl-7.29:
https://git.CentOS.org/blob/rpms!curl.git/c7/SPECS!curl.spec

And was wondering if you have one for a later version. And if not, how hard is it to modify the existing one to support later versions.

Thanks!
Roee.

7 thoughts on - Curl Spec File

  • Thanks! I can try to modify that for my needs. Any idea where can I find a list of patches? I’ll look for CentOS specific ones that I might want to apply. The spec file you shared has a few upstream patches as well as Fedora specific ones. I wonder does one knows which patches should be applied to each release, do they publish it somewhere?

    Roee.

     >
    > Hi,
    > I saw this spec file for curl-7.29:
    > https://git.CentOS.org/blob/rpms!curl.git/c7/SPECS!curl.spec
    >
    > And was wondering if you have one for a later version.
    > And if not, how hard is it to modify the existing one to support later versions.

    There’s always the Fedora package’s spec file. It might have dependencies not in CentOS (I didn’t check) but it is often more recent.

    https://src.fedoraproject.org/rpms/curl/blob/master/f/curl.spec


    Jonathan Billings

  • Hi,

    You are being less than specific about the changes you want to make and this makes it very difficult for anyone to help. If you can be more specific of your needs, it would be appreciated.

    The fedora (recent) curl packages require newer RPM revisions than RHEL/CentOS 7
    has. Be prepared for some work if you wished to pluck from fedora and build for EL.

    Example of one is use of: RemovePathPostfixes

    Regards

    Phil

  • Please excuse me for not being specific.

    The change I want to make is pretty simple:
    Use a spec file to create an RPM for curl 7.63 with the following options applied at ‘configure’: ‘–with-ssl’ and ‘–without-nss’.

    I am currently trying to figure out which patches needs to be applied to 7.63 for CentOS. According to this: https://curl.haxx.se/docs/releases.html there are no known vulnerabilities to 7.63, so perhaps I don’t need any patches?
    > Thanks! I can try to modify that for my needs.
    > Any idea where can I find a list of patches? I’ll look for CentOS specific
    > ones that I might want to apply.
    > The spec file you shared has a few upstream patches as well as Fedora specific
    > ones. I wonder does one knows which patches should be applied to each release,
    > do they publish it somewhere?
    >
    > Roee.
    >

    Hi,

    You are being less than specific about the changes you want to make and this
    makes it very difficult for anyone to help. If you can be more specific of your
    needs, it would be appreciated.

    The fedora (recent) curl packages require newer RPM revisions than RHEL/CentOS 7
    has. Be prepared for some work if you wished to pluck from fedora and build for
    EL.

    Example of one is use of: RemovePathPostfixes

    Regards

    Phil