Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/frotz: Update to version 2.53
Date: Sun, 7 Mar 2021 22:41:15 +0100	[thread overview]
Message-ID: <20210307214115.GG2275@scaer> (raw)
In-Reply-To: <20210307152147.514774-1-huth@tuxfamily.org>

Thomas, All,

On 2021-03-07 16:21 +0100, Thomas Huth spake thusly:
> This version should now also compile fine on systems without pthreads,
> so we can remove the dependency on BR2_TOOLCHAIN_HAS_THREADS again.
> 
> While we're at it, also fix a typo in the description (replace "can not"
> with "cannot").
> 
> Signed-off-by: Thomas Huth <huth@tuxfamily.org>

Applied to next, thanks.

But see below...

> ---
>  package/frotz/Config.in  | 6 +-----
>  package/frotz/frotz.hash | 2 +-
>  package/frotz/frotz.mk   | 2 +-
>  3 files changed, 3 insertions(+), 7 deletions(-)
> 
> diff --git a/package/frotz/Config.in b/package/frotz/Config.in
> index b73beea330..9473f5944d 100644
> --- a/package/frotz/Config.in
> +++ b/package/frotz/Config.in
> @@ -1,14 +1,10 @@
>  config BR2_PACKAGE_FROTZ
>  	bool "frotz"
> -	depends on BR2_TOOLCHAIN_HAS_THREADS
>  	select BR2_PACKAGE_NCURSES
>  	help
>  	  Frotz is an interpreter for old Infocom adventure games and
> -	  other Z-code games. Note that frotz can not be run as root.
> +	  other Z-code games. Note that frotz cannot be run as root.

Out of curiosity: what is the technical reason this is not possible?

There is an explicit check in src/curses/ux_init.c, but except for that,
I could not easily spot a reason for not being able to run as root...

>  	  You must add a normal user to your buildroot configuration to
>  	  be able to use it.

Why don't we then define one, like:

    define FROTS_USERS
        frotz -1 frotz -1 - - - -
    endef

See: https://buildroot.org/downloads/manual/manual.html#makeuser-syntax

Care to send a patch?

Regards,
Yann E. MORIN.

>  	  https://661.org/proj/if/frotz/
> -
> -comment "frotz needs a toolchain w/ threads"
> -	depends on !BR2_TOOLCHAIN_HAS_THREADS
> diff --git a/package/frotz/frotz.hash b/package/frotz/frotz.hash
> index 14f1a7fbe2..e5024aa2cd 100644
> --- a/package/frotz/frotz.hash
> +++ b/package/frotz/frotz.hash
> @@ -1,3 +1,3 @@
>  # Locally calculated
> -sha256  7e488140791259a1a8c9e16a0c467ca69b694b918c28ffe3d83c654bcb253cca  frotz-2.51.tar.bz2
> +sha256  8da558828dd74d6d6ee30483bb32276ef918b8b72b7f6e89b4f7cb27e7abf58b  frotz-2.53.tar.bz2
>  sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
> diff --git a/package/frotz/frotz.mk b/package/frotz/frotz.mk
> index ce27bdf0bf..cc0421358c 100644
> --- a/package/frotz/frotz.mk
> +++ b/package/frotz/frotz.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -FROTZ_VERSION = 2.51
> +FROTZ_VERSION = 2.53
>  FROTZ_SOURCE = frotz-$(FROTZ_VERSION).tar.bz2
>  FROTZ_SITE = https://gitlab.com/DavidGriffith/frotz/-/archive/$(FROTZ_VERSION)
>  FROTZ_DEPENDENCIES = host-pkgconf ncurses
> -- 
> 2.29.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2021-03-07 21:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-07 15:21 [Buildroot] [PATCH] package/frotz: Update to version 2.53 Thomas Huth
2021-03-07 21:41 ` Yann E. MORIN [this message]
2021-03-08  4:15   ` Thomas Huth
2021-03-08 18:14     ` Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210307214115.GG2275@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox