GNU bug report logs - #27669
Add mksh

Previous Next

Package: guix-patches;

Reported by: Arun Isaac <arunisaac <at> systemreboot.net>

Date: Wed, 12 Jul 2017 14:09:01 UTC

Severity: normal

Done: Arun Isaac <arunisaac <at> systemreboot.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27669 in the body.
You can then email your comments to 27669 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#27669; Package guix-patches. (Wed, 12 Jul 2017 14:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arun Isaac <arunisaac <at> systemreboot.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 12 Jul 2017 14:09:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: guix-patches <at> gnu.org
Subject: Add mksh
Date: Wed, 12 Jul 2017 19:38:25 +0530
Patches adding mksh follow.




Information forwarded to guix-patches <at> gnu.org:
bug#27669; Package guix-patches. (Wed, 12 Jul 2017 14:12:01 GMT) Full text and rfc822 format available.

Message #8 received at 27669 <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: 27669 <at> debbugs.gnu.org
Cc: Arun Isaac <arunisaac <at> systemreboot.net>
Subject: [PATCH 1/2] licenses: Add MirOS license.
Date: Wed, 12 Jul 2017 19:40:46 +0530
* guix/licenses.scm (miros): New variable.
---
 guix/licenses.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/guix/licenses.scm b/guix/licenses.scm
index 1bed56af2..17b75bd39 100644
--- a/guix/licenses.scm
+++ b/guix/licenses.scm
@@ -67,6 +67,7 @@
             lppl1.3a lppl1.3a+
             lppl1.3b lppl1.3b+
             lppl1.3c lppl1.3c+
+            miros
             mpl1.0 mpl1.1 mpl2.0
             ms-pl
             ncsa
@@ -452,6 +453,11 @@ at URI, which may be a file:// URI pointing the package's tree."
            "https://www.latex-project.org/lppl/lppl-1-3c/"
            "LaTeX Project Public License 1.3c or later"))
 
+(define miros
+  (license "MirOS"
+           "https://www.mirbsd.org/MirOS-Licence.htm"
+           "MirOS License"))
+
 (define mpl1.0
   (license "MPL 1.0"
            "http://www.mozilla.org/MPL/1.0/"
-- 
2.12.2





Information forwarded to guix-patches <at> gnu.org:
bug#27669; Package guix-patches. (Wed, 12 Jul 2017 14:12:02 GMT) Full text and rfc822 format available.

Message #11 received at 27669 <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: 27669 <at> debbugs.gnu.org
Cc: Arun Isaac <arunisaac <at> systemreboot.net>
Subject: [PATCH 2/2] gnu: Add mksh.
Date: Wed, 12 Jul 2017 19:40:47 +0530
* gnu/packages/shells.scm (mksh): New variable.
---
 gnu/packages/shells.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 65e0eda50..2b53afec1 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -599,3 +599,42 @@ interactive POSIX shell targeted at resource-constrained systems.")
     ;; The file 'LEGAL' says it is the public domain, and the 2
     ;; exceptions which are listed are not included in this port.
     (license public-domain)))
+
+(define-public mksh
+  (package
+    (name "mksh")
+    (version "55")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R"
+                           version ".tgz"))
+       (sha256
+        (base32
+         "0mssqd2wp3cs9x01v6g66iy3ymdxagbyw2c0v597vnc1l6s2rm6f"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; tests require access to /dev/tty
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (replace 'build
+           (lambda _
+             (setenv "CC" "gcc")
+             (zero? (system* (which "sh") "Build.sh"))))
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (bin (string-append out "/bin"))
+                    (man (string-append out "/share/man/man1")))
+               (install-file "mksh" bin)
+               (with-directory-excursion bin
+                 (symlink "mksh" "ksh"))
+               (install-file "mksh.1" man)))))))
+    (home-page "https://www.mirbsd.org/mksh.htm")
+    (synopsis "Korn Shell from MirBSD")
+    (description "mksh is an actively developed free implementation of the
+Korn Shell programming language and a successor to the Public Domain Korn
+Shell (pdksh).")
+    (license (list miros
+                   isc)))) ; strlcpy.c
-- 
2.12.2





Information forwarded to guix-patches <at> gnu.org:
bug#27669; Package guix-patches. (Wed, 12 Jul 2017 14:15:02 GMT) Full text and rfc822 format available.

Message #14 received at 27669 <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: 27669 <at> debbugs.gnu.org
Subject: Re: [PATCH 2/2] gnu: Add mksh.
Date: Wed, 12 Jul 2017 19:44:38 +0530
> +    (license (list miros
> +                   isc)))) ; strlcpy.c

The file mksh.ico is under a different license as stated in Appendix D
of https://www.mirbsd.org/TaC-mksh.txt

I haven't added it to the list of licenses for the following two reasons:

- the file mksh.ico is not installed in our built package
- I don't understand what license is described in Appendix D, and could
use some help.

Could someone clarify? Thanks.




Information forwarded to guix-patches <at> gnu.org:
bug#27669; Package guix-patches. (Wed, 12 Jul 2017 14:40:01 GMT) Full text and rfc822 format available.

Message #17 received at 27669 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> infotropique.org>
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 27669 <at> debbugs.gnu.org
Subject: Re: [bug#27669] Add mksh
Date: Wed, 12 Jul 2017 14:38:45 +0000
[Message part 1 (text/plain, inline)]
Arun Isaac transcribed 0.1K bytes:
> 
> Patches adding mksh follow.
> 
> 
> 
> 
Which of the mksh if I may ask? I have some MKSH's here
I was just too slow to upstream.
At the moment it's just Mirsh, oksh.
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#27669; Package guix-patches. (Wed, 12 Jul 2017 14:50:02 GMT) Full text and rfc822 format available.

Message #20 received at 27669 <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: ng0 <ng0 <at> infotropique.org>
Cc: 27669 <at> debbugs.gnu.org
Subject: Re: [bug#27669] Add mksh
Date: Wed, 12 Jul 2017 20:18:55 +0530
ng0 writes:

> Arun Isaac transcribed 0.1K bytes:
>> 
>> Patches adding mksh follow.
>> 
> Which of the mksh if I may ask?

The MirBSD Korn Shell: https://www.mirbsd.org/mksh.htm




Information forwarded to guix-patches <at> gnu.org:
bug#27669; Package guix-patches. (Thu, 20 Jul 2017 09:21:03 GMT) Full text and rfc822 format available.

Message #23 received at 27669 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 27669 <at> debbugs.gnu.org
Subject: Re: [bug#27669] [PATCH 2/2] gnu: Add mksh.
Date: Thu, 20 Jul 2017 11:20:10 +0200
Arun Isaac <arunisaac <at> systemreboot.net> skribis:

> * gnu/packages/shells.scm (mksh): New variable.

LGTM, thanks!

Ludo'.




Reply sent to Arun Isaac <arunisaac <at> systemreboot.net>:
You have taken responsibility. (Thu, 20 Jul 2017 14:33:02 GMT) Full text and rfc822 format available.

Notification sent to Arun Isaac <arunisaac <at> systemreboot.net>:
bug acknowledged by developer. (Thu, 20 Jul 2017 14:33:02 GMT) Full text and rfc822 format available.

Message #28 received at 27669-done <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27669-done <at> debbugs.gnu.org
Subject: Re: [bug#27669] [PATCH 2/2] gnu: Add mksh.
Date: Thu, 20 Jul 2017 20:02:41 +0530
Pushed, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 18 Aug 2017 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 309 days ago.

Previous Next


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