Your message dated Tue, 31 Oct 2006 16:23:25 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#297789: fixed in util-linux 2.12r-13
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)

--- Begin Message ---
Package: util-linux
Version: 2.12p-2
Severity: wishlist
Tags: patch

Hello,

util-linux ships no rdev on amd64, see attached diff.

Kind regards
Frederik Schueler

-- 
ENOSIG
diff -u util-linux-2.12p/debian/changelog util-linux-2.12p/debian/changelog
--- util-linux-2.12p/debian/changelog
+++ util-linux-2.12p/debian/changelog
@@ -1,3 +1,10 @@
+util-linux (2.12p-2.0.0.1.pure64) unstable; urgency=low
+
+  * Added workaround to MCONFIG and debian/rules to get rdev build and
+    packaged on amd64 too.
+
+ -- Frederik Schüler <[EMAIL PROTECTED]>  Wed,  2 Mar 2005 23:33:49 +0100
+
 util-linux (2.12p-2) unstable; urgency=low
 
   * Really fix man page in alternatives.  Closes: #145647
diff -u util-linux-2.12p/debian/rules util-linux-2.12p/debian/rules
--- util-linux-2.12p/debian/rules
+++ util-linux-2.12p/debian/rules
@@ -17,6 +17,7 @@
 version := $(shell sed -e '1{;s|^util-linux (\(.*\))\ .*|\1|;q;}' 
debian/changelog)
 
 fdisk_arch = $(findstring $(arch),alpha i386 powerpc arm mips mipsel hppa ia64 
hurd-i386 amd64)
+rdev_arch = $(findstring $(arch),i386 amd64)
 sparc = $(findstring $(arch),sparc)
 nohwclock = $(findstring $(arch),s390)
 
@@ -149,7 +150,7 @@
 MAN8FILES := $(MAN8FILES) fdisk/fdisk.8
 DOCFILES  := $(DOCFILES) fdisk/README.fdisk
 endif
-ifeq ($(arch),i386)
+ifeq ($(arch),$(rdev_arch))
 USBINFILES:= $(USBINFILES) sys-utils/rdev
 MAN8FILES := $(MAN8FILES) sys-utils/{rdev.8,vidmode.8} \
                sys-utils/{ramsize.8,rootflags.8}
@@ -173,7 +174,7 @@
        install    $(UBINFILES2) debian/tmp/usr/bin
 ifneq ($(USBINFILES),)
        install -s $(USBINFILES) debian/tmp/usr/sbin
-ifeq ($(arch), i386)
+ifeq ($(arch),$(rdev_arch))
        ln -s rdev debian/tmp/usr/sbin/ramsize
        ln -s rdev debian/tmp/usr/sbin/vidmode
        ln -s rdev debian/tmp/usr/sbin/rootflags
diff -u util-linux-2.12p/debian/patches/00list 
util-linux-2.12p/debian/patches/00list
--- util-linux-2.12p/debian/patches/00list
+++ util-linux-2.12p/debian/patches/00list
@@ -10,0 +11 @@
+99amd64-rdev.dpatch
only in patch2:
unchanged:
--- util-linux-2.12p.orig/debian/patches/99amd64-rdev.dpatch
+++ util-linux-2.12p/debian/patches/99amd64-rdev.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 99-amd64-rdev.dpatch by Frederik Schüler <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: hacking "architecture detection" to get rdev on amd64 too.
+
[EMAIL PROTECTED]@
+--- util-linux/MCONFIG.old     2005-03-02 23:14:51.424457925 +0100
++++ util-linux/MCONFIG 2005-03-02 23:22:06.749245047 +0100
+@@ -17,7 +17,7 @@
+ # Select for CPU i386 if the binaries must be able to run on an intel 386
+ # (by default i486 code is generated, see below)
+ CPU=$(shell uname -m)
+-ARCH=$(shell echo $(CPU) | sed 's/i.86/intel/;s/arm.*/arm/')
++ARCH=$(shell echo $(CPU) | sed 's/i.86/intel/;s/arm.*/arm/;s/x86_64/intel/')
+ 
+ # If HAVE_PAM is set to "yes", then login, chfn, chsh, and newgrp
+ # will use PAM for authentication. Additionally, passwd will not be

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: util-linux
Source-Version: 2.12r-13

We believe that the bug you reported is fixed in the latest version of
util-linux, which is due to be installed in the Debian FTP archive:

bsdutils_2.12r-13_i386.deb
  to pool/main/u/util-linux/bsdutils_2.12r-13_i386.deb
cfdisk-udeb_2.12r-13_i386.udeb
  to pool/main/u/util-linux/cfdisk-udeb_2.12r-13_i386.udeb
fdisk-udeb_2.12r-13_i386.udeb
  to pool/main/u/util-linux/fdisk-udeb_2.12r-13_i386.udeb
mount_2.12r-13_i386.deb
  to pool/main/u/util-linux/mount_2.12r-13_i386.deb
util-linux-locales_2.12r-13_all.deb
  to pool/main/u/util-linux/util-linux-locales_2.12r-13_all.deb
util-linux_2.12r-13.diff.gz
  to pool/main/u/util-linux/util-linux_2.12r-13.diff.gz
util-linux_2.12r-13.dsc
  to pool/main/u/util-linux/util-linux_2.12r-13.dsc
util-linux_2.12r-13_i386.deb
  to pool/main/u/util-linux/util-linux_2.12r-13_i386.deb



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.
LaMont Jones <[EMAIL PROTECTED]> (supplier of updated util-linux 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: Tue, 31 Oct 2006 13:51:50 -0700
Source: util-linux
Binary: util-linux cfdisk-udeb fdisk-udeb util-linux-locales bsdutils mount
Architecture: all i386 source 
Version: 2.12r-13
Distribution: unstable
Urgency: low
Maintainer: LaMont Jones <[EMAIL PROTECTED]>
Changed-By: LaMont Jones <[EMAIL PROTECTED]>
Description: 
 bsdutils   - Basic utilities from 4.4BSD-Lite
 cfdisk-udeb - Partition a hard drive (cfdisk)
 fdisk-udeb - Partition a hard drive (manual)
 mount      - Tools for mounting and manipulating filesystems
 util-linux - Miscellaneous system utilities
 util-linux-locales - Locales files for util-linux
Closes: 297789 342887 394941
Changes: 
 util-linux (2.12r-13) unstable; urgency=low
 .
   * NFS seems to not like 127.0.0.1 as a client ID for everyone.
     Closes: #394941
     - 30nfs4-setclientid.dpatch by Steinar H. Gunderson <[EMAIL PROTECTED]>
   * Move hwclock.sh to 8 since localtime is now a file, not a symlink.
     Adds Depends: tzdata (>=2006c-2)
     Closes: #342887
   * ship rdev on amd64.  Closes: #297789
Files: 
 1db3826062471b1b4970c57f59a9703f 156234 admin required mount_2.12r-13_i386.deb
 486a3bf463e9eb0b8033c15b0b8073a3 740 base required util-linux_2.12r-13.dsc
 4cd3de3ab072bc244198739ab26e6701 101859 base required 
util-linux_2.12r-13.diff.gz
 6d151675f25f551133a249d0e98f1b88 372576 utils required 
util-linux_2.12r-13_i386.deb
 7c69a09628dfc2e8ba23715f1cb438c3 483470 debian-installer extra 
cfdisk-udeb_2.12r-13_i386.udeb
 c62bbb056ae520cd58d866c53a168b64 67892 utils required 
bsdutils_2.12r-13_i386.deb
 d9df018d305243630cff3f74d71c3432 58002 debian-installer extra 
fdisk-udeb_2.12r-13_i386.udeb
 de59ecf2943437d33ccbe6111f4c1cc8 1084872 utils optional 
util-linux-locales_2.12r-13_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFR77VzN/kmwoKyScRAmOYAJ4vg3I3OHI4azLwkPg+7VfRRGTqTgCgm/QF
G1WwWWQrSCCj8PF67j5VcQA=
=ouDb
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to