Stuff.
This commit is contained in:
parent
c068c019f6
commit
0b02766b12
@ -1,6 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
export CFLAGS="$CFLAGS -fcommon"
|
||||
|
||||
make PREFIX=/usr
|
||||
make PREFIX=/usr DESTDIR="$1" install
|
@ -1 +0,0 @@
|
||||
git git+https://git.suckless.org/9base
|
@ -1 +0,0 @@
|
||||
git+https://git.suckless.org/9base
|
@ -1 +0,0 @@
|
||||
git 1
|
@ -1,10 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
# Make sbase tar accept arguments without dash
|
||||
patch -p1 < tar-dash-remove.patch
|
||||
|
||||
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"
|
@ -1 +0,0 @@
|
||||
e3db05a871c6344960ed05eb848557937d0f01070833a885eb06113966d74a10
|
@ -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':
|
@ -1,2 +0,0 @@
|
||||
git+git://git.suckless.org/sbase
|
||||
patches/tar-dash-remove.patch
|
@ -1,17 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
for patch in *.patch; do
|
||||
patch -p1 < "$patch"
|
||||
done
|
||||
|
||||
sed -i \
|
||||
-e "/^CFLAGS/s/=/= $CFLAGS -static/" \
|
||||
-e "/^LDFLAGS/s/=/= $LDFLAGS -static/" \
|
||||
config.mk
|
||||
|
||||
make ubase-box
|
||||
make DESTDIR="$1" PREFIX=/usr ubase-box-install
|
||||
|
||||
# Remove 'su' which doesn't support '-c'.
|
||||
unlink "$1/usr/bin/su"
|
||||
unlink "$1/usr/bin/stat"
|
@ -1,2 +0,0 @@
|
||||
714715936ff5e8a3574a41031cfbf05d4b061f19fcc07175e717f5db70b7f8e4
|
||||
4b2932a50164230b0defd4de008e423babf053bac823930258378b0efee64065
|
@ -1,3 +0,0 @@
|
||||
git+git://git.suckless.org/ubase
|
||||
patches/f3aa4b156360ce4a18e4a3897f883b663771ba24.patch
|
||||
patches/fix-mount.patch
|
@ -1,10 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
export CFLAGS="$CFLAGS -static"
|
||||
|
||||
./configure \
|
||||
--prefix=/usr
|
||||
|
||||
make DESTDIR="$1" install
|
||||
|
||||
ln -s /usr/bin/dash "$1/usr/bin/sh"
|
@ -1 +0,0 @@
|
||||
4e15b7ba5363bcc2a443549910cdc15b5ad601df8196b5f294c712eff037e08d
|
@ -1 +0,0 @@
|
||||
https://gondor.apana.org.au/~herbert/dash/files/dash-0.5.11.4.tar.gz
|
@ -1 +0,0 @@
|
||||
0.5.11.4 1
|
@ -3,15 +3,12 @@
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--with-modules \
|
||||
--with-xft \
|
||||
--with-x-toolkit=gtk2 \
|
||||
--with-toolkit-scroll-bars \
|
||||
--without-dbus \
|
||||
--without-gconf \
|
||||
--without-gsettings \
|
||||
--with-xpm=yes \
|
||||
--with-gnutls=yes \
|
||||
--with-json=yes
|
||||
--with-gnutls=no \
|
||||
--with-json=no \
|
||||
--with-native-compilation
|
||||
|
||||
mkdir -p "$1/usr/share/emacs/site-lisp"
|
||||
cat << EOF > "$1/usr/share/emacs/site-lisp/site-start.el"
|
||||
@ -26,11 +23,7 @@ cat << EOF > "$1/usr/share/emacs/site-lisp/site-start.el"
|
||||
(setq-default shr-blocked-images ".*\.svg$")
|
||||
EOF
|
||||
|
||||
make
|
||||
make NATIVE_FULL_AOT=1
|
||||
make DESTDIR="$1" install
|
||||
|
||||
rm -rf "$1/usr/lib/systemd"
|
||||
|
||||
for packages in play progmodes/ruby-mode* org/ob-ruby* ../etc/schema/xhtml-ruby.rnc progmodes/*antlr* textmodes/*artist* progmodes/*cfengine* auth-source-path* erc mail obsolete eshell gnus images/gnus
|
||||
do rm -r "/usr/share/emacs/27.2/lisp/${packages}"
|
||||
done
|
||||
|
@ -1,10 +1,3 @@
|
||||
giflib
|
||||
gnutls
|
||||
libjpeg-turbo
|
||||
libpng
|
||||
libXpm
|
||||
gtk+2
|
||||
libxml2
|
||||
ncurses
|
||||
tiff
|
||||
zlib
|
||||
|
@ -1,8 +1,7 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--with-libedit
|
||||
--prefix=/usr
|
||||
|
||||
make DESTDIR="$1" install
|
||||
ln -s /usr/bin/dash "$1/usr/bin/sh"
|
1
core-mod/core/dash/checksums
Normal file
1
core-mod/core/dash/checksums
Normal file
@ -0,0 +1 @@
|
||||
3c663919dc5c66ec991da14c7cf7e0be8ad00f3db73986a987c118862b5f6071
|
1
core-mod/core/dash/sources
Normal file
1
core-mod/core/dash/sources
Normal file
@ -0,0 +1 @@
|
||||
https://deb.debian.org/debian/pool/main/d/dash/dash_0.5.10.2.orig.tar.gz
|
1
core-mod/core/dash/version
Normal file
1
core-mod/core/dash/version
Normal file
@ -0,0 +1 @@
|
||||
0.5.10.2 1
|
@ -1,3 +1 @@
|
||||
autoconf make
|
||||
automake make
|
||||
libgmp
|
||||
|
@ -4,7 +4,7 @@
|
||||
sed -i 's/\/bin/\/usr\/bin/' Makefile
|
||||
sed -i 's/\/sbin/\/usr\/bin/' Makefile
|
||||
|
||||
ssu ./configure.sh config.in
|
||||
su -c "./configure.sh config.in"
|
||||
|
||||
make
|
||||
make DESTDIR="$1" install
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user