Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] brltty: file /etc/brlapi.key should be created upon package install with random contents
@ 2019-06-05 20:07 voidlinux-github
  2019-06-06  7:51 ` voidlinux-github
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: voidlinux-github @ 2019-06-05 20:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 879 bytes --]

New issue by thomas-t-w on void-packages repository

https://github.com/void-linux/void-packages/issues/12173
Description: I don't know how this should be implemented into a build script and which program we should use to get the random text. I guess it goes into post_install()? If someone tells me which program would  be best to use to generate the random string, I will try to implement it.
### System

* xuname:  
  *output of ``xuname`` (part of xtools)*
* package: brltty6.0_1
  *affected package(s) including the version*

### Expected behavior
If the file is created, programs like orca screen reader can use the brltty api to display text on a braille display. https://en.wikipedia.org/wiki/Refreshable_braille_display
### Actual behavior
I had to create this file manually and add text to it.
### Steps to reproduce the behavior
Install brltty package.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: brltty: file /etc/brlapi.key should be created upon package install with random contents
  2019-06-05 20:07 [ISSUE] brltty: file /etc/brlapi.key should be created upon package install with random contents voidlinux-github
@ 2019-06-06  7:51 ` voidlinux-github
  2021-02-05 14:45 ` CMB
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2019-06-06  7:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

New comment by Hoshpak on void-packages repository

https://github.com/void-linux/void-packages/issues/12173#issuecomment-499388429
Comment:
I don't think using the same random string for all installations would be appropriate, wouldn't it? I think this should better be done in an `INSTALL` script as a post action. This way is is executed by xbps after package installation on the local system. You can look at existing scripts like e.g. `trousers` to see how such a script should be implemented. Arch already has a script for their package manager which could be adapted to our needs: https://git.archlinux.org/svntogit/packages.git/tree/trunk/brltty.install?h=packages/brltty They use the `mcookie` command from `util-linux` to create the random text.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: brltty: file /etc/brlapi.key should be created upon package install with random contents
  2019-06-05 20:07 [ISSUE] brltty: file /etc/brlapi.key should be created upon package install with random contents voidlinux-github
  2019-06-06  7:51 ` voidlinux-github
@ 2021-02-05 14:45 ` CMB
  2022-04-15  2:12 ` github-actions
  2022-04-29  2:13 ` [ISSUE] [CLOSED] " github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: CMB @ 2021-02-05 14:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

New comment by CMB on void-packages repository

https://github.com/void-linux/void-packages/issues/12173#issuecomment-774075582

Comment:
@ericonr Yes, this ticket is still applicable.

BTW here's how you can test for the problem locally.
Install brltty and python3-brlapi.  Start the runit service.  It should
start even if you don't have a braille display and haven't done any
configuration.  Run:

    python3 -c 'import brlapi ; brlapi.Connection()'

If there's no readable /etc/brlapi.key file, you'll get a traceback
complaining about it.

Probably we want to do what Arch does here: a brlapi group owning that
file, with 0640 permissionss.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: brltty: file /etc/brlapi.key should be created upon package install with random contents
  2019-06-05 20:07 [ISSUE] brltty: file /etc/brlapi.key should be created upon package install with random contents voidlinux-github
  2019-06-06  7:51 ` voidlinux-github
  2021-02-05 14:45 ` CMB
@ 2022-04-15  2:12 ` github-actions
  2022-04-29  2:13 ` [ISSUE] [CLOSED] " github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2022-04-15  2:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/12173#issuecomment-1099786625

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ISSUE] [CLOSED] brltty: file /etc/brlapi.key should be created upon package install with random contents
  2019-06-05 20:07 [ISSUE] brltty: file /etc/brlapi.key should be created upon package install with random contents voidlinux-github
                   ` (2 preceding siblings ...)
  2022-04-15  2:12 ` github-actions
@ 2022-04-29  2:13 ` github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2022-04-29  2:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]

Closed issue by thomas-t-w on void-packages repository

https://github.com/void-linux/void-packages/issues/12173

Description:
I don't know how this should be implemented into a build script and which program we should use to get the random text. I guess it goes into post_install()? If someone tells me which program would  be best to use to generate the random string, I will try to implement it.
### System

* xuname:  
  *output of ``xuname`` (part of xtools)*
* package: brltty6.0_1
  *affected package(s) including the version*

### Expected behavior
If the file is created, programs like orca screen reader can use the brltty api to display text on a braille display. https://en.wikipedia.org/wiki/Refreshable_braille_display
### Actual behavior
I had to create this file manually and add text to it.
### Steps to reproduce the behavior
Install brltty package.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-04-29  2:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-05 20:07 [ISSUE] brltty: file /etc/brlapi.key should be created upon package install with random contents voidlinux-github
2019-06-06  7:51 ` voidlinux-github
2021-02-05 14:45 ` CMB
2022-04-15  2:12 ` github-actions
2022-04-29  2:13 ` [ISSUE] [CLOSED] " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).