commit 3fc1b81a2c556b4407b923249cf900662f20c7fb
parent e11611dddf002d5b378563569f480854f31d3a09
Author: St John Karp <contact@stjo.hn>
Date: Fri, 1 Jul 2022 13:55:39 -0400
sbase: Remove package in favour of the one in community
Diffstat:
5 files changed, 0 insertions(+), 51 deletions(-)
diff --git a/core/sbase/build b/core/sbase/build
@@ -1,18 +0,0 @@
-#!/bin/sh -e
-
-# Make sbase tar accept arguments without dash
-patch -p1 < tar-dash-remove.patch
-
-sed -e 's/^CC = cc$/#CC = cc/' \
- -e 's/^AR = ar$/#AR = ar/' \
- config.mk > _
-mv _ config.mk
-
-make LDFLAGS="$LDFLAGS -static" sbase-box
-make DESTDIR="$1" PREFIX=/usr sbase-box-install
-
-# Unlink sed, because '-i' is widely used
-#unlink "$1/usr/bin/sed"
-
-# Unlink tar, because it's broken.
-#unlink "$1/usr/bin/tar"
diff --git a/core/sbase/checksums b/core/sbase/checksums
@@ -1 +0,0 @@
-e3db05a871c6344960ed05eb848557937d0f01070833a885eb06113966d74a10
diff --git a/core/sbase/patches/tar-dash-remove.patch b/core/sbase/patches/tar-dash-remove.patch
@@ -1,29 +0,0 @@
-From d50db4931d75ed1c8100f6a933175deb5976a196 Mon Sep 17 00:00:00 2001
-From: Ethan Sommer <e5ten.arch@gmail.com>
-Date: Thu, 14 May 2020 12:02:51 -0400
-Subject: [PATCH] tar: if first argument doesn't have a leading dash, prepend
- one
-
-this allows tar to be called in the common form "tar <key>" instead of only
-allowing "tar -<key>"
----
- tar.c | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/tar.c b/tar.c
-index 603e544..759402e 100644
---- a/tar.c
-+++ b/tar.c
-@@ -520,6 +520,12 @@ main(int argc, char *argv[])
- char *file = NULL, *dir = ".", mode = '\0';
- int fd;
-
-+ if (argc >= 2 && argv[1][0] != '-') {
-+ char *argv1 = emalloc(strlen(argv[1] + 2));
-+ sprintf(argv1, "-%s", argv[1]);
-+ argv[1] = argv1;
-+ }
-+
- ARGBEGIN {
- case 'x':
- case 'c':
diff --git a/core/sbase/sources b/core/sbase/sources
@@ -1,2 +0,0 @@
-git+git://git.suckless.org/sbase
-patches/tar-dash-remove.patch
diff --git a/core/sbase/version b/core/sbase/version
@@ -1 +0,0 @@
-git 2