Hello community,

here is the log from the commit of package obs-service-download_files for 
openSUSE:Factory checked in at 2013-12-24 16:06:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obs-service-download_files (Old)
 and      /work/SRC/openSUSE:Factory/.obs-service-download_files.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "obs-service-download_files"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/obs-service-download_files/obs-service-download_files.changes
    2013-07-23 20:34:06.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-download_files.new/obs-service-download_files.changes
       2013-12-24 16:06:27.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Dec 17 10:03:00 UTC 2013 - [email protected]
+
+- We do not tell the server that we are an OBS tool by default anymore,
+  because too many sites just have a white list, but they accept wget
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ download_files ++++++
--- /var/tmp/diff_new_pack.rIDLz1/_old  2013-12-24 16:06:27.000000000 +0100
+++ /var/tmp/diff_new_pack.rIDLz1/_new  2013-12-24 16:06:27.000000000 +0100
@@ -88,24 +88,19 @@
     SAMEFILEAFTERCOMPRESSION=
     [[ "${PROTOCOL}" != "http" && "${PROTOCOL}" != "https" && "${PROTOCOL}" != 
"ftp" ]] && continue
 
-    # Some web sites need a special user agent
-    if echo $url | egrep -q '^http://sourceforge.net/'; then
-      # default wget user agent required
-      :
-    else
-      # determine intended filename from URL fragment, e.g. 
-      # https://www.example.com/gpgkeys.asc#/%{name}.keyring
-      FRAGMENT=`echo $url | perl -MURI -le 'chomp($url = <>); print 
URI->new($url)->fragment'`
-      BN=`basename "$url"`
-      # fragment must begin with "/" and only contain a base name
-      if [ /"$BN" == "$FRAGMENT" ]; then
-        WGET="$WGET -O $BN"
-      fi
-      #
-      
-      # We tell the server that we are an OBS tool by default
-      WGET="$WGET -U 'OBS-wget'"
+    # determine intended filename from URL fragment, e.g. 
+    # https://www.example.com/gpgkeys.asc#/%{name}.keyring
+    FRAGMENT=`echo $url | perl -MURI -le 'chomp($url = <>); print 
URI->new($url)->fragment'`
+    BN=`basename "$url"`
+    # fragment must begin with "/" and only contain a base name
+    if [ /"$BN" == "$FRAGMENT" ]; then
+      WGET="$WGET -O $BN"
     fi
+    #
+      
+    # We do not tell the server that we are an OBS tool by default anymore,
+    # because too many sites just have a white list, but they accept wget
+    # WGET="$WGET -U 'OBS-wget'"
 
     cd "$MYOUTDIR"
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to