Bug#1010313: python3-stem: Fix for Python 3.10

2022-04-28 Thread ju xor

Package: python3-stem
X-Debbugs-Cc: j...@riseup.net
Version: 1.8.0-3
Severity: normal

Dear Maintainer,

attached you can find a patch to fix a bug with Python 3.10, which is 
now the default in unstable and testing.


Thanks!,

juxorFrom 8da5611471c2dfbfd93e93a0113e8276914a16a9 Mon Sep 17 00:00:00 2001
From: juxor 
Date: Thu, 28 Apr 2022 16:10:46 +
Subject: [PATCH] d/patches: Fix for Python 3.10

---
 debian/patches/fix-python3.10.patch | 14 ++
 debian/patches/series   |  1 +
 2 files changed, 15 insertions(+)
 create mode 100644 debian/patches/fix-python3.10.patch

diff --git a/debian/patches/fix-python3.10.patch b/debian/patches/fix-python3.10.patch
new file mode 100644
index 000..95cf653
--- /dev/null
+++ b/debian/patches/fix-python3.10.patch
@@ -0,0 +1,14 @@
+Description: Fix for Python 3.10
+Author: ju xor 
+Last-Update: 2022-04-28
+--- a/stem/control.py
 b/stem/control.py
+@@ -2532,7 +2532,7 @@
+ for param, value in params:
+   if isinstance(value, str):
+ query_comp.append('%s="%s"' % (param, value.strip()))
+-  elif isinstance(value, collections.Iterable):
++  elif isinstance(value, collections.abc.Iterable):
+ query_comp.extend(['%s="%s"' % (param, val.strip()) for val in value])
+   elif not value:
+ query_comp.append(param)
diff --git a/debian/patches/series b/debian/patches/series
index 55077d0..bb84a5f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 reproducible-build.patch
+fix-python3.10.patch
-- 
2.30.2



Bug#948254: anarchism: update available

2020-01-08 Thread ju xor
David Kleuker:
> Package: anarchism
> Version: 15.1-11
> 
> Upstream has version 15.3 available  
> http://www.anarchism.pageabode.com/afaq/index.html
> 

Thanks for letting us know, i'll try to update it in the next days.

juxor.



Bug#927431: [gpg-wks-server] Manpage says "/openpgp/" when it should be "/openpgpkey/"

2019-04-19 Thread ju xor
Package: gpg-wks-server
Version: 2.2.12-1~bpo9+1
Severity: normal

Hi,

according to the Web Key Directory last draft [0], both the "advanced
and the direct method" on how to form the request URI include the string
"/.well-known/openpgpkey/", but gpg-wks-server says "You  also  need  a
webserver  configured  to alias requests to /.well-known/openpgp/".

The fix is trivial, though i'm not sure whether it would make more sense
to patch the man when the draft becomes and RFC.

Thanks,
ju xor.

[0]
https://datatracker.ietf.org/doc/html/draft-koch-openpgp-webkey-service-07



signature.asc
Description: OpenPGP digital signature


Bug#926108: opgpcard: errors with command-line arguments

2019-04-04 Thread ju xor
Hi,

John Scott:
> Package: opgpcard
> Version: 0.1.4-1
> Severity: normal
> 
> $ opgpcard -f First
> Traceback (most recent call last):
>   File "/usr/bin/opgpcard", line 11, in 
> load_entry_point('opgpcard==0.1.4', 'console_scripts', 'opgpcard')()
>   File "/usr/lib/python3/dist-packages/opgpcard/cli.py", line 69, in main
> gen_opgpcard(args)
>   File "/usr/lib/python3/dist-packages/opgpcard/opgpcard.py", line 124, in 
> gen_opgpcard
> (args.firstname + args.lastname,))
> TypeError: can only concatenate str (not "NoneType") to str
> 
> Similar errors are given for using some combination of
> command-line options, but -m works with correct email
> addresses.
[...]

Thanks for reporting this bug, will be fixed soon.

juxor.



signature.asc
Description: OpenPGP digital signature


Bug#903977: ITP: sbws -- Simple Bandwidth Scanner

2018-07-18 Thread ju xor
Philipp Kern:
> On 2018-07-18 18:24, ju xor wrote:
>> Philipp Kern:
>>> Should this live in some kind of tor-* namespace?
>> no
> 
> Without any rationale? :(
> 

i'm not sure what you mean, but in case it helps, here some arguments
why sbws package is not called something like tor-sbws:

- upstream is not using "tor-*" in the name
- i don't think there's a Debian policy to name packages as "tor-*" [0]
- AFAICT, the only package in Debian that is named as "tor-*" is
"tor-geoipbd", and that's a package on which "tor" itself depends on.
- "tor" itself does not depends on sbws, though sbws makes use of "tor"
- python3-stem is a library to control tor on which sbws depends, and
it's not called "tor-*"
- nyx, is a tor monitor, and is not called "tor-*"
- there're several packages called "onion*", which is not "tor-*"

Best,
ju.

[0] https://www.debian.org/doc/debian-policy/#the-package-name



Bug#903977: ITP: sbws -- Simple Bandwidth Scanner

2018-07-18 Thread ju xor
Philipp Kern:

> Should this live in some kind of tor-* namespace? 

no

> But even if not, it
> should clearly talk about Tor in both the short and long description.

ok, i'll change description by "Tor Simple Bandwidth Scanner"

Thanks!,
ju.



Bug#903977: ITP: sbws -- Simple Bandwidth Scanner

2018-07-17 Thread ju xor
Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

   Package name: sbws
Version: 1.0.0
Upstream Author: Matt Traudt 
URL: https://gitweb.torproject.org/sbws.git/
License: CC0
Description: Simple Bandwidth Scanner

Tor bandwidth scanner that generates bandwidth list (measurements) files
to be read by Directory Authorities.



Bug#903976: ITP: sbws -- Simple Bandwidth Scanner

2018-07-17 Thread ju xor
Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

   Package name: sbws
Version: 1.0.0
Upstream Author: [Matt Traudt ]
URL: [https://gitweb.torproject.org/sbws.git/]
License: [CC0]
Description: [Simple Bandwidth Scanner]
Tor bandwidth scanner that generates bandwidth list (measurements) files
to be read by Directory Authorities.



Bug#890492: ITP: node-localstorage -- substitute for the browser native localStorage API

2018-02-15 Thread ju xor
Package: wnpp
Severity: wishlist
Owner: ju xor <j...@riseup.net>

* Package name: node-localstorage
  Version : 1.3.0
  Upstream Author : Larry Maccherone (http://maccherone.com)
* URL : https://github.com/lmaccherone/node-localstorage
* License : Expat
  Programming Lang: JavaScript
  Description : substitute for the browser native localStorage API


 A substitute for the node.js browser native localStorage API that
 runs on node.js
 .
 Node.js is an event-based server-side JavaScript engine.

This package is a dependency of OpenPGP JavaScript implementation,
which ITP is #787774.

This package should be maintained by the Debian Javascript team.
I'm not a memeber of the team.



Bug#890004: ITP: carml -- carml is a command-line tool to query and control a running Tor

2018-02-09 Thread ju xor
Package: wnpp
Severity: wishlist
Owner: ju xor <j...@riseup.net>

* Package name: carml
  Version : 17.4.0
  Upstream Author : meejah <mee...@meejah.com>
* URL : https://github.com/meejah/carml
* License : public domain
  Programming Lang: Python
  Description : carml is a command-line tool to query and control a running 
Tor

You can do things like:

list and remove streams and circuits;
monitor stream, circuit and address-map events;
watch for any Tor event and print it (or many) out;
monitor bandwidth;
run any Tor control-protocol command;
pipe through common Unix tools like grep, less, cut, etcetera;
download TBB through Tor, with pinned certs and signature checking;
...even spit out and run xplanet configs (with router/circuit markers)!

It is written in Python and uses Tor's control-port via the txtorcon library.

- why is this package useful/relevant? 
  helps monitoring tor 

- if there are other packages providing similar functionality?
  no, there's txtorcon, which this package depends on

- how do you plan to maintain it? inside a packaging team? 
  maybe pkg-privacy



Bug#882968: network-manager: Build with support for dhcpcanon

2017-11-27 Thread ju xor
Package: network-manager
Version: 1.10.0-1
Severity: wishlist
Tags: patch

Dear Maintainer,

It would be great to revert support for dhcpcanon [1], as it is not used anyway 
unless manually added in the configuration. That way it would be easier to test 
it and eventually not be experimental.
It was requested to be marked as experimental for the Fedora build [2], it 
doesn't have to be the same in Debian, unless there're reasons for it.

Thanks.


[1] 
https://anonscm.debian.org/git/pkg-utopia/network-manager.git/commit/?id=5f0d2fd81ab4bf574dba5046cd92dc7107acfeb8
[2] 
https://github.com/NetworkManager/NetworkManager/pull/31#issuecomment-337881457
diff --git a/debian/changelog b/debian/changelog
index 66bcc12f..54fa99b5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,3 @@
-network-manager (1.10.0-1.1) UNRELEASED; urgency=medium
-
-  * Non-maintainer upload.
-  * add support for dhcpcanon
-
- -- ju xor <j...@riseup.net>  Fri, 24 Nov 2017 10:04:26 +
-
 network-manager (1.10.0-1) unstable; urgency=medium
 
   * New upstream version 1.10.0
diff --git a/debian/control b/debian/control
index f92180a9..0913ff66 100644
--- a/debian/control
+++ b/debian/control
@@ -64,7 +64,6 @@ Depends: ${shlibs:Depends},
  libpam-systemd,
  policykit-1
 Recommends: ppp,
-dhcpcanon,
 dnsmasq-base,
 iptables,
 modemmanager,
diff --git a/debian/rules b/debian/rules
index 0675f950..a224a16a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,7 +36,7 @@ override_dh_auto_configure:
--with-nmcli \
--with-selinux \
--with-libaudit \
-   --with_dhcpcanon=/sbin/dhcpcanon \
+   --without-dhcpcanon \
--enable-polkit \
--enable-polkit-agent \
--enable-ppp \


Bug#875874: RFP: resolvconf-admin -- setuid helper program for setting up the local DNS

2017-09-15 Thread ju xor
Package: wnpp
Severity: wishlist

* Package name: resolvconf-admin
  Version : 0.1.0
  Upstream Author : Daniel Kahn Gillmor 
* URL : https://github.com/dkg/resolvconf-admin
* License : MIT
  Programming Lang: C
  Description : setuid helper program for setting up the local DNS

This program deals with setting the local DNS information, which needs to be 
done by root on some systems. For example, it should allow you to run a DHCP 
client without giving that DHCP client full superuser privileges.

If /sbin/resolvconf is present, it is invoked as root with the recommended 
data. If it is not present, then /etc/resolv.conf is overwritten with a simple 
file.


This software is useful for dhcpcanon, to setup DNS information obtained from
DHCP servers without the need to be run as root and without depending on 
systemd-resolved.



Bug#638393: Please allow resolvconf to run as non-root

2017-09-14 Thread ju xor
Package: resolvconf
Version: 1.79
Followup-For: Bug #638393


> Do you think that others are likely to want to operate resolvconf this way?

dhcpcanon is an example of a DHCP client that runs as a non-root user (via 
systemd service or wrapper) and it's able to set the network because it has the 
CAP_NET_ADMIN capability, but it can't set the DNS servers because resolvconf 
requires root.

So, i also think it would be desirable for a non-root user to be able to invoke 
resolvconf.

ju



Bug#856256: ITP: afaq-dl -- Download/update the sources of anarchism book

2017-02-26 Thread ju xor
Package: wnpp
Severity: wishlist
Owner: ju xor <j...@riseup.net>

* Package name: afaq-dl
  Version : 1.0.0
  Upstream Author : Name <j...@riseup.net>
* URL : https://0xacab.org/ju/afaq-dl
* License : GPL
  Programming Lang: Python
  Description : Download/update the sources of anarchism book

Download/update the online book An Anarchist FAQ (AFAQ),
convert the HTML to Markdown and push the changes to the afaq repository.



Bug#846281: ITP: dhcpcanon -- Python implementation fo the DHCP client Anonymity Profile (RFC7844) designed for users that wish to remain anonymous to the visited network minimizing disclosure of iden

2016-11-29 Thread ju xor
Package: wnpp
Severity: wishlist
Owner: ju 

* Package name: dhcpcanon
  Version : 0.1
  Upstream Author : Name 
* URL : https://github.com/juga0/dhcpcanon/
* License : GPL
  Programming Lang: Python
  Description : DHCP client disclosing less identifying information.
  
Python implementation of the DHCP client Anonymity Profile (RFC7844) designed 
for users that wish to remain anonymous to the visited network minimizing 
disclosure of identifying information.