Compare commits

..
6 Commits
Author SHA1 Message Date
EnumDev 1aa96fbbd4 Update package version to 0.5.13.5 2026-09-04 15:56:38 +03:00
EnumDev eb1b09141a Switch to new package format 2026-06-13 19:59:02 +03:00
EnumDev df83ff5184 Update package version to 0.5.13.4 2026-05-17 16:18:30 +03:00
EnumDev 80cf1938a8 Update package version to 0.5.13.3 2026-04-20 12:19:10 +03:00
EnumDev 61e2bbc2ee Update package scripts 2026-04-03 18:52:46 +03:00
EnumDev 168235e1aa Update package version to 0.5.13.2 2026-03-29 20:40:55 +03:00
5 changed files with 27 additions and 11 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
name: dash name: dash
description: POSIX-compliant implementation of /bin/sh that aims to be as small as possible description: POSIX-compliant implementation of /bin/sh that aims to be as small as possible
version: 0.5.13.1 version: 0.5.13.5
revision: 1 revision: 1
url: http://gondor.apana.org.au/~herbert/dash/ url: http://gondor.apana.org.au/~herbert/dash/
license: BSD-3-Clause license: BSD-3-Clause
@@ -17,4 +17,4 @@ downloads:
- url: https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/dash-${BPM_PKG_VERSION}.tar.gz - url: https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/dash-${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE} extract_to: ${BPM_SOURCE}
extract_strip_components: 1 extract_strip_components: 1
checksum: 62a551ed06c31ad09933be0a20478832640d5cc3ce430d0fc7c52a1097129df1 checksum: 53622e51df0fd7a2950552cfe0da0bee9bfc1510784e752b62eacc49b3776d33
+7 -4
View File
@@ -1,7 +1,10 @@
#!/bin/sh #!/bin/sh
SHELL="/bin/dash" SHELLS="/bin/dash /usr/bin/dash"
if ! grep "${SHELL}" "$BPM_ROOT"/etc/shells; then for _shell in $SHELLS; do
echo "${SHELL}" | tee -a "$BPM_ROOT"/etc/shells if ! grep -q "^${_shell}\$" /etc/shells; then
fi echo "Adding '$_shell' to /etc/shells..."
echo "$_shell" | tee -a /etc/shells 1>/dev/null
fi
done
+7 -4
View File
@@ -1,7 +1,10 @@
#!/bin/sh #!/bin/sh
SHELL="/bin/dash" SHELLS="/bin/dash /usr/bin/dash"
if grep "${SHELL}" "$BPM_ROOT"/etc/shells; then for _shell in $SHELLS; do
sed -i "\|${SHELL}|d" "$BPM_ROOT"/etc/shells if grep -q "^${_shell}\$" /etc/shells; then
fi echo "Removing '$_shell' from /etc/shells..."
sed -i "\|^${_shell}\$|d" /etc/shells
fi
done
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
SHELLS="/bin/dash /usr/bin/dash"
for _shell in $SHELLS; do
if ! grep -q "^${_shell}\$" /etc/shells; then
echo "Adding '$_shell' to /etc/shells..."
echo "$_shell" | tee -a /etc/shells 1>/dev/null
fi
done
+1 -1
View File
@@ -1,4 +1,4 @@
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package # This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT