From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:36798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCNlO-0001tQ-Vv for guix-patches@gnu.org; Fri, 05 Apr 2019 08:16:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hCNlN-0001C1-OF for guix-patches@gnu.org; Fri, 05 Apr 2019 08:16:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59824) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hCNlN-0001Af-6L for guix-patches@gnu.org; Fri, 05 Apr 2019 08:16:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hCNlK-0001p0-Eh for guix-patches@gnu.org; Fri, 05 Apr 2019 08:16:04 -0400 Subject: [bug#35156] [PATCH] Add htttrack Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:36626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCNkI-0001eN-4n for guix-patches@gnu.org; Fri, 05 Apr 2019 08:14:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hCNkG-0006vy-8m for guix-patches@gnu.org; Fri, 05 Apr 2019 08:14:58 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:41367) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hCNkD-0006kn-4P for guix-patches@gnu.org; Fri, 05 Apr 2019 08:14:55 -0400 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 944FCFF812 for ; Fri, 5 Apr 2019 12:14:49 +0000 (UTC) From: Nicolas Goaziou Date: Fri, 05 Apr 2019 14:14:48 +0200 Message-ID: <87imvs7io7.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 35156@debbugs.gnu.org --=-=-= Content-Type: text/plain Hello, The following patch adds HTTrack offline website browser. Feedback welcome. Regards, -- Nicolas Goaziou --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-httrack.patch Content-Transfer-Encoding: quoted-printable Content-Description: Add httrack >From 9ce157feeb529e2bfaa82a357288311093dfa2c4 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 5 Apr 2019 14:12:48 +0200 Subject: [PATCH] gnu: Add httrack. * gnu/packages/web.scm (httrack): New variable. --- gnu/packages/web.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index e84b42358c..c19e49b5f5 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -30,6 +30,7 @@ ;;; Copyright =C2=A9 2018 G=C3=A1bor Boskovits ;;; Copyright =C2=A9 2018 M=C4=83d=C4=83lin Ionel Patra=C8=99cu ;;; Copyright =C2=A9 2018 Alex Vong +;;; Copyright =C2=A9 2019 Nicolas Goaziou ;;; ;;; This file is part of GNU Guix. ;;; @@ -6430,3 +6431,35 @@ compressed JSON header blocks. provided by Guix. The list of packages is searchable and provides instructions on how to use Guix in a shared HPC environment.") (license l:agpl3+)))) + +(define-public httrack + (package + (name "httrack") + (version "3.48.21") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/xroche/httrack.git") + (commit version) + (recursive? #t))) ;for "coucal" submodule + (file-name (git-file-name name version)) + (sha256 + (base32 + "0cn4h7bzvp2mf5id229cgb101cqmwycc1nkd1n91c69akzivdhl2")))) + (build-system gnu-build-system) + (inputs + `(("libressl" ,libressl) + ("zlib" ,zlib))) + (home-page "https://www.httrack.com/") + (synopsis "Easy-to-use offline browser utility") + (description "HTTrack allows you to download a World Wide Web site from +the Internet to a local directory, building recursively all directories, +getting HTML, images, and other files from the server to your computer. + +HTTrack arranges the original site's relative link-structure. Simply open +a page of the ``mirrored'' website in your browser, and you can browse the +site from link to link, as if you were viewing it online. HTTrack can also +update an existing mirrored site, and resume interrupted downloads. + +HTTrack is fully configurable, and has an integrated help system.") + (license license:gpl3+))) --=20 2.21.0 --=-=-=--