new: migrated more packages

This commit is contained in:
ngn 2024-07-22 21:38:11 +03:00
parent beea0545f8
commit 07d499fef5
32 changed files with 618 additions and 1 deletions

3
src/brotli/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/brotli/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 1.1.0
First version

39
src/brotli/pkg.sh Normal file
View File

@ -0,0 +1,39 @@
# general info
NAME="brotli"
DESC="Generic-purpose lossless compression algorithm"
VERSION="1.1.0"
# required files
FILES=("https://github.com/google/brotli/archive/v${VERSION}/brotli-${VERSION}.tar.gz")
HASHES=("3a6a3dba82a3604792d3cb0bd41bca60")
# install and build depends
DEPENDS=("glibc")
BUILD=(
"cmake" "pypa-build" "pypa-installer"
"pypa-setuptools" "pypa-wheel"
)
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
make DESTDIR="${ROOTDIR}" install
cd ..
sed "/c\/.*\.[ch]'/d;\
/include_dirs=\[/\
i libraries=['brotlicommon','brotlidec','brotlienc']," \
-i setup.py
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "${NAME}-${VERSION}"
}

3
src/build-essential/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

View File

@ -0,0 +1,2 @@
# 1
First version

View File

@ -0,0 +1,22 @@
# general info
NAME="build-essential"
DESC="Essential packages to build MatterLinux packages"
VERSION="1"
# required files
FILES=()
HASHES=()
# install and build depends
DEPENDS=(
"glibc" "gcc" "make" "python3" "perl"
"cmake" "pypa-wheel" "pypa-installer"
"pypa-build" "pypa-setuptools"
)
BUILD=()
build(){
echo This is just a wrapper package, nothing to do
install -dm755 "${ROOTDIR}/var/lib/wrapper_packages"
touch "${ROOTDIR}/var/lib/wrapper_packages/${NAME}"
}

3
src/curl/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/curl/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 8.6.0
First version

40
src/curl/pkg.sh Normal file
View File

@ -0,0 +1,40 @@
# general info
NAME="curl"
DESC="Command line tool and library for transferring data with URLs"
VERSION="8.6.0"
# required files
FILES=("https://curl.se/download/curl-${VERSION}.tar.xz")
HASHES=("8f28f7e08c91cc679a45fccf66184fbc")
# install and build depends
DEPENDS=(
"brotli" "zstd" "zlib" "openldap"
"libssh2" "nghttp2" "libidn2"
"icu" "libpsl"
)
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr \
--disable-static \
--with-openssl \
--enable-threaded-resolver \
--with-ca-path=/etc/ssl/certs
make
make DESTDIR="${ROOTDIR}" install
rm -rf docs/examples/.deps
find docs \( -name Makefile\* -o \
-name \*.1 -o \
-name \*.3 -o \
-name CMakeLists.txt \) -delete
install -dm755 "${ROOTDIR}/usr/share/doc"
cp -v -R docs -T "${ROOTDIR}/usr/share/doc/curl-${VERSION}"
cd .. && rm -r "${NAME}-${VERSION}"
}

3
src/dbus/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/dbus/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 1.14.10
First version

40
src/dbus/pkg.sh Normal file
View File

@ -0,0 +1,40 @@
# general info
NAME="dbus"
DESC="Message bus system"
VERSION="1.14.10"
# required files
FILES=("https://dbus.freedesktop.org/releases/dbus/dbus-${VERSION}.tar.xz")
HASHES=("46070a3487817ff690981f8cd2ba9376")
# install and build depends
DEPENDS=("systemd" "libcap" "expat")
BUILD=("python3" "systemd")
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--runstatedir=/run \
--disable-static \
--disable-doxygen-docs \
--disable-xml-docs \
--docdir="/usr/share/doc/dbus-${VERSION}" \
--with-system-socket=/run/dbus/system_bus_socket \
--with-console-auth-dir=/run/console/ \
--with-dbus-user=messagebus \
--with-system-pid-file=/run/dbus/pid \
--with-system-socket=/run/dbus/system_bus_socket \
--with-systemdsystemunitdir=/usr/lib/systemd/system \
--enable-systemd \
--enable-user-session
make
make DESTDIR="${ROOTDIR}" install
ln -sfv ../../../etc/machine-id "${ROOTDIR}/var/lib/dbus/machine-id"
cd .. && rm -r "${NAME}-${VERSION}"
}

View File

@ -12,7 +12,7 @@ DEPENDS=(
"libassuan" "gnupg" "libgpg-error"
"glibc" "gcc-libs"
)
BUILD=("python3" "pypa-build" "pypa-installer" "wheel")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.bz2"

3
src/intltool/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/intltool/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 0.51.0
First version

25
src/intltool/pkg.sh Normal file
View File

@ -0,0 +1,25 @@
# general info
NAME="intltool"
DESC="Utility scripts for internationalizing XML"
VERSION="0.51.0"
# required files
FILES=("https://launchpad.net/intltool/trunk/${VERSION}/+download/intltool-${VERSION}.tar.gz")
HASHES=("12e517cac2b57a0121cda351570f1e63")
# install and build depends
DEPENDS=("xml-parser")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
sed -i 's:\\\${:\\\$\\{:' intltool-update.in
./configure --prefix=/usr
make
make DESTDIR="${ROOTDIR}" install
install -v -Dm644 doc/I18N-HOWTO "${ROOTDIR}/usr/share/doc/intltool-${VERSION}/I18N-HOWTO"
cd .. && rm -r "${NAME}-${VERSION}"
}

3
src/iproute2/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/iproute2/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 6.7.0
First version

28
src/iproute2/pkg.sh Normal file
View File

@ -0,0 +1,28 @@
# general info
NAME="iproute2"
DESC="Routing commands and utilities"
VERSION="6.7.0"
# required files
FILES=("https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-${VERSION}.tar.xz")
HASHES=("35d8277d1469596b7edc07a51470a033")
# install and build depends
DEPENDS=("glibc" "libcap" "libelf")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
sed -i /ARPD/d Makefile
rm -fv man/man8/arpd.8
make NETNS_RUN_DIR=/run/netns
make DESTDIR="${ROOTDIR}" SBINDIR=/usr/sbin install
install -dm755 "${ROOTDIR}/usr/share/doc/iproute2-${VERSION}"
cp -v COPYING README* "${ROOTDIR}/usr/share/doc/iproute2-${VERSION}"
cd .. && rm -r "${NAME}-${VERSION}"
}

3
src/jansson/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/jansson/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 2.14
First version

26
src/jansson/pkg.sh Normal file
View File

@ -0,0 +1,26 @@
# general info
NAME="jansson"
DESC="C library for encoding, decoding and manipulating JSON data"
VERSION="2.14"
# required files
FILES=("https://github.com/akheron/jansson/releases/download/v${VERSION}/jansson-${VERSION}.tar.bz2")
HASHES=("3f90473d7d54ebd1cb6a2757396641df")
# install and build depends
DEPENDS=("glibc")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.bz2"
cd "${NAME}-${VERSION}"
sed -e "/DT/s;| sort;| sed 's/@@libjansson.*//' &;" \
-i test/suites/api/check-exports
./configure --prefix=/usr --disable-static
make
make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}

3
src/jinja2/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/jinja2/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 3.1.3
First version

22
src/jinja2/pkg.sh Normal file
View File

@ -0,0 +1,22 @@
# general info
NAME="jinja2"
DESC="Fast, expressive, extensible templating engine"
VERSION="3.1.3"
# required files
FILES=("https://pypi.org/packages/source/J/Jinja2/Jinja2-${VERSION}.tar.gz")
HASHES=("caf5418c851eac59e70a78d9730d4cea")
# install and build depends
DEPENDS=("python3" "markupsafe")
BUILD=("flit-core")
build(){
tar xf "Jinja2-${VERSION}.tar.gz"
cd "Jinja2-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "Jinja2-${VERSION}"
}

3
src/kbd/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/kbd/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 2.6.4
First version

View File

@ -0,0 +1,250 @@
Submitted By: Matt Burgess
Date: 2008-12-06
Initial Package Version: 1.15
Upstream Status: Not submitted, possibly incomplete
Description: Makes Backspace and Delete keys consistent in all i386 keymaps.
Makes the Backspace key send character code 127, and Delete send a well known
escape sequence. Obsoletes the /etc/kbd/bs-sends-del file for i386.
Original patch for 1.12 by Alexander Patrakov.
Updated for 1.13 (drop ru.map, the change is upstream, and add ru_win.map,
ru-cp1251.map) by Ken Moffat <ken at linuxfromscratch dot org>.
Re-diffed against 1.15 by Matt Burgess <matthew at linuxfromscratch.org>.
diff -Naur kbd-1.15.orig/data/keymaps/i386/dvorak/dvorak-l.map kbd-1.15/data/keymaps/i386/dvorak/dvorak-l.map
--- kbd-1.15.orig/data/keymaps/i386/dvorak/dvorak-l.map 2008-06-20 12:36:01.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/dvorak/dvorak-l.map 2008-12-03 22:27:55.000000000 +0000
@@ -43,7 +43,7 @@
keycode 11 = three numbersign
keycode 12 = two at
keycode 13 = one exclam
- keycode 14 = BackSpace Delete
+ keycode 14 = Delete Delete
! --------------------------------------------------------------------------
! Row 3
! --------------------------------------------------------------------------
diff -Naur kbd-1.15.orig/data/keymaps/i386/dvorak/dvorak-r.map kbd-1.15/data/keymaps/i386/dvorak/dvorak-r.map
--- kbd-1.15.orig/data/keymaps/i386/dvorak/dvorak-r.map 2008-06-20 12:36:01.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/dvorak/dvorak-r.map 2008-12-03 22:28:13.000000000 +0000
@@ -43,7 +43,7 @@
keycode 11 = slash question
keycode 12 = bracketleft braceleft
keycode 13 = bracketright braceright
- keycode 14 = BackSpace Delete
+ keycode 14 = Delete Delete
! --------------------------------------------------------------------------
! Row 3
! --------------------------------------------------------------------------
diff -Naur kbd-1.15.orig/data/keymaps/i386/fgGIod/tr_f-latin5.map kbd-1.15/data/keymaps/i386/fgGIod/tr_f-latin5.map
--- kbd-1.15.orig/data/keymaps/i386/fgGIod/tr_f-latin5.map 2008-10-23 20:03:58.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/fgGIod/tr_f-latin5.map 2008-12-03 22:40:32.000000000 +0000
@@ -51,7 +51,7 @@
alt keycode 12 = Meta_minus
keycode 13 = minus underscore
alt keycode 13 = Meta_equal
-keycode 14 = BackSpace Delete
+keycode 14 = Delete Delete
alt keycode 14 = Meta_Delete
keycode 15 = Tab Meta_Tab
alt keycode 15 = Meta_Tab
diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/lt.l4.map kbd-1.15/data/keymaps/i386/qwerty/lt.l4.map
--- kbd-1.15.orig/data/keymaps/i386/qwerty/lt.l4.map 2008-10-23 20:03:59.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/qwerty/lt.l4.map 2008-12-03 22:42:14.000000000 +0000
@@ -205,7 +205,7 @@
# edit this if you want the key above <Enter> to delete symbols above
# cursor, not before.
keycode 14 = \
- BackSpace BackSpace BackSpace BackSpace \
+ Delete Delete Delete Delete \
Delete Delete Delete Delete \
Meta_BackSpace Meta_BackSpace Meta_BackSpace Meta_BackSpace \
Meta_Delete Meta_Delete Meta_Delete Meta_Delete
@@ -506,7 +506,7 @@
# Edit this if you want strict VT100 emulation.
string F111 = "\033[3$"
-keycode 111 = Delete F111 Delete F111 \
+keycode 111 = Remove F111 Remove F111 \
Remove Remove Remove Remove \
Meta_Delete Meta_Delete Meta_Delete Meta_Delete \
Boot Boot Boot Boot
diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/lt.map kbd-1.15/data/keymaps/i386/qwerty/lt.map
--- kbd-1.15.orig/data/keymaps/i386/qwerty/lt.map 2008-10-23 20:03:59.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/qwerty/lt.map 2008-12-03 22:42:58.000000000 +0000
@@ -204,7 +204,7 @@
# edit this if you want the key above <Enter> to delete symbols above
# cursor, not before.
keycode 14 = \
- BackSpace BackSpace BackSpace BackSpace \
+ Delete Delete Delete Delete \
Delete Delete Delete Delete \
Meta_BackSpace Meta_BackSpace Meta_BackSpace Meta_BackSpace \
Meta_Delete Meta_Delete Meta_Delete Meta_Delete
@@ -505,7 +505,7 @@
# Edit this if you want strict VT100 emulation.
string F111 = "\033[3$"
-keycode 111 = Delete F111 Delete F111 \
+keycode 111 = Remove F111 Remove F111 \
Remove Remove Remove Remove \
Meta_Delete Meta_Delete Meta_Delete Meta_Delete \
Boot Boot Boot Boot
diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/no-latin1.map kbd-1.15/data/keymaps/i386/qwerty/no-latin1.map
--- kbd-1.15.orig/data/keymaps/i386/qwerty/no-latin1.map 2008-06-20 12:36:00.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/qwerty/no-latin1.map 2008-12-03 22:44:25.000000000 +0000
@@ -3,7 +3,7 @@
# Send comments to Kjetil T. Homme <kjetilho@ifi.uio.no>
include "linux-with-alt-and-altgr"
plain keycode 83 = KP_Comma
- plain keycode 111 = Delete # "Remove" originally, weird...
+ plain keycode 111 = Remove
strings as usual
keycode 1 = Escape
diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ru1.map kbd-1.15/data/keymaps/i386/qwerty/ru1.map
--- kbd-1.15.orig/data/keymaps/i386/qwerty/ru1.map 2008-10-23 20:03:59.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/qwerty/ru1.map 2008-12-03 22:45:32.000000000 +0000
@@ -143,8 +143,8 @@
# The keycode "0xFF" is too dangerous for many programs (including emacs).
# So let it be bracket instead of Hard Sign.
-# altgr keycode 27 = +0xDF
-# altgr shift keycode 27 = +0xFF
+altgr keycode 27 = +0xDF
+altgr shift keycode 27 = +0xFF
control keycode 27 = Control_bracketright
altgr control keycode 27 = Control_bracketright
alt keycode 27 = Meta_bracketright
diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ru2.map kbd-1.15/data/keymaps/i386/qwerty/ru2.map
--- kbd-1.15.orig/data/keymaps/i386/qwerty/ru2.map 2008-10-23 20:03:59.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/qwerty/ru2.map 2008-12-03 22:46:15.000000000 +0000
@@ -46,7 +46,7 @@
alt keycode 12 = Meta_minus
keycode 13 = equal plus equal plus
alt keycode 13 = Meta_equal
- keycode 14 = BackSpace BackSpace BackSpace BackSpace
+ keycode 14 = Delete Delete Delete Delete
alt keycode 14 = Meta_Delete
keycode 15 = Tab Tab Tab Tab
alt keycode 15 = Meta_Tab
diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ru-cp1251.map kbd-1.15/data/keymaps/i386/qwerty/ru-cp1251.map
--- kbd-1.15.orig/data/keymaps/i386/qwerty/ru-cp1251.map 2008-10-23 20:03:59.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/qwerty/ru-cp1251.map 2008-12-03 22:47:12.000000000 +0000
@@ -39,7 +39,7 @@
alt keycode 12 = Meta_minus
keycode 13 = equal plus equal plus
alt keycode 13 = Meta_equal
- keycode 14 = BackSpace
+ keycode 14 = Delete
alt keycode 14 = Meta_Delete
keycode 15 = Tab
alt keycode 15 = Meta_Tab
diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ru-ms.map kbd-1.15/data/keymaps/i386/qwerty/ru-ms.map
--- kbd-1.15.orig/data/keymaps/i386/qwerty/ru-ms.map 2008-10-23 20:03:59.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/qwerty/ru-ms.map 2008-12-03 22:48:10.000000000 +0000
@@ -89,8 +89,8 @@
altgr alt keycode 13 = Meta_equal
shift alt keycode 13 = Meta_plus
altgr shift alt keycode 13 = Meta_plus
- keycode 14 = BackSpace BackSpace BackSpace BackSpace
-# keycode 14 = Delete Delete Delete Delete
+# keycode 14 = BackSpace BackSpace BackSpace BackSpace
+ keycode 14 = Delete Delete Delete Delete
alt keycode 14 = Meta_Delete
altgr alt keycode 14 = Meta_Delete
keycode 15 = Tab Tab Tab Tab
diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ru_win.map kbd-1.15/data/keymaps/i386/qwerty/ru_win.map
--- kbd-1.15.orig/data/keymaps/i386/qwerty/ru_win.map 2008-10-23 20:03:59.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/qwerty/ru_win.map 2008-12-03 22:49:17.000000000 +0000
@@ -42,7 +42,7 @@
alt keycode 12 = Meta_minus
keycode 13 = equal plus equal plus
alt keycode 13 = Meta_equal
- keycode 14 = BackSpace BackSpace BackSpace BackSpace
+ keycode 14 = Delete Delete Delete Delete
alt keycode 14 = Meta_Delete
keycode 15 = Tab Tab Tab Tab
alt keycode 15 = Meta_Tab
diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/se-ir209.map kbd-1.15/data/keymaps/i386/qwerty/se-ir209.map
--- kbd-1.15.orig/data/keymaps/i386/qwerty/se-ir209.map 2008-10-23 20:03:59.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/qwerty/se-ir209.map 2008-12-03 22:50:18.000000000 +0000
@@ -345,7 +345,7 @@
keycode 109 = Next Scroll_Forward
keycode 110 = Insert
- keycode 111 = Delete # "Remove" originally, weird...
+ keycode 111 = Remove
control alt keycode 111 = Boot
control altgr keycode 111 = Boot
diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/se-lat6.map kbd-1.15/data/keymaps/i386/qwerty/se-lat6.map
--- kbd-1.15.orig/data/keymaps/i386/qwerty/se-lat6.map 2008-10-23 20:03:59.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/qwerty/se-lat6.map 2008-12-03 22:50:44.000000000 +0000
@@ -374,6 +374,6 @@
keycode 109 = Next Scroll_Forward
keycode 110 = Insert
- keycode 111 = Delete # "Remove" originally, weird...
+ keycode 111 = Remove
control alt keycode 111 = Boot
control altgr keycode 111 = Boot
diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/tr_q-latin5.map kbd-1.15/data/keymaps/i386/qwerty/tr_q-latin5.map
--- kbd-1.15.orig/data/keymaps/i386/qwerty/tr_q-latin5.map 2008-10-23 20:03:59.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/qwerty/tr_q-latin5.map 2008-12-03 22:52:09.000000000 +0000
@@ -49,7 +49,7 @@
alt keycode 12 = Meta_minus
keycode 13 = minus underscore
alt keycode 13 = Meta_equal
-keycode 14 = BackSpace Delete
+keycode 14 = Delete Delete
alt keycode 14 = Meta_Delete
keycode 15 = Tab Meta_Tab
alt keycode 15 = Meta_Tab
diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ua.map kbd-1.15/data/keymaps/i386/qwerty/ua.map
--- kbd-1.15.orig/data/keymaps/i386/qwerty/ua.map 2008-10-23 20:03:59.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/qwerty/ua.map 2008-12-03 22:52:52.000000000 +0000
@@ -249,7 +249,7 @@
shift ctrll ctrlr keycode 13 = plus
alt ctrll ctrlr keycode 13 = Meta_equal
shift alt ctrll ctrlr keycode 13 = Meta_plus
-keycode 14 = BackSpace Delete
+keycode 14 = Delete Delete
control keycode 14 = BackSpace
alt keycode 14 = Meta_Delete
ctrlr keycode 14 = BackSpace
diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ua-utf.map kbd-1.15/data/keymaps/i386/qwerty/ua-utf.map
--- kbd-1.15.orig/data/keymaps/i386/qwerty/ua-utf.map 2008-10-23 20:03:59.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/qwerty/ua-utf.map 2008-12-03 22:53:36.000000000 +0000
@@ -250,7 +250,7 @@
shift ctrll ctrlr keycode 13 = plus
alt ctrll ctrlr keycode 13 = Meta_equal
shift alt ctrll ctrlr keycode 13 = Meta_plus
-keycode 14 = BackSpace Delete
+keycode 14 = Delete Delete
control keycode 14 = BackSpace
alt keycode 14 = Meta_Delete
ctrlr keycode 14 = BackSpace
diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ua-utf-ws.map kbd-1.15/data/keymaps/i386/qwerty/ua-utf-ws.map
--- kbd-1.15.orig/data/keymaps/i386/qwerty/ua-utf-ws.map 2008-10-23 20:03:59.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/qwerty/ua-utf-ws.map 2008-12-03 22:54:06.000000000 +0000
@@ -260,7 +260,7 @@
shift ctrll ctrlr keycode 13 = plus
alt ctrll ctrlr keycode 13 = Meta_equal
shift alt ctrll ctrlr keycode 13 = Meta_plus
-keycode 14 = BackSpace Delete
+keycode 14 = Delete Delete
control keycode 14 = BackSpace
alt keycode 14 = Meta_Delete
ctrlr keycode 14 = BackSpace
diff -Naur kbd-1.15.orig/data/keymaps/i386/qwerty/ua-ws.map kbd-1.15/data/keymaps/i386/qwerty/ua-ws.map
--- kbd-1.15.orig/data/keymaps/i386/qwerty/ua-ws.map 2008-10-23 20:03:59.000000000 +0100
+++ kbd-1.15/data/keymaps/i386/qwerty/ua-ws.map 2008-12-03 22:54:23.000000000 +0000
@@ -260,7 +260,7 @@
shift ctrll ctrlr keycode 13 = plus
alt ctrll ctrlr keycode 13 = Meta_equal
shift alt ctrll ctrlr keycode 13 = Meta_plus
-keycode 14 = BackSpace Delete
+keycode 14 = Delete Delete
control keycode 14 = BackSpace
alt keycode 14 = Meta_Delete
ctrlr keycode 14 = BackSpace

36
src/kbd/pkg.sh Normal file
View File

@ -0,0 +1,36 @@
# general info
NAME="kbd"
DESC="Linux keyboard tools"
VERSION="2.6.4"
# required files
FILES=(
"https://www.kernel.org/pub/linux/utils/kbd/kbd-${VERSION}.tar.xz"
"kbd-${VERSION}-backspace-1.patch"
)
HASHES=(
"e2fd7adccf6b1e98eb1ae8d5a1ce5762"
"f75cca16a38da6caa7d52151f7136895"
)
# install and build depends
DEPENDS=("glibc" "linux-pam")
BUILD=("check")
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
patch -Np1 -i "../kbd-${VERSION}-backspace-1.patch"
sed -i '/RESIZECONS_PROGS=/s/yes/no/' configure
sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in
./configure --prefix=/usr --disable-vlock
make
make DESTDIR="${ROOTDIR}" install
install -dm755 "${ROOTDIR}/usr/share/doc"
cp -R -v docs/doc -T "${ROOTDIR}/usr/share/doc/kbd-${VERSION}"
cd .. && rm -r "${NAME}-${VERSION}"
}

3
src/kmod/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/kmod/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 31
First version

39
src/kmod/pkg.sh Normal file
View File

@ -0,0 +1,39 @@
# general info
NAME="kmod"
DESC="Kernel module management tool"
VERSION="31"
# required files
FILES=("https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-${VERSION}.tar.xz")
HASHES=("6165867e1836d51795a11ea4762ff66a")
# install and build depends
DEPENDS=(
"glibc" "openssl" "xz"
"zlib" "zstd" "libelf"
"linux"
)
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-openssl \
--with-xz \
--with-zstd \
--with-zlib
make
make DESTDIR="${ROOTDIR}" install
install -dm755 "${ROOTDIR}/usr/sbin"
for target in depmod insmod modinfo modprobe rmmod; do
ln -sfv ../bin/kmod "${ROOTDIR}/usr/sbin/$target"
done
ln -sfv kmod "${ROOTDIR}/usr/bin/lsmod"
cd .. && rm -r "${NAME}-${VERSION}"
}