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 at 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. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA
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 at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Nick Smith Sent: Tuesday, May 16, 2006 1:07 PM To: centos at 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 at centos.org http://lists.centos.org/mailman/listinfo/centos
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. > > NickIf 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20060516/0b3e3208/attachment-0002.sig>
On 5/16/06, Johnny Hughes <mailing-lists at 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 at centos.org > http://lists.centos.org/mailman/listinfo/centos > > >thank you!
Seemingly Similar Threads
- CentOS-3 i386 errata: Updated Squid package fixes security issues
- Samba 3 beta 3 helpers and squid?
- Informal HOWTO - transparent authentication and optional outbound web filtering using Samba 3.0.13, Squid 2.5.STABLE7, SmartFilter 4.01, RedHat 9.0 in a Win2003 AD domain
- IE improperly prompts for credentials; ntlm_auth with Samba 3.0.13, Squid 2.5.STABLE7, RedHat Linux 9.0, SmartFilter 4.01
- Squid memory leaks in -stable using libc malloc