Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package global I probably wouldn't have bugged you for this one, but Julien BLACHE reports: We're hitting this on automated installs that happen either without network connectivity or sometimes on a DHCP LAN that isn't the destination LAN (which will be another LAN with fixed IPs and hostnames etc) so hostname might not always be very happy with the situation. For some reason however, we only started bumping into this issue a few days ago after a few weeks of working on our Squeeze-based version. Maybe something has changed somewhere recently. It seems that ipython has added it as a dep, which means more people might hit it now than for the case bremner originally reported -- so this and the trigger fix (thanks lintian) look like final polish we should have for squeeze. It's been 28 days in unstable, and the package it's based on is way older than that. Thanks! (sorry it's kinda late) Ron unblock global/5.7.1-2 $ debdiff global_5.7.1-1.dsc global_5.7.1-2.dsc diff -u global-5.7.1/debian/changelog global-5.7.1/debian/changelog --- global-5.7.1/debian/changelog +++ global-5.7.1/debian/changelog @@ -1,3 +1,12 @@ +global (5.7.1-2) unstable; urgency=low + + * Fall back to localhost if `hostname --fqdn` fails. + This shouldn't usually happen, but may in some corner cases, + and the postinst shouldn't abort if it does. Closes: #541322 + * Extra deps for the Lenny info trigger transition. + + -- Ron Lee <r...@debian.org> Sun, 17 Oct 2010 11:42:50 +1030 + global (5.7.1-1) unstable; urgency=low * New upstream release. Closes: #491713 diff -u global-5.7.1/debian/control global-5.7.1/debian/control --- global-5.7.1/debian/control +++ global-5.7.1/debian/control @@ -3,11 +3,11 @@ Priority: optional Build-Depends: debhelper (>=6.0.7), texinfo Maintainer: Ron Lee <r...@debian.org> -Standards-Version: 3.8.0.1 +Standards-Version: 3.9.1.0 Package: global Architecture: any -Depends: ${shlibs:Depends} +Depends: dpkg (>= 1.15.4) | install-info, ${shlibs:Depends} Suggests: lynx | www-browser, doxygen (>=1.4.3), apache | httpd, id-utils Description: Source code search and browse tools GNU GLOBAL is a source code tag system that works the same way across diff -u global-5.7.1/debian/global.postinst global-5.7.1/debian/global.postinst --- global-5.7.1/debian/global.postinst +++ global-5.7.1/debian/global.postinst @@ -2,7 +2,7 @@ set -e if [ "$1" = "configure" ]; then - HOST=`hostname --fqdn` + HOST=$(hostname --fqdn) || HOST="localhost" htconfig -I -a http://${HOST}/cgi-bin/gsearch.cgi -p /var/lib/gsearch/pathdata /usr/lib/cgi-bin fi -- To UNSUBSCRIBE, email to debian-release-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20101114125801.23018.12194.report...@audi.shelbyville.oz