Bug#355894: mime-support: Enhancement of update-mime
Package: mime-support Version: 3.28-1 Severity: wishlist Tags: patch We're using Sarge for our workstations and we had to import several programs via nfs. These programs also use mime files and we had to patch update mime to look in these directories too. We created a generalized version that uses a simple config file with the directories we're looking at. I have attached the patch against the sarge version of update-mime and our config file. Most stuff in the config file is commented out (default values). It's just an example. A version for the distribution may come with an empty config or a fully commented out version. Please consider to apply this patch to the main distribution, I think it will be handy for admins that have large scale installations. Feel free to ask if you have any questions. -- Ihre Systemadministration - Patrick Cornelissen Be 4, Zi 3 -- Tel: 7773 [EMAIL PROTECTED] www.math.uni-bonn.de/support # update-mime.conf #$debug = 0; #$mailcap= "/etc/mailcap"; #$mailcapdef = "/usr/lib/mime/mailcap"; #$mimedir= "/usr/lib/mime/packages"; $mimedir= $mimedir.":/usr/local-mib/share/etc/mime"; #$orderfile = "/etc/mailcap.order"; #$defpriority= 5; --- /usr/sbin/update-mime 2004-07-16 14:29:04.0 +0200 +++ update-mime 2005-09-22 12:15:21.0 +0200 @@ -17,18 +17,18 @@ # # Program Constants # + +# config file name (to be parsed) +$config= "/etc/update-mime.conf"; +# defaults $debug = 0; $mailcap = "/etc/mailcap"; $mailcapdef= "/usr/lib/mime/mailcap"; $mimedir = "/usr/lib/mime/packages"; $orderfile = "/etc/mailcap.order"; -$defpriority= 5; - -#$mailcap = "/home/bcwhite/tmp/mailcap"; -#$mimedir = "/home/bcwhite/tmp/mime"; -#$orderfile= "/home/bcwhite/tmp/mime.order"; - - +$defpriority = 5; +# read config if available +do $config if -f $config; # # Global Variables @@ -46,7 +46,7 @@ $counter=1; - foreach $file (glob "$mimedir/*") { + foreach $file (map { glob $_.'/*' } split ':',$mimedir ) { next if ($file =~ m!(^|/)(\.|\#)|(\~)$!); ($package) = ($file =~ m|/([^/]*)$|); print STDERR "$package:\n" if $debug;
Bug#358351: mozilla-firefox: https fails sometimes when using proxy auto configuration
Package: mozilla-firefox Version: 1.0.4-2sarge4 Severity: normal *** Please type your report below this line *** We're using the proxy auto configuration for konqueror and firefox. Some of our users have problems reaching certain https urls with firefox (konqueror is able to connect!) pac.js looks like this: function FindProxyForURL(url, host) { direct = "DIRECT"; // proxy = "PROXY proxy2.math.uni-bonn.de:3128; PROXY proxy3.math.uni-bonn.de:3128;"; proxy = "PROXY proxy3.math.uni-bonn.de:3128;"; if (!(dnsDomainIs(host, ".math.uni-bonn.de") || isPlainHostName(host))) return proxy; else if (!isInNet(host, "131.220.120.0", "255.255.255.0")) return proxy; else return direct; } The URL https://www.abnamro.nl/toegang/aanloggen doesn't work with this pac file, but other sites like https://bugzilla.mozilla.org/index.cgi work. The error message appears as message box and complains that firefox wasn't able to contact the proxy. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.8-2-686 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages mozilla-firefox depends on: ii debianutils2.8.4 Miscellaneous utilities specific t ii fontconfig 2.3.1-2 generic font configuration library ii libatk1.0-01.8.0-4 The ATK accessibility toolkit ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libfontconfig1 2.3.1-2 generic font configuration library ii libfreetype6 2.1.7-2.4 FreeType 2 font engine, shared lib ii libgcc11:3.4.3-13GCC support library ii libglib2.0-0 2.6.4-1 The GLib library of C routines ii libgtk2.0-02.6.4-3.1 The GTK+ graphical user interface ii libidl00.8.5-1 library for parsing CORBA IDL file ii libjpeg62 6b-10 The Independent JPEG Group's JPEG ii libkrb53 1.3.6-2sarge2 MIT Kerberos runtime libraries ii libpango1.0-0 1.8.1-1 Layout and rendering of internatio ii libpng12-0 1.2.8rel-1PNG library - runtime ii libstdc++5 1:3.3.5-13The GNU Standard C++ Library v3 ii libx11-6 4.3.0.dfsg.1-14sarge1 X Window System protocol client li ii libxext6 4.3.0.dfsg.1-14sarge1 X Window System miscellaneous exte ii libxft22.1.7-1 FreeType-based font drawing librar ii libxp6 4.3.0.dfsg.1-14sarge1 X Window System printing extension ii libxt6 4.3.0.dfsg.1-14sarge1 X Toolkit Intrinsics ii psmisc 21.5-1Utilities that use the proc filesy ii xlibs 4.3.0.dfsg.1-14sarge1 X Keyboard Extension (XKB) configu ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#358350: konqueror: proxy auto configuration => problem with multiple proxies
Package: konqueror Version: 4:3.3.2-1sarge1 Severity: normal We're using the proxy autoconfiguration to have the same proxy config on firefox and konqueror. We have a primary proxy and a backup proxy. Both are returned by the script. We're following the documentation at: http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html which is also referenced in the admin documentation of the kde project. (http://i18n.kde.org/docs/admin/admin.txt) The Problem is that the first proxy is offlien due to hardware problems and konqueror ignores the second entry. The documentation states that it uses the next entry if the current proxy is dead. Firefox does this. konqueror complains that it's not possible to reach the first proxy and stops. pac file looks like this: function FindProxyForURL(url, host) { direct = "DIRECT"; proxy = "PROXY proxy2.math.uni-bonn.de:3128; PROXY proxy3.math.uni-bonn.de:3128;"; if (!(dnsDomainIs(host, ".math.uni-bonn.de") || isPlainHostName(host))) return proxy; else if (!isInNet(host, "131.220.120.0", "255.255.255.0")) return proxy; else return direct; } (The proxy=... row is not wrapped in our script!) There seems to be a wrapper class for the pac stuff (http://developer.kde.org/documentation/library/3.0-api/classref/kio/KPAC.html). It looks like this class is broken or it's used in a wrong way in konqueror. We tried to change the name of the first broken proxy to another computer that is turned on but has no squid running (to check if there is a difference between host offline or no port open) -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.8-2-686 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages konqueror depends on: ii kcontrol 4:3.3.2-1sarge1 KDE Control Center ii kdebase-kio-plugin 4:3.3.2-1sarge1 KDE I/O Slaves ii kdelibs4 4:3.3.2-6.2 KDE core libraries ii kdesktop 4:3.3.2-1sarge1 KDE Desktop ii kfind 4:3.3.2-1sarge1 KDE File Find Utility ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libfam0c1022.7.0-6sarge1 client library to control the FAM ii libgcc11:3.4.3-13GCC support library ii libice64.3.0.dfsg.1-14sarge1 Inter-Client Exchange library ii libidn11 0.5.13-1.0GNU libidn library, implementation ii libjpeg62 6b-10 The Independent JPEG Group's JPEG ii libkonq4 4:3.3.2-1sarge1 Core libraries for KDE's file mana ii libpcre3 4.5-1.2sarge1 Perl 5 Compatible Regular Expressi ii libpng12-0 1.2.8rel-1PNG library - runtime ii libqt3c102-mt 3:3.3.4-3 Qt GUI Library (Threaded runtime v ii libsm6 4.3.0.dfsg.1-14sarge1 X Window System Session Management ii libstdc++5 1:3.3.5-13The GNU Standard C++ Library v3 ii libx11-6 4.3.0.dfsg.1-14sarge1 X Window System protocol client li ii libxext6 4.3.0.dfsg.1-14sarge1 X Window System miscellaneous exte ii libxrender10.8.3-7 X Rendering Extension client libra ii xlibs 4.3.0.dfsg.1-14sarge1 X Keyboard Extension (XKB) configu ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#333265: mozilla-thunderbird: infinite loop occurs here too
Package: mozilla-thunderbird Version: 1.0.2-2 Followup-For: Bug #333265 We're using Sarge on our AMD64 systems with 32Bit-k7 Kernel and install via FAI (So all workstations are configured exactly the same except some printerconfig if they have a local printer) We're having this problem too on this (and only this!) workstation. We could not determine any differences to other workstations. We even reinstalled it from scratch with the same behavior afterwards. It's repeating this: "*** loading the extensions datasource New Global extensions installed done ... scheduling restart." for every user. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.8-2-k7 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages mozilla-thunderbird depends on: ii libatk1.0-0 1.8.0-4 The ATK accessibility toolkit ii libc62.3.2.ds1-22GNU C Library: Shared libraries an ii libfontconfig1 2.3.1-2 generic font configuration library ii libfreetype6 2.1.7-2.4 FreeType 2 font engine, shared lib ii libgcc1 1:3.4.3-13 GCC support library ii libglib2.0-0 2.6.4-1 The GLib library of C routines ii libgtk2.0-0 2.6.4-3 The GTK+ graphical user interface ii libpango1.0-01.8.1-1 Layout and rendering of internatio ii libstdc++5 1:3.3.5-13 The GNU Standard C++ Library v3 ii libx11-6 4.3.0.dfsg.1-14 X Window System protocol client li ii libxext6 4.3.0.dfsg.1-14 X Window System miscellaneous exte ii libxft2 2.1.7-1 FreeType-based font drawing librar ii libxp6 4.3.0.dfsg.1-14 X Window System printing extension ii libxrender1 0.8.3-7 X Rendering Extension client libra ii libxt6 4.3.0.dfsg.1-14 X Toolkit Intrinsics ii xlibs4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu ii zlib1g 1:1.2.2-4 compression library - runtime -- debconf information: mozilla-thunderbird/browser: Debian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]