Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/sbase: new package
       [not found] <CAB3eKoAK26-HuqGE+ewedW9-o6izS754ybr_KdanQwERZebapA@mail.gmail.com>
@ 2024-03-25 20:04 ` Brian Mayer
  2024-03-25 20:10   ` Brian Mayer
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Mayer @ 2024-03-25 20:04 UTC (permalink / raw)
  To: buildroot

sbase is a collection of unix tools that are inherently portable across
UNIX and UNIX-like systems.

Signed-off-by: brian <git@myr.sh>
---
 package/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/Config.in b/package/Config.in
index 1a62bfb1be..177b8a89ff 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2549,6 +2549,7 @@ endif
        source "package/s6-dns/Config.in"
        source "package/s6-networking/Config.in"
        source "package/samba4/Config.in"
+       source "package/sbase/Config.in"
        source "package/sconeserver/Config.in"
        source "package/ser2net/Config.in"
        source "package/shadowsocks-libev/Config.in"
--
2.44.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/sbase: new package
  2024-03-25 20:04 ` [Buildroot] [PATCH] package/sbase: new package Brian Mayer
@ 2024-03-25 20:10   ` Brian Mayer
  2024-03-25 21:45     ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Mayer @ 2024-03-25 20:10 UTC (permalink / raw)
  To: buildroot

sbase is a collection of unix tools that are inherently portable across
UNIX and UNIX-like systems.

Signed-off-by: brian <git@myr.sh>
---
 package/Config.in        |  1 +
 package/sbase/Config.in  | 11 +++++++++++
 package/sbase/sbase.hash |  1 +
 package/sbase/sbase.mk   | 22 ++++++++++++++++++++++
 4 files changed, 35 insertions(+)
 create mode 100644 package/sbase/Config.in
 create mode 100644 package/sbase/sbase.hash
 create mode 100644 package/sbase/sbase.mk

diff --git a/package/Config.in b/package/Config.in
index 1a62bfb1be..177b8a89ff 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2549,6 +2549,7 @@ endif
        source "package/s6-dns/Config.in"
        source "package/s6-networking/Config.in"
        source "package/samba4/Config.in"
+       source "package/sbase/Config.in"
        source "package/sconeserver/Config.in"
        source "package/ser2net/Config.in"
        source "package/shadowsocks-libev/Config.in"
diff --git a/package/sbase/Config.in b/package/sbase/Config.in
new file mode 100644
index 0000000000..b6ef049b11
--- /dev/null
+++ b/package/sbase/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_SBASE
+        bool "sbase"
+        help
+          sbase is a collection of unix tools that are inherently
portable across
+         UNIX and UNIX-like systems.
+
+         The complement of sbase is ubase[1] which is Linux-specific
and provides
+         all the non-portable tools. Together they are intended to form a base
+         system similar to busybox but much smaller and suckless.
+
+          https://git.suckless.org/sbase/
diff --git a/package/sbase/sbase.hash b/package/sbase/sbase.hash
new file mode 100644
index 0000000000..d13f3bd110
--- /dev/null
+++ b/package/sbase/sbase.hash
@@ -0,0 +1 @@
+sha256  af10b9995526b6367e6e11453f4762e4c67d2835ecba7257716b5024440e6f51
 sbase-13898fa7a91155a60c4c0bd61d4b7693a2ff3f09-br1.tar.gz
diff --git a/package/sbase/sbase.mk b/package/sbase/sbase.mk
new file mode 100644
index 0000000000..373ec4965b
--- /dev/null
+++ b/package/sbase/sbase.mk
@@ -0,0 +1,22 @@
+################################################################################
+#
+# sbase
+#
+################################################################################
+
+SBASE_VERSION = 13898fa7a91155a60c4c0bd61d4b7693a2ff3f09
+SBASE_SITE = git://git.suckless.org/sbase
+SBASE_SITE_METHOD = git
+SBASE_LICENSE = MIT
+SBASE_LICENSE_FILES = LICENSE README
+SBASE_CPE_ID_VENDOR = sbase
+
+define SBASE_BUILD_CMDS
+       $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define SBASE_INSTALL_TARGET_CMDS
+       $(MAKE) PREFIX=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
+endef
+
+$(eval $(generic-package))
--
2.44.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/sbase: new package
  2024-03-25 20:10   ` Brian Mayer
@ 2024-03-25 21:45     ` Yann E. MORIN
  0 siblings, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2024-03-25 21:45 UTC (permalink / raw)
  To: Brian Mayer; +Cc: buildroot

Brian, All,

On 2024-03-25 17:10 -0300, Brian Mayer spake thusly:
> sbase is a collection of unix tools that are inherently portable across
> UNIX and UNIX-like systems.
> 
> Signed-off-by: brian <git@myr.sh>

It seems something got slightly wrong when you sent the patch:
  - there was a first one with just the change to package/Config.in
  - then there was one with everything, but it got line-wrapped (see
    below)

This made patchwork miss the second one entirely:
    https://patchwork.ozlabs.org/project/buildroot/patch/CAB3eKoAXBR9MSf1od3mqBnaBV1+xD8BYegFkRQo31UDSx0JQZw@mail.gmail.com/

[--SNIP--]
> diff --git a/package/sbase/Config.in b/package/sbase/Config.in
> new file mode 100644
> index 0000000000..b6ef049b11
> --- /dev/null
> +++ b/package/sbase/Config.in
> @@ -0,0 +1,11 @@
> +config BR2_PACKAGE_SBASE
> +        bool "sbase"
> +        help
> +          sbase is a collection of unix tools that are inherently
> portable across
> +         UNIX and UNIX-like systems.
> +
> +         The complement of sbase is ubase[1] which is Linux-specific
> and provides

The lines have been line-wrapped. To avoid that, use 'git send-email'
which properly formats a patch for sending.

Also, it seems they were too long anywat. Please run:

    ./utils/docker-run make check-package

to validate asic coding style rules.

> +         all the non-portable tools. Together they are intended to form a base
> +         system similar to busybox but much smaller and suckless.
> +
> +          https://git.suckless.org/sbase/
> diff --git a/package/sbase/sbase.hash b/package/sbase/sbase.hash
> new file mode 100644
> index 0000000000..d13f3bd110
> --- /dev/null
> +++ b/package/sbase/sbase.hash
> @@ -0,0 +1 @@
> +sha256  af10b9995526b6367e6e11453f4762e4c67d2835ecba7257716b5024440e6f51
>  sbase-13898fa7a91155a60c4c0bd61d4b7693a2ff3f09-br1.tar.gz

Ditto, line-wrapped...

Regards,
Yann E. MORIN.

> diff --git a/package/sbase/sbase.mk b/package/sbase/sbase.mk
> new file mode 100644
> index 0000000000..373ec4965b
> --- /dev/null
> +++ b/package/sbase/sbase.mk
> @@ -0,0 +1,22 @@
> +################################################################################
> +#
> +# sbase
> +#
> +################################################################################
> +
> +SBASE_VERSION = 13898fa7a91155a60c4c0bd61d4b7693a2ff3f09
> +SBASE_SITE = git://git.suckless.org/sbase
> +SBASE_SITE_METHOD = git
> +SBASE_LICENSE = MIT
> +SBASE_LICENSE_FILES = LICENSE README
> +SBASE_CPE_ID_VENDOR = sbase
> +
> +define SBASE_BUILD_CMDS
> +       $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
> +endef
> +
> +define SBASE_INSTALL_TARGET_CMDS
> +       $(MAKE) PREFIX=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
> +endef
> +
> +$(eval $(generic-package))
> --
> 2.44.0
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/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.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-03-25 21:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAB3eKoAK26-HuqGE+ewedW9-o6izS754ybr_KdanQwERZebapA@mail.gmail.com>
2024-03-25 20:04 ` [Buildroot] [PATCH] package/sbase: new package Brian Mayer
2024-03-25 20:10   ` Brian Mayer
2024-03-25 21:45     ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox