Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414857 - net-firewall/iptables-1.4.12.1-r1 and -1.4.13: hack to use saner kernel-headers should be replaced by compile option --with-ksource
Summary: net-firewall/iptables-1.4.12.1-r1 and -1.4.13: hack to use saner kernel-heade...
Status: RESOLVED DUPLICATE of bug 276737
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-05-06 11:32 UTC by cilly
Modified: 2013-04-27 17:46 UTC (History)
1 user (show)

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


Attachments
diff of iptables-1.4.12.1-r1.ebuild using ksource instead of remaking include/linux/{kernel,types}.h (iptables-1.4.12.1-r1.ebuild.with-ksource.diff,1.31 KB, patch)
2012-05-06 11:32 UTC, cilly
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cilly 2012-05-06 11:32:20 UTC
Created attachment 310955 [details, diff]
diff of iptables-1.4.12.1-r1.ebuild using ksource instead of remaking include/linux/{kernel,types}.h

The following code:


src_prepare() {
    # use the saner headers from the kernel
    rm -f include/linux/{kernel,types}.h

    # Only run autotools if user patched something
    epatch_user && eautoreconf || elibtoolize
}

should be removed and replaced by the configure option --with-ksource which let iptables compile against saner kernel headers.
Comment 1 SpanKY gentoo-dev 2013-04-27 17:46:32 UTC
(In reply to comment #0)

that's an even more unstable option than relying on userland headers

*** This bug has been marked as a duplicate of bug 276737 ***