Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100569 - libspf2-1.2.5 installs broken spf_server.h
Summary: libspf2-1.2.5 installs broken spf_server.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Colin Morey (RETIRED)
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2005-07-28 02:57 UTC by Sheldon Hearn
Modified: 2006-03-06 14:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
libspf2-1.2.5-r1.ebuild (libspf2-1.2.5-r1.ebuild,1.19 KB, text/plain)
2005-07-28 02:59 UTC, Sheldon Hearn
Details
files/patch-libspf2-1.2.5-nointernal (patch-libspf2-1.2.5-nointernal,384 bytes, patch)
2005-07-28 03:00 UTC, Sheldon Hearn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sheldon Hearn 2005-07-28 02:57:32 UTC
The libspf2-1.2.5 package installs a broken spf_server.h, which tries to  
#include spf_dns_internal.h, which is explicitly excluded by the instal ltarget  
(and rightly so).  
  
The solution observed on several lists appears to be to comment out this  
unwanted #include.  Certainly, this fixes its suitability for at least postfix  
and Exim.   

Reproducible: Always
Steps to Reproduce:
1. Install libspf2-1.2.5. 
2. Compile any code that tries to #include spf_server.h 
3. Observe the compile failure. 
 
Actual Results:  
In file included from /usr/local/include/spf2/spf.h:27,  
 from spf.h:13,  
 from exim.h:400,  
 from exim_dbmbuild.c:33:  
 /usr/local/include/spf2/spf_server.h:23:30: spf_dns_internal.h: No  
such file or directory 

Expected Results:  
Clean compile. 

I'll attach an ebuild and patch that address the problem.
Comment 1 Sheldon Hearn 2005-07-28 02:59:40 UTC
Created attachment 64508 [details]
libspf2-1.2.5-r1.ebuild

Requires files/patch-libspf2-1.2.5-nointernal
Comment 2 Sheldon Hearn 2005-07-28 03:00:32 UTC
Created attachment 64509 [details, diff]
files/patch-libspf2-1.2.5-nointernal
Comment 3 Colin Morey (RETIRED) gentoo-dev 2005-07-28 03:41:35 UTC
thanks for this patch, I've not been able to get around to implementing the fix
myself, expect an update in the tree soon (hopefully tonight GMT)
Comment 4 Colin Morey (RETIRED) gentoo-dev 2005-07-30 03:21:12 UTC
updated -r1 is now in the tree.
Comment 5 Colin Morey (RETIRED) gentoo-dev 2006-03-06 14:16:14 UTC
Closing, as there's no further new issues.