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

Bug#301266: marked as done (Always advertises "Debian GNU/Linux")



Your message dated Tue, 19 Apr 2005 11:42:36 +0200
with message-id <20050419094236.GA15930@aragorn>
and subject line closing
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; 24 Mar 2005 20:26:27 +0000
>From rmh@debian.org Thu Mar 24 12:26:27 2005
Return-path: <rmh@debian.org>
Received: from 216.red-62-57-140.user.auna.net (localhost) [62.57.140.216] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DEYuP-0001aS-00; Thu, 24 Mar 2005 12:26:25 -0800
Received: from rmh by localhost with local (Exim 4.50)
	id 1DEZic-0001tW-6n; Thu, 24 Mar 2005 22:18:18 +0100
Content-Type: multipart/mixed; boundary="===============1025392215=="
MIME-Version: 1.0
From: Robert Millan <rmh@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Always advertises "Debian GNU/Linux"
X-Mailer: reportbug 3.9
Date: Thu, 24 Mar 2005 22:18:17 +0100
Message-Id: <E1DEZic-0001tW-6n@localhost>
Delivered-To: submit@bugs.debian.org
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============1025392215==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: apache2
Severity: wishlist
Tags: patch

Hi!

The Server banner in apache2 always advertises as "Debian GNU/Linux"
regardless of the system we're running apache2 on.

I'm attaching a patch that fixes this by detecting the kernel via uname in
debian/rules and passing it as a -D flag.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i686)
Kernel: GNU/kFreeBSD 5.3-5
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

--===============1025392215==
Content-Type: text/x-c; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="advertising.diff"

diff -ur apache2-2.0.53.old/debian/patches/007_debian_advertising apache2-2.0.53/debian/patches/007_debian_advertising
--- apache2-2.0.53.old/debian/patches/007_debian_advertising	2005-03-24 12:19:11.000000000 +0100
+++ apache2-2.0.53/debian/patches/007_debian_advertising	2005-03-24 12:21:57.000000000 +0100
@@ -5,7 +5,7 @@
      }
      else {
 -        ap_add_version_component(pconf, AP_SERVER_BASEVERSION " (" PLATFORM ")");
-+        ap_add_version_component(pconf, AP_SERVER_BASEVERSION " (Debian GNU/Linux)");
++        ap_add_version_component(pconf, AP_SERVER_BASEVERSION " (Debian GNU/" KERNEL ")");
      }
  
      /*
diff -ur apache2-2.0.53.old/debian/rules apache2-2.0.53/debian/rules
--- apache2-2.0.53.old/debian/rules	2005-03-24 12:19:11.000000000 +0100
+++ apache2-2.0.53/debian/rules	2005-03-24 16:09:17.000000000 +0100
@@ -55,7 +55,7 @@
 		--enable-file-cache=shared --enable-cache=shared \
 		--enable-disk-cache=shared --enable-mem-cache=shared 
 
-AP2_CONFLAGS = $(CFLAGS) -pipe -I/usr/include/xmltok -I/usr/include/openssl -Wall
+AP2_CONFLAGS = $(CFLAGS) -pipe -I/usr/include/xmltok -I/usr/include/openssl -Wall -DKERNEL=`uname -s | sed -e s,GNU/,,g -e s,GNU,Hurd,g`
 #AP2_CONFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
 AP2_LDFLAGS = -ldl -lexpat -lcrypt -ldb-4.2
 

--===============1025392215==--

---------------------------------------
Received: (at 301266-done) by bugs.debian.org; 19 Apr 2005 09:42:40 +0000
>From rmh@debian.org Tue Apr 19 02:42:40 2005
Return-path: <rmh@debian.org>
Received: from 216.red-62-57-140.user.auna.net (aragorn) [62.57.140.216] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DNpFf-0001MZ-00; Tue, 19 Apr 2005 02:42:40 -0700
Received: from rmh by aragorn with local (Exim 4.50)
	id 1DNpFd-000498-Gg
	for 301266-done@bugs.debian.org; Tue, 19 Apr 2005 11:42:37 +0200
Date: Tue, 19 Apr 2005 11:42:36 +0200
From: Robert Millan <rmh@debian.org>
To: 301266-done@bugs.debian.org
Subject: closing
Message-ID: <20050419094236.GA15930@aragorn>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: Robert Millan <rmh@debian.org>
Organisation: free as in freedom
User-Agent: Mutt/1.5.9i
Delivered-To: 301266-done@bugs.debian.org
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=-2.0 required=4.0 tests=BAYES_00,ONEWORD autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


Ok I don't really care.  Closing.

-- 
 .''`.   Proudly running Debian GNU/kFreeBSD unstable/unreleased (on UFS2+S)
: :' :
`. `'    http://www.debian.org/ports/kfreebsd-gnu
  `-



Reply to: