Add new packages and build scripts for various libraries
- Introduced build scripts for gsettings-desktop-schemas, hypercorn, json-glib, libassuan, libbsd, libcloudproviders, libdaemon, libmd, libproxy, libsass, libseccomp, libxcomposite, libxdamage, libxtst, lmdb, python-aiofiles, python-blinker, python-flask, python-h11, python-h2, python-hpack, python-hyperframe, python-itsdangerous, python-more-itertools, python-priority, python-pyaml, python-quart, python-tappy, python-werkzeug, python-wsproto, sassc, snowball, talloc, xmltoman, and xorg-xprop. - Added TOML configuration files for each package specifying build types, dependencies, and source URLs. - Implemented custom build scripts for packages requiring specific build commands and configurations. - Included patches for snowball to make libstemmer a shared library.
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = [
|
||||
"--without-bash-malloc",
|
||||
"--with-installed-readline",
|
||||
]
|
||||
skip-tests = true
|
||||
|
||||
[dependencies]
|
||||
optional = ["bash-completion"]
|
||||
runtime = [
|
||||
"readline",
|
||||
"glibc",
|
||||
"ncurses",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "The GNU Bourne Again shell"
|
||||
homepage = "https://www.gnu.org/software/bash/"
|
||||
license = "GPL-3.0-or-later"
|
||||
name = "bash"
|
||||
version = "5.3"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "0d5cd86965f869a26cf64f4b71be7b96f90a3ba8b3d74e27e8e9d9d5550f31ba"
|
||||
url = "https://mirrors.kernel.org/gnu/bash/bash-$version.tar.gz"
|
||||
|
||||
[[manual_sources]]
|
||||
files = [ "postinstall.sh", "postupdate.sh", "postremove.sh" ]
|
||||
@@ -0,0 +1,5 @@
|
||||
grep -qe '^/bin/bash$' etc/shells || echo '/bin/bash' >> etc/shells
|
||||
grep -qe '^/usr/bin/bash$' etc/shells || echo '/usr/bin/bash' >> etc/shells
|
||||
grep -qe '^/bin/rbash$' etc/shells || echo '/bin/rbash' >> etc/shells
|
||||
grep -qe '^/usr/bin/rbash$' etc/shells || echo '/usr/bin/rbash' >> etc/shells
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
sed -ri -e '\|^/usr/bin/bash$|d' -e '\|^/bin/bash$|d' etc/shells
|
||||
sed -ri -e '\|^/usr/bin/rbash$|d' -e '\|^/bin/rbash$|d' etc/shells
|
||||
@@ -0,0 +1,5 @@
|
||||
grep -qe '^/bin/bash$' etc/shells || echo '/bin/bash' >> etc/shells
|
||||
grep -qe '^/usr/bin/bash$' etc/shells || echo '/usr/bin/bash' >> etc/shells
|
||||
grep -qe '^/bin/rbash$' etc/shells || echo '/bin/rbash' >> etc/shells
|
||||
grep -qe '^/usr/bin/rbash$' etc/shells || echo '/usr/bin/rbash' >> etc/shells
|
||||
|
||||
Reference in New Issue
Block a user