* [PATCH] gnu: Add ircii. @ 2016-08-01 19:34 ng0 2016-08-02 0:54 ` Leo Famulari 0 siblings, 1 reply; 23+ messages in thread From: ng0 @ 2016-08-01 19:34 UTC (permalink / raw) To: guix-devel [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1.1: 0001-gnu-Add-ircii.patch --] [-- Type: text/x-patch, Size: 2968 bytes --] From fed474bfe97d68f9311213a6b05641bea5d5c858 Mon Sep 17 00:00:00 2001 From: ng0 <ng0@we.make.ritual.n0.is> Date: Mon, 1 Aug 2016 19:31:23 +0000 Subject: [PATCH] gnu: Add ircii. * gnu/packages/irc.scm (ircii): New variable. --- gnu/packages/irc.scm | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 03f014a..c4ed9ed 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -194,3 +194,58 @@ with a keyboard, though it also supports mouse. It is customizable and extensible with plugins and scripts.") (home-page "http://www.weechat.org/") (license license:gpl3))) + +(define-public ircii + (package + (name "ircii") + (version "20151120") + (source (origin + (method url-fetch) + (uri (string-append "https://ircii.warped.com/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "178dc279f5j894qvp96dzz7c0jpryqlcqw5g0dc9yaxg9kgw1lqm")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "bsdinstall" + (("/bin/strip") "strip") + (("/bin/cp") "cp") + (("/bin/chmod") "chmod") + (("/etc/chown") "chown") + (("/bin/chgrp") "chgrp") + (("/bin/mkdir") "mkdir") + (("/bin/rm") "rm") + (("/bin/mv") "mv")))))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (ncurses (assoc-ref inputs "ncurses")) + (openssl (assoc-ref inputs "openssl"))) + (setenv "CONFIG_SHELL" (which "bash")) + (zero? + (system* "./configure" + ;; TODO: find a socks4+5 lib with small size + ;; (string-append "--with-socks5=" ghc-socks) + (string-append "--prefix=" out) + (string-append "--enable-ipv6") + (string-append "--with-openssl=" openssl) + (string-append "--with-emacs-meta-keys")))))) + (delete 'check)))) + (inputs + `(("libiconv" ,libiconv) + ("ncurses" ,ncurses) + ("openssl" ,openssl))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("perl" ,perl))) + (home-page "http://www.eterna.com.au/ircii/") + (synopsis "Terminal-based IRC and ICB client") + (description + "ircII is a terminal based IRC and ICB client for UNIX systems.") + (license license:bsd-3))) -- 2.9.2 [-- Attachment #1.2: Type: text/plain, Size: 132 bytes --] -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 800 bytes --] ^ permalink raw reply related [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-01 19:34 [PATCH] gnu: Add ircii ng0 @ 2016-08-02 0:54 ` Leo Famulari 2016-08-02 7:58 ` Andreas Enge 2016-08-02 12:42 ` 宋文武 0 siblings, 2 replies; 23+ messages in thread From: Leo Famulari @ 2016-08-02 0:54 UTC (permalink / raw) To: ng0; +Cc: guix-devel On Mon, Aug 01, 2016 at 07:34:49PM +0000, ng0 wrote: > * gnu/packages/irc.scm (ircii): New variable. Cool! > + (snippet > + '(begin > + (substitute* "bsdinstall" > + (("/bin/strip") "strip") > + (("/bin/cp") "cp") > + (("/bin/chmod") "chmod") > + (("/etc/chown") "chown") > + (("/bin/chgrp") "chgrp") > + (("/bin/mkdir") "mkdir") > + (("/bin/rm") "rm") > + (("/bin/mv") "mv")))))) Does anyone else think we should put this origin snippet in a build phase instead? Or, should we leave it in the origin, where it will be applied to the source code provided by `guix build --source ircii`? > + (delete 'check)))) Using '#:tests? #f' is preferred instead of deleting the check phase. > + (inputs > + `(("libiconv" ,libiconv) > + ("ncurses" ,ncurses) > + ("openssl" ,openssl))) I noticed that the built package does refer to libiconv: --- $ guix gc --references $(./pre-inst-env guix build ircii) /gnu/store/0kml8g9fix69v00afv59ngf4lgfr1565-openssl-1.0.2h /gnu/store/9maps38bsia0wcxm82h0v0p2dxyn8j35-ircii-20151120 /gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib /gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23 /gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0 /gnu/store/ykzwykkvr2c80rw4l1qh3mvfdkl7jibi-bash-4.3.42 --- But, libiconv is used: --- $ strings /gnu/store/9maps38bsia0wcxm82h0v0p2dxyn8j35-ircii-20151120/bin/irc | grep iconv iconv_close iconv iconv_open iconv_open@@GLIBC_2.2.5 iconv@@GLIBC_2.2.5 iconv_close@@GLIBC_2.2.5 --- Perhaps libiconv should be propagated? ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-02 0:54 ` Leo Famulari @ 2016-08-02 7:58 ` Andreas Enge 2016-08-02 11:30 ` ng0 2016-08-02 12:42 ` 宋文武 1 sibling, 1 reply; 23+ messages in thread From: Andreas Enge @ 2016-08-02 7:58 UTC (permalink / raw) To: Leo Famulari; +Cc: guix-devel On Mon, Aug 01, 2016 at 08:54:13PM -0400, Leo Famulari wrote: > > + (snippet > > + '(begin > > + (substitute* "bsdinstall" > > + (("/bin/strip") "strip") > > + (("/bin/cp") "cp") > > + (("/bin/chmod") "chmod") > > + (("/etc/chown") "chown") > > + (("/bin/chgrp") "chgrp") > > + (("/bin/mkdir") "mkdir") > > + (("/bin/rm") "rm") > > + (("/bin/mv") "mv")))))) > Does anyone else think we should put this origin snippet in a build phase > instead? Or, should we leave it in the origin, where it will be applied > to the source code provided by `guix build --source ircii`? I think it would be more in line with our usual practices to have it in a build phase, indeed. Snippets are rather used to remove non-free code or bundled software. Andreas ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-02 7:58 ` Andreas Enge @ 2016-08-02 11:30 ` ng0 2016-08-05 6:46 ` Ricardo Wurmus 0 siblings, 1 reply; 23+ messages in thread From: ng0 @ 2016-08-02 11:30 UTC (permalink / raw) To: Andreas Enge, Leo Famulari; +Cc: guix-devel [-- Attachment #1.1: Type: text/plain, Size: 1083 bytes --] Hi, Andreas Enge <andreas@enge.fr> writes: > On Mon, Aug 01, 2016 at 08:54:13PM -0400, Leo Famulari wrote: >> > + (snippet >> > + '(begin >> > + (substitute* "bsdinstall" >> > + (("/bin/strip") "strip") >> > + (("/bin/cp") "cp") >> > + (("/bin/chmod") "chmod") >> > + (("/etc/chown") "chown") >> > + (("/bin/chgrp") "chgrp") >> > + (("/bin/mkdir") "mkdir") >> > + (("/bin/rm") "rm") >> > + (("/bin/mv") "mv")))))) >> Does anyone else think we should put this origin snippet in a build phase >> instead? Or, should we leave it in the origin, where it will be applied >> to the source code provided by `guix build --source ircii`? > > I think it would be more in line with our usual practices to have it in > a build phase, indeed. Snippets are rather used to remove non-free code > or bundled software. > > Andreas > Thanks, in the new revision of the patch both issues you two found are fixed. [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1.2: 0001-gnu-Add-ircii.patch --] [-- Type: text/x-patch, Size: 2977 bytes --] From 47de349df8297b84fd48b788fa25b188bc8b4be4 Mon Sep 17 00:00:00 2001 From: ng0 <ng0@we.make.ritual.n0.is> Date: Mon, 1 Aug 2016 19:31:23 +0000 Subject: [PATCH] gnu: Add ircii. * gnu/packages/irc.scm (ircii): New variable. --- gnu/packages/irc.scm | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 03f014a..2823f7a 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -194,3 +194,58 @@ with a keyboard, though it also supports mouse. It is customizable and extensible with plugins and scripts.") (home-page "http://www.weechat.org/") (license license:gpl3))) + +(define-public ircii + (package + (name "ircii") + (version "20151120") + (source (origin + (method url-fetch) + (uri (string-append "https://ircii.warped.com/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "178dc279f5j894qvp96dzz7c0jpryqlcqw5g0dc9yaxg9kgw1lqm")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-bsdinstall-absolute-names + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "bsdinstall" + (("/bin/strip") "strip") + (("/bin/cp") "cp") + (("/bin/chmod") "chmod") + (("/etc/chown") "chown") + (("/bin/chgrp") "chgrp") + (("/bin/mkdir") "mkdir") + (("/bin/rm") "rm") + (("/bin/mv") "mv")))) + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (ncurses (assoc-ref inputs "ncurses")) + (openssl (assoc-ref inputs "openssl"))) + (setenv "CONFIG_SHELL" (which "bash")) + (zero? + (system* "./configure" + ;; TODO: find a socks4+5 lib with small size + ;; (string-append "--with-socks5=" ghc-socks) + (string-append "--prefix=" out) + (string-append "--enable-ipv6") + (string-append "--with-openssl=" openssl) + (string-append "--with-emacs-meta-keys"))))))))) + (inputs + `(("ncurses" ,ncurses) + ("openssl" ,openssl))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("perl" ,perl))) + (propagated-inputs + `(("libiconv" ,libiconv))) + (home-page "http://www.eterna.com.au/ircii/") + (synopsis "Terminal-based IRC and ICB client") + (description + "ircII is a terminal based IRC and ICB client for UNIX systems.") + (license license:bsd-3))) -- 2.9.2 [-- Attachment #1.3: Type: text/plain, Size: 134 bytes --] -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 800 bytes --] ^ permalink raw reply related [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-02 11:30 ` ng0 @ 2016-08-05 6:46 ` Ricardo Wurmus 2016-08-05 10:29 ` ng0 2016-08-05 12:55 ` ng0 0 siblings, 2 replies; 23+ messages in thread From: Ricardo Wurmus @ 2016-08-05 6:46 UTC (permalink / raw) To: ng0; +Cc: guix-devel ng0 <ng0@we.make.ritual.n0.is> writes: > Thanks, in the new revision of the patch both issues you two found are > fixed. > + (replace 'configure > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (let ((out (assoc-ref outputs "out")) > + (ncurses (assoc-ref inputs "ncurses")) > + (openssl (assoc-ref inputs "openssl"))) > + (setenv "CONFIG_SHELL" (which "bash")) > + (zero? > + (system* "./configure" > + ;; TODO: find a socks4+5 lib with small size > + ;; (string-append "--with-socks5=" ghc-socks) > + (string-append "--prefix=" out) > + (string-append "--enable-ipv6") > + (string-append "--with-openssl=" openssl) > + (string-append "--with-emacs-meta-keys"))))))))) Why is this needed? Did you try using #:configure-flags instead of replacing the configure phase? You can refer to inputs with “%build-inputs” there. ~~ Ricardo ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-05 6:46 ` Ricardo Wurmus @ 2016-08-05 10:29 ` ng0 2016-08-05 11:17 ` Ricardo Wurmus 2016-08-05 12:55 ` ng0 1 sibling, 1 reply; 23+ messages in thread From: ng0 @ 2016-08-05 10:29 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: guix-devel Ricardo Wurmus <rekado@elephly.net> writes: > ng0 <ng0@we.make.ritual.n0.is> writes: > >> Thanks, in the new revision of the patch both issues you two found are >> fixed. > >> + (replace 'configure >> + (lambda* (#:key inputs outputs #:allow-other-keys) >> + (let ((out (assoc-ref outputs "out")) >> + (ncurses (assoc-ref inputs "ncurses")) >> + (openssl (assoc-ref inputs "openssl"))) >> + (setenv "CONFIG_SHELL" (which "bash")) >> + (zero? >> + (system* "./configure" >> + ;; TODO: find a socks4+5 lib with small size >> + ;; (string-append "--with-socks5=" ghc-socks) >> + (string-append "--prefix=" out) >> + (string-append "--enable-ipv6") >> + (string-append "--with-openssl=" openssl) >> + (string-append "--with-emacs-meta-keys"))))))))) > > Why is this needed? Did you try using #:configure-flags instead of > replacing the configure phase? You can refer to inputs with > “%build-inputs” there. > > ~~ Ricardo > I can try to put it into configure flags, I wrote it like this because the README suggested it. I'll send a new patch when I'm done with the gnurl update. -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-05 10:29 ` ng0 @ 2016-08-05 11:17 ` Ricardo Wurmus 0 siblings, 0 replies; 23+ messages in thread From: Ricardo Wurmus @ 2016-08-05 11:17 UTC (permalink / raw) To: ng0; +Cc: guix-devel ng0 <ng0@we.make.ritual.n0.is> writes: > Ricardo Wurmus <rekado@elephly.net> writes: > >> ng0 <ng0@we.make.ritual.n0.is> writes: >> >>> Thanks, in the new revision of the patch both issues you two found are >>> fixed. >> >>> + (replace 'configure >>> + (lambda* (#:key inputs outputs #:allow-other-keys) >>> + (let ((out (assoc-ref outputs "out")) >>> + (ncurses (assoc-ref inputs "ncurses")) >>> + (openssl (assoc-ref inputs "openssl"))) >>> + (setenv "CONFIG_SHELL" (which "bash")) >>> + (zero? >>> + (system* "./configure" >>> + ;; TODO: find a socks4+5 lib with small size >>> + ;; (string-append "--with-socks5=" ghc-socks) >>> + (string-append "--prefix=" out) >>> + (string-append "--enable-ipv6") >>> + (string-append "--with-openssl=" openssl) >>> + (string-append "--with-emacs-meta-keys"))))))))) >> >> Why is this needed? Did you try using #:configure-flags instead of >> replacing the configure phase? You can refer to inputs with >> “%build-inputs” there. >> >> ~~ Ricardo >> > > I can try to put it into configure flags, I wrote it like this because > the README suggested it. I'll send a new patch when I'm done with the > gnurl update. Which README file suggested overriding the configure phase? ~~ Ricardo ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-05 6:46 ` Ricardo Wurmus 2016-08-05 10:29 ` ng0 @ 2016-08-05 12:55 ` ng0 2016-08-05 12:57 ` ng0 2016-08-05 13:01 ` ng0 1 sibling, 2 replies; 23+ messages in thread From: ng0 @ 2016-08-05 12:55 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: guix-devel [-- Attachment #1: Type: text/plain, Size: 548 bytes --] Ricardo Wurmus <rekado@elephly.net> writes: > Why is this needed? Did you try using #:configure-flags instead of > replacing the configure phase? You can refer to inputs with > “%build-inputs” there. > > ~~ Ricardo > Thanks, README made me try with ./configure --switches first. Fixed in this version. I'm still testing why I can only connect to chat.freenode.net:6667 and /SERVER chat.freenode.net:6697 fails. I guess it might be fixed in the "nightly" build they provide in addition to the stable one, but with no version numbers there. [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: 0001-gnu-Add-ircii.patch --] [-- Type: text/x-patch, Size: 2476 bytes --] From f185e9b34922a4c6213ac5af3cd448b43a2d5798 Mon Sep 17 00:00:00 2001 From: ng0 <ng0@we.make.ritual.n0.is> Date: Mon, 1 Aug 2016 19:31:23 +0000 Subject: [PATCH] gnu: Add ircii. * gnu/packages/irc.scm (ircii): New variable. --- gnu/packages/irc.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 03f014a..45cc581 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -194,3 +194,49 @@ with a keyboard, though it also supports mouse. It is customizable and extensible with plugins and scripts.") (home-page "http://www.weechat.org/") (license license:gpl3))) + +(define-public ircii + (package + (name "ircii") + (version "20151120") + (source (origin + (method url-fetch) + (uri (string-append "https://ircii.warped.com/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "178dc279f5j894qvp96dzz7c0jpryqlcqw5g0dc9yaxg9kgw1lqm")))) + (build-system gnu-build-system) + ;; TODO: Configure with socks client (ghc-socks is too big). + (arguments + `(#:tests? #f + #:configure-flags (list + (string-append "--prefix=" (assoc-ref %outputs "out")) + "--enable-ipv6" + (string-append "--with-openssl=" + (assoc-ref %build-inputs "openssl")) + "--with-emacs-meta-keys") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-bsdinstall-absolute-path-bins + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "bsdinstall" + (("/bin/strip") "strip") + (("/bin/cp") "cp") + (("/bin/chmod") "chmod") + (("/etc/chown") "chown") + (("/bin/chgrp") "chgrp") + (("/bin/mkdir") "mkdir") + (("/bin/rm") "rm") + (("/bin/mv") "mv"))))))) + (inputs + `(("ncurses" ,ncurses) + ("openssl" ,openssl))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("perl" ,perl))) + (home-page "http://www.eterna.com.au/ircii/") + (synopsis "Terminal-based IRC and ICB client") + (description + "ircII is a terminal based IRC and ICB client for UNIX systems.") + (license license:bsd-3))) -- 2.9.2 [-- Attachment #3: Type: text/plain, Size: 130 bytes --] -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org ^ permalink raw reply related [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-05 12:55 ` ng0 @ 2016-08-05 12:57 ` ng0 2016-08-05 13:01 ` ng0 1 sibling, 0 replies; 23+ messages in thread From: ng0 @ 2016-08-05 12:57 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: guix-devel ng0 <ng0@we.make.ritual.n0.is> writes: > Ricardo Wurmus <rekado@elephly.net> writes: > >> Why is this needed? Did you try using #:configure-flags instead of >> replacing the configure phase? You can refer to inputs with >> “%build-inputs” there. >> >> ~~ Ricardo >> > > Thanks, README made me try with ./configure --switches first. > Fixed in this version. I'm still testing why I can only connect to > chat.freenode.net:6667 and /SERVER chat.freenode.net:6697 fails. > I guess it might be fixed in the "nightly" build they provide in > addition to the stable one, but with no version numbers there. > > From f185e9b34922a4c6213ac5af3cd448b43a2d5798 Mon Sep 17 00:00:00 2001 > From: ng0 <ng0@we.make.ritual.n0.is> > Date: Mon, 1 Aug 2016 19:31:23 +0000 > Subject: [PATCH] gnu: Add ircii. > > * gnu/packages/irc.scm (ircii): New variable. > --- > gnu/packages/irc.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 46 insertions(+) > > diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm > index 03f014a..45cc581 100644 > --- a/gnu/packages/irc.scm > +++ b/gnu/packages/irc.scm > @@ -194,3 +194,49 @@ with a keyboard, though it also supports mouse. It is customizable > and extensible with plugins and scripts.") > (home-page "http://www.weechat.org/") > (license license:gpl3))) > + > +(define-public ircii > + (package > + (name "ircii") > + (version "20151120") > + (source (origin > + (method url-fetch) > + (uri (string-append "https://ircii.warped.com/" > + name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "178dc279f5j894qvp96dzz7c0jpryqlcqw5g0dc9yaxg9kgw1lqm")))) > + (build-system gnu-build-system) > + ;; TODO: Configure with socks client (ghc-socks is too big). > + (arguments > + `(#:tests? #f > + #:configure-flags (list > + (string-append "--prefix=" (assoc-ref %outputs "out")) I doubt that this is needed. Let me try another build without it. > + "--enable-ipv6" > + (string-append "--with-openssl=" > + (assoc-ref %build-inputs "openssl")) > + "--with-emacs-meta-keys") > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'patch-bsdinstall-absolute-path-bins > + (lambda* (#:key inputs #:allow-other-keys) > + (substitute* "bsdinstall" > + (("/bin/strip") "strip") > + (("/bin/cp") "cp") > + (("/bin/chmod") "chmod") > + (("/etc/chown") "chown") > + (("/bin/chgrp") "chgrp") > + (("/bin/mkdir") "mkdir") > + (("/bin/rm") "rm") > + (("/bin/mv") "mv"))))))) > + (inputs > + `(("ncurses" ,ncurses) > + ("openssl" ,openssl))) > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("perl" ,perl))) > + (home-page "http://www.eterna.com.au/ircii/") > + (synopsis "Terminal-based IRC and ICB client") > + (description > + "ircII is a terminal based IRC and ICB client for UNIX systems.") > + (license license:bsd-3))) > -- > 2.9.2 > > > > -- > ♥Ⓐ ng0 > Current Keys: https://we.make.ritual.n0.is/ng0.txt > For non-prism friendly talk find me on http://www.psyced.org -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-05 12:55 ` ng0 2016-08-05 12:57 ` ng0 @ 2016-08-05 13:01 ` ng0 2016-08-05 13:22 ` ng0 2016-08-09 19:38 ` Ricardo Wurmus 1 sibling, 2 replies; 23+ messages in thread From: ng0 @ 2016-08-05 13:01 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: guix-devel [-- Attachment #1: Type: text/plain, Size: 28 bytes --] Indeed, not needed. Fixed: [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: 0001-gnu-Add-ircii.patch --] [-- Type: text/x-patch, Size: 2478 bytes --] From 1438e5654cfd5f4eb4141a42580bd73c716e7134 Mon Sep 17 00:00:00 2001 From: ng0 <ng0@we.make.ritual.n0.is> Date: Mon, 1 Aug 2016 19:31:23 +0000 Subject: [PATCH] gnu: Add ircii. * gnu/packages/irc.scm (ircii): New variable. --- gnu/packages/irc.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 03f014a..7087022 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -194,3 +194,49 @@ with a keyboard, though it also supports mouse. It is customizable and extensible with plugins and scripts.") (home-page "http://www.weechat.org/") (license license:gpl3))) + +(define-public ircii + (package + (name "ircii") + (version "20151120") + (source (origin + (method url-fetch) + (uri (string-append "https://ircii.warped.com/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "178dc279f5j894qvp96dzz7c0jpryqlcqw5g0dc9yaxg9kgw1lqm")))) + (build-system gnu-build-system) + ;; TODO: Configure with socks client (ghc-socks is too big). + (arguments + `(#:tests? #f + #:configure-flags (list + ;;(string-append "--prefix=" (assoc-ref %outputs "out")) + "--enable-ipv6" + (string-append "--with-openssl=" + (assoc-ref %build-inputs "openssl")) + "--with-emacs-meta-keys") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-bsdinstall-absolute-path-bins + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "bsdinstall" + (("/bin/strip") "strip") + (("/bin/cp") "cp") + (("/bin/chmod") "chmod") + (("/etc/chown") "chown") + (("/bin/chgrp") "chgrp") + (("/bin/mkdir") "mkdir") + (("/bin/rm") "rm") + (("/bin/mv") "mv"))))))) + (inputs + `(("ncurses" ,ncurses) + ("openssl" ,openssl))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("perl" ,perl))) + (home-page "http://www.eterna.com.au/ircii/") + (synopsis "Terminal-based IRC and ICB client") + (description + "ircII is a terminal based IRC and ICB client for UNIX systems.") + (license license:bsd-3))) -- 2.9.2 [-- Attachment #3: Type: text/plain, Size: 129 bytes --] -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org ^ permalink raw reply related [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-05 13:01 ` ng0 @ 2016-08-05 13:22 ` ng0 2016-08-05 15:48 ` ng0 2016-08-09 19:38 ` Ricardo Wurmus 1 sibling, 1 reply; 23+ messages in thread From: ng0 @ 2016-08-05 13:22 UTC (permalink / raw) To: guix-devel [-- Attachment #1: Type: text/plain, Size: 143 bytes --] ng0 <ng0@we.make.ritual.n0.is> writes: > Indeed, not needed. Fixed: Well.. now it is fixed. Last patch was wrong. Blame multi-multitasking. [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: 0001-gnu-Add-ircii.patch --] [-- Type: text/x-patch, Size: 2393 bytes --] From 9b383fff3ea117f5de5a096fdef1dc22cca4dc5c Mon Sep 17 00:00:00 2001 From: ng0 <ng0@we.make.ritual.n0.is> Date: Mon, 1 Aug 2016 19:31:23 +0000 Subject: [PATCH] gnu: Add ircii. * gnu/packages/irc.scm (ircii): New variable. --- gnu/packages/irc.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 03f014a..1391094 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -194,3 +194,48 @@ with a keyboard, though it also supports mouse. It is customizable and extensible with plugins and scripts.") (home-page "http://www.weechat.org/") (license license:gpl3))) + +(define-public ircii + (package + (name "ircii") + (version "20151120") + (source (origin + (method url-fetch) + (uri (string-append "https://ircii.warped.com/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "178dc279f5j894qvp96dzz7c0jpryqlcqw5g0dc9yaxg9kgw1lqm")))) + (build-system gnu-build-system) + ;; TODO: Configure with socks client (ghc-socks is too big). + (arguments + `(#:tests? #f + #:configure-flags (list + "--enable-ipv6" + "--with-emacs-meta-keys" + (string-append "--with-openssl=" + (assoc-ref %build-inputs "openssl"))) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-bsdinstall-absolute-path-bins + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "bsdinstall" + (("/bin/strip") "strip") + (("/bin/cp") "cp") + (("/bin/chmod") "chmod") + (("/etc/chown") "chown") + (("/bin/chgrp") "chgrp") + (("/bin/mkdir") "mkdir") + (("/bin/rm") "rm") + (("/bin/mv") "mv"))))))) + (inputs + `(("ncurses" ,ncurses) + ("openssl" ,openssl))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("perl" ,perl))) + (home-page "http://www.eterna.com.au/ircii/") + (synopsis "Terminal-based IRC and ICB client") + (description + "ircII is a terminal based IRC and ICB client for UNIX systems.") + (license license:bsd-3))) -- 2.9.2 [-- Attachment #3: Type: text/plain, Size: 129 bytes --] -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org ^ permalink raw reply related [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-05 13:22 ` ng0 @ 2016-08-05 15:48 ` ng0 2016-08-05 15:57 ` Leo Famulari 0 siblings, 1 reply; 23+ messages in thread From: ng0 @ 2016-08-05 15:48 UTC (permalink / raw) To: guix-devel ng0 <ng0@we.make.ritual.n0.is> writes: > ng0 <ng0@we.make.ritual.n0.is> writes: > >> Indeed, not needed. Fixed: > > Well.. now it is fixed. Last patch was wrong. Blame multi-multitasking. > > From 9b383fff3ea117f5de5a096fdef1dc22cca4dc5c Mon Sep 17 00:00:00 2001 > From: ng0 <ng0@we.make.ritual.n0.is> > Date: Mon, 1 Aug 2016 19:31:23 +0000 > Subject: [PATCH] gnu: Add ircii. > > * gnu/packages/irc.scm (ircii): New variable. > --- > gnu/packages/irc.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 45 insertions(+) > > diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm > index 03f014a..1391094 100644 > --- a/gnu/packages/irc.scm > +++ b/gnu/packages/irc.scm > @@ -194,3 +194,48 @@ with a keyboard, though it also supports mouse. It is customizable > and extensible with plugins and scripts.") > (home-page "http://www.weechat.org/") > (license license:gpl3))) > + > +(define-public ircii > + (package > + (name "ircii") > + (version "20151120") > + (source (origin > + (method url-fetch) > + (uri (string-append "https://ircii.warped.com/" > + name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "178dc279f5j894qvp96dzz7c0jpryqlcqw5g0dc9yaxg9kgw1lqm")))) > + (build-system gnu-build-system) > + ;; TODO: Configure with socks client (ghc-socks is too big). > + (arguments > + `(#:tests? #f > + #:configure-flags (list > + "--enable-ipv6" > + "--with-emacs-meta-keys" > + (string-append "--with-openssl=" > + (assoc-ref %build-inputs "openssl"))) > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'patch-bsdinstall-absolute-path-bins > + (lambda* (#:key inputs #:allow-other-keys) > + (substitute* "bsdinstall" > + (("/bin/strip") "strip") > + (("/bin/cp") "cp") > + (("/bin/chmod") "chmod") > + (("/etc/chown") "chown") > + (("/bin/chgrp") "chgrp") > + (("/bin/mkdir") "mkdir") > + (("/bin/rm") "rm") > + (("/bin/mv") "mv"))))))) > + (inputs > + `(("ncurses" ,ncurses) > + ("openssl" ,openssl))) > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("perl" ,perl))) > + (home-page "http://www.eterna.com.au/ircii/") > + (synopsis "Terminal-based IRC and ICB client") > + (description > + "ircII is a terminal based IRC and ICB client for UNIX systems.") > + (license license:bsd-3))) > -- > 2.9.2 > > It looks like this is not complete yet: ng0@shadowwalker ~$ strace irc execve("/home/ng0/.guix-profile/bin/irc", ["irc"], [/* 66 vars */]) = 0 brk(0) = 0xace000 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1046b18000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/tls/x86_64/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/tls/x86_64", 0x7ffc4bd93e70) = -1 ENOENT (No such file or directory) open("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/tls/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/tls", 0x7ffc4bd93e70) = -1 ENOENT (No such file or directory) open("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/x86_64/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/x86_64", 0x7ffc4bd93e70) = -1 ENOENT (No such file or directory) open("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 open("/gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib/lib/tls/x86_64/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib/lib/tls/x86_64", 0x7ffc4bd93e70) = -1 ENOENT (No such file or directory) open("/gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib/lib/tls/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib/lib/tls", 0x7ffc4bd93e70) = -1 ENOENT (No such file or directory) open("/gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib/lib/x86_64/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib/lib/x86_64", 0x7ffc4bd93e70) = -1 ENOENT (No such file or directory) open("/gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib/lib/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib/lib", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 open("/gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0/lib/tls/x86_64/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0/lib/tls/x86_64", 0x7ffc4bd93e70) = -1 ENOENT (No such file or directory) open("/gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0/lib/tls/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0/lib/tls", 0x7ffc4bd93e70) = -1 ENOENT (No such file or directory) open("/gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0/lib/x86_64/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0/lib/x86_64", 0x7ffc4bd93e70) = -1 ENOENT (No such file or directory) open("/gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0/lib/libncursesw.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`j\1\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0555, st_size=499328, ...}) = 0 mmap(NULL, 2555600, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f104668c000 mprotect(0x7f10466f7000, 2097152, PROT_NONE) = 0 mmap(0x7f10468f7000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6b000) = 0x7f10468f7000 close(3) = 0 open("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/gnu/store/0kml8g9fix69v00afv59ngf4lgfr1565-openssl-1.0.2h/lib/tls/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/gnu/store/0kml8g9fix69v00afv59ngf4lgfr1565-openssl-1.0.2h/lib/tls/x86_64", 0x7ffc4bd93e40) = -1 ENOENT (No such file or directory) open("/gnu/store/0kml8g9fix69v00afv59ngf4lgfr1565-openssl-1.0.2h/lib/tls/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/gnu/store/0kml8g9fix69v00afv59ngf4lgfr1565-openssl-1.0.2h/lib/tls", 0x7ffc4bd93e40) = -1 ENOENT (No such file or directory) open("/gnu/store/0kml8g9fix69v00afv59ngf4lgfr1565-openssl-1.0.2h/lib/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/gnu/store/0kml8g9fix69v00afv59ngf4lgfr1565-openssl-1.0.2h/lib/x86_64", 0x7ffc4bd93e40) = -1 ENOENT (No such file or directory) open("/gnu/store/0kml8g9fix69v00afv59ngf4lgfr1565-openssl-1.0.2h/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0z\6\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0444, st_size=2683800, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1046b17000 mmap(NULL, 4535424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1046238000 mprotect(0x7f104645f000, 2097152, PROT_NONE) = 0 mmap(0x7f104665f000, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x227000) = 0x7f104665f000 mmap(0x7f1046688000, 13440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1046688000 close(3) = 0 open("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib/lib/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0/lib/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/gnu/store/0kml8g9fix69v00afv59ngf4lgfr1565-openssl-1.0.2h/lib/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\234\1\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0444, st_size=514608, ...}) = 0 mmap(NULL, 2559664, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1045fc7000 mprotect(0x7f104602e000, 2093056, PROT_NONE) = 0 mmap(0x7f104622d000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x66000) = 0x7f104622d000 close(3) = 0 open("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\v\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0555, st_size=40648, ...}) = 0 mmap(NULL, 2318880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1045d90000 mprotect(0x7f1045d98000, 2093056, PROT_NONE) = 0 mmap(0x7f1045f97000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f1045f97000 mmap(0x7f1045f99000, 184864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1045f99000 close(3) = 0 open("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p*\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0444, st_size=100848, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1046b16000 mmap(NULL, 2185952, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1045b7a000 mprotect(0x7f1045b90000, 2093056, PROT_NONE) = 0 mmap(0x7f1045d8f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f1045d8f000 close(3) = 0 open("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \t\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0555, st_size=1942128, ...}) = 0 mmap(NULL, 3808896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f10457d8000 mprotect(0x7f1045971000, 2093056, PROT_NONE) = 0 mmap(0x7f1045b70000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x198000) = 0x7f1045b70000 mmap(0x7f1045b76000, 16000, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1045b76000 close(3) = 0 open("/gnu/store/0kml8g9fix69v00afv59ngf4lgfr1565-openssl-1.0.2h/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0555, st_size=18976, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1046b15000 mmap(NULL, 2109712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f10455d4000 mprotect(0x7f10455d6000, 2097152, PROT_NONE) = 0 mmap(0x7f10457d6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f10457d6000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1046b14000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1046b13000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1046b12000 arch_prctl(ARCH_SET_FS, 0x7f1046b13700) = 0 mprotect(0x7f1045b70000, 16384, PROT_READ) = 0 mprotect(0x7f10457d6000, 4096, PROT_READ) = 0 mprotect(0x7f1045f97000, 4096, PROT_READ) = 0 mprotect(0x7f1046b1e000, 4096, PROT_READ) = 0 getpid() = 11191 brk(0) = 0xace000 brk(0xaef000) = 0xaef000 getuid() = 1000 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3 connect(3, {sa_family=AF_FILE, sun_path="/var/run/nscd/socket"}, 110) = 0 sendto(3, "\2\0\0\0\v\0\0\0\7\0\0\0passwd\0", 19, MSG_NOSIGNAL, NULL, 0) = 19 poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=3, revents=POLLIN|POLLHUP}]) recvmsg(3, {msg_name(0)=NULL, msg_iov(2)=[{"", 7}, {"", 8}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 0 close(3) = 0 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3 connect(3, {sa_family=AF_FILE, sun_path="/var/run/nscd/socket"}, 110) = 0 sendto(3, "\2\0\0\0\1\0\0\0\5\0\0\0001000\0", 17, MSG_NOSIGNAL, NULL, 0) = 17 poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=3, revents=POLLIN|POLLHUP}]) read(3, "\2\0\0\0\377\377\377\377\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\0\0\0\0\0\0\0\0"..., 36) = 36 close(3) = 0 open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=207, ...}) = 0 read(3, "group:\tcompat [NOTFOUND=return] "..., 4096) = 207 read(3, "", 4096) = 0 close(3) = 0 open("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/libnss_compat.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\23\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0555, st_size=38440, ...}) = 0 mmap(NULL, 2127008, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f10453cc000 mprotect(0x7f10453d3000, 2093056, PROT_NONE) = 0 mmap(0x7f10455d2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f10455d2000 close(3) = 0 open("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P@\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0555, st_size=108024, ...}) = 0 mmap(NULL, 2194392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f10451b4000 mprotect(0x7f10451c9000, 2093056, PROT_NONE) = 0 mmap(0x7f10453c8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7f10453c8000 mmap(0x7f10453ca000, 7128, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f10453ca000 close(3) = 0 mprotect(0x7f10453c8000, 4096, PROT_READ) = 0 mprotect(0x7f10455d2000, 4096, PROT_READ) = 0 open("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/libnss_nis.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240 \0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0555, st_size=56424, ...}) = 0 mmap(NULL, 2143656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1044fa8000 mprotect(0x7f1044fb3000, 2093056, PROT_NONE) = 0 mmap(0x7f10451b2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x7f10451b2000 close(3) = 0 open("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320!\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0555, st_size=56616, ...}) = 0 mmap(NULL, 2168632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1044d96000 mprotect(0x7f1044da1000, 2093056, PROT_NONE) = 0 mmap(0x7f1044fa0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x7f1044fa0000 mmap(0x7f1044fa2000, 22328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1044fa2000 close(3) = 0 mprotect(0x7f1044fa0000, 4096, PROT_READ) = 0 mprotect(0x7f10451b2000, 4096, PROT_READ) = 0 open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3 lseek(3, 0, SEEK_CUR) = 0 fstat(3, {st_mode=S_IFREG|0644, st_size=2336, ...}) = 0 mmap(NULL, 2336, PROT_READ, MAP_SHARED, 3, 0) = 0x7f1046b11000 lseek(3, 2336, SEEK_SET) = 2336 munmap(0x7f1046b11000, 2336) = 0 close(3) = 0 uname({sys="Linux", node="shadowwalker", ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 stat("/home/ng0/.terminfo", 0xad1970) = -1 ENOENT (No such file or directory) stat("/home/ng0/.guix-profile/share/terminfo", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 stat("/gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0/share/terminfo", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0 access("/home/ng0/.guix-profile/share/terminfo/x/xterm-256color", R_OK) = 0 open("/home/ng0/.guix-profile/share/terminfo/x/xterm-256color", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=3462, ...}) = 0 read(3, "\32\1%\0&\0\17\0\235\1\304\5xterm-256color|xterm"..., 4096) = 3462 read(3, "", 4096) = 0 close(3) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, TIOCGWINSZ, {ws_row=43, ws_col=159, ws_xpixel=0, ws_ypixel=0}) = 0 open("/dev/tty", O_RDWR) = 3 ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(3, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0 ioctl(3, TIOCGWINSZ, {ws_row=43, ws_col=159, ws_xpixel=0, ws_ypixel=0}) = 0 write(1, "\33[H\33[2J\33[1;1H\33[K\n", 17 ) = 17 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 write(1, "\33[K\n", 4 ) = 4 open("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory) open("/gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23/lib/gconv/gconv-modules", O_RDONLY|O_CLOEXEC) = 4 fstat(4, {st_mode=S_IFREG|0444, st_size=56095, ...}) = 0 read(4, "# GNU libc iconv configuration.\n"..., 4096) = 4096 read(4, "1002//\tJUS_I.B1.002//\nmodule\tJUS"..., 4096) = 4096 read(4, "ISO-IR-110//\t\tISO-8859-4//\nalias"..., 4096) = 4096 read(4, "\t\tISO-8859-14//\nalias\tISO_8859-1"..., 4096) = 4096 read(4, "IC-ES//\nalias\tEBCDICES//\t\tEBCDIC"..., 4096) = 4096 read(4, "DIC-CP-ES//\t\tIBM284//\nalias\tCSIB"..., 4096) = 4096 read(4, "//\nalias\tCSIBM864//\t\tIBM864//\nal"..., 4096) = 4096 read(4, "BM939//\nmodule\tIBM939//\t\tINTERNA"..., 4096) = 4096 brk(0xb10000) = 0xb10000 read(4, "EUC-CN//\nalias\tCN-GB//\t\t\tEUC-CN/"..., 4096) = 4096 read(4, "T//\nmodule\tISO-2022-CN-EXT//\tINT"..., 4096) = 4096 read(4, "//\t\tISO_5428//\nalias\tISO_5428:19"..., 4096) = 4096 ) = 6#\tfrom\t\t\tto\t\t\tmodule\t\tc"..., 4096) = 4096 write(1, "*** Connecting to port 6697 of s"..., 55*** Connecting to port 6697 of server chat.freenode.net) = 55 write(1, "\33[K", 3) = 3 access("/home/ng0/.ircquick", R_OK) = -1 ENOENT (No such file or directory) socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4 connect(4, {sa_family=AF_FILE, sun_path="/var/run/nscd/socket"}, 110) = 0O8859-1.so", O_RDONLY|O_CLOEXEC) = 4 sendto(4, "\2\0\0\0\r\0\0\0\6\0\0\0hosts\0", 18, MSG_NOSIGNAL, NULL, 0) = 18., 832) = 832 poll([{fd=4, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=4, revents=POLLIN|POLLHUP}]) recvmsg(4, {msg_name(0)=NULL, msg_iov(2)=[{"hosts\0", 6}, {"\310O\3\0\0\0\0\0", 8}], msg_controllen=20, {cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {5}}, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 14 mmap(NULL, 217032, PROT_READ, MAP_SHARED, 5, 0) = 0x7f1046add000_FIXED|MAP_DENYWRITE, 4, 0x1000) = 0x7f1044d94000 close(5) = 0 close(4) = 0 0 open("/etc/gai.conf", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) socket(PF_NETLINK, SOCK_RAW, 0) = 4 bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0, 0x7f104580b390}, {SIG_DFL, [], 0}, 8) = 0 getsockname(4, {sa_family=AF_NETLINK, pid=11191, groups=00000000}, [12]) = 00b390}, {SIG_DFL, [], 0}, 8) = 0 sendto(4, "\24\0\0\0\26\0\1\3Y\264\244W\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"L\0\0\0\24\0\2\0Y\264\244W\267+\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 164TART, 0x7f104580b390}, {SIG_DFL, [], 0}, 8) = 0 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"H\0\0\0\24\0\2\0Y\264\244W\267+\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 216RESTART, 0x7f104580b390}, {SIG_DFL, [], 0}, 8) = 0 recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0Y\264\244W\267+\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 20{0x423a00, [STOP], SA_RESTORER|SA_RESTART, 0x7f104580b390}, {SIG_DFL, [], 0}, 8) = -1 EINVAL (Invalid argument) close(4) = 0_RESTORER|SA_RESTART, 0x7f104580b390}, {SIG_DFL, [], 0}, 8) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4_RESTORER|SA_RESTART, 0x7f104580b390}, {SIG_DFL, [], 0}, 8) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("130.239.18.119")}, 16) = 0) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(53997), sin_addr=inet_addr("192.168.1.201")}, [16]) = 00 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0SIG_DFL, [], 0}, 8) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("91.217.189.42")}, 16) = 0, 8) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(58044), sin_addr=inet_addr("192.168.1.201")}, [16]) = 00 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 {SIG_DFL, [], 0}, 8) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("193.10.255.100")}, 16) = 0 8) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(58545), sin_addr=inet_addr("192.168.1.201")}, [16]) = 00 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0G_DFL, [], 0}, 8) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("192.186.157.43")}, 16) = 0) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(58077), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0R|SA_RESTART, 0x7f104580b390}, 8) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("130.185.232.126")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(40298), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 -1 ENOENT (No such file or directory) connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("195.154.200.232")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(52466), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("193.219.128.49")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(52380), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("185.30.166.38")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(58169), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("164.132.77.237")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(54454), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("94.125.182.252")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(47851), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("162.213.39.42")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(55517), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("38.229.70.22")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(47977), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("82.96.64.4")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(49896), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("64.32.24.178")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(49048), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("174.143.119.91")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(52383), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 close(4) = 0 socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET6, sin6_port=htons(6697), inet_pton(AF_INET6, "2610:150:3b0f::2", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable) connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET6, sin6_port=htons(6697), inet_pton(AF_INET6, "2001:778:627f::1:0:49", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable) connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET6, sin6_port=htons(6697), inet_pton(AF_INET6, "2001:948:7:7::140", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable) connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET6, sin6_port=htons(6697), inet_pton(AF_INET6, "2a01:270:0:666f::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETU) = 6reachable) write(1, "*** Connection closed from chat."..., 70*** Connection closed from chat.freenode.net: Connection reset by peer) = 70 write(1, "\33[K", 3) = 3 write(1, "\r\n", 2is unreachable) ) = 2UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 write(1, "\33[K", 3) = 3 write(1, "*** Connecting to port 6697 of s"..., 55*** Connecting to port 6697 of server chat.freenode.net) = 55 write(1, "\33[K", 3) = 3 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4 4 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("130.239.18.119")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(54392), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("91.217.189.42")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(35268), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 018.119")}, 16) = -1 EINPROGRESS (Operation now in progress) connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("193.10.255.100")}, 16) = 0]) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(40166), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("192.186.157.43")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(39143), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("130.185.232.126")}, 16) = 0) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(58833), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("195.154.200.232")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(50440), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("193.219.128.49")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(55526), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 5 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("185.30.166.38")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(54477), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("164.132.77.237")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(60098), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("94.125.182.252")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(58341), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("162.213.39.42")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(44924), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("38.229.70.22")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(50669), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("82.96.64.4")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(50775), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("64.32.24.178")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(40164), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("174.143.119.91")}, 16) = 0 getsockname(4, {sa_family=AF_INET, sin_port=htons(34806), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 close(4) = 0 socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 4 connect(4, {sa_family=AF_INET6, sin6_port=htons(6697), inet_pton(AF_INET6, "2610:150:3b0f::2", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable) connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET6, sin6_port=htons(6697), inet_pton(AF_INET6, "2001:778:627f::1:0:49", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable) connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET6, sin6_port=htons(6697), inet_pton(AF_INET6, "2001:948:7:7::140", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable) connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET6, sin6_port=htons(6697), inet_pton(AF_INET6, "2a01:270:0:666f::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable) connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(4, {sa_family=AF_INET6, sin6_port=htons(6697), inet_pton(AF_INET6, "2001:6b0:e:2a18::118", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable) connect(4, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 ) = 6=AF_INET6, sin6_port=htons(6697), inet_pton(AF_INET6, "2a00:1a28:1100:11::42", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENwrite(1, "*** Use /SERVER to connect to a "..., 38*** Use /SERVER to connect to a server) = 38 write(1, "\33[K", 3) = 3 gettimeofday({1470411865, 827135}, NULL) = 04 wait4(-1, 0x7ffc4bd9451c, WNOHANG, NULL) = -1 ECHILD (No child processes) select(1, [0], [], NULL, {1, 0}) = 0 (Timeout) write(1, "\33[43;1H", 7T, SO_LINGER, [0], 4) = -1 EINVAL (Invalid argument) fcntl(4, F_GETFL) = 0x2 (flags O_RDWR) fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("130.239.18.119")}, 16) = -1 EINPROGRESS (Operation now in progress) getsockname(4, {sa_family=AF_INET, sin_port=htons(49868), sin_addr=inet_addr("192.168.1.201")}, [16]) = 0 getpeername(4, 0x7ffc4bd93350, [128]) = -1 ENOTCONN (Transport endpoint is not connected) gettimeofday({1470411865, 612114}, NULL) = 0 wait4(-1, 0x7ffc4bd9451c, WNOHANG, NULL) = -1 ECHILD (No child processes) select(5, [0 4], [4], NULL, {1, 0}) = 1 (out [4], left {0, 931476}) getpeername(4, {sa_family=AF_INET, sin_port=htons(6697), sin_addr=inet_addr("130.239.18.119")}, [16]) = 0 fcntl(4, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) fcntl(4, F_SETFL, O_RDWR) = 0 write(4, "NICK ng0\n", 9) = 9 write(4, "USER ng0 shadowwalker chat.freen"..., 45) = 45 gettimeofday({1470411865, 681754}, NULL) = 0 wait4(-1, 0x7ffc4bd9451c, WNOHANG, NULL) = -1 ECHILD (No child processes) select(5, [0 4], [], NULL, {1, 0}) = 1 (in [4], left {0, 857229}) select(5, [4], NULL, NULL, {1, 0}) = 1 (in [4], left {0, 999997}) read(4, 0xb14560, 4097) = -1 ECONNRESET (Connection reset by peer) close(4) = 0 write(1, "\r\n", 2 ) = 2 write(1, "\33[K", 3) = 3 write(1, "*** Connection closed from chat."..., 70*** Connection closed from chat.freenode.net: Connection reset by peer) = 70 write(1, "\33[K", 3) = 3 write(1, "\r\n", 2 ) = 2 write(1, "\33[K", 3) = 3 write(1, "*** Unable to connect to server "..., 49*** Unable to connect to server chat.freenode.net) = 49 write(1, "\33[K", 3) = 3 ) = 7, 7 ) = 7 6 gettimeofday({1470411866, 828764}, NULL) = 0 wait4(-1, 0x7ffc4bd9451c, WNOHANG, NULL) = -1 ECHILD (No child processes) select(1, [0], [], NULL, {30, 0} -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-05 15:48 ` ng0 @ 2016-08-05 15:57 ` Leo Famulari 2016-08-05 16:11 ` ng0 0 siblings, 1 reply; 23+ messages in thread From: Leo Famulari @ 2016-08-05 15:57 UTC (permalink / raw) To: ng0; +Cc: guix-devel On Fri, Aug 05, 2016 at 03:48:53PM +0000, ng0 wrote: > It looks like this is not complete yet: > > ng0@shadowwalker ~$ strace irc What should we be looking for in this trace? ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-05 15:57 ` Leo Famulari @ 2016-08-05 16:11 ` ng0 2016-08-05 17:55 ` Leo Famulari 0 siblings, 1 reply; 23+ messages in thread From: ng0 @ 2016-08-05 16:11 UTC (permalink / raw) To: Leo Famulari; +Cc: guix-devel Leo Famulari <leo@famulari.name> writes: > On Fri, Aug 05, 2016 at 03:48:53PM +0000, ng0 wrote: >> It looks like this is not complete yet: >> >> ng0@shadowwalker ~$ strace irc > > What should we be looking for in this trace? Apparently nothing because I did not rtfm enough. ... export IRCSERVER="SSLIRC/chat.freenode.net:6697" ... Like mentioned in the manual: prefix the server with SSLIRC/ (...) -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-05 16:11 ` ng0 @ 2016-08-05 17:55 ` Leo Famulari 2016-08-05 18:27 ` ng0 0 siblings, 1 reply; 23+ messages in thread From: Leo Famulari @ 2016-08-05 17:55 UTC (permalink / raw) To: ng0; +Cc: guix-devel On Fri, Aug 05, 2016 at 04:11:38PM +0000, ng0 wrote: > Leo Famulari <leo@famulari.name> writes: > > > On Fri, Aug 05, 2016 at 03:48:53PM +0000, ng0 wrote: > >> It looks like this is not complete yet: > >> > >> ng0@shadowwalker ~$ strace irc > > > > What should we be looking for in this trace? > > Apparently nothing because I did not rtfm enough. > > ... > export IRCSERVER="SSLIRC/chat.freenode.net:6697" > ... So the package is ready to merge? ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-05 17:55 ` Leo Famulari @ 2016-08-05 18:27 ` ng0 2016-08-05 19:11 ` Leo Famulari 0 siblings, 1 reply; 23+ messages in thread From: ng0 @ 2016-08-05 18:27 UTC (permalink / raw) To: guix-devel [-- Attachment #1: Type: text/plain, Size: 684 bytes --] Leo Famulari <leo@famulari.name> writes: > On Fri, Aug 05, 2016 at 04:11:38PM +0000, ng0 wrote: >> Leo Famulari <leo@famulari.name> writes: >> >> > On Fri, Aug 05, 2016 at 03:48:53PM +0000, ng0 wrote: >> >> It looks like this is not complete yet: >> >> >> >> ng0@shadowwalker ~$ strace irc >> > >> > What should we be looking for in this trace? >> >> Apparently nothing because I did not rtfm enough. >> >> ... >> export IRCSERVER="SSLIRC/chat.freenode.net:6697" >> ... > > So the package is ready to merge? From my perspective yes. We have to add a smaller socks server/library than ghc-socks, when that is done I can add --with-socks. This patch clarifies this in a comment. [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: 0001-gnu-Add-ircii.patch --] [-- Type: text/x-patch, Size: 2503 bytes --] From b011897bec126469990a2687795b339b599b102e Mon Sep 17 00:00:00 2001 From: ng0 <ng0@we.make.ritual.n0.is> Date: Mon, 1 Aug 2016 19:31:23 +0000 Subject: [PATCH] gnu: Add ircii. * gnu/packages/irc.scm (ircii): New variable. --- gnu/packages/irc.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 03f014a..11250a3 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -194,3 +194,50 @@ with a keyboard, though it also supports mouse. It is customizable and extensible with plugins and scripts.") (home-page "http://www.weechat.org/") (license license:gpl3))) + +(define-public ircii + (package + (name "ircii") + (version "20151120") + (source (origin + (method url-fetch) + (uri (string-append "https://ircii.warped.com/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "178dc279f5j894qvp96dzz7c0jpryqlcqw5g0dc9yaxg9kgw1lqm")))) + (build-system gnu-build-system) + ;; TODO: We should package a small socks4/5 library/server to configure + ;; ircii with socks client. `ghc-socks' pulls in lots of haskell, which + ;; is too big. + (arguments + `(#:tests? #f + #:configure-flags (list + "--enable-ipv6" + "--with-emacs-meta-keys" + (string-append "--with-openssl=" + (assoc-ref %build-inputs "openssl"))) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-bsdinstall-absolute-path-bins + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "bsdinstall" + (("/bin/strip") "strip") + (("/bin/cp") "cp") + (("/bin/chmod") "chmod") + (("/etc/chown") "chown") + (("/bin/chgrp") "chgrp") + (("/bin/mkdir") "mkdir") + (("/bin/rm") "rm") + (("/bin/mv") "mv"))))))) + (inputs + `(("ncurses" ,ncurses) + ("openssl" ,openssl))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("perl" ,perl))) + (home-page "http://www.eterna.com.au/ircii/") + (synopsis "Terminal-based IRC and ICB client") + (description + "ircII is a terminal based IRC and ICB client for UNIX systems.") + (license license:bsd-3))) -- 2.9.2 [-- Attachment #3: Type: text/plain, Size: 129 bytes --] -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org ^ permalink raw reply related [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-05 18:27 ` ng0 @ 2016-08-05 19:11 ` Leo Famulari 0 siblings, 0 replies; 23+ messages in thread From: Leo Famulari @ 2016-08-05 19:11 UTC (permalink / raw) To: ng0; +Cc: guix-devel On Fri, Aug 05, 2016 at 06:27:17PM +0000, ng0 wrote: > Leo Famulari <leo@famulari.name> writes: > > So the package is ready to merge? > > From my perspective yes. We have to add a smaller socks server/library > than ghc-socks, when that is done I can add --with-socks. This patch > clarifies this in a comment. Great, pushed as c744f5c0ad! ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-05 13:01 ` ng0 2016-08-05 13:22 ` ng0 @ 2016-08-09 19:38 ` Ricardo Wurmus 2016-08-09 19:47 ` Leo Famulari 1 sibling, 1 reply; 23+ messages in thread From: Ricardo Wurmus @ 2016-08-09 19:38 UTC (permalink / raw) To: ng0; +Cc: guix-devel ng0 <ng0@we.make.ritual.n0.is> writes: > From 1438e5654cfd5f4eb4141a42580bd73c716e7134 Mon Sep 17 00:00:00 2001 > From: ng0 <ng0@we.make.ritual.n0.is> > Date: Mon, 1 Aug 2016 19:31:23 +0000 > Subject: [PATCH] gnu: Add ircii. > * gnu/packages/irc.scm (ircii): New variable. > --- > gnu/packages/irc.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 46 insertions(+) > diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm > index 03f014a..7087022 100644 > --- a/gnu/packages/irc.scm > +++ b/gnu/packages/irc.scm > @@ -194,3 +194,49 @@ with a keyboard, though it also supports mouse. It is customizable > and extensible with plugins and scripts.") > (home-page "http://www.weechat.org/") > (license license:gpl3))) > + > +(define-public ircii > + (package > + (name "ircii") > + (version "20151120") > + (source (origin > + (method url-fetch) > + (uri (string-append "https://ircii.warped.com/" > + name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "178dc279f5j894qvp96dzz7c0jpryqlcqw5g0dc9yaxg9kgw1lqm")))) > + (build-system gnu-build-system) > + ;; TODO: Configure with socks client (ghc-socks is too big). > + (arguments > + `(#:tests? #f Please add a comment like “; no tests”. > + #:configure-flags (list > + ;;(string-append "--prefix=" (assoc-ref %outputs "out")) I suppose this line can be removed? > + "--enable-ipv6" > + (string-append "--with-openssl=" > + (assoc-ref %build-inputs "openssl")) > + "--with-emacs-meta-keys") What does this do? > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'patch-bsdinstall-absolute-path-bins That’s a somewhat unusual name for a phase. In other packages we use something simpler like “fix-paths” or “patch-paths”. > + (lambda* (#:key inputs #:allow-other-keys) > + (substitute* "bsdinstall" > + (("/bin/strip") "strip") > + (("/bin/cp") "cp") > + (("/bin/chmod") "chmod") > + (("/etc/chown") "chown") > + (("/bin/chgrp") "chgrp") > + (("/bin/mkdir") "mkdir") > + (("/bin/rm") "rm") > + (("/bin/mv") "mv"))))))) Four things: - you don’t use the “inputs” key, so you can simplify this to “(lambda _ …)” - “/etc/chown”? - can this be simplified by just deleting any occurrence of “/bin/”? - please end this phase with “#t” as “substitute*” has no defined return value. > + (inputs > + `(("ncurses" ,ncurses) > + ("openssl" ,openssl))) > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("perl" ,perl))) > + (home-page "http://www.eterna.com.au/ircii/") > + (synopsis "Terminal-based IRC and ICB client") > + (description > + "ircII is a terminal based IRC and ICB client for UNIX systems.") I’d remove “for UNIX systems”. Is there more that can be said about this application? > + (license license:bsd-3))) > -- > 2.9.2 ~~ Ricardo ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-09 19:38 ` Ricardo Wurmus @ 2016-08-09 19:47 ` Leo Famulari 2016-08-13 7:06 ` ng0 0 siblings, 1 reply; 23+ messages in thread From: Leo Famulari @ 2016-08-09 19:47 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: guix-devel On Tue, Aug 09, 2016 at 09:38:55PM +0200, Ricardo Wurmus wrote: I actually applied a tweaked version of this patch with c744f5c0ad. But, the improvements you suggest should be applied. > > + (lambda* (#:key inputs #:allow-other-keys) > > + (substitute* "bsdinstall" > > + (("/bin/strip") "strip") > > + (("/bin/cp") "cp") > > + (("/bin/chmod") "chmod") > > + (("/etc/chown") "chown") > - “/etc/chown”? This, I missed :/ ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-09 19:47 ` Leo Famulari @ 2016-08-13 7:06 ` ng0 0 siblings, 0 replies; 23+ messages in thread From: ng0 @ 2016-08-13 7:06 UTC (permalink / raw) To: Leo Famulari, Ricardo Wurmus; +Cc: guix-devel Leo Famulari <leo@famulari.name> writes: > On Tue, Aug 09, 2016 at 09:38:55PM +0200, Ricardo Wurmus wrote: > > I actually applied a tweaked version of this patch with c744f5c0ad. > > But, the improvements you suggest should be applied. > >> > + (lambda* (#:key inputs #:allow-other-keys) >> > + (substitute* "bsdinstall" >> > + (("/bin/strip") "strip") >> > + (("/bin/cp") "cp") >> > + (("/bin/chmod") "chmod") >> > + (("/etc/chown") "chown") > >> - “/etc/chown”? > > This, I missed :/ The weakness of email beginns to show. I did not get these messages on ircii patch even with a good sorting mechanism in place. I would've applied corrections if I would've read them. Thanks for reviewing and correcting. -- ♥Ⓐ ng0 For non-prism friendly talk find me on http://www.psyced.org ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-02 0:54 ` Leo Famulari 2016-08-02 7:58 ` Andreas Enge @ 2016-08-02 12:42 ` 宋文武 2016-08-02 15:19 ` ng0 1 sibling, 1 reply; 23+ messages in thread From: 宋文武 @ 2016-08-02 12:42 UTC (permalink / raw) To: Leo Famulari; +Cc: guix-devel Leo Famulari <leo@famulari.name> writes: > On Mon, Aug 01, 2016 at 07:34:49PM +0000, ng0 wrote: >> * gnu/packages/irc.scm (ircii): New variable. > > Cool! > >> + (snippet >> + '(begin >> + (substitute* "bsdinstall" >> + (("/bin/strip") "strip") >> + (("/bin/cp") "cp") >> + (("/bin/chmod") "chmod") >> + (("/etc/chown") "chown") >> + (("/bin/chgrp") "chgrp") >> + (("/bin/mkdir") "mkdir") >> + (("/bin/rm") "rm") >> + (("/bin/mv") "mv")))))) > > Does anyone else think we should put this origin snippet in a build phase > instead? Or, should we leave it in the origin, where it will be applied > to the source code provided by `guix build --source ircii`? I think it should be in snippet. The 'substitute*' doesn't introduce any guix specified modifitions, it removes the hardcoded paths. > >> + (delete 'check)))) > > Using '#:tests? #f' is preferred instead of deleting the check phase. > >> + (inputs >> + `(("libiconv" ,libiconv) >> + ("ncurses" ,ncurses) >> + ("openssl" ,openssl))) > > I noticed that the built package does refer to libiconv: > > --- > $ guix gc --references $(./pre-inst-env guix build ircii) > /gnu/store/0kml8g9fix69v00afv59ngf4lgfr1565-openssl-1.0.2h > /gnu/store/9maps38bsia0wcxm82h0v0p2dxyn8j35-ircii-20151120 > /gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib > /gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23 > /gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0 > /gnu/store/ykzwykkvr2c80rw4l1qh3mvfdkl7jibi-bash-4.3.42 > --- > > But, libiconv is used: > > --- > $ strings /gnu/store/9maps38bsia0wcxm82h0v0p2dxyn8j35-ircii-20151120/bin/irc | grep iconv > iconv_close > iconv > iconv_open > iconv_open@@GLIBC_2.2.5 > iconv@@GLIBC_2.2.5 > iconv_close@@GLIBC_2.2.5 > --- > > Perhaps libiconv should be propagated? The iconv functions are provided by glibc, libiconv is for systems that do not use glibc. libiconv should be removed from inputs. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-02 12:42 ` 宋文武 @ 2016-08-02 15:19 ` ng0 2016-08-04 19:03 ` ng0 0 siblings, 1 reply; 23+ messages in thread From: ng0 @ 2016-08-02 15:19 UTC (permalink / raw) To: 宋文武, Leo Famulari; +Cc: guix-devel [-- Attachment #1.1: Type: text/plain, Size: 2460 bytes --] 宋文武 <iyzsong@member.fsf.org> writes: > Leo Famulari <leo@famulari.name> writes: > >> On Mon, Aug 01, 2016 at 07:34:49PM +0000, ng0 wrote: >>> * gnu/packages/irc.scm (ircii): New variable. >> >> Cool! >> >>> + (snippet >>> + '(begin >>> + (substitute* "bsdinstall" >>> + (("/bin/strip") "strip") >>> + (("/bin/cp") "cp") >>> + (("/bin/chmod") "chmod") >>> + (("/etc/chown") "chown") >>> + (("/bin/chgrp") "chgrp") >>> + (("/bin/mkdir") "mkdir") >>> + (("/bin/rm") "rm") >>> + (("/bin/mv") "mv")))))) >> >> Does anyone else think we should put this origin snippet in a build phase >> instead? Or, should we leave it in the origin, where it will be applied >> to the source code provided by `guix build --source ircii`? > I think it should be in snippet. The 'substitute*' doesn't introduce > any guix specified modifitions, it removes the hardcoded paths. > >> >>> + (delete 'check)))) >> >> Using '#:tests? #f' is preferred instead of deleting the check phase. >> >>> + (inputs >>> + `(("libiconv" ,libiconv) >>> + ("ncurses" ,ncurses) >>> + ("openssl" ,openssl))) >> >> I noticed that the built package does refer to libiconv: >> >> --- >> $ guix gc --references $(./pre-inst-env guix build ircii) >> /gnu/store/0kml8g9fix69v00afv59ngf4lgfr1565-openssl-1.0.2h >> /gnu/store/9maps38bsia0wcxm82h0v0p2dxyn8j35-ircii-20151120 >> /gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib >> /gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23 >> /gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0 >> /gnu/store/ykzwykkvr2c80rw4l1qh3mvfdkl7jibi-bash-4.3.42 >> --- >> >> But, libiconv is used: >> >> --- >> $ strings /gnu/store/9maps38bsia0wcxm82h0v0p2dxyn8j35-ircii-20151120/bin/irc | grep iconv >> iconv_close >> iconv >> iconv_open >> iconv_open@@GLIBC_2.2.5 >> iconv@@GLIBC_2.2.5 >> iconv_close@@GLIBC_2.2.5 >> --- >> >> Perhaps libiconv should be propagated? > The iconv functions are provided by glibc, libiconv is for systems that > do not use glibc. libiconv should be removed from inputs. For future references: As said on irc freenode.net, we might use libiconv if we run into problems with other libcs later. For now, I applied what you said, thanks. [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1.2: 0001-gnu-Add-ircii.patch --] [-- Type: text/x-patch, Size: 2923 bytes --] From 51542c0897a8f01af1a0507f8e243c1dec72a9c7 Mon Sep 17 00:00:00 2001 From: ng0 <ng0@we.make.ritual.n0.is> Date: Mon, 1 Aug 2016 19:31:23 +0000 Subject: [PATCH] gnu: Add ircii. * gnu/packages/irc.scm (ircii): New variable. --- gnu/packages/irc.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 03f014a..97f015b 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -194,3 +194,56 @@ with a keyboard, though it also supports mouse. It is customizable and extensible with plugins and scripts.") (home-page "http://www.weechat.org/") (license license:gpl3))) + +(define-public ircii + (package + (name "ircii") + (version "20151120") + (source (origin + (method url-fetch) + (uri (string-append "https://ircii.warped.com/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "178dc279f5j894qvp96dzz7c0jpryqlcqw5g0dc9yaxg9kgw1lqm")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-bsdinstall-absolute-path-bins + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "bsdinstall" + (("/bin/strip") "strip") + (("/bin/cp") "cp") + (("/bin/chmod") "chmod") + (("/etc/chown") "chown") + (("/bin/chgrp") "chgrp") + (("/bin/mkdir") "mkdir") + (("/bin/rm") "rm") + (("/bin/mv") "mv")))) + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (ncurses (assoc-ref inputs "ncurses")) + (openssl (assoc-ref inputs "openssl"))) + (setenv "CONFIG_SHELL" (which "bash")) + (zero? + (system* "./configure" + ;; TODO: find a socks4+5 lib with small size + ;; (string-append "--with-socks5=" ghc-socks) + (string-append "--prefix=" out) + (string-append "--enable-ipv6") + (string-append "--with-openssl=" openssl) + (string-append "--with-emacs-meta-keys"))))))))) + (inputs + `(("ncurses" ,ncurses) + ("openssl" ,openssl))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("perl" ,perl))) + (home-page "http://www.eterna.com.au/ircii/") + (synopsis "Terminal-based IRC and ICB client") + (description + "ircII is a terminal based IRC and ICB client for UNIX systems.") + (license license:bsd-3))) -- 2.9.2 [-- Attachment #1.3: Type: text/plain, Size: 134 bytes --] -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 800 bytes --] ^ permalink raw reply related [flat|nested] 23+ messages in thread
* Re: [PATCH] gnu: Add ircii. 2016-08-02 15:19 ` ng0 @ 2016-08-04 19:03 ` ng0 0 siblings, 0 replies; 23+ messages in thread From: ng0 @ 2016-08-04 19:03 UTC (permalink / raw) To: 宋文武, Leo Famulari; +Cc: guix-devel Hi, ng0 <ng0@we.make.ritual.n0.is> writes: > 宋文武 <iyzsong@member.fsf.org> writes: > >> Leo Famulari <leo@famulari.name> writes: >> >>> On Mon, Aug 01, 2016 at 07:34:49PM +0000, ng0 wrote: >>>> * gnu/packages/irc.scm (ircii): New variable. >>> >>> Cool! >>> >>>> + (snippet >>>> + '(begin >>>> + (substitute* "bsdinstall" >>>> + (("/bin/strip") "strip") >>>> + (("/bin/cp") "cp") >>>> + (("/bin/chmod") "chmod") >>>> + (("/etc/chown") "chown") >>>> + (("/bin/chgrp") "chgrp") >>>> + (("/bin/mkdir") "mkdir") >>>> + (("/bin/rm") "rm") >>>> + (("/bin/mv") "mv")))))) >>> >>> Does anyone else think we should put this origin snippet in a build phase >>> instead? Or, should we leave it in the origin, where it will be applied >>> to the source code provided by `guix build --source ircii`? >> I think it should be in snippet. The 'substitute*' doesn't introduce >> any guix specified modifitions, it removes the hardcoded paths. >> >>> >>>> + (delete 'check)))) >>> >>> Using '#:tests? #f' is preferred instead of deleting the check phase. >>> >>>> + (inputs >>>> + `(("libiconv" ,libiconv) >>>> + ("ncurses" ,ncurses) >>>> + ("openssl" ,openssl))) >>> >>> I noticed that the built package does refer to libiconv: >>> >>> --- >>> $ guix gc --references $(./pre-inst-env guix build ircii) >>> /gnu/store/0kml8g9fix69v00afv59ngf4lgfr1565-openssl-1.0.2h >>> /gnu/store/9maps38bsia0wcxm82h0v0p2dxyn8j35-ircii-20151120 >>> /gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib >>> /gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23 >>> /gnu/store/xl19qrfzga52vrvp4ncccwjlnrjqwj95-ncurses-6.0 >>> /gnu/store/ykzwykkvr2c80rw4l1qh3mvfdkl7jibi-bash-4.3.42 >>> --- >>> >>> But, libiconv is used: >>> >>> --- >>> $ strings /gnu/store/9maps38bsia0wcxm82h0v0p2dxyn8j35-ircii-20151120/bin/irc | grep iconv >>> iconv_close >>> iconv >>> iconv_open >>> iconv_open@@GLIBC_2.2.5 >>> iconv@@GLIBC_2.2.5 >>> iconv_close@@GLIBC_2.2.5 >>> --- >>> >>> Perhaps libiconv should be propagated? >> The iconv functions are provided by glibc, libiconv is for systems that >> do not use glibc. libiconv should be removed from inputs. > > For future references: > > As said on irc freenode.net, we might use libiconv if we run into > problems with other libcs later. > > For now, I applied what you said, thanks. Can someone test this with /SERVER freenode.org:6697 and tell me if SSL connection works with ircii or if I need to tweak this for us? There's also the newer *current* release of ircii, this just packages stable. > From 51542c0897a8f01af1a0507f8e243c1dec72a9c7 Mon Sep 17 00:00:00 2001 > From: ng0 <ng0@we.make.ritual.n0.is> > Date: Mon, 1 Aug 2016 19:31:23 +0000 > Subject: [PATCH] gnu: Add ircii. > > * gnu/packages/irc.scm (ircii): New variable. > --- > gnu/packages/irc.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 53 insertions(+) > > diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm > index 03f014a..97f015b 100644 > --- a/gnu/packages/irc.scm > +++ b/gnu/packages/irc.scm > @@ -194,3 +194,56 @@ with a keyboard, though it also supports mouse. It is customizable > and extensible with plugins and scripts.") > (home-page "http://www.weechat.org/") > (license license:gpl3))) > + > +(define-public ircii > + (package > + (name "ircii") > + (version "20151120") > + (source (origin > + (method url-fetch) > + (uri (string-append "https://ircii.warped.com/" > + name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "178dc279f5j894qvp96dzz7c0jpryqlcqw5g0dc9yaxg9kgw1lqm")))) > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'patch-bsdinstall-absolute-path-bins > + (lambda* (#:key inputs #:allow-other-keys) > + (substitute* "bsdinstall" > + (("/bin/strip") "strip") > + (("/bin/cp") "cp") > + (("/bin/chmod") "chmod") > + (("/etc/chown") "chown") > + (("/bin/chgrp") "chgrp") > + (("/bin/mkdir") "mkdir") > + (("/bin/rm") "rm") > + (("/bin/mv") "mv")))) > + (replace 'configure > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (let ((out (assoc-ref outputs "out")) > + (ncurses (assoc-ref inputs "ncurses")) > + (openssl (assoc-ref inputs "openssl"))) > + (setenv "CONFIG_SHELL" (which "bash")) > + (zero? > + (system* "./configure" > + ;; TODO: find a socks4+5 lib with small size > + ;; (string-append "--with-socks5=" ghc-socks) > + (string-append "--prefix=" out) > + (string-append "--enable-ipv6") > + (string-append "--with-openssl=" openssl) > + (string-append "--with-emacs-meta-keys"))))))))) > + (inputs > + `(("ncurses" ,ncurses) > + ("openssl" ,openssl))) > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("perl" ,perl))) > + (home-page "http://www.eterna.com.au/ircii/") > + (synopsis "Terminal-based IRC and ICB client") > + (description > + "ircII is a terminal based IRC and ICB client for UNIX systems.") > + (license license:bsd-3))) > -- > 2.9.2 > > > -- > ♥Ⓐ ng0 > Current Keys: https://we.make.ritual.n0.is/ng0.txt > For non-prism friendly talk find me on http://www.psyced.org -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org ^ permalink raw reply [flat|nested] 23+ messages in thread
end of thread, other threads:[~2016-08-13 7:06 UTC | newest] Thread overview: 23+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-08-01 19:34 [PATCH] gnu: Add ircii ng0 2016-08-02 0:54 ` Leo Famulari 2016-08-02 7:58 ` Andreas Enge 2016-08-02 11:30 ` ng0 2016-08-05 6:46 ` Ricardo Wurmus 2016-08-05 10:29 ` ng0 2016-08-05 11:17 ` Ricardo Wurmus 2016-08-05 12:55 ` ng0 2016-08-05 12:57 ` ng0 2016-08-05 13:01 ` ng0 2016-08-05 13:22 ` ng0 2016-08-05 15:48 ` ng0 2016-08-05 15:57 ` Leo Famulari 2016-08-05 16:11 ` ng0 2016-08-05 17:55 ` Leo Famulari 2016-08-05 18:27 ` ng0 2016-08-05 19:11 ` Leo Famulari 2016-08-09 19:38 ` Ricardo Wurmus 2016-08-09 19:47 ` Leo Famulari 2016-08-13 7:06 ` ng0 2016-08-02 12:42 ` 宋文武 2016-08-02 15:19 ` ng0 2016-08-04 19:03 ` ng0
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.