ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/curl.spec
Revision: 1.18
Committed: Fri Aug 27 19:26:02 2010 UTC (14 years, 8 months ago) by elmer
Branch: MAIN
CVS Tags: builder_2011-09-25_13-08-30_CmsTC, builder_2011-09-22_19-07-05_CmsTC, builder_2011-09-21_19-43-30_CmsTC, builder_2011-09-21_10-25-16_CmsTC, builder_2011-09-20_13-03-45_CmsTC, builder_2011-09-20_12-03-56_CmsTC, builder_2011-08-11_12-11-35_CmsTC, builder_2011-06-23_18-03-57_CmsTC, builder_2011-05-20_16-46-52_crab-server, builder_2011-05-16_23-03-55_CmsTC, builder_2011-03-31_13-06-26_crab-server, builder_2011-03-28_17-53-57_crab-server, TW20110307a, FILEMOVER_20110304_slc5_amd64_gcc434, FILEMOVER_20110303_slc5_amd64_gcc434, FILEMOVER_20110302_slc5_amd64_gcc434_v3, FILEMOVER_20110302_slc5_amd64_gcc434_v2, FILEMOVER_20110302_slc5_amd64_gcc434, FILEMOVER_20110301_slc5_amd64_gcc434, builder_2011-02-28_14-23-32_wmagent, TW20110228a, WMCORE_0_6_12, CmsTC_0_0_3, CmsTC_0_0_2, TW20110210a, FILEMOVER_20110210_slc5_amd64_gcc434, builder_2011-02-09_14-27-53_crab-server, builder_2011-02-08_23-13-23_cmsweb, HG1102d, TW20110209a, TW20110208a, builder_2011-02-08_07-34-50_cmsweb, HG1102c, TW20110207c, TW20110207b, TW20110207a, TW20110204a, builder_2011-02-03_23-45-44_CmsTC, builder_2011-02-03_19-04-46_PHEDEX-combined-agents, builder_2011-02-02_21-14-00_cmsweb, builder_2011-02-02_16-24-27_T0Mon, TW20110202c, TW20110202b, TW20110202a, TW20110201a, builder_2011-02-01_18-11-58_cmsweb, builder_2011-01-31_16-44-33_dbs-client, builder_2011-01-31_15-26-15_T0DataSvc, TW20110128a, builder_2011-01-25_14-26-56_cmsweb, builder_2011-01-20_18-59-54_cmsweb, HG1102b, WMAGENT_0_6_9, TW20110117d, TW20110117c, TW20110117b, TW20110117a, TW20110116b, TW20110116a, TW20110106a, WMAGENT_0_6_8, WMAGENT_0_6_7, FILEMOVER_20110111_slc5_amd64_gcc434_v3, builder_2011-01-11_18-44-26_das, FILEMOVER_20110111_slc5_amd64_gcc434_v2, FILEMOVER_20110111_slc5_amd64_gcc434, pe20110110-ports, sm110110-for311X, builder_2011-01-07_19-51-48_wmagent, TW20110107a, pe20110107e-for311Xrb, pe20110107d-for311Xrb, pe20110107c-for311Xrb, pe20110106b-for311Xrb, tw20110106a, pe20110106a-for311Xrb, pe20110105e-for311Xrb, pe20110105d-for311Xrb, pe20110105c-for311Xrb, pe20110105b-for311Xrb, pe20110105a-for311Xrb, FILEMOVER_20101219_slc5_amd64_gcc434, FILEMOVER_20101217_slc5_amd64_gcc434_v4, FILEMOVER_20101217_slc5_amd64_gcc434_v3, FILEMOVER_20101217_slc5_amd64_gcc434_v2, FILEMOVER_20101217_slc5_amd64_gcc434, pe20101217a-for310Xrb, FILEMOVER_20101216_slc5_amd64_gcc434, FILEMOVER_20101215_slc5_amd64_gcc434_v3, builder_2010-12-15_18-43-30_dbs-web, FILEMOVER_20101215_slc5_amd64_gcc434_v2, pe20101215a-for310Xrb, pe20101214b-for310Xrb, pe20101214a-for310Xrb, pe20101213a-for310Xrb, WMAGENT_0_6_3, pe20101208c-for310Xrb, pe20101208b-for310Xrb, pe20101208a-for310Xrb, builder_2010-12-07_11-03-17_dbs3, builder_2010-12-06_12-51-53_wmagent, builder_2010-12-06_12-09-48_wmagent, builder_2010-12-06_11-15-04_cmsweb, builder_2010-12-06_11-04-10_base, HG1102a, WMAGENT_0_6_2, builder_2010-12-03_12-25-37_wmagent, builder_2010-12-02_16-48-32_T0Mon, WMAGENT_0_6_0, pe20101202a-for310Xrb, builder_2010-12-01_12-37-20_das, pe20101130a-for310Xrb, pe20101125f-for310Xrb, pe20101125e-for310Xrb, pe20101125d-for310Xrb, pe20101125c-for310Xrb, pe20101125b-for310Xrb, pe20101125a-for310Xrb, builder_2010-11-22_10-12-52_cmsweb, builder_2010-11-22_09-56-39_base, builder_2010-11-21_19-58-50_cmsweb, HG1012b, builder_2010-11-19_02-05-02_reqmgr, builder_2010-11-18_15-59-24_plotfairy, builder_2010-11-16_21-02-45_fmws, builder_2010-11-15_13-43-19_cmsweb, builder_2010-11-15_13-30-17_base, HG1012a, pe20101114a-for310Xrb, pe20101111a-for310Xrb, ge20101109, pe20101108d-for310Xrb, pe20101108c-for310Xrb, pe20101108b-for310Xrb, pe20101108a-for310Xrb, pe20101105b-for310Xrb, pe20101105a-for310Xrb, pe20101104c-for310Xrb, pe20101104b-for310Xrb, pe20101104a-for310Xrb, pe20101103e-for310Xrb, pe20101103d-for310Xrb, pe20101103c-for310Xrb, pe20101103b-for310Xrb, pe20101103a-for310Xrb, pe20101102e-for310Xrb, pe20101102d-for310Xrb, pe20101102c-for310Xrb, pe20101102b-for310Xrb, pe20101102a-for310Xrb, pe20101029a-for310Xrb, pe20101028a-for310Xrb, builder_2010-10-26_11-57-34_cmsweb, pe20101025c-for310Xrb, pe20101025b-for310Xrb, pe20101025a-for310Xrb, HG1010b, builder_2010-10-14_21-05-56_dbs-web, builder_2010-10-14_19-27-10_cmsweb, builder_2010-10-14_16-43-12_dbs-web, builder_2010-10-14_13-05-47_cmsweb, builder_2010-10-13_22-48-08_cmsweb, builder_2010-10-13_17-02-42_dbs-web, builder_2010-10-13_13-04-14_dbs-apps, builder_2010-10-13_12-53-04_dbs-web, builder_2010-10-13_11-09-00_base, builder_2010-10-12_18-32-05_base, HG1010a, builder_2010-10-11_18-46-10_base, pe20101011f-for39Xrb, pe20101011e-for39Xrb, pe20101011d-for39Xrb, HG1010pre4, pe20101011c-for39Xrb, HG1010pre3, pe20101011b-for39Xrb, pe20101011a-for39Xrb, pe20101008c-for39Xrb, pe20101008b-for39Xrb, pe20101008a-for39Xrb, HG1010pre2, HG1010pre1, pe20101005a-for39Xrb, pe20101004a-for39Xrb, pe20101001b-for39Xrb, pe20101001a-for39Xrb, pe20100930c-for39Xrb, pe20100930b-for39Xrb, pe20100930a-for39Xrb, pe20100925a-for39Xrb, pe20100924b-for39Xrb, pe20100924a-for39Xrb, pe20100923c-for39Xrb, pe20100923b-for39Xrb, pe20100923a-for39Xrb, pe20100922b-for39Xrb, pe20100922a-for39Xrb, HG1009c, HG1009b, HG1009a, dg-base-rev21, pe20100908b-for39Xrb, pe20100908a-for39Xrb, pe20100907c-for39Xrb, pe20100907b-for39Xrb, pe20100907a-for39Xrb, pe20100906a-for39Xrb, pe20100902a-for39Xrb, pe20100901b-for39Xrb, pe20100901a-for39Xrb, pe20100830c-for39Xrb, pe20100830b-for39Xrb, pe20100830a-for39Xrb, pe20100829a-for39Xrb, pe20100827a-for39Xrb
Changes since 1.17: +4 -2 lines
Log Message:
  - Remove dependence on openldap which was added in version 7.20.0. This
    may or may not be needed for COMP packages, but it isn't obvious why
    it is needed for CMSSW. I believe that it was also not properly
    configured.
  - Make a kludgey patch whose result should be to add -lrt to the link
    list for the curl binary. This is needed for the gold linker, which
    requires direct link dependencies to be linked directly/explicitly
    rather than indirectly through other libraries.

File Contents

# User Rev Content
1 diego 1.16 ### RPM external curl 7.20.0
2 elmer 1.8 Source: http://curl.haxx.se/download/%n-%realversion.tar.gz
3 diego 1.16 Provides: libcurl.so.3()(64bit)
4 elmer 1.8
5     %prep
6     %setup -n %n-%{realversion}
7 eulisse 1.1
8     %build
9 elmer 1.18 ./configure --prefix=%i --without-libidn --disable-crypto-auth --disable-ldap --without-ssl
10     # This should change link from "-lz" to "-lrt -lz", needed by gold linker
11     # This is a fairly ugly way to do it, however.
12     perl -p -i -e "s!\(LIBS\)!(LIBCURL_LIBS)!" src/Makefile
13 eulisse 1.1 make %makeprocesses
14 muzaffar 1.10
15     %install
16     make install
17 diego 1.16 cd %i/lib
18     ln -s libcurl.so libcurl.so.3
19 muzaffar 1.10
20 eulisse 1.2 %post
21     %{relocateConfig}bin/curl-config