From debbugs-submit-bounces@debbugs.gnu.org Sat May 02 16:37:48 2020 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 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 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 To: guixpatch Subject: [PATCH] Add makepasswd package 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-Received-From: 2a00:1450:4864:20::435 X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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. Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: m4x.org] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (jbnote[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.51.188.17 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) --==-=-= 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----- --==-=-=--