GNU bug report logs - #59355
[PATCH] gnu: Add dataparksearch.

Previous Next

Package: guix-patches;

Reported by: Adam Faiz <adam.faiz <at> disroot.org>

Date: Fri, 18 Nov 2022 11:18:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Adam Faiz <adam.faiz <at> disroot.org>
Subject: bug#59355: closed (Re: [bug#59355] [PATCH v1] gnu: Add
 dataparksearch.)
Date: Sat, 22 Apr 2023 10:04:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#59355: [PATCH] gnu: Add dataparksearch.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 59355 <at> debbugs.gnu.org.

-- 
59355: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59355
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Adam Faiz via Guix-patches via <guix-patches <at> gnu.org>
Cc: 59355-done <at> debbugs.gnu.org, Tobias Geerinckx-Rice <me <at> tobias.gr>,
 Adam Faiz <adam.faiz <at> disroot.org>
Subject: Re: [bug#59355] [PATCH v1] gnu: Add dataparksearch.
Date: Sat, 22 Apr 2023 12:03:41 +0200
Hello,

Adam Faiz via Guix-patches via <guix-patches <at> gnu.org> writes:

>  From 10067c9599d06ea2518b0adb561eaf2f825ae1a5 Mon Sep 17 00:00:00 2001
> Message-Id: 
> <10067c9599d06ea2518b0adb561eaf2f825ae1a5.1676766217.git.adam.faiz <at> disroot.org>
> From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
> Date: Fri, 18 Nov 2022 08:55:02 +0800
> Subject: [PATCH 1/6] gnu: Add dataparksearch.

Thank you.

I removed ""--disable-syslog" since there was no clear consensus about
it (we can always add it again later, of course), reordered inputs
alphabetically, fixed indentation, added a copyright line for you in the
module and applied your patch.

Regards,
-- 
Nicolas Goaziou

[Message part 3 (message/rfc822, inline)]
From: Adam Faiz <adam.faiz <at> disroot.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add dataparksearch.
Date: Fri, 18 Nov 2022 19:17:27 +0800
From 39b9fb1e69fb61acdadb697690becb908d99c607 Mon Sep 17 00:00:00 2001
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Fri, 18 Nov 2022 08:55:02 +0800
Subject: [PATCH] gnu: Add dataparksearch.

* gnu/packages/search.scm (dataparksearch): New variable.
---
 gnu/packages/search.scm | 61 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)

diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index 27dc9cd02e..db3ca59137 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)
@@ -729,4 +732,62 @@ (define-public ugrep
 formats.")
     (license license:bsd-3)))

+(define-public dataparksearch
+  (package
+    (name "dataparksearch")
+    (version "4.54-2016-12-03")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/Maxime2/dataparksearch")
+                    (commit version)))
+              (sha256
+               (base32 
"1g5kxw2d8jbc1h9yyy0xpnd3gkscj5a32k6hk3brvdwcbsnjbgyg"))
+              (modules '((guix build utils)))
+              (snippet
+               #~(begin
+                   (for-each delete-file-recursively '("config.sub"
+                                                       "config.guess"
+                                                       "configure"
+                                                       "Makefile.in"
+                                                       "missing"
+                                                       "depcomp"
+                                                       "ltmain.sh"
+                                                       "compile"
+                                                       ))))
+              (file-name (git-file-name name version))))
+    (build-system gnu-build-system)
+    (native-inputs
+     (list pkg-config automake autoconf libtool openjade))
+    (inputs
+     (list mbedtls-apache zlib postgresql aspell c-ares libextractor))
+    (arguments
+     (list #:configure-flags
+           #~(list "--disable-syslog"
+                   "--with-gnu-ld"
+                   "--with-extra-charsets=all"
+                   (string-append "--with-pgsql=" #$(this-package-input 
"postgresql")))
+           #:make-flags
+           #~(list 
"DPS_TEST_DBADDR=postgresql://localhost/tmp/postgresql/")
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-before 'bootstrap 'fix-configure
+                 (lambda _
+                   (substitute* "configure.ac"
+                     (("MY_DIRS=\"/usr/local/include")
+                      (string-append "MY_DIRS=\"" #$(this-package-input 
"aspell") "/include"))
+                     (("MY_DIRS=\"/usr/lib")
+                      (string-append "MY_DIRS=\"" #$(this-package-input 
"aspell") "/lib"))))))))
+    (synopsis "Libre, 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:gpl3+)))
+
 ;;; search.scm ends here
-- 
2.38.0



This bug report was last modified 2 years and 109 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.