NetBSD Problem Report #44194

From www@NetBSD.org  Sun Dec  5 17:50:30 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 0486F63BA9C
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  5 Dec 2010 17:50:30 +0000 (UTC)
Message-Id: <20101205175029.A935A63B95F@www.NetBSD.org>
Date: Sun,  5 Dec 2010 17:50:29 +0000 (UTC)
From: rumcic@gmail.com
Reply-To: rumcic@gmail.com
To: gnats-bugs@NetBSD.org
Subject: [PATCH] sysutils/dbus: DragonFly BSD also has kqueue
X-Send-Pr-Version: www-1.0

>Number:         44194
>Category:       pkg
>Synopsis:       [PATCH] sysutils/dbus: DragonFly BSD also has kqueue
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 05 17:55:00 +0000 2010
>Closed-Date:    Sun Dec 05 18:30:35 +0000 2010
>Last-Modified:  Sun Dec 05 18:35:01 +0000 2010
>Originator:     Rumko
>Release:        /
>Organization:
>Environment:
DragonFly rumko.rumko.net 2.7-DEVELOPMENT DragonFly v2.7.3.81.ga3fa5-DEVELOPMENT #122: Wed Jun  2 09:23:28 CEST 2010     root@rumko.rumko.net:/usr/obj/usr/src/sys/MYPRECIOUS  i386
>Description:
Some time ago options.mk was changed so that the "kqueue" option was available and suggested on only a few selected platforms, while before it was suggested on selected platforms, but was available everywhere. Recent tests (have been running with the kqueue option enabled for quite some time) suggest that kqueue is a viable option on DragonFly BSD as well.
>How-To-Repeat:

>Fix:
Patch available at http://www.rumko.net/pkgsrc/0002-sysutils-dbus-DragonFly-BSD-also-has-a-useful-kqueue.patch and also inlined:
From 2bd1f281cdaee5a9c526d2e531aab517565bd210 Mon Sep 17 00:00:00 2001
From: Rumko <rumcic@gmail.com>
Date: Fri, 12 Nov 2010 10:51:32 +0100
Subject: [PATCH 2/3] sysutils/dbus: DragonFly BSD also has a useful kqueue

Before, the kqueue option was available everywhere, but just was
suggested only on whitelisted platforms. Since DragonFly BSD also
has a working kqueue implementatin, add it to the whitelist.
---
 sysutils/dbus/options.mk |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/sysutils/dbus/options.mk b/sysutils/dbus/options.mk
index 6ffd225..cb56082 100644
--- a/sysutils/dbus/options.mk
+++ b/sysutils/dbus/options.mk
@@ -6,7 +6,8 @@ PKG_SUGGESTED_OPTIONS=  x11

 .if (${OPSYS} == "NetBSD"  ||  \
      ${OPSYS} == "FreeBSD" ||  \
-     ${OPSYS} == "OpenBSD")
+     ${OPSYS} == "OpenBSD" ||  \
+     ${OPSYS} == "DragonFly")
 PKG_SUPPORTED_OPTIONS+=        kqueue
 PKG_SUGGESTED_OPTIONS+=        kqueue
 .endif
--
1.7.3.2

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: asau@NetBSD.org
State-Changed-When: Sun, 05 Dec 2010 18:30:35 +0000
State-Changed-Why:
Applied. Thanks!


From: "Aleksej Saushev" <asau@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44194 CVS commit: pkgsrc/sysutils/dbus
Date: Sun, 5 Dec 2010 18:29:17 +0000

 Module Name:	pkgsrc
 Committed By:	asau
 Date:		Sun Dec  5 18:29:17 UTC 2010

 Modified Files:
 	pkgsrc/sysutils/dbus: options.mk

 Log Message:
 Default to use kqueue on DragonFly.
 Requested by Rumko in PR pkg/44194


 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/dbus/options.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.