unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Mail: BLISTS.
@ 2017-01-31 13:04 contact.ng0
  2017-01-31 13:04 ` [PATCH] gnu: Add blists contact.ng0
  0 siblings, 1 reply; 2+ messages in thread
From: contact.ng0 @ 2017-01-31 13:04 UTC (permalink / raw)
  To: guix-devel

This patch adds blists, as used by http://lists.openwall.net/

According to http://www.openwall.com/blists/ and its README it should just work.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] gnu: Add blists.
  2017-01-31 13:04 Mail: BLISTS contact.ng0
@ 2017-01-31 13:04 ` contact.ng0
  0 siblings, 0 replies; 2+ messages in thread
From: contact.ng0 @ 2017-01-31 13:04 UTC (permalink / raw)
  To: guix-devel; +Cc: ng0

From: ng0 <ng0@libertad.pw>

* gnu/packages/mail.scm (blists): New variable.
---
 gnu/packages/mail.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index b17af4043..ad09f1e7b 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -1820,3 +1820,38 @@ installation on systems where resources are limited.  Its features include:
 @item Rich and customisable texts for automated operations.
 @end enumerate\n")
     (license license:expat)))
+
+(define-public blists
+  (package
+    (name "blists")
+    (version "1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://download.openwall.net/pub/projects/"
+                           "blists/blists-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1gp51kmb8yv8d693wcpdslmwlbw5w2kgz4kxhrcaf7y89w8wy4qd"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; No tests
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (bin (string-append out "/bin")))
+               (install-file "bindex" bin)
+               (install-file "bit" bin)
+               #t))))))
+    (home-page "http://www.openwall.com/blists/")
+    (synopsis "Web interface to mailing list archives")
+    (description
+     "Blists is a web interface to mailing list archives that works off
+indexed mbox files.  There are two programs: bindex and bit.  bindex
+generates or updates the index file (incremental updates are supported).
+Bit is a CGI/SSI program that generates web pages on the fly.
+Both programs are written in C and are very fast.")
+    (license license:expat)))
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-31 13:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-31 13:04 Mail: BLISTS contact.ng0
2017-01-31 13:04 ` [PATCH] gnu: Add blists contact.ng0

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).