From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ICT0F5Nt8WOafQEAbAwnHQ (envelope-from ) for ; Sun, 19 Feb 2023 01:30:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mEoaF5Nt8WNEBgAAG6o9tA (envelope-from ) for ; Sun, 19 Feb 2023 01:30:11 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CF61135B8E for ; Sun, 19 Feb 2023 01:30:10 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=NtiT4WS8; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676766611; a=rsa-sha256; cv=none; b=XVoeNRuU2+Ck8CDdwKV6XXj3Xfjzfs4rvlZ0mVX/ZoBCNKqkbU/1VZMmylRnIIiufNrYkK RU9hiubIpGb8ch5VU5wzUX8G5FQfHfK97RmXlcnuJ+X3oILOTwjR7F6kf1Utar9twDSyAb 8R7na2QgHjmAwXD5SzYuUq/MwcUj1noV/ngBcsJ0oaA+usOgza/SfQ3vlqtv8zWrMNi24B BUFHzPKlzima4EEQwNKo3i0vDyQEk6aJ82StHME4gsdperJ0jhmdh+ju9unjicL9AXRFRk iy7UKk+sm1Gce/FzXrpATaTWtKm+P57ihi/QSgd/gG9wAFJCzGOWd6Bu8xC9og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=NtiT4WS8; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676766611; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KCY5SbQhardX/7WmUgzx+gxL32rfWhxYXtlxCPkL3AU=; b=Y2R+0AW2PceWJqEHYeDYWryGS0bEPYD1weyE1OZWi6+/RhKieY4KpGL6Ksd0jPStKixbMj Ds5PqU8sF5TAXNyFeSNpbNnVcS7PDs17uhg6yOnh59OvH46cSyJFzTw7T9h2WIIh8hWm1k hgosR6LEwQUKVo78Rq1/sLcQDwI0JXiRZriidfU2t2JzqeoiOVCiktjJj8xcSH5tIeLeG7 XWeAE/nBxHlnryfVS2MlyOdwdD6/brsw2pt/UvnnGeS5Jr6a5J3bM3yJ3mkowceg+mh0ts jh8R6jvOnZgMCS8DyPhr77RUS8ReKyha49/I1o15rN3UFM1F5Y51pb4kkwbzsg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTXae-0001Xp-Hk; Sat, 18 Feb 2023 19:30:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTXad-0001XZ-Pd for guix-patches@gnu.org; Sat, 18 Feb 2023 19:30:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pTXad-0000AX-7p for guix-patches@gnu.org; Sat, 18 Feb 2023 19:30:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pTXac-0007nS-Tm for guix-patches@gnu.org; Sat, 18 Feb 2023 19:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59355] [PATCH v1] gnu: Add dataparksearch. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Feb 2023 00:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59355 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice Cc: 59355@debbugs.gnu.org X-Debbugs-Original-Cc: 59355@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by 59355-submit@debbugs.gnu.org id=B59355.167676659729920 (code B ref 59355); Sun, 19 Feb 2023 00:30:02 +0000 Received: (at 59355) by debbugs.gnu.org; 19 Feb 2023 00:29:57 +0000 Received: from localhost ([127.0.0.1]:45223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTXaW-0007mW-Tg for submit@debbugs.gnu.org; Sat, 18 Feb 2023 19:29:57 -0500 Received: from knopi.disroot.org ([178.21.23.139]:35380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTXaU-0007mL-NE for 59355@debbugs.gnu.org; Sat, 18 Feb 2023 19:29:56 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id DBB5E44562; Sun, 19 Feb 2023 01:29:52 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MlvJGr1ZSW_d; Sun, 19 Feb 2023 01:29:51 +0100 (CET) Message-ID: <62129599-010b-9ca4-e254-167b2980699e@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1676766591; bh=V+k+DIMNbDL3Yaly7WDGn51fE4UKoM9agHWxfiz8K2Q=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=NtiT4WS8SESFxiWaXY+t6oALeziHcPL1j1ZKdFMjKheK/8YjuXQYjTzxu764Uvmz/ C+EOPMIP9nAHO/usd0TPeoCZ/EuZHe1n0P3AdbYjzvVFPlBUc1gHpyNqz8J6RIrOrW 1GpeKqQhGOg30wpqWUxKD1AlP30sjCmjvG6DMuYZ0Zx7UacEAsZKyNaqvqyNLaaALZ xLKPKAFApEgAHIQRmu1Sgayirmb/PHbHZthsm2Zrku1IWRgkzYgBK2FcDo7vzMGJ3W +q/GsQJMQ5/u0f4clR3tsE0eu25buKA8A0sqW9c0PeC7rcBpJCYDkKW9JXDx5XazmS iP9BFLv565zkg== Date: Sun, 19 Feb 2023 08:29:44 +0800 MIME-Version: 1.0 References: <9ff6c39e-933b-d16e-3e3f-ad62c4a09f54@disroot.org> <87y1ovbvfd.fsf@nckx> Content-Language: en-US In-Reply-To: <87y1ovbvfd.fsf@nckx> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Adam Faiz X-Migadu-Queue-Id: CF61135B8E X-Spam-Score: -4.23 X-Migadu-Spam-Score: -4.23 X-Migadu-Scanner: scn0.migadu.com X-ACL-Warn: , Adam Faiz via Guix-patches From: Adam Faiz via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: VMQINOgQGS0m From 10067c9599d06ea2518b0adb561eaf2f825ae1a5 Mon Sep 17 00:00:00 2001 Message-Id: <10067c9599d06ea2518b0adb561eaf2f825ae1a5.1676766217.git.adam.faiz@disroot.org> From: AwesomeAdam54321 Date: Fri, 18 Nov 2022 08:55:02 +0800 Subject: [PATCH 1/6] gnu: Add dataparksearch. * gnu/packages/search.scm (dataparksearch): New variable. --- gnu/packages/search.scm | 55 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm index fe69fd3775..262f63821d 100644 --- a/gnu/packages/search.scm +++ b/gnu/packages/search.scm @@ -40,6 +40,7 @@ (define-module (gnu packages search) #:use-module (guix build-system python) #:use-module (guix build-system meson) #:use-module (gnu packages) + #:use-module (gnu packages adns) #:use-module (gnu packages aspell) #:use-module (gnu packages autotools) #:use-module (gnu packages base) @@ -51,6 +52,7 @@ (define-module (gnu packages search) #:use-module (gnu packages gawk) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) + #:use-module (gnu packages gnunet) #:use-module (gnu packages groff) #:use-module (gnu packages gtk) #:use-module (gnu packages icu4c) @@ -67,6 +69,7 @@ (define-module (gnu packages search) #:use-module (gnu packages qt) #:use-module (gnu packages sphinx) #:use-module (gnu packages time) + #:use-module (gnu packages tls) #:use-module (gnu packages web) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) @@ -328,6 +331,58 @@ (define-public bool for parsing HTML files.") (license license:gpl3+))) +(define-public dataparksearch + (let ((commit "8efa28f31ce1273c0556fd5c7e06abe955197a69") + (revision "0")) + (package + (name "dataparksearch") + (version (string-append "4.54" revision "." (string-take commit 7) )) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Maxime2/dataparksearch") + (commit commit))) + (sha256 + (base32 "01z7s3ws5px2p9brzrq9j41jbdh1cvj8n8y3ghx45gfv1n319ipg")) + (modules '((guix build utils))) + (snippet + #~(begin + (for-each delete-file '("config.sub" + "config.guess" + "configure" + "Makefile.in" + "missing" + "depcomp" + "ltmain.sh" + "compile")))) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + (list #:configure-flags + #~(list "--disable-syslog" + "--with-extra-charsets=all" + (string-append "--with-aspell=" + #$(this-package-input "aspell")) + (string-append "--with-pgsql=" + #$(this-package-input "postgresql"))) + #:make-flags + #~(list "DPS_TEST_DBADDR=postgresql://localhost/tmp/postgresql/"))) + (native-inputs + (list pkg-config automake autoconf libtool openjade)) + (inputs + (list mbedtls-apache zlib postgresql aspell c-ares libextractor)) + (synopsis "Feature rich search engine") + (description + "Dataparksearch is a full featured web search engine. +It has support for http, https, ftp (passive mode), nntp and news URL schemes, and +other URL schemes with external parsers. +It can tweak URLs with session IDs and other weird formats, +including some JavaScript link decoding. +Options to query with all words, all words near to each others, any words, or Boolean queries. +A subset of VQL (Verity Query Language) is supported.") + (home-page "https://www.dataparksearch.org/") + (license license:gpl2+)))) + (define-public fsearch (package (name "fsearch") base-commit: 08edbd2535ae622d319a51e6f877d23d75dc24f3 prerequisite-patch-id: 66a677452cec5da7e4db37327b344d02556968f6 prerequisite-patch-id: e13c3b4b4ed06ce521ff679ec64e3cd816183388 prerequisite-patch-id: 1eb4d567a14802495169b3e400e02de0b4941729 -- 2.39.1