From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iDzMCjvarV5kbQAA0tVLHw (envelope-from ) for ; Sat, 02 May 2020 20:38:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id v8vPJEXarV6wBwAAbx9fmQ (envelope-from ) for ; Sat, 02 May 2020 20:38:29 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CAEE1944164 for ; Sat, 2 May 2020 20:38:25 +0000 (UTC) Received: from localhost ([::1]:59646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUyu1-0005CY-67 for larch@yhetil.org; Sat, 02 May 2020 16:38:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUyti-0004yZ-DL for guix-patches@gnu.org; Sat, 02 May 2020 16:38:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUyth-0005Gx-EA for guix-patches@gnu.org; Sat, 02 May 2020 16:38:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42475) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUyte-0005FL-Ml for guix-patches@gnu.org; Sat, 02 May 2020 16:38:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jUyte-0003oW-K9 for guix-patches@gnu.org; Sat, 02 May 2020 16:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41032] [PATCH] Add makepasswd package Resent-From: Jean-Baptiste Note Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 May 2020 20:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41032 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41032@debbugs.gnu.org X-Debbugs-Original-To: guixpatch Received: via spool by submit@debbugs.gnu.org id=B.158845186914632 (code B ref -1); Sat, 02 May 2020 20:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 May 2020 20:37:49 +0000 Received: from localhost ([127.0.0.1]:54019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUytQ-0003nv-I4 for submit@debbugs.gnu.org; Sat, 02 May 2020 16:37:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:35374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUytO-0003nh-5J for submit@debbugs.gnu.org; Sat, 02 May 2020 16:37:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUytN-0004ML-7C for guix-patches@gnu.org; Sat, 02 May 2020 16:37:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUytK-0004uQ-9y for guix-patches@gnu.org; Sat, 02 May 2020 16:37:44 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:41487) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUytJ-0004tP-Rq for guix-patches@gnu.org; Sat, 02 May 2020 16:37:41 -0400 Received: by mail-wr1-x435.google.com with SMTP id g13so16117116wrb.8 for ; Sat, 02 May 2020 13:37:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:user-agent:date:message-id:mime-version; bh=SKPH04QEb7SG80ig9E9fsDI54IXJR4AjjYta24hlLy8=; b=X5IHw5OsCJ4faHP2A0E9XAOhn1ktvri7QumoRCPtiaFh2ssHh1h/M3TZeyd9550zhD Y13O+uFpIm4F7icWCYO557n8kIw+IPQ3YtWe5rZyJ+r6iTk9SXkrGdMZJbYPBesawoFA fMJdy+TplYmFGQL3Yma1udS43pR+6gW1NBoqPi+jeKUsnNoqOgmgxBp4E3+0Qig8oYyB ZrHHiQsVhnT0GVtE5FnaeVAOMqEqgmpnUfxGILZxqQfYi42KWPx6UJUwvuERecbxD2pz /CFXQ7ACgA6mZx+zsBHLxdb+t5wZnLDg3MtkSvMcQ0Id3xHchDc+rb6cHDYnuF09ybXu ERqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:user-agent:date :message-id:mime-version; bh=SKPH04QEb7SG80ig9E9fsDI54IXJR4AjjYta24hlLy8=; b=giKflBUpPHkwg8gMy+QA2G78CHn2zqpqkOSaOb96RjyHPO3y1Sr2aqDhoL/55PO4h3 sDFK0LC+9ugUb8sQiotQVAkCRMDQJSEJpS2tTl7N67s4UyC85QCffEafg3T30bT9hNBn MFQZCbRTw4stUIWeJw78KXhWcqVddGiUju9rflJ4UvSdSiWYT+v9glyWCUAjndfeMILU SX4QyFbkQdAqY+Gp3aSMBQumGQ9562W0pIHxVPKAHhF+dJffKk0KRlx5c+2XRmJryP58 BNy0dMHLixvCC/EfMAS2T00+mnjAgw5/wlzYItgC+NeGnWn44267kVuTu9YIWsBhKtox gXdQ== X-Gm-Message-State: AGi0PuaEqTKSZVqH7JNiEApTg7pBljm+LS1w8hkStZn5rfcV9lLcNst/ bw+ol6Sx2dHTb5Iz6x6f2wk75NJki88= X-Google-Smtp-Source: APiQypJWYeNHU8EkRGlDGuAxwuR7pBNNcZyiU3KCktCBUJbBAtyNp8Gf7LujGnq1he9SAtXSSnS5xQ== X-Received: by 2002:a5d:420a:: with SMTP id n10mr10262615wrq.235.1588451859822; Sat, 02 May 2020 13:37:39 -0700 (PDT) Received: from guixrules ([2a01:e35:2e0b:a6b0:e2ce:c3ff:fe74:cec8]) by smtp.gmail.com with ESMTPSA id o3sm10695551wru.68.2020.05.02.13.37.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 May 2020 13:37:38 -0700 (PDT) From: Jean-Baptiste Note User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Date: Sat, 02 May 2020 20:37:28 +0000 Message-ID: <87zhaq8453.fsf@m4x.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=jbnote@gmail.com; helo=mail-wr1-x435.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 X-Spam-Score: -0.61 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=X5IHw5Os; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [-0.61 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49502080636252]; MX_INVALID(1.00)[cached]; DWL_DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; HAS_ATTACHMENT(0.00)[]; RCVD_COUNT_TWELVE(0.00)[13]; TO_DN_NONE(0.00)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.15), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; DKIM_TRACE(0.00)[gmail.com:-]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:+,4:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[jean-baptiste.note@m4x.org,guix-patches-bounces@gnu.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[m4x.org:email,gnu.org:url]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain,text/x-patch]; DMARC_NA(0.00)[m4x.org]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: y+7o8L4N3IFo --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Dear Guix maintainers, Here is an attempt at packaging makepasswd, a run-time dependency of x2go. I've placed it in its own file which may be ill-advised for now; please let me know where I could more sensibly move it. Hopefully patches will follow that put more flesh in this x2go.scm file; however I find this program useful in its own right. Kind regards, Jean-Baptiste --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-x2go-Add-makepasswd.patch Content-Transfer-Encoding: quoted-printable Content-Description: add makepasswd From=20f8c9c93e359f4f65a12709f244e6e8952db4bad9 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Note Date: Sat, 2 May 2020 05:50:20 +0000 Subject: [PATCH] x2go: Add makepasswd. * gnu/packages/x2go.scm: New file. * gnu/packages/xorg.scm (makepasswd): New variable. =2D-- gnu/packages/x2go.scm | 66 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 gnu/packages/x2go.scm diff --git a/gnu/packages/x2go.scm b/gnu/packages/x2go.scm new file mode 100644 index 0000000000..b77f81cee5 =2D-- /dev/null +++ b/gnu/packages/x2go.scm @@ -0,0 +1,66 @@ +;;; GNU Guix --- Functional package management for GNU +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages x2go) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix build-system gnu) + #:use-module (guix utils) + #:use-module (gnu packages) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages tls) + #:use-module (gnu packages xml) + #:use-module (gnu packages docbook)) + +(define-public makepasswd + (let ((commit "3545d57d3a589a392d7eb0df36a5286785345c9e") + (revision "1")) + (package + (name "makepasswd") + (version (git-version "0.5.4" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/khorben/makepasswd") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0lspqyyxbk6h28yxnp7pd5aib161vrkzgasam5jpzn35n1jacx2j"))= )) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("libxslt" ,libxslt) + ("libxml2" ,libxml2) + ("docbook-xsl" ,docbook-xsl) + ("docbook-xml" ,docbook-xml))) + (inputs + `(("openssl" ,openssl))) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure)) + #:make-flags (list "CC=3Dgcc" (string-append "PREFIX=3D" (assoc-r= ef %outputs "out"))) + #:tests? #f)) + (synopsis "Generate (pseudo-)random passwords and hashes") + (description + "Makepasswd is a program that generates pseudo-random passwords of a +desired length. It can also generate their corresponding hashes for a giv= en +encryption algorithm if so desired.") + (home-page "https://github.com/khorben/makepasswd") + (license license:gpl3)))) =2D-=20 2.26.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEPxcq3dp4FVY5UpckkC0pVsuz75YFAl6t2ggACgkQkC0pVsuz 75ZFdA//WCXQAgCf3aicYGV9PL5sUemGnRYyfA90UXPhenpj7UkT7ORpoHQ77y7D C2RXhHQwla9VOfE2w+nVSdBw306FfIy3NLWlB/FLNirvaPGiFJNdPyPcbZG5fMxk GrFDWc6Rg53lfWkLDmRdPVvihhz2OO/hzU0tJtyvaneL64dQVUB+4jC2XBv9Qtv9 LzvV8jrjnXFECtI4FLP2OmZ38WwbFbVld/FFxynwYzsd7Jj9MHwtPwUCVM08Udxp j+7meBRfyVwOYQLLfY48voCUgz3WqOWGzvy8GR3z+2hleYzLVVvEANdCsNNJ0+Qx F2sRw7AAC0gDmnsUn+Dml4B56JkznGW6e65RHie4cEelseKCd6EBrU1roufIbPOR qxDHsixBaTotT/3e8AlS/zB1uJCoMKXP1+taudnc652HIqP+KQNdXEozHXw48p/k 3N76rzzrLHlXaFy/LQtmNA3X48uvZhmBkN2ePrdHK/iK5GIlaVm5c06NVaE2BOTQ Fqb/QTRVtCeJppLzVJMt2yYib/djhfziddM5uZIdAugxMPPKuf6eVf/dv2g+JJh6 VIKn2/t/6jcjhlz6jbN4vofDd/J9FEqyW87dCY+imwwzfduTvVAaZu9uymlONM7+ YDuHRi4yvrZ4JbJ6e5s9QEQSZDiI2WNvMqOJCuQGlK0bPLhcmC8= =nHio -----END PGP SIGNATURE----- --==-=-=--