Subject: bug#27672: closed (Re: [bug#27672] oksh)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 23 Jul 2017 00:17:01 +0000

Your bug report

#27672: oksh

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 [email-masked].

-- 
27672: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27672
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#27672] oksh
From: Leo Famulari <[email-masked]>
To: [email-masked]
Date: Sat, 22 Jul 2017 20:16:11 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

On Sat, Jul 22, 2017 at 09:31:03AM +0000, ng0 wrote:
> Updated patch appended.
> 
> I'll contact upstream and ask about the missing test files.
> Thanks!
> -- 
> ng0
> GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
> GnuPG: https://n0is.noblogs.org/my-keys
> https://www.infotropique.org https://krosos.org

> From 5d8035dddb5037b0fe5f856f14f7b5190f14b3c2 Mon Sep 17 00:00:00 2001
> From: ng0 <[email-masked]>
> Date: Wed, 12 Jul 2017 19:32:51 +0000
> Subject: [PATCH] gnu: Add oksh.
> 
> * gnu/packages/shells.scm (oksh): New variable.

Thanks! Pushed as 7e3c977da6ea15acfad361200cdde12636406b61.

Subject: oksh
From: ng0 <[email-masked]>
To: [email-masked]
Date: Wed, 12 Jul 2017 19:35:00 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

This adds oksh.

The test phase is a FIXME
and the make install has some nonfatal error I did not bother
to fix because the resulting application works.
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org
From 45e8b007cc8e7eba10585980ad31a89d42689b75 Mon Sep 17 00:00:00 2001
From: ng0 <[email-masked]>
Date: Wed, 12 Jul 2017 19:32:51 +0000
Subject: [PATCH] gnu: Add oksh.

* gnu/packages/shells.scm (oksh): New variable.
---
 gnu/packages/shells.scm | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 65e0eda50..4cc812447 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -6,7 +6,7 @@
 ;;; Copyright © 2016 Tobias Geerinckx-Rice <[email-masked]>
 ;;; Copyright © 2016 Stefan Reichör <[email-masked]>
 ;;; Copyright © 2017 Ricardo Wurmus <[email-masked]>
-;;; Copyright © 2017 ng0 <[email-masked]>
+;;; Copyright © 2017 ng0 <[email-masked]>
 ;;; Copyright © 2017 Leo Famulari <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -564,6 +564,32 @@ extra programs.  > is just another unix command, < is essentially cat(1).
 A @code{andglob} program is also provided along with s.")
       (license bsd-3))))
 
+(define-public oksh
+  (package
+    (name "oksh")
+    (version "0.5.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://connochaetos.org/oksh/oksh-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "0ln9yf6pxngsviqszv8klnnvn8vcpplvj1njdn8xr2y8frkbw8r3"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(; FIXME:
+       ;; starting phase `check'
+       ;;./tests/th-sh ./tests/th -s ./tests -p ./ksh -C pdksh,sh,ksh,posix,posix-upu
+       ;; make: ./tests/th-sh: Command not found
+       #:tests? #f))
+    (home-page "https://connochaetos.org/oksh")
+    (synopsis "Port of OpenBSD Korn Shell")
+    (description
+     "Oksh is a port of the OpenBSD Korn Shell.
+The OpenBSD Korn Shell is a cleaned up and enhanced ksh.")
+    (license gpl3+)))
+
 (define-public loksh
   (package
     (name "loksh")
-- 
2.13.2