GNU bug report logs - #58356
[PATCH] Add xtrlock

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Mehmet Tekman <mtekman89@HIDDEN>; Keywords: moreinfo patch; dated Fri, 7 Oct 2022 14:03:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 58356 <at> debbugs.gnu.org:


Received: (at 58356) by debbugs.gnu.org; 11 Oct 2022 11:28:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 11 07:28:39 2022
Received: from localhost ([127.0.0.1]:51253 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oiDR8-0005vO-Vk
	for submit <at> debbugs.gnu.org; Tue, 11 Oct 2022 07:28:39 -0400
Received: from mail-lf1-f41.google.com ([209.85.167.41]:34788)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mtekman89@HIDDEN>) id 1oiDR6-0005vB-Si
 for 58356 <at> debbugs.gnu.org; Tue, 11 Oct 2022 07:28:37 -0400
Received: by mail-lf1-f41.google.com with SMTP id a29so20648510lfo.1
 for <58356 <at> debbugs.gnu.org>; Tue, 11 Oct 2022 04:28:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :from:to:cc:subject:date:message-id:reply-to;
 bh=4FiWPdf5FnXN7NPziusAeKVSV/u4HnPjYeLcC4XM3K8=;
 b=Krcp3TN+D1qpaL8omPvRcxWlJpt/f4doFABjtQ7SfNUPgUqs+tJE2/RtFQsm9Jkf9Y
 breaOsrjk23GEnhWaj0q42c6dDIFtZzA80twFTgh5JXH4c84MIxlC7wrqIYfojK8HcBn
 A/nZN1+IZleh/IPcq3KyE/zU6AxILWiQNUJxz99cubshHVVOsh1HT+POEQu1wTd3fKR5
 mXFxspkvp9x1KhHDuxwDNpDFNoKlYS1K7MAskmyu53RVJ4985VckXtYd5yNBfTVziiSS
 gXkEp3kc5DnQHenzN0c7b7+qCrxMcFuKKYkKrwXN0hoScUkSKDNodnlljbWT4FOg4U+c
 T2Fw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=4FiWPdf5FnXN7NPziusAeKVSV/u4HnPjYeLcC4XM3K8=;
 b=hI+s0Phvq3Vc5dn9R81kKsO26IVhNi7VQYZbxkWvc5N/qLu7Ka/mwSTC4rLsptDPXn
 JPZaGr7mR5ixAJKq+twYfbsSyqQbKzy3SbEa13CynrRkPcfcMZMP+M4xfp0Vql91NVeh
 GzxTdS5UI/SCp9V5hnf7PFKNNw0mReeVjqcd4dgBRH7Z//OXP60k8V9TrrS6NAHOLEYO
 iz3cYHieF80bNfAHY4GwVt2fvVN1g5nVj4DcUvRIFbw/WbQFom73un4lZhIawcrFY0ZJ
 t734uWqS0HdiTK/jbDSESo24jW1q+wCcP1uLyhLJdVovlwjycCUgNLjZDoEegWlqe0b5
 DB5Q==
X-Gm-Message-State: ACrzQf3KswWgv9LxmHFeiiykjjkhSHqMsqtDKZ57MuBlZSUfudD25P5+
 94vRcoWo1HrVirDe03zZlmvkTbY4CQnlKKg0F0wKhtmLGCo=
X-Google-Smtp-Source: AMsMyM5Sz1oA+7TuYKot0qIC6FTWi208r/Zg7R3U4ylsg7yRue3svFA+oQDgfkZ9vrOWonv0UNGvcDZ5TUX+PHmKYls=
X-Received: by 2002:ac2:4d28:0:b0:4a2:40ef:2996 with SMTP id
 h8-20020ac24d28000000b004a240ef2996mr7792805lfk.425.1665487710474; Tue, 11
 Oct 2022 04:28:30 -0700 (PDT)
MIME-Version: 1.0
References: <CAHHeYz+6XjU1YVCZJBsQ1KindfOHhLSDPH6LHPFd4qw4RWdbYA@HIDDEN>
 <87czb2297f.fsf@HIDDEN>
 <CAHHeYzKeXMUOYa_rPyKuV6h9JM6Gt=i_+VpdQKTpiMsPa8wVEw@HIDDEN>
In-Reply-To: <CAHHeYzKeXMUOYa_rPyKuV6h9JM6Gt=i_+VpdQKTpiMsPa8wVEw@HIDDEN>
From: Mehmet Tekman <mtekman89@HIDDEN>
Date: Tue, 11 Oct 2022 13:27:54 +0200
Message-ID: <CAHHeYzLRAA6ohu2KPNwfkjJ=KzKLd6uEakZzU3ARBzOegpdnCg@HIDDEN>
Subject: Re: bug#58356: [PATCH] Add xtrlock
To: 58356 <at> debbugs.gnu.org
Content-Type: multipart/mixed; boundary="0000000000005c96e505eac09353"
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 58356
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

--0000000000005c96e505eac09353
Content-Type: text/plain; charset="UTF-8"

I've just noticed that though the package builds without the CFLAGS,
it doesn't work well in context to the shadow file.
I've reincluded it in this next patch (diff from master).

Best,
Mehmet

--0000000000005c96e505eac09353
Content-Type: text/x-patch; charset="UTF-8"; name="0001-gnu-Add-xtrlock.patch"
Content-Disposition: attachment; filename="0001-gnu-Add-xtrlock.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_l944cler0>
X-Attachment-Id: f_l944cler0

RnJvbSBhY2VkOGI5MjRhMTk0NDk1MjMzYjA2OThmMjE4NWI5YjgwZDEwOTYzIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBNZWhtZXQgVGVrbWFuIDxtdGVrbWFuODlAZ21haWwuY29tPgpE
YXRlOiBUdWUsIDExIE9jdCAyMDIyIDEyOjM4OjEzICswMjAwClN1YmplY3Q6IFtQQVRDSF0gZ251
OiBBZGQgeHRybG9jay4KCiogZ251L3BhY2thZ2VzL3hkaXNvcmcuc2NtICh4dHJsb2NrKTogTmV3
IHZhcmlhYmxlLgotLS0KIGdudS9wYWNrYWdlcy94ZGlzb3JnLnNjbSB8IDQ5ICsrKysrKysrKysr
KysrKysrKysrKysrKysrKysrKysrKysrKysrKysKIDEgZmlsZSBjaGFuZ2VkLCA0OSBpbnNlcnRp
b25zKCspCgpkaWZmIC0tZ2l0IGEvZ251L3BhY2thZ2VzL3hkaXNvcmcuc2NtIGIvZ251L3BhY2th
Z2VzL3hkaXNvcmcuc2NtCmluZGV4IDk5MDhmMjkxOTEuLmZjMjVjMTRlYTcgMTAwNjQ0Ci0tLSBh
L2dudS9wYWNrYWdlcy94ZGlzb3JnLnNjbQorKysgYi9nbnUvcGFja2FnZXMveGRpc29yZy5zY20K
QEAgLTU2LDYgKzU2LDcgQEAKIDs7OyBDb3B5cmlnaHQgwqkgMjAyMiBKYWkgVmV0cml2ZWxhbiA8
amFpdmV0cml2ZWxhbkBnbWFpbC5jb20+CiA7OzsgQ29weXJpZ2h0IMKpIDIwMjIgRGVyZWsgQ2h1
YW5rIDxkZXJla2NodWFua0BvdXRsb29rLmNvbT4KIDs7OyBDb3B5cmlnaHQgwqkgMjAyMiBXYW1t
IEsuIEQuIDxqYWZ0LnJAb3V0bG9vay5jb20+Cis7OzsgQ29weXJpZ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gICAgOzsgYmUgY29tcGF0aWJsZSB3aXRoIG11bHRpLXRvdWNoIGRldmljZXMu
CisgICAgICcoIzptYWtlLWZsYWdzIChsaXN0ICJDRkxBR1M9LVdhbGwgLURTSEFET1dfUFdEIC1E
TVVMVElUT1VDSCIKKyAgICAgICAgICAgICAgICAgICAgICAgICAgIkxETElCUz0tbFgxMSAtbGNy
eXB0IC1sWGkiKQorICAgICAgICM6cGhhc2VzIChtb2RpZnktcGhhc2VzICVzdGFuZGFyZC1waGFz
ZXMKKyAgICAgICAgICAgICAgICAgIChkZWxldGUgJ2NvbmZpZ3VyZSkKKyAgICAgICAgICAgICAg
ICAgIChkZWxldGUgJ2NoZWNrKQorICAgICAgICAgICAgICAgICAgKGFkZC1hZnRlciAndW5wYWNr
ICdyZW5hbWUtbWFrZWZpbGUKKyAgICAgICAgICAgICAgICAgICAgKGxhbWJkYSBfCisgICAgICAg
ICAgICAgICAgICAgICAgKHJlbmFtZS1maWxlICJNYWtlZmlsZS5ub2ltYWtlIiAiTWFrZWZpbGUi
KQorICAgICAgICAgICAgICAgICAgICAgIChyZW5hbWUtZmlsZSAieHRybG9jay5tYW4iICJ4dHJs
b2NrLjEiKSkpCisgICAgICAgICAgICAgICAgICAocmVwbGFjZSAnaW5zdGFsbAorICAgICAgICAg
ICAgICAgICAgICAobGFtYmRhKiAoIzprZXkgb3V0cHV0cyAjOmFsbG93LW90aGVyLWtleXMpCisg
ICAgICAgICAgICAgICAgICAgICAgKGxldCogKChvdXQgKGFzc29jLXJlZiBvdXRwdXRzICJvdXQi
KSkpCisgICAgICAgICAgICAgICAgICAgICAgICAoaW5zdGFsbC1maWxlICJ4dHJsb2NrIgorICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoc3RyaW5nLWFwcGVuZCBvdXQgIi9i
aW4vIikpCisgICAgICAgICAgICAgICAgICAgICAgICAoaW5zdGFsbC1maWxlICJ4dHJsb2NrLjEi
CisgICAgICAgICAgICAgICAgICAgICAgICA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eXBlZDsgcHJlc3NpbmcgRXNjYXBlIG9yIENsZWFy
IGNsZWFycworYW55dGhpbmcgdGhhdCBoYXMgYmVlbiBlbnRlcmVkLiIpCisgICAgKGxpY2Vuc2Ug
bGljZW5zZTpncGwzKykpKQorCiAoZGVmaW5lLXB1YmxpYyB4b3NkCiAgIChwYWNrYWdlCiAgICAg
KG5hbWUgInhvc2QiKQotLSAKMi4zOC4wCgo=
--0000000000005c96e505eac09353--




Information forwarded to guix-patches@HIDDEN:
bug#58356; Package guix-patches. Full text available.

Message received at 58356 <at> debbugs.gnu.org:


Received: (at 58356) by debbugs.gnu.org; 11 Oct 2022 10:46:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 11 06:46:32 2022
Received: from localhost ([127.0.0.1]:51114 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oiCmO-0004jY-4l
	for submit <at> debbugs.gnu.org; Tue, 11 Oct 2022 06:46:32 -0400
Received: from mail-lf1-f42.google.com ([209.85.167.42]:37763)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mtekman89@HIDDEN>) id 1oiCmM-0004jM-9l
 for 58356 <at> debbugs.gnu.org; Tue, 11 Oct 2022 06:46:30 -0400
Received: by mail-lf1-f42.google.com with SMTP id y5so20480703lfl.4
 for <58356 <at> debbugs.gnu.org>; Tue, 11 Oct 2022 03:46:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :from:to:cc:subject:date:message-id:reply-to;
 bh=8r91ci4BbgvZkIfuOzNjTnYv0OrGFmPZDzF9RXrlmSI=;
 b=klmq8A9WX4sBol+nYYeSVmygrxwX3dC0nE1U837s+XH6BwiyOE8cvUbhJSI3NV61Uw
 WUwjHzxoXTPtMzOSgky0Mljc9kEZYWneZSC/dwCNjB0SMAoNM+BYKqQIXjrbWtUV/2hR
 AuMInkbtwZfMvnAhBxjojFcyyytNT0GZsXlrAbXkb72y19Xr6gyvv1Le1dRKL0EYcpLc
 pKumTnCnmp8y1s+s3CtP0KUwpyNrbs2zpGRvVtFXnFndJWInATdbY/HFCg+pezPYGwo7
 GLjZZu17w+QZcfxgTGQLlsdoksnyvBoO8jkepTLNZA4f21ckVhoXovtGUJ2vCOjbAeZH
 3nfA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=8r91ci4BbgvZkIfuOzNjTnYv0OrGFmPZDzF9RXrlmSI=;
 b=LhgppxwJoMTFAgVdpY/DH1ueB80oGzIc+/QGfjiZY2guYvFfMezvTIwiNhCSw7krsr
 yby3cwKMVIlVjKXYUtEriDHBeA/brd/yGKf3+pu933iJSeXyP4KOnXAF5n8nmQPlz8NI
 8u1u8XyzQK/IZNFZ7bXmxS0SxRCaXp/yjjfP+zxFrKs5AF115Jxr+DedeW95uwex0RtS
 YgTEUEJ/2QjvD7Smr9G3ABfpLhurgoNu86N84hmNxRFlHTEkZ4ytN9hQ72PyUthZ5qWK
 n+yVx1MvTMbVlPP3M9b8j1b9308x0VQu0ZluL/eKSDQ9Zb228UWJuubtQP1v/P4Rm92T
 W/1g==
X-Gm-Message-State: ACrzQf3ccLnoiJrQxciloKlMbzSe9BydyOGWV4Iv8OQcCc1MfwuV9gto
 keV8RCw+3DfwXwQ8Kn4hk2hfoVCptObRdGA0u7TMSQ/T3W8=
X-Google-Smtp-Source: AMsMyM41axsqnFV8k0upyev7bTc7HFu992GZV233N2/VM4ugJ+WTX84BJIfImbLvcCxt3HBKW3D7cwzoEAvWW9Hxpgg=
X-Received: by 2002:a19:9141:0:b0:4a2:d854:b0fe with SMTP id
 y1-20020a199141000000b004a2d854b0femr4389740lfj.462.1665485184022; Tue, 11
 Oct 2022 03:46:24 -0700 (PDT)
MIME-Version: 1.0
References: <CAHHeYz+6XjU1YVCZJBsQ1KindfOHhLSDPH6LHPFd4qw4RWdbYA@HIDDEN>
 <87czb2297f.fsf@HIDDEN>
In-Reply-To: <87czb2297f.fsf@HIDDEN>
From: Mehmet Tekman <mtekman89@HIDDEN>
Date: Tue, 11 Oct 2022 12:45:47 +0200
Message-ID: <CAHHeYzKeXMUOYa_rPyKuV6h9JM6Gt=i_+VpdQKTpiMsPa8wVEw@HIDDEN>
Subject: Re: bug#58356: [PATCH] Add xtrlock
To: 58356 <at> debbugs.gnu.org
Content-Type: multipart/mixed; boundary="000000000000c5db6005eabffc9c"
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 58356
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

--000000000000c5db6005eabffc9c
Content-Type: text/plain; charset="UTF-8"

Hello, thanks again for the review!

The following has been changed:
* Placed into xdisorg.scm just after the xlockmore recipe
* Removed the CFLAGS, but kept the LDLIBS since it won't build without them
* General formatting (lint, style)
* License fix

I found it easier to spawn a new branch off master and create a new
patch than to append to the existing branch. I hope that's okay. The
patch is attached.

Best,
Mehmet

--000000000000c5db6005eabffc9c
Content-Type: application/x-patch; name="0001-gnu-Add-xtrlock.patch"
Content-Disposition: attachment; filename="0001-gnu-Add-xtrlock.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_l942tlop0>
X-Attachment-Id: f_l942tlop0

RnJvbSBiODdjMWU3MjRlMzZjMjQ2NGM2OWExZTMzMDhjY2QwMmM4MjdhYjE3IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBNZWhtZXQgVGVrbWFuIDxtdGVrbWFuODlAZ21haWwuY29tPgpE
YXRlOiBUdWUsIDExIE9jdCAyMDIyIDEyOjM4OjEzICswMjAwClN1YmplY3Q6IFtQQVRDSF0gZ251
OiBBZGQgeHRybG9jay4KCiogZ251L3BhY2thZ2VzL3hkaXNvcmcuc2NtICh4dHJsb2NrKTogTmV3
IHZhcmlhYmxlLgotLS0KIGdudS9wYWNrYWdlcy94ZGlzb3JnLnNjbSB8IDQ2ICsrKysrKysrKysr
KysrKysrKysrKysrKysrKysrKysrKysrKysrKysKIDEgZmlsZSBjaGFuZ2VkLCA0NiBpbnNlcnRp
b25zKCspCgpkaWZmIC0tZ2l0IGEvZ251L3BhY2thZ2VzL3hkaXNvcmcuc2NtIGIvZ251L3BhY2th
Z2VzL3hkaXNvcmcuc2NtCmluZGV4IDk5MDhmMjkxOTEuLmYzYzQ2MzJkYjAgMTAwNjQ0Ci0tLSBh
L2dudS9wYWNrYWdlcy94ZGlzb3JnLnNjbQorKysgYi9nbnUvcGFja2FnZXMveGRpc29yZy5zY20K
QEAgLTU2LDYgKzU2LDcgQEAKIDs7OyBDb3B5cmlnaHQgwqkgMjAyMiBKYWkgVmV0cml2ZWxhbiA8
amFpdmV0cml2ZWxhbkBnbWFpbC5jb20+CiA7OzsgQ29weXJpZ2h0IMKpIDIwMjIgRGVyZWsgQ2h1
YW5rIDxkZXJla2NodWFua0BvdXRsb29rLmNvbT4KIDs7OyBDb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UJTPS1sWDExIC1sY3J5cHQgLWxYaSIpCisgICAgICAgIzpwaGFzZXMgKG1vZGlm
eS1waGFzZXMgJXN0YW5kYXJkLXBoYXNlcworICAgICAgICAgICAgICAgICAgKGRlbGV0ZSAnY29u
ZmlndXJlKQorICAgICAgICAgICAgICAgICAgKGRlbGV0ZSAnY2hlY2spCisgICAgICAgICAgICAg
ICAgICAoYWRkLWFmdGVyICd1bnBhY2sgJ3JlbmFtZS1tYWtlZmlsZQorICAgICAgICAgICAgICAg
ICAgICAobGFtYmRhIF8KKyAgICAgICAgICAgICAgICAgICAgICAocmVuYW1lLWZpbGUgIk1ha2Vm
aWxlLm5vaW1ha2UiICJNYWtlZmlsZSIpCisgICAgICAgICAgICAgICAgICAgICAgKHJlbmFtZS1m
aWxlICJ4dHJsb2NrLm1hbiIgInh0cmxvY2suMSIpKSkKKyAgICAgICAgICAgICAgICAgIChyZXBs
YWNlICdpbnN0YWxsCisgICAgICAgICAgICAgICAgICAgIChsYW1iZGEqICgjOmtleSBvdXRwdXRz
ICM6YWxsb3ctb3RoZXIta2V5cykKKyAgICAgICAgICAgICAgICAgICAgICAobGV0KiAoKG91dCAo
YXNzb2MtcmVmIG91dHB1dHMgIm91dCIpKSkKKyAgICAgICAgICAgICAgICAgICAgICAgIChpbnN0
YWxsLWZpbGUgInh0cmxvY2siCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
IChzdHJpbmctYXBwZW5kIG91dCAiL2Jpbi8iKSkKKyAgICAgICAgICAgICAgICAgICAgICAgIChp
bnN0YWxsLWZpbGUgInh0cmxvY2suMSIKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgKHN0cmluZy1hcHBlbmQgb3V0ICIvc2hhcmUvbWFuL21hbjEvIikpKSkpKSkpCisgICAg
KGlucHV0cyAobGlzdCBsaWJ4MTEgbGlieGkgbGlieGZpeGVzKSkKKyAgICAoaG9tZS1wYWdlICJo
dHRwczovL3BhY2thZ2VzLm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hY2thZ2UKICAgICAobmFtZSAieG9zZCIpCi0tIAoyLjM3LjMKCg==
--000000000000c5db6005eabffc9c--




Information forwarded to guix-patches@HIDDEN:
bug#58356; Package guix-patches. Full text available.
Added tag(s) moreinfo. Request was from Maxim Cournoyer <maxim.cournoyer@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 58356 <at> debbugs.gnu.org:


Received: (at 58356) by debbugs.gnu.org; 8 Oct 2022 05:09:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 08 01:09:02 2022
Received: from localhost ([127.0.0.1]:37968 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oh257-0001tW-Sj
	for submit <at> debbugs.gnu.org; Sat, 08 Oct 2022 01:09:02 -0400
Received: from mail-qk1-f182.google.com ([209.85.222.182]:45979)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1oh256-0001t2-JI
 for 58356 <at> debbugs.gnu.org; Sat, 08 Oct 2022 01:09:01 -0400
Received: by mail-qk1-f182.google.com with SMTP id y1so4050542qky.12
 for <58356 <at> debbugs.gnu.org>; Fri, 07 Oct 2022 22:09:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:mime-version:user-agent:message-id
 :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=zYz3fiXmefOU1e6TmpbXytSUS0CSaXbg4ShGHvyNffU=;
 b=kmYEw3xb2H/TrwqTtnbqHIiH95zxJwNaKse9j4Hhk90kUiLI/rrwnCaAxuo8IySlfY
 oViXBlU6X1peHcnLq/kVXCI3sJ36LiA5mHUOnflLCDsgd3L1gkbEMVaJCJFNdz9zbp9A
 Xz2j+ISeHo4oCrdrz1oTpC6nUpcbKEnlRwFnlAFmXVfYq69yxek0MEye2gyisQQ1k7GQ
 w9Iv+ZzlqEiYzoLGEuqVsPp1hj7oIfRmuRhiX88PfIBMp+kTCPSkTZysjv7nXNKuBxpG
 Lrn7FXqftV0hk5imBytUQ8ZRUfFjXsgO6fYpwL9BIQk54ZoqT681s+/MEmEeF7FdWuu8
 6gXA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:user-agent:message-id
 :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=zYz3fiXmefOU1e6TmpbXytSUS0CSaXbg4ShGHvyNffU=;
 b=0eA2NE5r8893B1sEFV/owaRgOh2pBvR3forhkITb8w64G7c+BJq3Dcwkx0dVVlclp8
 4jhrWbjrbzZNi4dvzliCOGyVNuD20TCdJrG5/16+T3vvfoGAYYdhqx0eZ6HcfLnaBZka
 rcWYFr1YrCigG2IkUqSBSZoTd2AvPW8G9cfSN4rStAgt1xLFneE54JlFgpu+ApQN8K85
 Z0phObjqC6HBkemSuIUamcsg1S/ZOEt1t4JNM+xjq+ouL9NowwUXIrYHbU7qQbI8XlzV
 sDq7JD4jnqZa7citO8vaahJAkI/84iJfzVs0mb9FJ1pO5GA3Vu8YIms1dH7zbYh3TGpm
 jSRw==
X-Gm-Message-State: ACrzQf1pN3gNmjQfaTXKrvUFNUOzl4GjLntETgE8042qgP7bV1+W7hnJ
 k1HI0EBRKxNzjAXRJva+9fyXMrrlcu/LXw==
X-Google-Smtp-Source: AMsMyM5wq9OJvKpIlBRP2UGBBbYPVLIXuZ+rvwy4HgO7Pv3zDoG3ptE2lkO0eYb8Izcej9qOPAuJhA==
X-Received: by 2002:a05:620a:99a:b0:6e3:9af2:e4bb with SMTP id
 x26-20020a05620a099a00b006e39af2e4bbmr6117977qkx.141.1665205734790; 
 Fri, 07 Oct 2022 22:08:54 -0700 (PDT)
Received: from hurd ([2607:fad8:4:3::1005]) by smtp.gmail.com with ESMTPSA id
 h10-20020a05620a284a00b006b9c9b7db8bsm3844272qkp.82.2022.10.07.22.08.53
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 07 Oct 2022 22:08:54 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Mehmet Tekman <mtekman89@HIDDEN>
Subject: Re: bug#58356: [PATCH] Add xtrlock
References: <CAHHeYz+6XjU1YVCZJBsQ1KindfOHhLSDPH6LHPFd4qw4RWdbYA@HIDDEN>
Date: Sat, 08 Oct 2022 01:08:52 -0400
In-Reply-To: <CAHHeYz+6XjU1YVCZJBsQ1KindfOHhLSDPH6LHPFd4qw4RWdbYA@HIDDEN>
 (Mehmet Tekman's message of "Fri, 7 Oct 2022 16:01:20 +0200")
Message-ID: <87czb2297f.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 58356
Cc: 58356 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Mehmet,

Mehmet Tekman <mtekman89@HIDDEN> writes:

> ---
>  gnu/packages/xtrlock.scm | 71 ++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 71 insertions(+)
>  create mode 100644 gnu/packages/xtrlock.scm

I'd put this into (gnu packages xdisorg), next to xlockmore :-).

> diff --git a/gnu/packages/xtrlock.scm b/gnu/packages/xtrlock.scm
> new file mode 100644
> index 0000000000..2acf45e8b3
> --- /dev/null
> +++ b/gnu/packages/xtrlock.scm
> @@ -0,0 +1,71 @@
> +;;; GNU Guix --- Functional package management for GNU
> +;;; Copyright =C2=A9 2022 Mehmet Tekman <mtekman89@HIDDEN>
> +;;;
> +;;; 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 <http://www.gnu.org/licenses/>.
> +
> +(define-module (gnu packages xtrlock)
> +  #:use-module (guix packages)
> +  #:use-module (guix download)
> +  #:use-module (guix build-system gnu)
> +  #:use-module (gnu packages xorg)
> +  #:use-module ((guix licenses) #:prefix license:)
> +  )

^ lonely parens, and please sort lexicographically.

> +(define-public xtrlock
> +  (let ((pkg-version "2.15")
> +        (pkg-hash "0mgpysbvipd5h6x6zz4hng6b13gp3qjnpgny3azyj8k8dv85bppw")
> +        (recipe-revision "0"))
> +    (package
> +      (name "xtrlock")
> +      (version (string-append pkg-version ".r" recipe-revision))
> +      (source (origin
> +                (method url-fetch)
> +                (uri (string-append
> +                      "mirror://debian/pool/main/x/xtrlock/xtrlock_"
> +                      pkg-version ".tar.xz"))
> +                (sha256 (base32 pkg-hash))))
> +      (build-system gnu-build-system)
> +      (arguments
> +       '(#:make-flags
> +         (list "LDLIBS=3D-lX11 -lcrypt -lXi"
> +               "CFLAGS=3D-Wall -DSHADOW_PWD -DMULTITOUCH")

Does the build system not take care of the libraries link options
itself?

> +         #:phases
> +         (modify-phases
> +             %standard-phases

Nitpick: no need to put %standard-phases on a new line.

> +           (delete 'configure)
> +           (delete 'check)
> +           (add-after 'unpack 'rename-makefile
> +             (lambda _
> +               (rename-file "Makefile.noimake" "Makefile")
> +               (rename-file "xtrlock.man" "xtrlock.1")))
> +           (replace 'install
> +             (lambda* (#:key outputs #:allow-other-keys)
> +               (let* ((out (assoc-ref outputs "out")))
> +                 (install-file "xtrlock" (string-append out "/bin/"))
> +                 (install-file "xtrlock.1" (string-append out
> "/share/man/man1/"))))))))

Use 'guix style' to have it auto-formatted.

> +      (native-inputs (list libx11 libxi libxfixes))
> +      (home-page "https://packages.debian.org/sid/xtrlock")

There must be a better home page for the upstream of xtrlock than
Debian?  Edit: apparently Debian is the upstream.  Odd!

> +      (synopsis "Minimal X display lock program")
> +      (description "xtrlock locks the X server till the user enters
> their password at the
> +keyboard.  While xtrlock is running, the mouse and keyboard are grabbed =
and

Please reflow the paragraph; M-j in Emacs for example.

> +the mouse cursor becomes a padlock.  Output displayed by X programs, and
> +windows put up by new X clients, continue to be visible, and any new out=
put is
> +displayed normally.  The mouse and keyboard are returned when the user t=
ypes
> +their password, followed by Enter or Newline.  If an incorrect password =
is
> +entered the bell is sounded.  Pressing Backspace or Delete erases one
> +character of a password partially typed; pressing Escape or Clear clears
> +anything that has been entered.")
> +      (license license:gpl3))))

This is gpl3+ (GPL 3 or later).  See the license at
https://salsa.debian.org/debian/xtrlock/-/blob/master/GPL-3.txt, it
contains the "or any later version" text.

Could you please send a v2?  You could use something like: "git
send-email -v2 --to=3D'58356 <at> debbugs.gnu.org' -1" to send the tip of your
branch.

--=20
Thanks,
Maxim




Information forwarded to guix-patches@HIDDEN:
bug#58356; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Oct 2022 14:02:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 07 10:02:16 2022
Received: from localhost ([127.0.0.1]:36983 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ognvZ-0003dB-DZ
	for submit <at> debbugs.gnu.org; Fri, 07 Oct 2022 10:02:16 -0400
Received: from lists.gnu.org ([209.51.188.17]:42248)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mtekman89@HIDDEN>) id 1ognvX-0003d4-QM
 for submit <at> debbugs.gnu.org; Fri, 07 Oct 2022 10:02:12 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:56436)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mtekman89@HIDDEN>)
 id 1ognvO-0002GI-8f
 for guix-patches@HIDDEN; Fri, 07 Oct 2022 10:02:06 -0400
Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]:41792)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <mtekman89@HIDDEN>)
 id 1ognvL-000114-5h
 for guix-patches@HIDDEN; Fri, 07 Oct 2022 10:02:01 -0400
Received: by mail-lf1-x12b.google.com with SMTP id f37so7426692lfv.8
 for <guix-patches@HIDDEN>; Fri, 07 Oct 2022 07:01:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:to:subject:message-id:date:from
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=pe1NR7vTuOjnyyUUP07beOznB4fTQjdaFGMYaGg4dMU=;
 b=XnXx57wJ0XAmYz2mclNRQLZGrx3k3V1RC9VJcaJP/sqzamA8w9Yv5LuVhPufmujbsD
 mMfzGVQXQHpFo49UKDZfznHdISXU7iejojGLJ+oc5wE95IdkpMRiWh8Y67klLmQEkwkr
 2ZJMWxG6TmM2LEMlaxP0zMT7hUDlXSHiWEVBaz92LHoDcxY8e2iZ7fpIXe4G5GDflXDK
 JhOSrtnsqqfj4PAHehK+lGW8FVMnshm/88DQEGooizx+1HrCCutXht0erWD9RSQDTyJC
 1P9sGxVsN6BJIleo7KJ/PsLAjvcC3p7wIhWqoii2kwzF34X1xI1wvQOkXO9R5fezWYOZ
 SKHg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:to:subject:message-id:date:from
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=pe1NR7vTuOjnyyUUP07beOznB4fTQjdaFGMYaGg4dMU=;
 b=e37ic75Z8yUJL8kI5bz3WqbsP9OF59htv+i3lTimWaOZHqqX1FJu0aDUpjbv0bCJkr
 w9PQW0FCxiyF6rmptqHZU1MlizEQUGm4wP2ZgArwSIndSrwHYffE8p4keF/CzG+cVu+z
 oI/ANGy0R+8TbiKfiBKFoWG7dz6Xxq7WU3twlkkjWD7xtMLurltaopdO7go7MgkjF8dN
 QsOzY/cmkKj+24mHF38ctEgUbTar7JeLGMjWyMAeS8AF1dKME5vJGNeKJumqXXvNnQI8
 QeyHxoAR37Pm4W0/vCi47uC9zNMGiz3Bzj7zfNoJEjpS7NeuJL8kuy6zQNJb23abJ4zU
 InoQ==
X-Gm-Message-State: ACrzQf35EEp6qLsB1Qgjq8aXfNNBxpi6fFfScZT7sTN+VLm9BBcwh7B5
 syuuW4VOfiYQJL2NSe+WWim29m3FPoMS9erqJxJ5tFQVakY+ng==
X-Google-Smtp-Source: AMsMyM6C6IJaJQp5yuzfqIEStR+FmIYPfcw7JiZXpCJXH4jFIZjyF7fv6I8ODsvRQKRNaCQ9lOgI0hIU3CsB0xWsX7s=
X-Received: by 2002:a05:6512:2389:b0:499:a346:ed17 with SMTP id
 c9-20020a056512238900b00499a346ed17mr1935645lfv.493.1665151316071; Fri, 07
 Oct 2022 07:01:56 -0700 (PDT)
MIME-Version: 1.0
From: Mehmet Tekman <mtekman89@HIDDEN>
Date: Fri, 7 Oct 2022 16:01:20 +0200
Message-ID: <CAHHeYz+6XjU1YVCZJBsQ1KindfOHhLSDPH6LHPFd4qw4RWdbYA@HIDDEN>
Subject: [PATCH] Add xtrlock
To: guix-patches@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::12b;
 envelope-from=mtekman89@HIDDEN; helo=mail-lf1-x12b.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.0 (---)

---
 gnu/packages/xtrlock.scm | 71 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)
 create mode 100644 gnu/packages/xtrlock.scm

diff --git a/gnu/packages/xtrlock.scm b/gnu/packages/xtrlock.scm
new file mode 100644
index 0000000000..2acf45e8b3
--- /dev/null
+++ b/gnu/packages/xtrlock.scm
@@ -0,0 +1,71 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright =C2=A9 2022 Mehmet Tekman <mtekman89@HIDDEN>
+;;;
+;;; 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 <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages xtrlock)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu)
+  #:use-module (gnu packages xorg)
+  #:use-module ((guix licenses) #:prefix license:)
+  )
+
+(define-public xtrlock
+  (let ((pkg-version "2.15")
+        (pkg-hash "0mgpysbvipd5h6x6zz4hng6b13gp3qjnpgny3azyj8k8dv85bppw")
+        (recipe-revision "0"))
+    (package
+      (name "xtrlock")
+      (version (string-append pkg-version ".r" recipe-revision))
+      (source (origin
+                (method url-fetch)
+                (uri (string-append
+                      "mirror://debian/pool/main/x/xtrlock/xtrlock_"
+                      pkg-version ".tar.xz"))
+                (sha256 (base32 pkg-hash))))
+      (build-system gnu-build-system)
+      (arguments
+       '(#:make-flags
+         (list "LDLIBS=3D-lX11 -lcrypt -lXi"
+               "CFLAGS=3D-Wall -DSHADOW_PWD -DMULTITOUCH")
+         #:phases
+         (modify-phases
+             %standard-phases
+           (delete 'configure)
+           (delete 'check)
+           (add-after 'unpack 'rename-makefile
+             (lambda _
+               (rename-file "Makefile.noimake" "Makefile")
+               (rename-file "xtrlock.man" "xtrlock.1")))
+           (replace 'install
+             (lambda* (#:key outputs #:allow-other-keys)
+               (let* ((out (assoc-ref outputs "out")))
+                 (install-file "xtrlock" (string-append out "/bin/"))
+                 (install-file "xtrlock.1" (string-append out
"/share/man/man1/"))))))))
+      (native-inputs (list libx11 libxi libxfixes))
+      (home-page "https://packages.debian.org/sid/xtrlock")
+      (synopsis "Minimal X display lock program")
+      (description "xtrlock locks the X server till the user enters
their password at the
+keyboard.  While xtrlock is running, the mouse and keyboard are grabbed an=
d
+the mouse cursor becomes a padlock.  Output displayed by X programs, and
+windows put up by new X clients, continue to be visible, and any new outpu=
t is
+displayed normally.  The mouse and keyboard are returned when the user typ=
es
+their password, followed by Enter or Newline.  If an incorrect password is
+entered the bell is sounded.  Pressing Backspace or Delete erases one
+character of a password partially typed; pressing Escape or Clear clears
+anything that has been entered.")
+      (license license:gpl3))))
--=20
2.38.0




Acknowledgement sent to Mehmet Tekman <mtekman89@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#58356; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 11 Oct 2022 11:30:01 UTC

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