Re: Need help with making RPM from v2.x.x branch

2013-05-10 Thread Divyesh Raithatha
It appears that the created RPM doesn't include the TLV update that were made to the 2.x.x branch last week. Why wouldn't this be inlcuded in the RPM even though I am building the RPM with the current 2.x.x. source? Thanks. On Wed, May 8, 2013 at 5:42 PM, Divyesh Raithatha

Re: Need help with making RPM from v2.x.x branch

2013-05-10 Thread John Dennis
On 05/10/2013 12:05 PM, Divyesh Raithatha wrote: It appears that the created RPM doesn't include the TLV update that were made to the 2.x.x branch last week. Why wouldn't this be inlcuded in the RPM even though I am building the RPM with the current 2.x.x. source? Use the source Luke :-) I

Re: Need help with making RPM from v2.x.x branch

2013-05-08 Thread Raithatha, Divyesh
Thanks, I got past the README but now I am getting the following file not found errors. They do exist, however, it looks like the build is looking for version 2.2.0 of the library files yet they are listed as 2.2.1. error: File not found:

Re: Need help with making RPM from v2.x.x branch

2013-05-08 Thread Fajar A. Nugraha
On Wed, May 8, 2013 at 1:50 PM, Raithatha, Divyesh divyesh.raitha...@gmail.com wrote: Thanks, I got past the README but now I am getting the following file not found errors. They do exist, however, it looks like the build is looking for version 2.2.0 of the library files yet they are listed

Re: Need help with making RPM from v2.x.x branch

2013-05-08 Thread Phil Mayers
On 05/08/2013 08:19 AM, Fajar A. Nugraha wrote: %{_libdir}/freeradius/rlm_acct_unique-*.so FWIW this is the approach we usually take when packaging things; it seems pointless to me to embed version numbers into %files macros. I'm aware this is probably frowned on by some packaging

Re: Need help with making RPM from v2.x.x branch

2013-05-08 Thread John Dennis
On 05/08/2013 03:19 AM, Fajar A. Nugraha wrote: On Wed, May 8, 2013 at 1:50 PM, Raithatha, Divyesh divyesh.raitha...@gmail.com wrote: Thanks, I got past the README but now I am getting the following file not found errors. They do exist, however, it looks like the build is looking for version

Re: Need help with making RPM from v2.x.x branch

2013-05-08 Thread Divyesh Raithatha
Thanks everyone. Finally got the RPM build to work by doing the following: Version: 2.2.0 in the top of the freeradius.spec file to 2.2.1, and renaming source bz2 file to freeradius-server-2.2.1.tar.**bz2 Along with commenting out patches 2 and 5 #Patch2: freeradius-radtest.patch #Patch5:

Re: Need help with making RPM from v2.x.x branch

2013-05-07 Thread Fajar A. Nugraha
On Tue, May 7, 2013 at 3:35 AM, Divyesh Raithatha divyesh.raitha...@gmail.com wrote: to get past the patch error messages but I get another error below: + cp README /home/divtest/rpmbuild/BUILDROOT/freeradius-2.2.0-1.el6.x86_64//usr/share/doc/freeradius-2.2.0 Look at the spec file,

Re: Need help with making RPM from v2.x.x branch

2013-05-07 Thread Fajar A. Nugraha
On Tue, May 7, 2013 at 4:28 AM, John Dennis jden...@redhat.com wrote: These project maintained build configurations are best thought of as bleeding edge developer stuff. Make some change and you want to test on Fedora or Debian and need packages, then these build directories are the goto

Re: Need help with making RPM from v2.x.x branch

2013-05-07 Thread Alan DeKok
John Dennis wrote: Why does FreeRADIUS maintain build configurations for Red Hat and Debian? Part historical reasons. RPMs were difficult to find, and it was easier to include RPM scripts in the server. It also means it's easy for people to build custom RPMs. They can use an established

Re: Need help with making RPM from v2.x.x branch

2013-05-07 Thread John Dennis
On 05/07/2013 04:46 AM, Fajar A. Nugraha wrote: On Tue, May 7, 2013 at 4:28 AM, John Dennis jden...@redhat.com mailto:jden...@redhat.com wrote: These project maintained build configurations are best thought of as bleeding edge developer stuff. Make some change and you want to test

Need help with making RPM from v2.x.x branch

2013-05-06 Thread Divyesh Raithatha
Hello all, has anyone had success in building an RPM from the v2.x.x branch from http://git.freeradius.org? I am following the information from http://wiki.freeradius.org/guide/Red-Hat-FAQ On a CentOS 6.4 x64 system I was able to build an RPM from 2.2.0 source successfully but I want to get all

Re: Need help with making RPM from v2.x.x branch

2013-05-06 Thread John Dennis
On 05/06/2013 02:57 PM, Divyesh Raithatha wrote: Hello all, has anyone had success in building an RPM from the v2.x.x branch from http://git.freeradius.org? I am following the information from http://wiki.freeradius.org/guide/Red-Hat-FAQ On a CentOS 6.4 x64 system I was able to build an RPM from

Re: Need help with making RPM from v2.x.x branch

2013-05-06 Thread Alan DeKok
Divyesh Raithatha wrote: Hello all, has anyone had success in building an RPM from the v2.x.x branch from http://git.freeradius.org? That should work I am following the information from http://wiki.freeradius.org/guide/Red-Hat-FAQ On a CentOS 6.4 x64 system I was able to build an

Re: Need help with making RPM from v2.x.x branch

2013-05-06 Thread Divyesh Raithatha
Thanks Alan, I had to comment out both Patch 2 and 5 sections #%patch2 -p1 -b .radtest #%patch5 -p1 -b .radeapclient-ipv6 to get past the patch error messages but I get another error below: + cp README

Re: Need help with making RPM from v2.x.x branch

2013-05-06 Thread John Dennis
On 05/06/2013 04:09 PM, Alan DeKok wrote: Divyesh Raithatha wrote: Hello all, has anyone had success in building an RPM from the v2.x.x branch from http://git.freeradius.org? That should work I am following the information from http://wiki.freeradius.org/guide/Red-Hat-FAQ On a