Gnu wget
Author: I | 2025-04-24
GNU Wget 1.21.1 Released posted by darnir, Sat UTC. GNU Wget 1.21 Released posted by darnir, Sat UTC. GNU Wget
GNU Wget - News: GNU wget 1.15 released - GNU Savannah
Good morning,maybe this helps you out. From here : the http.c file. /* HTTP support. Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.This file is part of GNU Wget.GNU Wget is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2 of the License, or (at your option) any later version.GNU Wget is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with Wget; if not, write to the Free SoftwareFoundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.In addition, as a special exception, the Free Software Foundationgives permission to link the code of its release of Wget with theOpenSSL project's "OpenSSL" library (or with modified versions of itthat use the same license as the "OpenSSL" library), and distributethe linked executables. You must obey the GNU General Public Licensein all respects for all of the code used other than "OpenSSL". If youmodify this file, you may extend this exception to your version of thefile, but you are not obligated to do so. If you do not wish to doso, delete this exception statement from your version. */#include #include #include #include #ifdef HAVE_STRING_H# include #else# include #endif#ifdef HAVE_UNISTD_H# include #endif#include #include #if TIME_WITH_SYS_TIME# include # include #else# if HAVE_SYS_TIME_H# include # else# include # endif#endif#ifndef errnoextern int errno;#endif#include "wget.h"#include "utils.h"#include "url.h"#include "host.h"#include "rbuf.h"#include "retr.h"#include "headers.h"#include "connect.h"#include "netrc.h"#ifdef HAVE_SSL# include "gen_sslfunc.h"#endif /* HAVE_SSL */#include "cookies.h"#ifdef USE_DIGEST# include "gen-md5.h"#endif#include "convert.h"extern char *version_string;extern LARGE_INT total_downloaded_bytes;static int cookies_loaded_p;struct cookie_jar *wget_cookie_jar;#define TEXTHTML_S "text/html"#define TEXTXHTML_S "application/xhtml+xml"#define HTTP_ACCEPT "*/*"/* Some status code validation
GNU Wget - News: GNU Wget 1.21 Released - GNU Savannah
Additional packages which are handy:yum install -y zlib-dev openssl-devel sqlite-devel bzip2-develRemember: Albeit optional, these “handy” tools are very much required for most of the tasks that you will come across in future. Unless they are installed in advance, Python, during compilation, will not be able to link to them.Python Installation Procedure From SourceSetting up Python on our system will consist of 3 stages and 4 tools:Downloading the compressed source code package (wget),Extracting the files from this package (tar),Configuring and building the application (autoconf (configure) / make).GNU wgetGNU’s “wget” is an application used to download files over various protocols (such as HTTP, FTP). Despite being missing from the older versions of CentOS, it now comes by default.Example Usage for wget: wget [URL]GNU TarGNU’s Tar is basically a file archive creation and manipulation tool. Using various options available, it is possible to create compressed packages as well as extracting them at a later time.Example Usage for tar: tar [options] [arguments]GNU autoconf and GNU makeGNU autoconf and make are two different tools, (mostly) used together to configure the source code before building and installing applications.We will:Use ./configure to configure everything before installationUse make to connect libraries and the source beforeUsing make install - altinstall in our case - to build (compile) source code to create binary files and install the application on our system as configured using ./configure.To learn more about autoconf, consider reading its manual.To learn more about make, consider reading its manual.Downloading, Building (Compiling) and Installing PythonIn this section, all the instructions given can be used to download any version of Python. You will just need to replace the version stated (which is “2.7.6” in the example below) with the version you require (e.g. “3.3.3”). You can install and use multiple versions at the same time. Although, you will need to specify their version during the execution (i.e. instead of python, you will need to use python2.7 or python3.3).Downloading the Source ArchiveLet’s begin with retrieving the (compressed) archive containing Python source code. We will target --version 2.7.6.wget for version 3.3.3:wget Step] XZ tools:This file is compressed using XZ library. Your system, depending on its version, might not have it. If that is the case, run the following to install XZ library: yum install xz-libsExtracting the Compressed Source ArchiveThis process consists of two steps: first decoding the XZ archive, followed by extracting the tar.# Let's decode (-d) the XZ encoded tar archive:xz -d Python-2.7.6.tar.xz# Now we can perform the extraction:tar -xvf Python-2.7.6.tarExample for version 3.3.3:xz -d Python-3.3.3.tar.xztar -xvf Python-3.3.3.tarConfiguring and Installation—Before building the source, we need to make sure that all the dependencies are there and prepare the environment. This is achieved automatically by using ./configure to handle the task for us.#GNU Wget - News: GNU wget 1.13.4 released - GNU Savannah
Download Windows 10 Spotlight Lock screen images anywhereHow to useClone this git repository with git clone you want to download the images in a different folder copy the script in it.Run any one of the scripts as following:Python script: Install requests module with python -m pip install requests.Run the script with double click or use python WinLight.py.Shell script: Install wget in your system. Fox example, in Debian andits family run apt install wget. Make the shell scriptexecutable with chmod +x WinLight.sh. Then run the script withdouble click or use ./WinLight.sh command in your preferred shell.There will be some JPEG images after success. Images will be in pair of landscapeand portrait mode. Run the script multiple times to gather more images.How this worksBoth script work as following:Download the cache.json file with some magic.Edit it for further use.Download the images.Delete small blank files (less than 2 KB).To see cache.json file, open it in Firefox which highlights it syntactically.For Chromium and its derivatives, use any JSON viewer or formatter extensions.InsightInterested in what happens behind the scene? See Developers page.LicenseWinLight is licensed under the GNU General Public License v3. A fullcopy of the license is provided in LICENSE..">WinLight -- Download Windows 10 Spotlight Lock screen images anywhereCopyright (C) 2019 Biswapriyo NathThis program is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation, either version 3 of the License, or(at your option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program. If not, see .. GNU Wget 1.21.1 Released posted by darnir, Sat UTC. GNU Wget 1.21 Released posted by darnir, Sat UTC. GNU WgetGNU Wget - News: GNU wget 1.16 released - GNU Savannah
Probably means that your ISP changed your router’s public IP address and you need to click on your bookmark or shortcut to update the IP address on TunnelBroker.Automatically Update your dynamic IPv4 addressAt this point we are really close to having a stable and reliable IPv6 tunnel, but I wanted a solution that would completely automate the process of updating my DHCP IP address on TunnelBroker. In the end, I settled on using a simple 3rd-party tool named GNU Wget to tie it all together. What we are going to do next is create a scheduled task to run once every hour on a computer located on your home or office network which calls the Update URL from above and updates your IP address. This way, every time your ISP changes your IP address, the scheduled task will promptly (within 1 hour) update the address on your tunnel without any intervention from you.If anyone can figure out a way to do this using native Windows tools *without* installing GNU Wget please let me know in the comments below and I will update this guide to keep it simple.For these next steps, it is important that you perform them on a desktop computer or a computer that does not leave your home or office. Don’t install the Scheduled Task on a laptop or a portable computer. If you do, you will break your IPv6 tunnel every time you take it to another network since it will incorrectly update your tunnel’s IP address to match someone else’s network.Download the .zip for the 32-bit version of GNU Wget from the file wget.exe from the .zip and save it some place simple such as C:\Windows\system32Open Task Scheduler on your Windows computer and click Create TaskGive the task a Name and check the box toGNU Wget - News: GNU wget 1.14 released - GNU Savannah
If you want to start it under PowerShell using just "curl", you will launch Invoke-WebRequest, because such an alias is defined by default. So you have to enter curl.exe instead. The utility supports several protocols, including FTP and, unlike ftp.exe, also FTPS (over TLS). If you specify the --ftp-ssl switch, then it will try to establish a secure connection and will fall back to FTP if this fails. You can force FTPS with --ssl-reqd.The automatic login is achieved with the parameter -u username:password or --user username:password followed by the path to the desired file:curl.exe -u ftp:ftp -O ftp.gnu.org/gnu/wget/wget2-latest.tar.gzThe -O switch tells curl to save the file under the same name. If you want a different filename as the destination, you can achieve it like this:curl.exe -u ftp:ftp ftp.gnu.org/gnu/wget/wget2-latest.tar.gz -o wget.tar.gzTo download arbitrary files from a directory, curl is less flexible than FTP; at least, the implementation for Windows is. You can display the contents of a directory by appending a trailing slash:curl ftp://ftp.gnu.org/gnu/wget/ -u ftp:ftpBut this does not help to automate the download because curl lacks the support of wildcards if the file names change regularly (for example, with backups, whose names usually contain the date).FTP download with curl subsequent listing of directory contentsConclusionFTP is a long-serving method for file transfer and offers the possibility of automating processes using commands that are simply stored line by line in a text file. However, the Windows client does not support secure connections, so you have to limit its use to environments where this is not a problem.Subscribe to 4sysops newsletter!Curl is a newcomer to the Windows world, offering a variety of options and dealing with multiple protocols. However, it is less flexible for automating FTP downloads.GNU Wget - News: GNU Wget 1.21.1 Released - GNU Savannah
PocketHandyBox (Debian 12 "Bookworm" with NVIDIA drivers OOTB) gumanzoy Posts: 143 Joined: Mon May 03, 2021 3:38 pm Has thanked: 27 times Been thanked: 37 times Contact: Re: My LiveUSB DogLinux Bookworm build for hardware testing (nvidia-drivers, GPUTest) Post by gumanzoy » Sat Oct 05, 2024 4:26 pm Modified for 2024.11.05 build script mklive-bookworm and config.To reduce size quick-remaster removed from BASE_DOG_APPS_INSTALL=Added mandb --create after remove localized manpages. Recreate db /var/cache/man/Modified for 2024.10.04 build script mklive-bookworm and config.I will not use no-merged-usr. And i use bookworm version of debootstrap. This is why i remove/comment this code.Code: Select all- if [ "$NMU" = "TRUE" ]; then # NO merged-usr, install devuan debootstrap-# download and install debootstrap no-merged-usr deb from Devuan-DEBOOTSTRAP=debootstrap_1.0.128+nmu2devuan2_all.deb-wget --no-check-certificate -O $DEBOOTSTRAP- else # download and install debootstrap deb-DEBOOTSTRAP=debootstrap_1.0.134_all.deb-wget --no-check-certificate -O $DEBOOTSTRAP- fi--dpkg -i "$DEBOOTSTRAP"+#DEBOOTSTRAP=debootstrap_1.0.134_all.deb+#wget --no-check-certificate -O $DEBOOTSTRAP+# fi+#+#dpkg -i "$DEBOOTSTRAP"I comment out proposed-updates and add backports to sources.list. dpkg --add-architecture i386, Disable smartd.Exclude mesa d3d12_dri.so library. Its only functional inside MS WSL2. And have no sense on bare metal.I don't use conky and remove conkytoggle.desktop. And i don't like aero cursors root/.icons from dog-boot-bookworm-20221013.tar.gz, remove it.Code: Select all deb bookworm-updates main contrib non-free #deb-src bookworm-updates main contrib non-free -deb bookworm-proposed-updates main contrib non-free+#deb bookworm-proposed-updates main contrib non-free #deb-src bookworm-proposed-updates main contrib non-free deb bookworm-security main contrib non-free #deb-src bookworm-security main contrib non-free +deb bookworm-backports main contrib non-free non-free-firmware+#deb-src bookworm-backports main contrib non-free+ ' [ "$ARCH" = "i386" ] && echo "$REPOS32" > /etc/apt/sources.list [ "$ARCH" = "amd64" ] && echo "$REPOS64" > /etc/apt/sources.list +[ "$ARCH" = "amd64" ] && dpkg --add-architecture i386++echo path-exclude=/etc/init.d/smartmontools > etc/dpkg/dpkg.cfg.d/smartd+echo path-exclude=/usr/sbin/smartd >> etc/dpkg/dpkg.cfg.d/smartd+echo path-exclude=/usr/lib/x86_64-linux-gnu/dri/d3d12_dri.so > etc/dpkg/dpkg.cfg.d/mesa_d3d12_dri++rm -f root/Desktop/conkytoggle.desktop+rm -rf root/.icons+rm -f home/puppy/Desktop/conkytoggle.desktop+rm -rf home/puppy/.icons+I fix my code for download and install libpng12_i386.deb in "$ARCH" = "amd64".Now it is work as needed and don't makes copies of libpng12-0_1.2.50-2+deb8u3.3_i386.deb for each run of script.Added code for install backported version of netsurf. I rebuild it from src deb testing version.Just put debs to build/bookworm/chroot/var/cache/apt/archives/Code: Select all+if [ "$ARCH" = "amd64" ]; then+ls var/cache/apt/archives/libpng12*_i386.deb 2> /dev/null || \+wget --no-check-certificate \+-P var/cache/apt/archives+dpkg --force-overwrite -i var/cache/apt/archives/libpng12*_i386.deb+fi++ls var/cache/apt/archives/netsurf-*_3.11*.deb 2> /dev/null && \+dpkg -i var/cache/apt/archives/netsurf-common_3.11*_all.deb \+var/cache/apt/archives/netsurf-gtk_3.11*_"$ARCH".deb+Remove mesa libs from 01-filesystem.squashfs. Because i make module with updated mesa and libdrm from backports.Code: Select all+# Remove mesa libs from 01-filesystem.squashfs+# Prefer to make module with mesa and libdrm from backports+if [ "$ARCH" = "amd64" ]; then+rm -f usr/lib/x86_64-linux-gnu/dri/*_dri.so+rm -f usr/lib/x86_64-linux-gnu/libdrm_*so.*+rm -f usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0*+fi+gumanzoy wrote: Mon. GNU Wget 1.21.1 Released posted by darnir, Sat UTC. GNU Wget 1.21 Released posted by darnir, Sat UTC. GNU Wget GNU Wget is distributed under the GNU General Public License. Downloading GNU Wget. The source code for GNU Wget can be found on the main GNU download server or (better) on a GNU mirror near you. For more download options, see the FAQ. Documentation. GNU Wget documentation is available online, as are the manuals of other GNU packagesComments
Good morning,maybe this helps you out. From here : the http.c file. /* HTTP support. Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.This file is part of GNU Wget.GNU Wget is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2 of the License, or (at your option) any later version.GNU Wget is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with Wget; if not, write to the Free SoftwareFoundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.In addition, as a special exception, the Free Software Foundationgives permission to link the code of its release of Wget with theOpenSSL project's "OpenSSL" library (or with modified versions of itthat use the same license as the "OpenSSL" library), and distributethe linked executables. You must obey the GNU General Public Licensein all respects for all of the code used other than "OpenSSL". If youmodify this file, you may extend this exception to your version of thefile, but you are not obligated to do so. If you do not wish to doso, delete this exception statement from your version. */#include #include #include #include #ifdef HAVE_STRING_H# include #else# include #endif#ifdef HAVE_UNISTD_H# include #endif#include #include #if TIME_WITH_SYS_TIME# include # include #else# if HAVE_SYS_TIME_H# include # else# include # endif#endif#ifndef errnoextern int errno;#endif#include "wget.h"#include "utils.h"#include "url.h"#include "host.h"#include "rbuf.h"#include "retr.h"#include "headers.h"#include "connect.h"#include "netrc.h"#ifdef HAVE_SSL# include "gen_sslfunc.h"#endif /* HAVE_SSL */#include "cookies.h"#ifdef USE_DIGEST# include "gen-md5.h"#endif#include "convert.h"extern char *version_string;extern LARGE_INT total_downloaded_bytes;static int cookies_loaded_p;struct cookie_jar *wget_cookie_jar;#define TEXTHTML_S "text/html"#define TEXTXHTML_S "application/xhtml+xml"#define HTTP_ACCEPT "*/*"/* Some status code validation
2025-03-29Additional packages which are handy:yum install -y zlib-dev openssl-devel sqlite-devel bzip2-develRemember: Albeit optional, these “handy” tools are very much required for most of the tasks that you will come across in future. Unless they are installed in advance, Python, during compilation, will not be able to link to them.Python Installation Procedure From SourceSetting up Python on our system will consist of 3 stages and 4 tools:Downloading the compressed source code package (wget),Extracting the files from this package (tar),Configuring and building the application (autoconf (configure) / make).GNU wgetGNU’s “wget” is an application used to download files over various protocols (such as HTTP, FTP). Despite being missing from the older versions of CentOS, it now comes by default.Example Usage for wget: wget [URL]GNU TarGNU’s Tar is basically a file archive creation and manipulation tool. Using various options available, it is possible to create compressed packages as well as extracting them at a later time.Example Usage for tar: tar [options] [arguments]GNU autoconf and GNU makeGNU autoconf and make are two different tools, (mostly) used together to configure the source code before building and installing applications.We will:Use ./configure to configure everything before installationUse make to connect libraries and the source beforeUsing make install - altinstall in our case - to build (compile) source code to create binary files and install the application on our system as configured using ./configure.To learn more about autoconf, consider reading its manual.To learn more about make, consider reading its manual.Downloading, Building (Compiling) and Installing PythonIn this section, all the instructions given can be used to download any version of Python. You will just need to replace the version stated (which is “2.7.6” in the example below) with the version you require (e.g. “3.3.3”). You can install and use multiple versions at the same time. Although, you will need to specify their version during the execution (i.e. instead of python, you will need to use python2.7 or python3.3).Downloading the Source ArchiveLet’s begin with retrieving the (compressed) archive containing Python source code. We will target --version 2.7.6.wget for version 3.3.3:wget Step] XZ tools:This file is compressed using XZ library. Your system, depending on its version, might not have it. If that is the case, run the following to install XZ library: yum install xz-libsExtracting the Compressed Source ArchiveThis process consists of two steps: first decoding the XZ archive, followed by extracting the tar.# Let's decode (-d) the XZ encoded tar archive:xz -d Python-2.7.6.tar.xz# Now we can perform the extraction:tar -xvf Python-2.7.6.tarExample for version 3.3.3:xz -d Python-3.3.3.tar.xztar -xvf Python-3.3.3.tarConfiguring and Installation—Before building the source, we need to make sure that all the dependencies are there and prepare the environment. This is achieved automatically by using ./configure to handle the task for us.#
2025-04-09Probably means that your ISP changed your router’s public IP address and you need to click on your bookmark or shortcut to update the IP address on TunnelBroker.Automatically Update your dynamic IPv4 addressAt this point we are really close to having a stable and reliable IPv6 tunnel, but I wanted a solution that would completely automate the process of updating my DHCP IP address on TunnelBroker. In the end, I settled on using a simple 3rd-party tool named GNU Wget to tie it all together. What we are going to do next is create a scheduled task to run once every hour on a computer located on your home or office network which calls the Update URL from above and updates your IP address. This way, every time your ISP changes your IP address, the scheduled task will promptly (within 1 hour) update the address on your tunnel without any intervention from you.If anyone can figure out a way to do this using native Windows tools *without* installing GNU Wget please let me know in the comments below and I will update this guide to keep it simple.For these next steps, it is important that you perform them on a desktop computer or a computer that does not leave your home or office. Don’t install the Scheduled Task on a laptop or a portable computer. If you do, you will break your IPv6 tunnel every time you take it to another network since it will incorrectly update your tunnel’s IP address to match someone else’s network.Download the .zip for the 32-bit version of GNU Wget from the file wget.exe from the .zip and save it some place simple such as C:\Windows\system32Open Task Scheduler on your Windows computer and click Create TaskGive the task a Name and check the box to
2025-03-25