Summary: | net-firewall/conntrack-tools-0.9.4 ebuild request | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Olivier Huber <oli.huber> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | natanael.copa |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://people.netfilter.org/pablo/conntrack-tools/index.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ebuild proposal
conntrack-tools-0.9.3.ebuild files/conntrackd.initd files/conntrackd.confd conntrack-tools-0.9.4.ebuild |
Description
Olivier Huber
2007-06-14 11:41:03 UTC
Created attachment 122022 [details]
ebuild proposal
*** Bug 165669 has been marked as a duplicate of this bug. *** Created attachment 122672 [details]
conntrack-tools-0.9.3.ebuild
Merged ebuild from #165669.
Check for proper kernel headers. (It will not compile with 2.6.17 headers)
Added init.d anc conf.d files for conntrackd and a sample config.
Diff from previous proposed ebuild follows:
--- attachment.cgi?id=122022 2007-06-21 11:03:13 +0000
+++ conntrack-tools-0.9.3.ebuild 2007-06-21 10:56:54 +0000
@@ -13,38 +13,43 @@
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND=">=net-libs/libnfnetlink-0.0.25
->=net-libs/libnetfilter_conntrack-0.0.75"
-RDEPEND="${DEPEND}
-!net-firewall/conntrack"
+RDEPEND=">=net-libs/libnfnetlink-0.0.25
+ >=net-libs/libnetfilter_conntrack-0.0.75
+ !net-firewall/conntrack"
-pkg_setup() {
+DEPEND="${RDEPEND}
+ >=sys-kernel/linux-headers-2.6.18"
+pkg_setup() {
linux-info_pkg_setup
-
kernel_is lt 2 6 14 && die "${PN} requires at least 2.6.14 kernel version"
-#netfilter core team has changed some option names in .config with kernel 2.6.20
+
+ # netfilter core team has changed some option names in .config with
+ # kernel 2.6.20
if kernel_is lt 2 6 20
then
CONFIG_CHECK="IP_NF_CONNTRACK_NETLINK"
else
CONFIG_CHECK="NF_CT_NETLINK"
fi
-
check_extra_config
-
}
src_compile() {
- cd ${S}
- econf || die "Configure failed"
-
- emake || die "Make failed!"
+ econf || die "econf failed"
+ emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog
+
+ newinitd "${FILESDIR}/conntrackd.initd" conntrackd
+ newconfd "${FILESDIR}/conntrackd.confd" conntrackd
+
+ # copy example config from examples/stats
+ insinto /etc/conntrackd
+ doins "${S}/examples/stats/conntrackd.conf"
}
Created attachment 122674 [details]
files/conntrackd.initd
Created attachment 122676 [details]
files/conntrackd.confd
Created attachment 123947 [details]
conntrack-tools-0.9.4.ebuild
new upstream release.
Is it possible to reassign this bug to netmon because this software is the successor of net-firewall/conntrack
Fix in cvs Thanks |