You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by "Williamson, Brad" <Br...@disney.com> on 2014/01/24 23:22:21 UTC

Is there a spec file available for 4.1.x?

I can get the 4.1.x and 3.2.x versions built and installed just fine, but I've been rather unsuccessful locating any .spec files to build rpms with. Yes, I need to build rpms for internal deployment with Chef. Trying to bodge together a full compile as an automated install just isn't going to fly.

I've cobbled together one for each major version from Harald's email chains and am getting further and further but I'm tired of hitting brick walls. I'm new to building rpm's, but have done tons of deb's, so I'm sure it's just a learning curve issue.

I'm sure that Zhao/Harald/Leif probably have a spec file squirreled away somewhere, but I couldn't find them anywhere in the GIT tree or any source downloads I've grabbed.

Having one for 3. And 4. Would be great, but I really need the 4.1.x version if anyone has one. And, as a related note, if there is documentation that tells how to build ATS into an rpm, it is cleverly concealed in a basement somewhere. There is a Jira ticket with a comment by Leif that says that the rpm packaging has been handled, but darned if I could find it.

I can post mine if anyone wants to take a swing at why it's broken, but I feel that is a hopeless task and would like to start with a clean/known good version.

Thanks!
Brad





Re: Is there a spec file available for 4.1.x?

Posted by "Williamson, Brad" <Br...@disney.com>.
Excellent! Thank you, I will give that a shot.

Brad


On 1/24/14 5:25 PM, "Reindl Harald" <h....@thelounge.net> wrote:

>http://koji.fedoraproject.org/koji/packageinfo?packageID=13558
>http://koji.fedoraproject.org/koji/buildinfo?buildID=491806
>http://kojipkgs.fedoraproject.org//packages/trafficserver/4.1.2/0.el7/src/
>trafficserver-4.1.2-0.el7.src.rpm
>
>just install the src.rpm, adapt it where needed and fire up rpmbuild
>or unpack the src.rpm (which is a archive by definition) and pull out
>the SPEC file
>
>Am 24.01.2014 23:22, schrieb Williamson, Brad:
>> I can get the 4.1.x and 3.2.x versions built and installed just fine,
>>but I've been rather unsuccessful locating
>> any .spec files to build rpms with. Yes, I need to build rpms for
>>internal deployment with Chef. Trying to bodge
>> together a full compile as an automated install just isn't going to fly.
>> 
>> I've cobbled together one for each major version from Harald's email
>>chains and am getting further and further but
>> I'm tired of hitting brick walls. I'm new to building rpm's, but have
>>done tons of deb's, so I'm sure it's just a
>> learning curve issue.
>> 
>> I'm sure that Zhao/Harald/Leif probably have a spec file squirreled
>>away somewhere, but I couldn't find them
>> anywhere in the GIT tree or any source downloads I've grabbed.
>> 
>> Having one for 3. And 4. Would be great, but I really need the 4.1.x
>>version if anyone has one. And, as a related
>> note, if there is documentation that tells how to build ATS into an
>>rpm, it is cleverly concealed in a basement
>> somewhere. There is a Jira ticket with a comment by Leif that says that
>>the rpm packaging has been handled, but
>> darned if I could find it.
>> 
>> I can post mine if anyone wants to take a swing at why it's broken, but
>>I feel that is a hopeless task and would
>> like to start with a clean/known good version.
>


Re: Is there a spec file available for 4.1.x?

Posted by Reindl Harald <h....@thelounge.net>.
if you have still troubles

* mention your exact envirnonment
* be sure *never* fire rpmbuild as root
* post complete outputs and the related SPEC state

these instructions might be helpful too
http://fedoraproject.org/wiki/How_to_create_an_RPM_package

Am 24.01.2014 23:25, schrieb Reindl Harald:
> http://koji.fedoraproject.org/koji/packageinfo?packageID=13558
> http://koji.fedoraproject.org/koji/buildinfo?buildID=491806
> http://kojipkgs.fedoraproject.org//packages/trafficserver/4.1.2/0.el7/src/trafficserver-4.1.2-0.el7.src.rpm
> 
> just install the src.rpm, adapt it where needed and fire up rpmbuild
> or unpack the src.rpm (which is a archive by definition) and pull out
> the SPEC file
> 
> Am 24.01.2014 23:22, schrieb Williamson, Brad:
>> I can get the 4.1.x and 3.2.x versions built and installed just fine, but I've been rather unsuccessful locating
>> any .spec files to build rpms with. Yes, I need to build rpms for internal deployment with Chef. Trying to bodge
>> together a full compile as an automated install just isn't going to fly.
>>
>> I've cobbled together one for each major version from Harald's email chains and am getting further and further but
>> I'm tired of hitting brick walls. I'm new to building rpm's, but have done tons of deb's, so I'm sure it's just a
>> learning curve issue.
>>
>> I'm sure that Zhao/Harald/Leif probably have a spec file squirreled away somewhere, but I couldn't find them
>> anywhere in the GIT tree or any source downloads I've grabbed.
>>
>> Having one for 3. And 4. Would be great, but I really need the 4.1.x version if anyone has one. And, as a related
>> note, if there is documentation that tells how to build ATS into an rpm, it is cleverly concealed in a basement
>> somewhere. There is a Jira ticket with a comment by Leif that says that the rpm packaging has been handled, but
>> darned if I could find it.
>>
>> I can post mine if anyone wants to take a swing at why it's broken, but I feel that is a hopeless task and would
>> like to start with a clean/known good version


Re: Is there a spec file available for 4.1.x?

Posted by Reindl Harald <h....@thelounge.net>.
http://koji.fedoraproject.org/koji/packageinfo?packageID=13558
http://koji.fedoraproject.org/koji/buildinfo?buildID=491806
http://kojipkgs.fedoraproject.org//packages/trafficserver/4.1.2/0.el7/src/trafficserver-4.1.2-0.el7.src.rpm

just install the src.rpm, adapt it where needed and fire up rpmbuild
or unpack the src.rpm (which is a archive by definition) and pull out
the SPEC file

Am 24.01.2014 23:22, schrieb Williamson, Brad:
> I can get the 4.1.x and 3.2.x versions built and installed just fine, but I've been rather unsuccessful locating
> any .spec files to build rpms with. Yes, I need to build rpms for internal deployment with Chef. Trying to bodge
> together a full compile as an automated install just isn't going to fly.
> 
> I've cobbled together one for each major version from Harald's email chains and am getting further and further but
> I'm tired of hitting brick walls. I'm new to building rpm's, but have done tons of deb's, so I'm sure it's just a
> learning curve issue.
> 
> I'm sure that Zhao/Harald/Leif probably have a spec file squirreled away somewhere, but I couldn't find them
> anywhere in the GIT tree or any source downloads I've grabbed.
> 
> Having one for 3. And 4. Would be great, but I really need the 4.1.x version if anyone has one. And, as a related
> note, if there is documentation that tells how to build ATS into an rpm, it is cleverly concealed in a basement
> somewhere. There is a Jira ticket with a comment by Leif that says that the rpm packaging has been handled, but
> darned if I could find it.
> 
> I can post mine if anyone wants to take a swing at why it's broken, but I feel that is a hopeless task and would
> like to start with a clean/known good version.