conntrack-tools seems to be a replacement for conntrack. There has been no release of this last software for almost 1 year (see http://www.netfilter.org/projects/conntrack-tools/downloads.html). So I try to write an ebuild for conntrack-tools based on conntrack's one. I try to block conntrack-tools if conntrack is install because they use the same name for the executable. Reproducible: Always
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