Bug#682388: Patch works on powertop 2.0 in unstable

2013-04-20 Thread Mikko Rapeli
The fix is in upstream git tree as commit:

commit 72ff7dfe7222fddf784bc866bfe7f1ec226e407d
Author: Mikko Rapeli 
Date:   Wed Sep 26 16:12:30 2012 +0200

Fix string null termination and SIGABRT from glibc

According to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682388
the string is not null terminated when too much data is read.

This patch fixes the crashes on my system.

diff --git a/src/process/process.cpp b/src/process/process.cpp
index 71f81b6..34dc68d 100644
--- a/src/process/process.cpp
+++ b/src/process/process.cpp
@@ -86,7 +86,7 @@ static void cmdline_to_string(char *str)
 
 process::process(const char *_comm, int _pid, int _tid) : power_consumer()
 {
-   char line[4096];
+   char line[4097];
ifstream file;
 
strcpy(comm, _comm);
@@ -103,6 +103,7 @@ process::process(const char *_comm, int _pid, int _tid) : 
power_consumer()
file.open(line);
while (file) {
file.getline(line, 4096);
+   line[4096] = '\0';
if (strstr(line, "Tgid")) {
char *c;
c = strchr(line, ':');


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#349196: a fix for sudo in sarge

2006-04-04 Thread Mikko Rapeli
On Mon, Mar 20, 2006 at 11:20:57AM +0100, Martin Schulze wrote:
> Proposed updates for woody and sarge are here:
> http://klecker.debian.org/~joey/security/sudo/
> I'd be glad if you could test them.

The patch from 1.6.8p7-1.3 to 1.6.8p7-1.4 is logical
and works well in my use cases. Thanks.

-Mikko


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#349196: a fix for sudo in sarge

2006-02-09 Thread Mikko Rapeli
This seems to work and allows me to use ethereal remotely through ssh again.

The for loop was just copied from above and keepit changed to okvar, so this is
pretty simple. We did go through all the bits and if clauses and tested the
result manually. The manual page changes are pretty obvious too.

I did not go through the list of environment variables mentioned on 
manual pages and 'sudo -V' when run as root, but perhaps the documentation
is enough as this is only first aid for sarge.

-Mikko
--- sudo-1.6.8p7-1.3/env.c  2006-02-09 12:51:27.280782680 +0200
+++ sudo-1.6.8p7/env.c  2006-02-09 15:15:25.701543112 +0200
@@ -434,6 +434,22 @@
continue;
}
 
+/* Add everything listed in env_keep */
+   for (cur = def_env_keep; cur; cur = cur->next) {
+   len = strlen(cur->value);
+   /* Deal with '*' wildcard */
+   if (cur->value[len - 1] == '*') {
+   len--;
+   iswild = 1;
+   } else
+   iswild = 0;
+   if (strncmp(cur->value, *ep, len) == 0 &&
+   (iswild || (*ep)[len] == '=')) {
+   okvar = 1;
+   break;
+   }
+   }
+
/* Skip anything listed in env_delete. */
 #if 0
for (cur = def_env_delete; cur && okvar; cur = cur->next) {
--- sudo-1.6.8p7-1.3/sudoers.pod2006-02-09 12:51:27.0 +0200
+++ sudo-1.6.8p7/sudoers.pod2006-02-09 16:51:03.913202344 +0200
@@ -435,8 +435,8 @@
 
 =item env_reset
 
-If set, B will reset the environment to only contain the
-following variables: C, C, C, C, C,
+By default and when set, B will reset the environment to only contain the
+following variables: C, C, C, C,
 and C (in addition to the C variables).
 Of these, only C is copied unaltered from the old environment.
 The other variables are set to default values (possibly modified
@@ -742,8 +742,8 @@
 
 =item env_check
 
-Environment variables to be removed from the user's environment if
-the variable's value contains C<%> or C characters.  This can
+Like I, but listed environment variables are taken from the user's 
environment if
+the variable's value does B contain C<%> or C characters.  This can
 be used to guard against printf-style format vulnerabilities in
 poorly-written programs.  The argument may be a double-quoted,
 space-separated list or a single value without double-quotes.  The
@@ -754,7 +754,10 @@
 
 =item env_delete
 
-Environment variables to be removed from the user's environment.
+
+Not effective due to security issues: only variables listed in 
+I or I can be passed through B!
+
 The argument may be a double-quoted, space-separated list or a
 single value without double-quotes.  The list can be replaced, added
 to, deleted from, or disabled by using the C<=>, C<+=>, C<-=>, and
@@ -766,8 +769,8 @@
 
 =item env_keep
 
-Environment variables to be preserved in the user's environment
-when the I option is in effect.  This allows fine-grained
+Environment variables to be preserved in the user's environment.
+This allows fine-grained
 control over the environment B-spawned processes will receive.
 The argument may be a double-quoted, space-separated list or a
 single value without double-quotes.  The list can be replaced, added
@@ -1004,8 +1007,14 @@
 is you cannot reference an Alias that has not already been defined.
 
 Below are example I entries.  Admittedly, some of
-these are a bit contrived.  First, we define our I:
+these are a bit contrived.  First, we allow a few environment
+variables to pass and then define our I:
 
+ # Run X applications through sudo; HOME is used to find .Xauthority file
+ # Note that some programs may use HOME for other purposes too and
+ # this may lead to privilege escalation!
+ Defaults env_keep = "DISPLAY HOME"
+ 
  # User alias specification
  User_AliasFULLTIMERS = millert, mikef, dowdy
  User_AliasPARTTIMERS = bostley, jwfox, crawl
--- sudo-1.6.8p7-1.3/debian/changelog   2006-02-09 12:51:27.0 +0200
+++ sudo-1.6.8p7/debian/changelog   2006-02-09 15:58:24.867450296 +0200
@@ -1,3 +1,11 @@
+sudo (1.6.8p7-1.3.mkr1) stable-security; urgency=low
+
+  * Fix sudo environment variable white listing to respect
+env_keep so root can knowingly pass users variables through sudo,
+and try document it in the sudoers manual page
+
+ -- Mikko Rapeli <[EMAIL PROTECTED]>  Thu,  9 Feb 2006 15:57:22 +0200
+
 sudo (1.6.8p7-1.3) stable-security; urgency=high
 
   * Non-maintainer upload by the Security Team


Bug#318061: Please provide mozilla-firefox 1.0.6 for Sarge

2005-08-01 Thread Mikko Rapeli
Having spent hours reading the discussions, hopefully this link to patch
making 1.0.6 compile on Sarge helps -- even if just a small, tiny bit:

http://lists.debian.org/debian-security/2005/07/msg00305.html

And next the same thing for thunderbird and mozilla...

-Mikko


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#318061: Please provide mozilla-firefox 1.0.6 for Sarge

2005-08-02 Thread Mikko Rapeli
On Mon, Aug 01, 2005 at 04:20:28PM +0300, Mikko Rapeli wrote:
> Having spent hours reading the discussions, hopefully this link to patch
> making 1.0.6 compile on Sarge helps -- even if just a small, tiny bit:
> 
> http://lists.debian.org/debian-security/2005/07/msg00305.html

Apparently this patch is not needed. Renaming the mozilla source package
and uupdate'ing from 1.0.4 in Sarge requires only this additional patch
after original patch from 1.0.4 failed (no idea what it really does though, just
copied the functionality). Compiles, installs and runs well in Sarge.

-Mikko

--- netwerk/protocol/http/src/nsHttpHandler.cpp-original2005-08-02 
09:40:59.0 +0300
+++ netwerk/protocol/http/src/nsHttpHandler.cpp 2005-08-02 09:41:04.0 
+0300
@@ -669,30 +669,6 @@
 if (ret >= 0) {
 nsCString buf;  
 buf =  (char*)name.sysname;
-#ifdef AIX
-buf += ' ';
-// AIX uname returns machine specific info in the uname.machine
-// field and does not return the cpu type like other platforms.
-// We use the AIX version and release numbers instead.
-buf += (char*)name.version;
-buf += '.';
-buf += (char*)name.release;
-#else
-if (strcmp(name.machine, "x86_64") == 0 &&
-sizeof(long) == sizeof(PRInt32)) {
-// We're running 32-bit code on x86_64. Make this browser
-// look like it's running on i686 hardware, but append "
-// (x86_64)" to the end of the oscpu identifier to be able
-// to differentiate this from someone running 64-bit code
-// on x86_64..
-
-buf += " i686 (x86_64)";
-} else {
-buf += ' ';
-
-buf += (char*)name.machine;
-}
-#endif
 mOscpu.Assign(buf);
 }
 #endif


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#318728: Sarge needs Thunderbird 1.0.6 too

2005-08-04 Thread Mikko Rapeli
reopen 318728
tags 318728 sarge
thanks

Thunderbird 1.0.6 compiles, installs and runs well, when source package
is upgraded from 1.0.2-2. 

Though the orig.tar.gz structure seems quite
strange and uupdate doesn't work as it perhaps should, but I'll send
another wishlist bug with patches to fix this for unstable at least...

-Mikko


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#399187: CVE-2006-5925: ELinks "smb" Protocol File Upload/Download Vulnerability

2006-11-27 Thread Mikko Rapeli
Hello,

On Mon, Nov 27, 2006 at 12:09:56PM +0100, Julien Cristau wrote:
> On Mon, Nov 27, 2006 at 11:35:07 +0100, Martin Schulze wrote:
> 
> > Julien Cristau wrote:
> > > Hi,
> > > 
> > > do the security@ people have a DSA in preparation for links and/or
> > > elinks for CVE-2006-5925, or should I prepare a patch for the stable
> > > versions too?
> > 
> > As far as I know, no.  Please prepare an update.
> > 
> I have source packages ready at:
> http://www.liafa.jussieu.fr/~jcristau/debian/CVE-2006-5925/links_0.99+1.00pre12-1sarge1.dsc
> http://www.liafa.jussieu.fr/~jcristau/debian/CVE-2006-5925/elinks_0.10.4-7.1.dsc

links2 is vulnerable too. The links patch needed a tweak for links2
but result is attached.

-Mikko
diff -u links2-2.1pre16/config.sub links2-2.1pre16/config.sub
--- links2-2.1pre16/config.sub
+++ links2-2.1pre16/config.sub
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Configuration validation subroutine script.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 
-timestamp='2004-11-30'
+timestamp='2005-04-22'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -70,7 +70,7 @@
 version="\
 GNU config.sub ($timestamp)
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 
2002, 2003, 2004
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 
2002, 2003, 2004, 2005
 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
@@ -231,13 +231,14 @@
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | 
alpha64pca5[67] \
| am33_2.0 \
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
+   | bfin \
| c4x | clipper \
| d10v | d30v | dlx | dsp16xx \
| fr30 | frv \
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
| i370 | i860 | i960 | ia64 \
| ip2k | iq2000 \
-   | m32r | m32rle | m68000 | m68k | m88k | mcore \
+   | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
| mips | mipsbe | mipseb | mipsel | mipsle \
| mips16 \
| mips64 | mips64el \
@@ -262,7 +263,8 @@
| pyramid \
| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | 
sh3ele \
| sh64 | sh64le \
-   | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 
| sparcv9b \
+   | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
+   | sparcv8 | sparcv9 | sparcv9b \
| strongarm \
| tahoe | thumb | tic4x | tic80 | tron \
| v850 | v850e \
@@ -298,7 +300,7 @@
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
| avr-* \
-   | bs2000-* \
+   | bfin-* | bs2000-* \
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
| clipper-* | craynv-* | cydra-* \
| d10v-* | d30v-* | dlx-* \
@@ -310,7 +312,7 @@
| ip2k-* | iq2000-* \
| m32r-* | m32rle-* \
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
-   | m88110-* | m88k-* | mcore-* \
+   | m88110-* | m88k-* | maxq-* | mcore-* \
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
| mips16-* \
| mips64-* | mips64el-* \
@@ -336,7 +338,8 @@
| romp-* | rs6000-* \
| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
-   | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
+   | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
+   | sparclite-* \
| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
| tahoe-* | thumb-* \
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
diff -u links2-2.1pre16/debian/changelog links2-2.1pre16/debian/changelog
--- links2-2.1pre16/debian/changelog
+++ links2-2.1pre16/debian/changelog
@@ -1,3 +1,9 @@
+links2 (2.1pre16-1.0.0.mcf01) unstable; urgency=low
+
+  * try to disable smb
+
+ -- Mikko Rapeli <[EMAIL PROTECTED]>  Tue, 28 Nov 2006 00:11:10 +0200
+
 links2 (2.1pre16-1) unstable; urgency=low
 
   * New upstream version. (Closes: #267686)
diff -u links2-2.1pre16/config.guess links2-2.1pre16/config.guess
--- links2-2.1pre16/config.guess
+++ links2-2.1pre16/config.guess
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 
-timestamp=

Bug#400718: CVE-2006-5925: Links "smb" Protocol File Upload/Download Vulnerability

2006-11-28 Thread Mikko Rapeli
package: links2
severity: grave
tags: security

See bugs #399187 and #399188 for discussion. Patches in links and elinks 
converge towards removal of smb support. Attached patch is for sarge.

-Mikko
diff -u links2-2.1pre16/config.sub links2-2.1pre16/config.sub
--- links2-2.1pre16/config.sub
+++ links2-2.1pre16/config.sub
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Configuration validation subroutine script.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 
-timestamp='2004-11-30'
+timestamp='2005-04-22'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -70,7 +70,7 @@
 version="\
 GNU config.sub ($timestamp)
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 
2002, 2003, 2004
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 
2002, 2003, 2004, 2005
 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
@@ -231,13 +231,14 @@
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | 
alpha64pca5[67] \
| am33_2.0 \
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
+   | bfin \
| c4x | clipper \
| d10v | d30v | dlx | dsp16xx \
| fr30 | frv \
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
| i370 | i860 | i960 | ia64 \
| ip2k | iq2000 \
-   | m32r | m32rle | m68000 | m68k | m88k | mcore \
+   | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
| mips | mipsbe | mipseb | mipsel | mipsle \
| mips16 \
| mips64 | mips64el \
@@ -262,7 +263,8 @@
| pyramid \
| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | 
sh3ele \
| sh64 | sh64le \
-   | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 
| sparcv9b \
+   | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
+   | sparcv8 | sparcv9 | sparcv9b \
| strongarm \
| tahoe | thumb | tic4x | tic80 | tron \
| v850 | v850e \
@@ -298,7 +300,7 @@
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
| avr-* \
-   | bs2000-* \
+   | bfin-* | bs2000-* \
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
| clipper-* | craynv-* | cydra-* \
| d10v-* | d30v-* | dlx-* \
@@ -310,7 +312,7 @@
| ip2k-* | iq2000-* \
| m32r-* | m32rle-* \
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
-   | m88110-* | m88k-* | mcore-* \
+   | m88110-* | m88k-* | maxq-* | mcore-* \
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
| mips16-* \
| mips64-* | mips64el-* \
@@ -336,7 +338,8 @@
| romp-* | rs6000-* \
| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
-   | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
+   | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
+   | sparclite-* \
| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
| tahoe-* | thumb-* \
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
diff -u links2-2.1pre16/debian/changelog links2-2.1pre16/debian/changelog
--- links2-2.1pre16/debian/changelog
+++ links2-2.1pre16/debian/changelog
@@ -1,3 +1,9 @@
+links2 (2.1pre16-1.0.0.mcf01) unstable; urgency=low
+
+  * try to disable smb
+
+ -- Mikko Rapeli <[EMAIL PROTECTED]>  Tue, 28 Nov 2006 00:11:10 +0200
+
 links2 (2.1pre16-1) unstable; urgency=low
 
   * New upstream version. (Closes: #267686)
diff -u links2-2.1pre16/config.guess links2-2.1pre16/config.guess
--- links2-2.1pre16/config.guess
+++ links2-2.1pre16/config.guess
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 
-timestamp='2004-11-12'
+timestamp='2005-04-22'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -53,7 +53,7 @@
 GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 
2002, 2003, 2004
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 
2002, 2003, 2004, 2005
 Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
@@ -804,6 +804,9 @@
   

Bug#398642: links2 -g still doesn't work 2.1pre25-2, missing X support?

2006-11-30 Thread Mikko Rapeli
In xterm I only get:

   -- DirectFB v0.9.25 -
 (c) 2000-2002  convergence integrated media GmbH  
 (c) 2002-2004  convergence GmbH   
---

(*) DirectFB/Core: Single Application Core. (2006-10-17 10:09) 
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(!) Direct/Util: opening '/dev/fb0' failed
--> Permission denied
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment
variable.
(!) DirectFB/Core: Could not initialize 'system' core!
--> Initialization error!
svgalib: Cannot get I/O permissions.

and:

$ links2 -g -driver x
Unknown graphics driver x.
The following graphics drivers are supported:
directfb, fb, svgalib

Policy for links2 is:

links2:
  Installed: 2.1pre25-2
  Candidate: 2.1pre25-2
  Version table:
 *** 2.1pre25-2 0
500 http://ftp.fi.debian.org sid/main Packages
100 /var/lib/dpkg/status
 2.1pre24-1 0
990 http://ftp.fi.debian.org etch/main Packages
 2.1pre16-1 0
500 http://ftp.fi.debian.org sarge/main Packages

Sarge version works supports X on this etch box:

$ apt-cache policy links2
links2:
  Installed: 2.1pre16-1
  Candidate: 2.1pre24-1
  Version table:
 2.1pre25-2 0
500 http://ftp.fi.debian.org sid/main Packages
 2.1pre24-1 0
990 http://ftp.fi.debian.org etch/main Packages
 *** 2.1pre16-1 0
500 http://ftp.fi.debian.org sarge/main Packages
100 /var/lib/dpkg/status

$ links2 -g -driver xasdf
Unknown graphics driver xasdf.
The following graphics drivers are supported:
x, directfb, fb, svgalib, sdl

Is the missing X support a bug or a feature?

-Mikko


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#398642: links2 -g still doesn't work 2.1pre25-2, missing X support?

2006-11-30 Thread Mikko Rapeli
On Thu, Nov 30, 2006 at 04:24:59PM +0100, Gürkan Sengün wrote:
> hello mikko
> 
> it works here. can you tell me what echo $DISPLAY says
> in your xterm?
> there's already 2.1pre26-1, but also 25-1 and -2 should work again.

$ echo $DISPLAY 
:1.0

> i can not reproduce your problem. what x version do you have?
> what debian version? what kernel? what x driver?

Latest etch. 

$ uname -r
2.6.19-rc5

is latest in my grub, since I'm debugging a Bluetooth crash too. X
driver is savage.

> if x is missing, that's a bug. it's the one that i use
> most of the time.

I think the problem is that links2 configure script doesn't find x.
Shouldn't "checking for X" return yes in
http://buildd.debian.org/fetch.cgi?&pkg=links2&ver=2.1pre25-2&arch=powerpc&stamp=1164797870&file=log
and when I build manually on i386?

That's why links2 says it doesn't have graphics driver x support, I
think:

$ ./links -g -driver x
Unknown graphics driver x.
The following graphics drivers are supported:
directfb, fb, svgalib

Perhaps the configure script looks for XFree stuff and not for X11 or
Xorg.

-Mikko



Bug#398642: links2 -g still doesn't work 2.1pre25-2, missing X support?

2006-12-01 Thread Mikko Rapeli
On Thu, Nov 30, 2006 at 07:05:07PM +0200, Mikko Rapeli wrote:
> Perhaps the configure script looks for XFree stuff and not for X11 or
> Xorg.

Here's a fix that worked with manual build on my etch host:

~/src/links2-2.1pre25$ ./links -g -driver foobar
Unknown graphics driver foobar.
The following graphics drivers are supported:
x, directfb, fb, svgalib

--- links2-2.1pre25.orig/configure
+++ links2-2.1pre25/configure
@@ -6196,6 +6196,7 @@
 /usr/X386/include \
 /usr/x386/include \
 /usr/XFree86/include/X11  \
+/usr/include/xorg \
   \
 /usr/include  \
 /usr/local/include\
@@ -6275,6 +6276,7 @@
 /usr/X386/lib \
 /usr/x386/lib \
 /usr/XFree86/lib/X11  \
+/usr/lib/xorg \
   \
 /usr/lib  \
 /usr/local/lib\


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]