[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#358390: marked as done (xserver-xorg: /usr/share/bug script patch for readability, portability, and extensibility)



Your message dated Tue, 04 Sep 2007 17:02:12 +0000
with message-id <E1ISbn2-00031m-De@ries.debian.org>
and subject line Bug#358390: fixed in xorg-server 2:1.3.99.2-1
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: xserver-xorg
Version: 6.9.0.dfsg.1-4
Severity: minor
Tags: patch

I moved the >&3 to a single exec statement up top, instead of on each
output line, set -e, and replaced "$()" with just `` (the outer quotes
aren't needed, see info autoconf), 
#!/bin/sh
set -e;

# $Id: xserver-xorg.bug.script 345 2005-07-15 15:59:01Z dnusinow $

PATH="/sbin:$PATH"
CONFIG_DIR=/etc/X11
SERVER_SYMLINK="$CONFIG_DIR/X"
XF86CONFIG="$CONFIG_DIR/XF86Config-4"
XORGCONFIG="$CONFIG_DIR/xorg.conf"
CONFIG_AUX_DIR=/var/lib/xfree86
SERVER_SYMLINK_CHECKSUM="$CONFIG_AUX_DIR/${SERVER_SYMLINK##*/}.md5sum"
SERVER_SYMLINK_ROSTER="$CONFIG_AUX_DIR/${SERVER_SYMLINK##*/}.roster"
XF86CONFIG_CHECKSUM="$CONFIG_AUX_DIR/${XF86CONFIG##*/}.md5sum"
XORGCONFIG_CHECKSUM="$CONFIG_AUX_DIR/${XORGCONFIG##*/}.md5sum"
XF86CONFIG_ROSTER="$CONFIG_AUX_DIR/${XF86CONFIG##*/}.roster"
XORGCONFIG_ROSTER="$CONFIG_AUX_DIR/${XORGCONFIG##*/}.roster"

exec 3>&1;

if [ -e "$SERVER_SYMLINK_ROSTER" ]; then
    printf "Contents of $SERVER_SYMLINK_ROSTER:\n"
    cat "$SERVER_SYMLINK_ROSTER"
else
    printf "$SERVER_SYMLINK_ROSTER does not exist.\n"
fi

printf "\n"

if [ -e "$SERVER_SYMLINK" ]; then
    if [ -e "$SERVER_SYMLINK_CHECKSUM" ]; then
        if [ "`readlink "$SERVER_SYMLINK" | md5sum`" = \
             "`cat "$SERVER_SYMLINK_CHECKSUM"`" ]; then
            printf "%s target unchanged from checksum in %s.\n" \
              "$SERVER_SYMLINK" "$SERVER_SYMLINK_CHECKSUM"
        else
            printf "%s target does not match checksum in %s.\n" \
              "$SERVER_SYMLINK" "$SERVER_SYMLINK_CHECKSUM"
        fi
    else
        printf "$SERVER_SYMLINK_CHECKSUM does not exist.\n"
    fi
    printf "\n"
    printf "X server symlink status:\n"
    ls -dl "$SERVER_SYMLINK"
    ls -dl `readlink "$SERVER_SYMLINK"`
else
    printf "$SERVER_SYMLINK does not exist.\n"
fi

if ! [ -L "$SERVER_SYMLINK" ]; then
    printf "$SERVER_SYMLINK is not a symlink.\n"
fi

if ! [ -x "$SERVER_SYMLINK" ]; then
    printf "$SERVER_SYMLINK is not executable.\n"
fi

printf "\n"

if [ -e "$XORGCONFIG_ROSTER" ]; then
    printf "Contents of $XORGCONFIG_ROSTER:\n"
    cat "$XORGCONFIG_ROSTER"
else
    printf "$XORGCONFIG_ROSTER does not exist.\n"
fi

printf "\n"

if which lspci > /dev/null 2>&1; then
    printf "VGA-compatible devices on PCI bus:\n"
    LC_ALL=C lspci | grep 'VGA compatible controller:'
    LC_ALL=C lspci -n | grep 'Class 0300:'
else
    printf "The lspci command was not found; not including PCI data.\n"
fi

printf "\n"

if [ -e "$XORGCONFIG" ]; then
    if [ -e "$XORGCONFIG_CHECKSUM" ]; then
        if [ "`md5sum "$XORGCONFIG`" = "`cat "$XORGCONFIG_CHECKSUM`" ]; then
            printf "%s unchanged from checksum in %s.\n" "$XORGCONFIG" \
              "$XORGCONFIG_CHECKSUM"
        else
            printf "%s does not match checksum in %s.\n" "$XORGCONFIG" \
              "$XORGCONFIG_CHECKSUM"
        fi
    else
        printf "$XORGCONFIG_CHECKSUM does not exist.\n"
    fi
    printf "\n"
    printf "Xorg X server configuration file status:\n"
    ls -dl "$XORGCONFIG"
    printf "\n"
    printf "Contents of $XORGCONFIG:\n"
    cat "$XORGCONFIG"
    printf "\n"
else
    printf "$XORGCONFIG does not exist.\n"
fi

printf "\n"

XORG_LOGS=`ls -dt /var/log/Xorg.*.log 2>/dev/null`

if [ -n "$XORG_LOGS" ]; then
    printf "Xorg X server log files on system:\n"
    ls -dlrt /var/log/Xorg.*.log 2>/dev/null
    printf "\n"
    for LOG in $XORG_LOGS; do
        if [ -f "$LOG" ]; then
            printf "Contents of most recent Xorg X server log file\n"
            printf "%s:\n" "$LOG"
            cat "$LOG"
            # the log files are large; only show the most recent
            break
        fi
    done
else
    printf "No Xorg X server log files found.\n"
fi

printf "\n"

# vim:set ai et sts=4 sw=4 tw=0:

--- End Message ---
--- Begin Message ---
Source: xorg-server
Source-Version: 2:1.3.99.2-1

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

xnest_1.3.99.2-1_i386.deb
  to pool/main/x/xorg-server/xnest_1.3.99.2-1_i386.deb
xorg-server_1.3.99.2-1.diff.gz
  to pool/main/x/xorg-server/xorg-server_1.3.99.2-1.diff.gz
xorg-server_1.3.99.2-1.dsc
  to pool/main/x/xorg-server/xorg-server_1.3.99.2-1.dsc
xorg-server_1.3.99.2.orig.tar.gz
  to pool/main/x/xorg-server/xorg-server_1.3.99.2.orig.tar.gz
xserver-xephyr_1.3.99.2-1_i386.deb
  to pool/main/x/xorg-server/xserver-xephyr_1.3.99.2-1_i386.deb
xserver-xorg-core-dbg_1.3.99.2-1_i386.deb
  to pool/main/x/xorg-server/xserver-xorg-core-dbg_1.3.99.2-1_i386.deb
xserver-xorg-core_1.3.99.2-1_i386.deb
  to pool/main/x/xorg-server/xserver-xorg-core_1.3.99.2-1_i386.deb
xserver-xorg-dev_1.3.99.2-1_i386.deb
  to pool/main/x/xorg-server/xserver-xorg-dev_1.3.99.2-1_i386.deb
xvfb_1.3.99.2-1_i386.deb
  to pool/main/x/xorg-server/xvfb_1.3.99.2-1_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 358390@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau <jcristau@debian.org> (supplier of updated xorg-server 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 04 Sep 2007 17:32:19 +0200
Source: xorg-server
Binary: xserver-xephyr xserver-xorg-core xvfb xserver-xorg-dev xserver-xorg-core-dbg xnest
Architecture: source i386
Version: 2:1.3.99.2-1
Distribution: experimental
Urgency: low
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Description: 
 xnest      - Nested X server
 xserver-xephyr - Next Generation Nested X Server
 xserver-xorg-core - X.Org X server -- core server
 xserver-xorg-core-dbg - Xorg - the X.Org X server (debugging symbols)
 xserver-xorg-dev - X.Org X server -- development files
 xvfb       - Virtual Framebuffer 'fake' X server
Closes: 358390
Changes: 
 xorg-server (2:1.3.99.2-1) experimental; urgency=low
 .
   [ David Nusinow ]
   * Refactor auto_load_driver patch to allow the same method to be used when
     there is no xorg.conf present
   * Add 04_auto_load_driver_no_config.diff to use my auto_load_driver method
     when there's no xorg.conf present
 .
   [ Brice Goglin ]
   * Simplify output redirections in the reportbug script,
     thanks Justin Pryzby, closes: #358390.
   * Add missing URL in long descriptions, update links to the upstream
     module, fix some capitalization, thanks Christian Perrier.
 .
   [ Julien Cristau ]
   * New upstream release candidate.
     + bump build dep on renderproto to >= 0.9.3, and on pixman to >= 0.9.4-2.
     + bump video abi version and serverminver.
   * Drop the Conflict on fglrx-driver, which is taken care of by the abi
     version.
Files: 
 3b52896c269f3c7306f14098d854e07a 2404 x11 optional xorg-server_1.3.99.2-1.dsc
 de06beaa80f9a916fa4d6ee5d5408ec6 8191791 x11 optional xorg-server_1.3.99.2.orig.tar.gz
 1912626dff69a29664de90775f011c51 692332 x11 optional xorg-server_1.3.99.2-1.diff.gz
 1e948cd50c5d123e7b91262498c21f3a 4031684 x11 optional xserver-xorg-core_1.3.99.2-1_i386.deb
 36e4abdd67fdfe0347612442f9799b88 664482 x11 optional xserver-xorg-dev_1.3.99.2-1_i386.deb
 8387dd39a5881735c8f2dcbde19a78f5 1726922 x11 optional xnest_1.3.99.2-1_i386.deb
 9d0d6e77891eadf24933b3bd5b6b0a6d 1837772 x11 optional xvfb_1.3.99.2-1_i386.deb
 a27ffb2a27a2d5b81cffe315f109fb0d 1875910 x11 optional xserver-xephyr_1.3.99.2-1_i386.deb
 af0b5a9af609bfa6dabedde820e1b1a2 12545834 x11 extra xserver-xorg-core-dbg_1.3.99.2-1_i386.deb

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

iD8DBQFG3YWtmEvTgKxfcAwRAmRIAJ9udtPsHvIU/LWuW0CRLf0vvKar8wCeM/4W
WhEobK7FMvvQrG7VzBAnLXQ=
=0mJ6
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: