GNU bug report logs - #61087
[PATCH] gnu: Add x11-ssh-askpass.

Previous Next

Package: guix-patches;

Reported by: Simon Streit <simon <at> netpanic.org>

Date: Thu, 26 Jan 2023 22:25:01 UTC

Severity: normal

Tags: patch

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

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 61087 in the body.
You can then email your comments to 61087 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#61087; Package guix-patches. (Thu, 26 Jan 2023 22:25:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simon Streit <simon <at> netpanic.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 26 Jan 2023 22:25:02 GMT) Full text and rfc822 format available.

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

From: Simon Streit <simon <at> netpanic.org>
To: guix-patches <at> gnu.org
Cc: Simon Streit <simon <at> netpanic.org>
Subject: [PATCH] gnu: Add x11-ssh-askpass.
Date: Thu, 26 Jan 2023 23:24:32 +0100
* gnu/packages/ssh.scm (x11-ssh-askpass): New variable.
---
 gnu/packages/ssh.scm | 59 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 2f6874f811..bd2f024689 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust <at> gmail.com>
 ;;; Copyright © 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
 ;;; Copyright © 2021 Brice Waegeneire <brice <at> waegenei.re>
+;;; Copyright © 2023 Simon Streit <simon <at> netpanic.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -940,3 +941,61 @@ (define-public webssh
 @item Modern browsers are supported.
 @end itemize")
     (license license:expat)))
+
+(define-public x11-ssh-askpass
+  (package
+    (name "x11-ssh-askpass")
+    (version "1.2.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       ;; The project home page seams to be offline.
+       (uri (string-append "https://pkgs.fedoraproject.org/repo/pkgs/openssh/"
+                           name "-" version ".tar.gz"
+                           "/8f2e41f3f7eaa8543a2440454637f3c3/"
+                           name "-" version ".tar.gz"))
+       (sha256
+        (base32 "124c1frwvdmg4nv8xqv435ibjhj2y8xc1bmfr6i8a8g75b1y63b2"))))
+    (build-system gnu-build-system)
+    (native-inputs (list imake))
+    (inputs (list libxt))
+    (arguments
+     `(#:make-flags
+       (let ((out (assoc-ref %outputs "out")))
+         (list (string-append "BINDIR=" out "/libexec")
+               (string-append "MANDIR=" out "/share/man")))
+       #:tests? #f
+       #:configure-flags (list (string-append "--mandir="
+                                              "/usr/share/man/test")
+                               (string-append "--libexecdir="
+                                              "/usr/lib/ssh/test")
+                               (string-append "--with-app-defaults-dir="
+                                              "/usr/share/X11/app-defaults/test"))
+      #:phases
+      (modify-phases %standard-phases
+        (add-after 'configure 'xmkmf
+          (lambda* (#:key inputs outputs #:allow-other-keys)
+            (let ((imake (assoc-ref inputs "imake"))
+                  (out (assoc-ref outputs "out")))
+              (invoke "xmkmf")
+              (substitute* "Makefile"
+                ;; These imake variables somehow remain undefined
+                (("DefaultGcc2[[:graph:]]*Opt") "-O2")
+                ;; Reset a few variable defaults that are set in imake templates
+                ((imake) out)
+                (("(MANPATH = )[[:graph:]]*" _ front)
+                 (string-append front out "/share/man"))))))
+        (add-after 'xmkmf 'make-includes
+          (lambda _
+            (invoke "make" "includes")))
+        (add-after 'install 'install/doc
+          (lambda* (#:key outputs #:allow-other-keys)
+            (let ((out (assoc-ref outputs "out")))
+              (lambda _
+                (invoke "make"
+                        (string-append "MANDIR=" out "/share/man")
+                        "install.man"))))))))
+    (home-page "http://www.jmknoble.net/software/x11-ssh-askpass/")
+    (synopsis "Lightweight passphrase dialog for SSH")
+    (description "An X11-based pass-phrase dialog for use with OpenSSH.")
+    (license license:gpl2+)))
-- 
2.39.1





Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Thu, 23 Feb 2023 14:41:02 GMT) Full text and rfc822 format available.

Notification sent to Simon Streit <simon <at> netpanic.org>:
bug acknowledged by developer. (Thu, 23 Feb 2023 14:41:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Simon Streit <simon <at> netpanic.org>
Cc: 61087-done <at> debbugs.gnu.org
Subject: Re: [bug#61087] [PATCH] gnu: Add x11-ssh-askpass.
Date: Thu, 23 Feb 2023 15:40:05 +0100
Hello,

Simon Streit <simon <at> netpanic.org> writes:

> * gnu/packages/ssh.scm (x11-ssh-askpass): New variable.

Applied (with G-exps, and a description with full sentences). Thank you.

Note that home page does not exist. Do you have an idea about
a replacement for it?

Regards,
-- 
Nicolas Goaziou




Information forwarded to guix-patches <at> gnu.org:
bug#61087; Package guix-patches. (Thu, 23 Feb 2023 20:52:01 GMT) Full text and rfc822 format available.

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

From: Simon Streit <simon <at> netpanic.org>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 61087-done <at> debbugs.gnu.org
Subject: Re: [bug#61087] [PATCH] gnu: Add x11-ssh-askpass.
Date: Thu, 23 Feb 2023 21:51:48 +0100
Hello Nicolas,

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

> Applied (with G-exps, and a description with full sentences). Thank
> you.

Thank you! 

> Note that home page does not exist. Do you have an idea about a
> replacement for it?

There hasn't been a release since at least Debian Sarge [1, 2].

Sadly no.  I presume the project has been abandoned as it has not
received an update in a long time.  Maybe since at least Debian Sarge
[1, 2].

I looked at some packages from other distributions and they still have a
reference to the original home-page and source the package from, as Arch
has done, from fedoraproject.org.  Which is why I also sourced the
package from too. 

I don't know of a fork that is currently extending the code either.


Kind regards
Simon 

[1] https://sources.debian.org/copyright/license/ssh-askpass/1:1.2.4.1-3/
[2] https://sources.debian.org/copyright/license/ssh-askpass/




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

This bug report was last modified 1 year and 33 days ago.

Previous Next


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