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

Fwd: Bug#660266: Failed to download 1rott13.zip



Dear release-managers,

please consider the attached diff for rott in stable. I know it's  "only"
contrib/games, but anyway... ;)

The rott package is able to download the required (but non-free) game 
shareware data from the publisher's web server in the postinst script  if
the user wishes so. However, the servers have proven unreliable and  users
keep complaining about failed downloads, e.g. #660266. We have  thus put a
copy of the zip file on pkg-games.alioth.d.o.

The code is not in unstable, because we have decided to drop the
downloading in the postinst script in favor of using
game-data-packager. The latter already uses pkg-games.alioth.d.o to 
download the shareware zip file.

  - Fabian


diff -Nru rott-1.1.1/debian/changelog rott-1.1.1/debian/changelog
--- rott-1.1.1/debian/changelog	2010-06-03 07:38:58.000000000 +0200
+++ rott-1.1.1/debian/changelog	2012-02-20 10:45:52.000000000 +0100
@@ -1,3 +1,10 @@
+rott (1.1.1-3.1+squeeze1) squeeze; urgency=low
+
+  * As a last resort, try to download the shareware data files
+    from pkg-games.alioth.debian.org (Closes: ##660266).
+
+ -- Fabian Greffrath <fabian+debian@greffrath.com>  Mon, 20 Feb 2012 10:45:40 +0100
+
 rott (1.1.1-3.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru rott-1.1.1/debian/rott.postinst rott-1.1.1/debian/rott.postinst
--- rott-1.1.1/debian/rott.postinst	2009-08-04 14:23:48.000000000 +0200
+++ rott-1.1.1/debian/rott.postinst	2012-02-20 10:41:10.000000000 +0100
@@ -8,6 +8,7 @@
 SHAREZIP="1rott13.zip"
 SHAREURL1="ftp://ftp.3drealms.com/share";
 SHAREURL2="ftp://ftp.3drealms.com/pub/share";
+SHAREURL3="http://pkg-games.alioth.debian.org";
 SHAREMD5="0fafd6b629eab80278fc726e31f9cf41"
 DOCDIR="/usr/share/doc/rott"
 
@@ -45,6 +46,7 @@
 				if [ ! -e ${SHAREDIR}/${SHAREZIP} ]; then
 					wget --progress=dot --directory-prefix ${SHAREDIR} -c ${SHAREURL1}/${SHAREZIP} || \
 					wget --progress=dot --directory-prefix ${SHAREDIR} -c ${SHAREURL2}/${SHAREZIP} || \
+					wget --progress=dot --directory-prefix ${SHAREDIR} -c ${SHAREURL3}/${SHAREZIP} || \
 					echo "rott: Download of shareware data files failed!" >&2
 				fi
 

Reply to: