Your message dated Thu, 19 May 2005 17:32:38 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#302457: fixed in lockdev 1.0.1-7
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 31 Mar 2005 22:14:00 +0000
>From [EMAIL PROTECTED] Thu Mar 31 14:14:00 2005
Return-path: <[EMAIL PROTECTED]>
Received: from gluck.debian.org [192.25.206.10]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DH7vM-0006IE-00; Thu, 31 Mar 2005 14:14:00 -0800
Received: from farad.aurel32.net [82.232.2.251]
by gluck.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DH7vL-0001fC-00; Thu, 31 Mar 2005 15:14:00 -0700
Received: from hertz.aurel32.net ([2001:618:400:6439:210:5aff:fef6:1844])
by farad.aurel32.net with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32)
(Exim 4.50)
id 1DH7sF-0002bR-Bp; Fri, 01 Apr 2005 00:10:47 +0200
Received: from aurel32 by hertz.aurel32.net with local (Exim 4.50)
id 1DH7rJ-0003IR-Kk; Fri, 01 Apr 2005 00:09:49 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Aurelien Jarno <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: lockdev: Support for GNU/k*BSD
X-Mailer: reportbug 3.9
Date: Fri, 01 Apr 2005 00:09:48 +0200
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: lockdev
Version: 1.0.1-6
Severity: wishlist
Tags: Patch
Hi!
Please find below a patch to support GNU/k*BSD. Would be nice if you can
include it, and also forward it to the upstream so that it would be in
the next versions.
Thanks,
Aurelien
diff -u lockdev-1.0.1/src/lockdev.c lockdev-1.0.1/src/lockdev.c
--- lockdev-1.0.1/src/lockdev.c
+++ lockdev-1.0.1/src/lockdev.c
@@ -126,6 +126,9 @@
#if defined (__linux__)
#include <linux/kdev_t.h>
#include <linux/major.h>
+#elif defined (__FreeBSD_kernel__) || defined(__NetBSD_kernel__) ||
defined(__OpenBSD_kernel__)
+# define MAJOR(dev) ((dev & 0xff00) >> 8)
+# define MINOR(dev) (dev & 0xffff00ff)
#else
# error "put here a define for MAJOR and MINOR"
#endif
@@ -188,7 +191,7 @@
* All types uses the macro LOCK_PATH
*/
-#if defined (__linux__)
+#if defined (__linux__) || defined (__FreeBSD_kernel__) ||
defined(__NetBSD_kernel__) || defined(__OpenBSD_kernel__)
/* for internal use */
static inline int
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i586)
Kernel: GNU/kFreeBSD 5.3-5
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
---------------------------------------
Received: (at 302457-close) by bugs.debian.org; 19 May 2005 21:40:03 +0000
>From [EMAIL PROTECTED] Thu May 19 14:40:03 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DYskN-0000ab-00; Thu, 19 May 2005 14:40:03 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DYsdC-0008Pg-00; Thu, 19 May 2005 17:32:38 -0400
From: Pawel Wiecek <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#302457: fixed in lockdev 1.0.1-7
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 19 May 2005 17:32:38 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Source: lockdev
Source-Version: 1.0.1-7
We believe that the bug you reported is fixed in the latest version of
lockdev, which is due to be installed in the Debian FTP archive:
liblockdev1-dbg_1.0.1-7_i386.deb
to pool/main/l/lockdev/liblockdev1-dbg_1.0.1-7_i386.deb
liblockdev1-dev_1.0.1-7_i386.deb
to pool/main/l/lockdev/liblockdev1-dev_1.0.1-7_i386.deb
liblockdev1-perl_1.0.1-7_i386.deb
to pool/main/l/lockdev/liblockdev1-perl_1.0.1-7_i386.deb
liblockdev1_1.0.1-7_i386.deb
to pool/main/l/lockdev/liblockdev1_1.0.1-7_i386.deb
lockdev_1.0.1-7.diff.gz
to pool/main/l/lockdev/lockdev_1.0.1-7.diff.gz
lockdev_1.0.1-7.dsc
to pool/main/l/lockdev/lockdev_1.0.1-7.dsc
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Pawel Wiecek <[EMAIL PROTECTED]> (supplier of updated lockdev package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 19 May 2005 21:25:43 +0200
Source: lockdev
Binary: liblockdev1-dbg liblockdev1-perl liblockdev1 liblockdev1-dev
Architecture: source i386
Version: 1.0.1-7
Distribution: unstable
Urgency: low
Maintainer: Pawel Wiecek <[EMAIL PROTECTED]>
Changed-By: Pawel Wiecek <[EMAIL PROTECTED]>
Description:
liblockdev1 - Run-time shared library for locking devices
liblockdev1-dbg - Debugging library for locking devices
liblockdev1-dev - Development library for locking devices
liblockdev1-perl - perl extension library for locking devices
Closes: 302457
Changes:
lockdev (1.0.1-7) unstable; urgency=low
.
* Applied patch from Aurelien Jarno <[EMAIL PROTECTED]> to support
GNU/k*BSD (closes: #302457)
* Fixed patch from 1.0.1-5.1 NMU to clean after itself (!)
Files:
20e1c504337a1bb5a58ae57713accd29 633 libs optional lockdev_1.0.1-7.dsc
28b159439eb149f57683423a9dc3dcb6 7448 libs optional lockdev_1.0.1-7.diff.gz
cd4dc7fdd1b1da58bfa9f51d3cc869bd 10964 libs optional
liblockdev1_1.0.1-7_i386.deb
df295eb1dfa7f95c22745979dcf8eed0 8196 libdevel optional
liblockdev1-dev_1.0.1-7_i386.deb
85e91164db32fe8b7098c837151c8fbc 36340 libdevel extra
liblockdev1-dbg_1.0.1-7_i386.deb
ddb79b45d8ff46e06715e7807fb4ec5b 19610 perl optional
liblockdev1-perl_1.0.1-7_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCjOjmBOdjEO/Bh3ARAg7dAJ9fYe/adll6UF7apRsrh65qMYTUvgCfanl1
F7k6TSXLSB0cheiGdqY4gA4=
=uWCW
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]