From 1d329acf36f9e41b805fe2a555c3ac9832b61e61 Mon Sep 17 00:00:00 2001 From: PktSurf Date: Fri, 23 Sep 2022 10:06:42 +0530 Subject: [PATCH] Fixed missing and wrong quotes in required variables in some base pkg build files Added subshell to part of base/bzip build file --- base/bzip2/bzip2.SMBuild | 10 ++++++---- base/ca-certificates/ca-certificates.SMBuild | 3 +-- base/gdbm/gdbm.SMBuild | 2 +- base/gmp/gmp.SMBuild | 4 ++-- base/gptfdisk/gptfdisk.SMBuild | 2 +- base/jansson/jansson.SMBuild | 4 ++-- base/libetpan/libetpan.SMBuild | 2 +- base/libgpg-error/libgpg-error.SMBuild | 4 ++-- base/neon/neon.SMBuild | 2 +- base/pv/pv.SMBuild | 2 +- base/toluapp/toluapp.SMBuild | 2 +- 11 files changed, 19 insertions(+), 18 deletions(-) diff --git a/base/bzip2/bzip2.SMBuild b/base/bzip2/bzip2.SMBuild index f227a6a..2ad7b4d 100755 --- a/base/bzip2/bzip2.SMBuild +++ b/base/bzip2/bzip2.SMBuild @@ -29,10 +29,12 @@ build() { install -m 0644 libbz2.so.1.0.6 $pkg/lib cp LICEN?E $pkgdocs/ - - cd $pkg/lib - ln -sf libbz2.so.1.0.6 libbz2.so.1.0 - ln -sf libbz2.so.1.0.6 libbz2.so + + ( + cd $pkg/lib + ln -sf libbz2.so.1.0.6 libbz2.so.1.0 + ln -sf libbz2.so.1.0.6 libbz2.so + ) mkfinalpkg } diff --git a/base/ca-certificates/ca-certificates.SMBuild b/base/ca-certificates/ca-certificates.SMBuild index 2472a9e..b30db23 100755 --- a/base/ca-certificates/ca-certificates.SMBuild +++ b/base/ca-certificates/ca-certificates.SMBuild @@ -1,8 +1,7 @@ app=ca-certificates version=20210308 build=1sml -homepage='https://ftp.debian.org/debian/pool/main/c/ca-certificates/' -download='' +homepage="https://ftp.debian.org/debian/pool/main/c/ca-certificates/" desc="PEM Files of CA Certificates" requires="musl curl" diff --git a/base/gdbm/gdbm.SMBuild b/base/gdbm/gdbm.SMBuild index fadf20a..562dd41 100755 --- a/base/gdbm/gdbm.SMBuild +++ b/base/gdbm/gdbm.SMBuild @@ -1,7 +1,7 @@ app=gdbm version=1.18 build=1sml -homepage=:https://www.gnu.org.ua/software/gdbm/" +homepage="https://www.gnu.org.ua/software/gdbm/" download="https://ftp.gnu.org/gnu/gdbm/gdbm-$version.tar.gz" desc="set of database routines that work similar to the standard UNIX dbm routines" requires="readline" diff --git a/base/gmp/gmp.SMBuild b/base/gmp/gmp.SMBuild index df3d362..365a3f0 100755 --- a/base/gmp/gmp.SMBuild +++ b/base/gmp/gmp.SMBuild @@ -1,8 +1,8 @@ app=gmp version=6.1.2 build=1sml -homepage='https://gmplib.org/' -download='https://gmplib.org/download/gmp/gmp-$version.tar.lz' +homepage="https://gmplib.org/" +download="https://gmplib.org/download/gmp/gmp-$version.tar.lz" desc="GNU multiple precision arithmetic library" requires="gcc-libs" diff --git a/base/gptfdisk/gptfdisk.SMBuild b/base/gptfdisk/gptfdisk.SMBuild index d066e77..4bc6baa 100755 --- a/base/gptfdisk/gptfdisk.SMBuild +++ b/base/gptfdisk/gptfdisk.SMBuild @@ -2,7 +2,7 @@ app=gptfdisk version=1.0.5 build=1sml homepage="http://sourceforge.net/projects/gptfdisk/" -download="https://sourceforge.net/projects/gptfdisk/files/gptfdisk/$version/gptfdisk-$version.tar.gz' +download="https://sourceforge.net/projects/gptfdisk/files/gptfdisk/$version/gptfdisk-$version.tar.gz" desc="GPT fdisk utilities" requires="gcc-libs netbsd-curses popt util-linux" diff --git a/base/jansson/jansson.SMBuild b/base/jansson/jansson.SMBuild index c13e936..ed68413 100755 --- a/base/jansson/jansson.SMBuild +++ b/base/jansson/jansson.SMBuild @@ -1,8 +1,8 @@ app=jansson version=2.13 build=1sml -homepage='https://digip.org/jansson/' -download='https://digip.org/jansson/releases/jansson-2.13.tar.bz2' +homepage="https://digip.org/jansson/" +download="https://digip.org/jansson/releases/jansson-2.13.tar.bz2" desc="library for encoding, decoding and manipulating JSON data" requires="musl" diff --git a/base/libetpan/libetpan.SMBuild b/base/libetpan/libetpan.SMBuild index b9ea59b..7bad2e7 100755 --- a/base/libetpan/libetpan.SMBuild +++ b/base/libetpan/libetpan.SMBuild @@ -1,7 +1,7 @@ app=libetpan version=1.9.4 build=1sml -homepage="https://www.etpan.org/: +homepage="https://www.etpan.org/" download="https://github.com/dinhvh/libetpan/archive/refs/tags/$version.tar.gz" desc="Middleware library providing various APIs to access mail" requires="gcc-libs db expat curl" diff --git a/base/libgpg-error/libgpg-error.SMBuild b/base/libgpg-error/libgpg-error.SMBuild index c804379..1fdf827 100755 --- a/base/libgpg-error/libgpg-error.SMBuild +++ b/base/libgpg-error/libgpg-error.SMBuild @@ -1,8 +1,8 @@ app=libgpg-error version=1.39 build=1sml -homepage='https://www.gnupg.org/software/libgpg-error/index.html' -download='https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.39.tar.bz2' +homepage="https://www.gnupg.org/software/libgpg-error/index.html" +download="https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-$version.tar.bz2" desc="library that provides common error values and functions for all GnuPG components" requires="musl" diff --git a/base/neon/neon.SMBuild b/base/neon/neon.SMBuild index 1550eeb..9135f1f 100755 --- a/base/neon/neon.SMBuild +++ b/base/neon/neon.SMBuild @@ -2,7 +2,7 @@ app=neon version=0.31.2 build=1sml homepage="https://notroj.github.io/neon/" -download="https://notroj.github.io/neon/neon-$version.tar.gz' +download="https://notroj.github.io/neon/neon-$version.tar.gz" desc="HTTP and WebDav client library with a C interface" requires="expat zlib openssl" diff --git a/base/pv/pv.SMBuild b/base/pv/pv.SMBuild index c4eed68..7f2b6d0 100755 --- a/base/pv/pv.SMBuild +++ b/base/pv/pv.SMBuild @@ -3,7 +3,7 @@ version=1.6.6 build=1sml homepage="http://www.ivarch.com/programs/pv.shtml" download="http://www.ivarch.com/programs/sources/pv-$version.tar.bz2" -desc=Pipe Viewer for monitoring progress of data through pipeline" +desc="Pipe Viewer for monitoring progress of data through pipeline" requires="musl" build() { diff --git a/base/toluapp/toluapp.SMBuild b/base/toluapp/toluapp.SMBuild index 76d2a53..e50cb13 100755 --- a/base/toluapp/toluapp.SMBuild +++ b/base/toluapp/toluapp.SMBuild @@ -1,7 +1,7 @@ app=toluapp version=1.0.93 build=1sml -homepage='https://github.com/LuaDist/toluapp' +homepage="https://github.com/LuaDist/toluapp" download="https://github.com/LuaDist/toluapp/archive/refs/tags/$version.tar.gz" desc="tool to integrate C/C++ code with Lua" requires="lua"