how can i get the source rpms for the packages installed on my centos 3.6 server? is there a certain repositories i have to add to my yum.conf? Im trying to setup a filtering program "smartfilter" and they want me to point to the source for squid, which i cant seem to find. can anyone shed some light on this for me? someone i was talking to said that centos strips out the source to keep the bulk down, but i was hoping that wasnt the case.
thanks for any help.
Nick
On 5/16/06, Nick Smith nick.smith79@gmail.com wrote:
how can i get the source rpms for the packages installed on my centos 3.6 server? is there a certain repositories i have to add to my yum.conf? Im trying to setup a filtering program "smartfilter" and they want me to point to the source for squid, which i cant seem to find. can anyone shed some light on this for me? someone i was talking to said that centos strips out the source to keep the bulk down, but i was hoping that wasnt the case.
To build against squid, you should only need the squid-devel package. If you really do need srpms, you can get them on any centos mirror, but they aren't available via yum.
On 5/16/06, Jim Perrin jperrin@gmail.com wrote:
On 5/16/06, Nick Smith nick.smith79@gmail.com wrote:
how can i get the source rpms for the packages installed on my centos 3.6 server? is there a certain repositories i have to add to my yum.conf? Im trying to setup a filtering program "smartfilter" and they want me to point to the source for squid, which i cant seem to find. can anyone shed some light on this for me? someone i was talking to said that centos strips out the source to keep the bulk down, but i was hoping that wasnt the case.
To build against squid, you should only need the squid-devel package. If you really do need srpms, you can get them on any centos mirror, but they aren't available via yum.
how do i get the squid-devel package? yum seach squid-devel comes up with nothing, and i really dont want to add a 3rd party rpm into the mix for stability reasons. smartfilter needs be to point it to the source for squid so it can patch it for use with smartfilter, so would that be the devel package or the srpm that i need? Im unsure. and eventually this box will have lyris running on it as well, and it has enough problems of its own ;-)
thanks
Nick Smith wrote:
To build against squid, you should only need the squid-devel package. If you really do need srpms, you can get them on any centos mirror, but they aren't available via yum.
how do i get the squid-devel package? yum seach squid-devel comes up
There probably is no squid-devel. Whoever wrote the spec file for the RPM decides how to partition out the installable files generated by building the project. If the project does not seem to create libraries or include header files that other projects will want to touch, no -devel RPM is generated by the specfile.
It seems what you need is the SRPM: have a look in here:
http://mirror.linux.duke.edu/pub/centos/4.3/os/SRPMS/
-Andy
As a newbie I learned to bite the bullet and just google for RPM's I need. I found www.rpm.org and in the linux for dummies provides the site http://heidelberg.freshrpms.net which has a lot of RPMS to use. Good luck.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Nick Smith Sent: Tuesday, May 16, 2006 1:07 PM To: centos@centos.org Subject: [CentOS] source rpms
how can i get the source rpms for the packages installed on my centos 3.6 server? is there a certain repositories i have to add to my yum.conf? Im trying to setup a filtering program "smartfilter" and they want me to point to the source for squid, which i cant seem to find. can anyone shed some light on this for me? someone i was talking to said that centos strips out the source to keep the bulk down, but i was hoping that wasnt the case.
thanks for any help.
Nick _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Tue, 2006-05-16 at 13:53 -0500, Chris Peikert wrote:
As a newbie I learned to bite the bullet and just google for RPM's I need. I found www.rpm.org and in the linux for dummies provides the site http://heidelberg.freshrpms.net which has a lot of RPMS to use. Good luck.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Nick Smith Sent: Tuesday, May 16, 2006 1:07 PM To: centos@centos.org Subject: [CentOS] source rpms
how can i get the source rpms for the packages installed on my centos 3.6 server? <snip>
From rom Google's advanced search I used the "with all of the words" field thusly:
source rpms centos 3.6 site:CentOS
If returned 179 hits. I don't do sources myself, so I can't be more specific. But I *do* watch the lists and knw that many folks have provided the location(s) of the source rpms to similar queries in the past. I would suggest you pursue this path rather than going outside to strange rpms as your first step. It has been pointed out many times that this can lead to less stability than is inherent in an all-CentOS installation.
Hmmm. Also, have sou reviewed all the site docs? (FAQ or whatever is posted)? Maybe the answer is there. I've never had to go to a strange site for what I do (not bleeding edge or anything RAD).Plus, Add-ons, Rpmforge... does it for me.
HTH
On Tue, 2006-05-16 at 14:06 -0400, Nick Smith wrote:
how can i get the source rpms for the packages installed on my centos 3.6 server? is there a certain repositories i have to add to my yum.conf? Im trying to setup a filtering program "smartfilter" and they want me to point to the source for squid, which i cant seem to find.
There is no squid-devel file that contains the header (.h) files, etc. Not sure if their should be or not ... the spec file does not contain the rules to make one.
can anyone shed some light on this for me? someone i was talking to said that centos strips out the source to keep the bulk down, but i was hoping that wasnt the case.
CentOS (and the upstream provider ... and everyone else) strips their binaries of debuginfo ... that has nothing to do with building things or devel files.
thanks for any help.
Nick
If you want the patched source that the RPM is built from, do this (for centos-3 version of squid).
download the latest SRPM from here: http://mirror.centos.org/centos/3/os/SRPMS/squid-2.5.STABLE3-6.3E.16.src.rpm
install it (on a machine with rpm-build installed):
rpm -Uvh squid-2.5.STABLE3-6.3E.16.src.rpm
go to the SPEC directory ... the default is:
/usr/src/redhat/SPECS
issue the command:
rpmbuild -bp squid.spec
now go to the BUILD directory ... default is:
/usr/src/redhat/BUILD
your patched squid source will be in the directory named:
squid-2.5.STABLE3
If you need to know how it was configured ... edit the file squid.spec and look at the configure section.
Thanks, Johnny Hughes
On 5/16/06, Johnny Hughes mailing-lists@hughesjr.com wrote:
On Tue, 2006-05-16 at 14:06 -0400, Nick Smith wrote:
how can i get the source rpms for the packages installed on my centos 3.6 server? is there a certain repositories i have to add to my yum.conf? Im trying to setup a filtering program "smartfilter" and they want me to point to the source for squid, which i cant seem to find.
There is no squid-devel file that contains the header (.h) files, etc. Not sure if their should be or not ... the spec file does not contain the rules to make one.
can anyone shed some light on this for me? someone i was talking to said that centos strips out the source to keep the bulk down, but i was hoping that wasnt the case.
CentOS (and the upstream provider ... and everyone else) strips their binaries of debuginfo ... that has nothing to do with building things or devel files.
thanks for any help.
Nick
If you want the patched source that the RPM is built from, do this (for centos-3 version of squid).
download the latest SRPM from here: http://mirror.centos.org/centos/3/os/SRPMS/squid-2.5.STABLE3-6.3E.16.src.rpm
install it (on a machine with rpm-build installed):
rpm -Uvh squid-2.5.STABLE3-6.3E.16.src.rpm
go to the SPEC directory ... the default is:
/usr/src/redhat/SPECS
issue the command:
rpmbuild -bp squid.spec
now go to the BUILD directory ... default is:
/usr/src/redhat/BUILD
your patched squid source will be in the directory named:
squid-2.5.STABLE3
If you need to know how it was configured ... edit the file squid.spec and look at the configure section.
Thanks, Johnny Hughes
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQBEalGSTKkMgmrBY7MRAqBfAKCV6E4AN13VtwH4gY3WKH4snN79zwCdFBdL 5bHreJ/sDn5Ou2ToAPDs3lg= =R/Qu -----END PGP SIGNATURE-----
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
thank you!