Added ftjam, libptytty to base
Removed dmraid, iniparser, jam, libatasmart, libblockdev, libbytesize, libyaml, mozjs, ndctl, polkit, rpi-userland, sccache from base Removed docdir, sysconfdir and prefix quotes from autoconf build option and similar options from various packages in base Added apparch variables to base/{acpid,dmidecode,gnu-efi,pciutils,syslinux} Added udev rules build option to base/alsa-utils Discarded --offline option in base/cbindgen Upgraded base/cmake to 3.26.4 Added --without-x build option to base/dialog Upgraded base/gawk to 5.2.2 Upgraded base/glib to 2.76.3 Disabled tests and examples in base/gloox Upgraded base/gnupg2 to 2.2.41 Upgraded base/gnutls to 3.8.0 Upgraded base/gpgme to 1.20.0 Fixed make command option ordering in base/{hdparm,p7zip} Upgraded base/libgpg-error to 1.47 Upgraded base/libjpeg-turbo to 2.1.5.1 Upgraded base/libuv to 1.45.0 Discarded some build options to base/libxml2 Upgraded base/llvm to 15.0.7 Fixed subshell code in base/lua53 Removed --prefix= in several python package build files, added /usr as prefix in base/python3 Upgraded base/musl to 1.2.4 Upgraded base/nettle to 3.9 Upgraded base/nghttp2 to 1.53.0 Added --without-trust-paths to base/p11-kit Upgraded base/qpdf to 11.4.0 Discarded base/rpi-userland Upgraded base/rust to 1.69.0 Upgraded base/sqlite to 3420000 Added $CFLAGS to base/unzip Added -fPIC option to base/yasm Updated base build list
This commit is contained in:
parent
83aa14ccba
commit
45e2c3bd44
334 changed files with 1962 additions and 1765 deletions
|
@ -21,8 +21,6 @@ libsodium
|
||||||
libunistring
|
libunistring
|
||||||
bzip2
|
bzip2
|
||||||
libffi
|
libffi
|
||||||
libgpg-error
|
|
||||||
libgcrypt
|
|
||||||
mksh
|
mksh
|
||||||
mdadm
|
mdadm
|
||||||
mtools
|
mtools
|
||||||
|
@ -72,6 +70,7 @@ tzdb
|
||||||
pciutils
|
pciutils
|
||||||
openssl
|
openssl
|
||||||
sqlite
|
sqlite
|
||||||
|
libpng
|
||||||
python3
|
python3
|
||||||
libxml2
|
libxml2
|
||||||
libxslt
|
libxslt
|
||||||
|
@ -85,12 +84,13 @@ python-mako
|
||||||
python-six
|
python-six
|
||||||
python-cheetah
|
python-cheetah
|
||||||
pyelftools
|
pyelftools
|
||||||
pax-utils
|
|
||||||
gettext
|
gettext
|
||||||
iso-codes
|
iso-codes
|
||||||
libtool
|
libtool
|
||||||
docbook
|
docbook
|
||||||
itstool
|
itstool
|
||||||
|
libgpg-error
|
||||||
|
libgcrypt
|
||||||
yasm
|
yasm
|
||||||
makeself
|
makeself
|
||||||
gperf
|
gperf
|
||||||
|
@ -101,6 +101,7 @@ libaio
|
||||||
libarchive
|
libarchive
|
||||||
ninja
|
ninja
|
||||||
meson
|
meson
|
||||||
|
pax-utils
|
||||||
wayland
|
wayland
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
glib
|
glib
|
||||||
|
@ -127,7 +128,6 @@ gptfdisk
|
||||||
gmp
|
gmp
|
||||||
mpfr
|
mpfr
|
||||||
libcroco
|
libcroco
|
||||||
libpng
|
|
||||||
libexif
|
libexif
|
||||||
fribidi
|
fribidi
|
||||||
lzo
|
lzo
|
||||||
|
@ -160,6 +160,7 @@ brotli
|
||||||
hyphen
|
hyphen
|
||||||
fuse2
|
fuse2
|
||||||
fuse3
|
fuse3
|
||||||
|
p11-kit
|
||||||
gnutls
|
gnutls
|
||||||
libsndfile
|
libsndfile
|
||||||
libtorrent
|
libtorrent
|
||||||
|
@ -209,7 +210,7 @@ p7zip
|
||||||
x264
|
x264
|
||||||
libseccomp
|
libseccomp
|
||||||
scons
|
scons
|
||||||
jam
|
ftjam
|
||||||
lm-sensors
|
lm-sensors
|
||||||
htop
|
htop
|
||||||
gdbm
|
gdbm
|
||||||
|
@ -239,7 +240,6 @@ id3lib
|
||||||
libid3tag
|
libid3tag
|
||||||
woff2
|
woff2
|
||||||
libsecret
|
libsecret
|
||||||
p11-kit
|
|
||||||
miniupnpc
|
miniupnpc
|
||||||
gloox
|
gloox
|
||||||
libuv
|
libuv
|
||||||
|
@ -308,21 +308,10 @@ highlight
|
||||||
llvm
|
llvm
|
||||||
rust
|
rust
|
||||||
cbindgen
|
cbindgen
|
||||||
sccache
|
|
||||||
libplist
|
libplist
|
||||||
iniparser
|
|
||||||
ndctl
|
|
||||||
dmraid
|
|
||||||
libatasmart
|
|
||||||
libyaml
|
|
||||||
libbytesize
|
|
||||||
libblockdev
|
|
||||||
mozjs
|
|
||||||
polkit
|
|
||||||
nodejs
|
nodejs
|
||||||
fmt
|
fmt
|
||||||
argon2
|
argon2
|
||||||
qrencode
|
qrencode
|
||||||
libqalculate
|
libqalculate
|
||||||
protobuf
|
protobuf
|
||||||
rpi-userland
|
|
||||||
|
|
|
@ -18,8 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix=
|
||||||
--docdir="/share/doc/$app-$version"
|
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -6,9 +6,9 @@ homepage="https://sourceforge.net/projects/acpid2"
|
||||||
download=""
|
download=""
|
||||||
desc="Tools and daemon for implementing ACPI standard on Linux"
|
desc="Tools and daemon for implementing ACPI standard on Linux"
|
||||||
requires="musl"
|
requires="musl"
|
||||||
|
apparch="x86_64"
|
||||||
|
|
||||||
prepbuilddir() {
|
prepbuilddir() {
|
||||||
compileonlyfor x86_64
|
|
||||||
mkandenterbuilddir
|
mkandenterbuilddir
|
||||||
rm -rf $app-$version
|
rm -rf $app-$version
|
||||||
|
|
||||||
|
@ -19,9 +19,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix=
|
||||||
--sysconfdir=/etc \
|
|
||||||
--sbindir=/bin
|
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -19,7 +19,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--disable-python \
|
--disable-python \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-resmgr \
|
--disable-resmgr \
|
||||||
|
@ -39,7 +39,7 @@ build() {
|
||||||
mkdir -p etc ; touch etc/asound.conf.new
|
mkdir -p etc ; touch etc/asound.conf.new
|
||||||
)
|
)
|
||||||
|
|
||||||
if [ "$arch" = "aarch64" ]; then
|
if [[ $arch = aarch64 ]]; then
|
||||||
# Provide some sample conf files for using USB audio by overwriting the above file
|
# Provide some sample conf files for using USB audio by overwriting the above file
|
||||||
cp $srcdir/alsa.conf.rpi.usbaudio $pkg/share/alsa/alsa.conf.new
|
cp $srcdir/alsa.conf.rpi.usbaudio $pkg/share/alsa/alsa.conf.new
|
||||||
cp $srcdir/asound.conf.rpi $pkg/etc/asound.conf.new
|
cp $srcdir/asound.conf.rpi $pkg/etc/asound.conf.new
|
||||||
|
|
|
@ -10,5 +10,5 @@ config() {
|
||||||
# Otherwise, we leave the .new copy for the admin to consider...
|
# Otherwise, we leave the .new copy for the admin to consider...
|
||||||
}
|
}
|
||||||
|
|
||||||
config share/alsa/alsa.conf.new
|
config usr/share/alsa/alsa.conf.new
|
||||||
config etc/asound.conf.new
|
config etc/asound.conf.new
|
||||||
|
|
|
@ -18,8 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix=
|
||||||
--libdir=/lib
|
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -18,11 +18,9 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--bindir=/bin \
|
|
||||||
--sbindir=/bin \
|
--sbindir=/bin \
|
||||||
--mandir="/share/man" \
|
--with-udev-rules-dir=/lib/udev/rules.d
|
||||||
--disable-xmlto
|
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -17,8 +17,8 @@ prepbuilddir() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
make OPTTARGET="none" LIBRARY_REL="lib" PREFIX="/"
|
make OPTTARGET="none" LIBRARY_REL="lib" PREFIX=
|
||||||
make OPTTARGET="none" LIBRARY_REL="lib" PREFIX="/" install DESTDIR=$pkg
|
make OPTTARGET="none" LIBRARY_REL="lib" PREFIX= install DESTDIR=$pkg
|
||||||
|
|
||||||
cp LICENSE $pkgdocs/
|
cp LICENSE $pkgdocs/
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ build=1sml
|
||||||
homepage="http://www.lysator.liu.se/~nisse/misc/"
|
homepage="http://www.lysator.liu.se/~nisse/misc/"
|
||||||
download="http://www.lysator.liu.se/~nisse/misc/argp-standalone-$version.tar.gz"
|
download="http://www.lysator.liu.se/~nisse/misc/argp-standalone-$version.tar.gz"
|
||||||
desc="Hierarchical argument parsing library broken out of glibc"
|
desc="Hierarchical argument parsing library broken out of glibc"
|
||||||
requires="musl"
|
requires="perl"
|
||||||
preservestaticlibs=1
|
preservestaticlibs=1
|
||||||
|
|
||||||
prepbuilddir() {
|
prepbuilddir() {
|
||||||
|
@ -22,7 +22,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=""
|
--prefix=
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=""
|
--prefix=
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -17,13 +17,8 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--sysconfdir=/etc/aspell \
|
--sysconfdir=/etc/aspell
|
||||||
--libdir=/lib \
|
|
||||||
--enable-pkgdatadir=/lib/aspell \
|
|
||||||
--enable-data-dir=/lib/aspell \
|
|
||||||
--enable-pkglibdir=/lib/aspell \
|
|
||||||
--enable-dict-dir=/lib/aspell
|
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -18,8 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--docdir="/share/doc/$app-$version" \
|
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=""
|
--prefix=
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=""
|
--prefix=
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -21,7 +21,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=""
|
--prefix=
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -22,9 +22,8 @@ build() {
|
||||||
ac_cv_rl_version=5.0 \
|
ac_cv_rl_version=5.0 \
|
||||||
LDFLAGS="-static" \
|
LDFLAGS="-static" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--bindir=/bin \
|
--bindir=/bin \
|
||||||
--docdir="/share/doc/$app-$version" \
|
|
||||||
--without-bash-malloc \
|
--without-bash-malloc \
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
--enable-history
|
--enable-history
|
||||||
|
|
|
@ -18,8 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix=
|
||||||
--docdir="/share/doc/$app-$version"
|
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -20,7 +20,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -20,7 +20,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--with-priv-mode=setuid \
|
--with-priv-mode=setuid \
|
||||||
--disable-man
|
--disable-man
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
RUSTONIG_DYNAMIC_LIBONIG=1 \
|
RUSTONIG_DYNAMIC_LIBONIG=1 \
|
||||||
cargo build --offline --release --target $arch-unknown-linux-musl $MAKEFLAGS
|
cargo build --release --target $arch-unknown-linux-musl $MAKEFLAGS
|
||||||
install -Dm 755 target/$arch-unknown-linux-musl/release/cbindgen $pkg/bin/cbindgen
|
install -Dm 755 target/$arch-unknown-linux-musl/release/cbindgen $pkg/bin/cbindgen
|
||||||
|
|
||||||
cp LICENSE $pkgdocs/
|
cp LICENSE $pkgdocs/
|
||||||
|
|
|
@ -19,7 +19,7 @@ prepbuilddir() {
|
||||||
build() {
|
build() {
|
||||||
LDFLAGS="-static" \
|
LDFLAGS="-static" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=""
|
--prefix=
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -18,10 +18,10 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix=
|
||||||
|
|
||||||
make
|
make
|
||||||
make install mandir="/share/man" docdir="/share/doc/$app-$version" DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
||||||
mkfinalpkg
|
mkfinalpkg
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
||||||
app=cmake
|
app=cmake
|
||||||
version=3.17.3
|
version=3.26.4
|
||||||
build=2sml
|
build=1sml
|
||||||
homepage="http://www.cmake.org"
|
homepage="http://www.cmake.org"
|
||||||
download="https://cmake.org/files/v$version/cmake-$version.tar.gz"
|
download="https://cmake.org/files/v$version/cmake-$version.tar.gz"
|
||||||
desc="Cross-platform, open-source make system"
|
desc="Cross-platform, open-source make system"
|
||||||
|
@ -20,8 +20,7 @@ build() {
|
||||||
para="$(echo $MAKEFLAGS | sed 's/-j//')"
|
para="$(echo $MAKEFLAGS | sed 's/-j//')"
|
||||||
|
|
||||||
./bootstrap \
|
./bootstrap \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--docdir="/share/doc/$app-$version" \
|
|
||||||
--no-system-curl \
|
--no-system-curl \
|
||||||
--no-system-expat \
|
--no-system-expat \
|
||||||
--no-system-jsoncpp \
|
--no-system-jsoncpp \
|
||||||
|
@ -40,5 +39,5 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
e68eb80a294a4ee441f5e29b95a6450677ef8d7a8aa40e29e7475db9aa7566edd903ce4bfb57a0795f8e31dd29f16620f588b81b5fd9f74e80f996de980bccd3 cmake-3.17.3.tar.lz
|
30b886e39df4d0bcc613a2d83b7f07537b45ca5d91375bbf4d8481bec0e0ff1226180f5491318d05438837ab27e4f89c9d25735ce22389c5d6bdf86edd48231a cmake-3.26.4.tar.lz
|
||||||
"
|
"
|
|
@ -22,7 +22,7 @@ build() {
|
||||||
FORCE_UNSAFE_CONFIGURE=1 \
|
FORCE_UNSAFE_CONFIGURE=1 \
|
||||||
LDFLAGS="-static" \
|
LDFLAGS="-static" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--bindir=/bin \
|
--bindir=/bin \
|
||||||
--libexecdir=/lib \
|
--libexecdir=/lib \
|
||||||
--without-gmp
|
--without-gmp
|
||||||
|
|
|
@ -19,7 +19,7 @@ prepbuilddir() {
|
||||||
build() {
|
build() {
|
||||||
CFLAGS+=" -fcommon" \
|
CFLAGS+=" -fcommon" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=""
|
--prefix=
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -19,7 +19,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--sbindir=/bin \
|
--sbindir=/bin \
|
||||||
--libdir=/lib \
|
--libdir=/lib \
|
||||||
--sysconfdir=/etc
|
--sysconfdir=/etc
|
||||||
|
|
|
@ -19,7 +19,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--with-libssh2 \
|
--with-libssh2 \
|
||||||
--without-ca-bundle \
|
--without-ca-bundle \
|
||||||
|
@ -37,7 +37,7 @@ build() {
|
||||||
)
|
)
|
||||||
|
|
||||||
# We don't ship the related perl script (yet):
|
# We don't ship the related perl script (yet):
|
||||||
rm -f $pkg/share/man/man1/mk-ca-bundle.1
|
rm -f $pkg/usr/share/man/man1/mk-ca-bundle.1
|
||||||
|
|
||||||
cp COPYING $pkgdocs/
|
cp COPYING $pkgdocs/
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ prepbuilddir() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
python3 setup.py install --prefix="" --root=$pkg
|
python3 setup.py install --root=$pkg
|
||||||
|
|
||||||
cp COPYING.txt LICENSE.txt $pkgdocs/
|
cp COPYING.txt LICENSE.txt $pkgdocs/
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ prepbuilddir() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
if [ "$arch" = "aarch64" ]; then
|
if [[ $arch = aarch64 ]]; then
|
||||||
db_atomic=gcc-builtin
|
db_atomic=gcc-builtin
|
||||||
else
|
else
|
||||||
db_atomic=x86/gcc-assembly
|
db_atomic=x86/gcc-assembly
|
||||||
|
@ -32,8 +32,7 @@ build() {
|
||||||
db_cv_mmap_extend=yes \
|
db_cv_mmap_extend=yes \
|
||||||
db_cv_atomic="$db_atomic" \
|
db_cv_atomic="$db_atomic" \
|
||||||
../dist/configure \
|
../dist/configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--libdir=/lib \
|
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-dbm \
|
--enable-dbm \
|
||||||
|
|
|
@ -22,7 +22,7 @@ prepbuilddir() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
make PREFIX="" BINDIR=/bin SBINDIR=/bin CRONTAB_GROUP=root
|
make PREFIX=/ BINDIR=/bin SBINDIR=/bin CRONTAB_GROUP=root
|
||||||
|
|
||||||
install -Dm 755 crond $pkg/bin/crond
|
install -Dm 755 crond $pkg/bin/crond
|
||||||
install -Dm 4711 crontab $pkg/bin/crontab
|
install -Dm 4711 crontab $pkg/bin/crontab
|
||||||
|
|
|
@ -20,7 +20,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=""
|
--prefix=
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -17,10 +17,9 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--bindir=/bin \
|
|
||||||
--with-shared \
|
--with-shared \
|
||||||
--with-x
|
--without-x
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -24,7 +24,7 @@ build() {
|
||||||
CPPFLAGS="$($srcdir/gnulibfix lib)" \
|
CPPFLAGS="$($srcdir/gnulibfix lib)" \
|
||||||
LDFLAGS="-static" \
|
LDFLAGS="-static" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=""
|
--prefix=
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -6,9 +6,9 @@ homepage="https://www.nongnu.org/dmidecode/"
|
||||||
download="http://download.savannah.gnu.org/releases/dmidecode/dmidecode-$version.tar.xz"
|
download="http://download.savannah.gnu.org/releases/dmidecode/dmidecode-$version.tar.xz"
|
||||||
desc="DMI table decoder"
|
desc="DMI table decoder"
|
||||||
requires="musl"
|
requires="musl"
|
||||||
|
apparch="x86_64"
|
||||||
|
|
||||||
prepbuilddir() {
|
prepbuilddir() {
|
||||||
compileonlyfor x86_64
|
|
||||||
mkandenterbuilddir
|
mkandenterbuilddir
|
||||||
rm -rf $app-$version
|
rm -rf $app-$version
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg prefix="" mandir="/share/man" sbindir="/bin"
|
make install DESTDIR=$pkg prefix= mandir="/share/man" sbindir=
|
||||||
|
|
||||||
cp LICENSE $pkgdocs/
|
cp LICENSE $pkgdocs/
|
||||||
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
Author: Giuseppe Iuculano <giuseppe@iuculano.it>
|
|
||||||
Description: Removed "p" from device name. A proper upgrade script is needed before using it.
|
|
||||||
--- dmraid/lib/format/partition/dos.c
|
|
||||||
+++ dmraid/lib/format/partition/dos.c
|
|
||||||
@@ -31,7 +31,7 @@ _name(struct lib_context *lc, struct rai
|
|
||||||
{
|
|
||||||
const char *base = get_basename(lc, rd->di->path);
|
|
||||||
|
|
||||||
- return type ? snprintf(str, len, "%s%s%u", base, OPT_STR_PARTCHAR(lc),
|
|
||||||
+ return type ? snprintf(str, len, "%s%u", base,
|
|
||||||
partition) : snprintf(str, len, "%s", base);
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
Author: Luke Yelavich <themuso@ubuntu.com>
|
|
||||||
Description: Support for checking virtio devices for dmraid metadata.
|
|
||||||
--- dmraid/lib/device/scan.c
|
|
||||||
+++ dmraid/lib/device/scan.c
|
|
||||||
@@ -174,7 +174,7 @@ interested(struct lib_context *lc, char
|
|
||||||
* Whole IDE and SCSI disks only.
|
|
||||||
*/
|
|
||||||
return (!isdigit(name[strlen(name) - 1]) &&
|
|
||||||
- (*(name + 1) == 'd' && (*name == 'h' || *name == 's')))
|
|
||||||
+ (*(name + 1) == 'd' && (*name == 'h' || *name == 's' || *name == 'v')))
|
|
||||||
#ifdef DMRAID_TEST
|
|
||||||
/*
|
|
||||||
* Include dm devices for testing.
|
|
|
@ -1,144 +0,0 @@
|
||||||
Probe isw disks with [some] HPA awareness, thanks to Robert Collins <robert@ubuntu.com>. (LP: #372170)
|
|
||||||
--- dmraid/lib/format/ataraid/isw.c
|
|
||||||
+++ dmraid/lib/format/ataraid/isw.c
|
|
||||||
@@ -353,6 +353,7 @@ raiddev(struct isw *isw, unsigned i)
|
|
||||||
enum convert { FULL, FIRST, LAST };
|
|
||||||
#if BYTE_ORDER == LITTLE_ENDIAN
|
|
||||||
# define to_cpu(x, y)
|
|
||||||
+# define CVT16(x)
|
|
||||||
#else
|
|
||||||
/*
|
|
||||||
* We can differ from the read_raid_dev template here,
|
|
||||||
@@ -547,15 +548,16 @@ disk_ok(struct lib_context *lc, struct d
|
|
||||||
}
|
|
||||||
|
|
||||||
static void *
|
|
||||||
-isw_read_metadata(struct lib_context *lc, struct dev_info *di,
|
|
||||||
- size_t * sz, uint64_t * offset, union read_info *info)
|
|
||||||
+isw_try_sboffset(struct lib_context *lc, struct dev_info *di,
|
|
||||||
+ size_t * sz, uint64_t * offset, union read_info *info,
|
|
||||||
+ uint64_t const isw_sboffset)
|
|
||||||
{
|
|
||||||
size_t size = ISW_DISK_BLOCK_SIZE;
|
|
||||||
- uint64_t isw_sboffset = ISW_CONFIGOFFSET(di);
|
|
||||||
struct isw *isw;
|
|
||||||
+ uint64_t temp_isw_sboffset = isw_sboffset;
|
|
||||||
|
|
||||||
if (!(isw = alloc_private_and_read(lc, handler, size,
|
|
||||||
- di->path, isw_sboffset)))
|
|
||||||
+ di->path, temp_isw_sboffset)))
|
|
||||||
goto out;
|
|
||||||
|
|
||||||
/*
|
|
||||||
@@ -565,9 +567,15 @@ isw_read_metadata(struct lib_context *lc
|
|
||||||
to_cpu(isw, FIRST);
|
|
||||||
|
|
||||||
/* Check Signature and read optional extended metadata. */
|
|
||||||
- if (!is_isw(lc, di, isw) ||
|
|
||||||
- !isw_read_extended(lc, di, &isw, &isw_sboffset, &size))
|
|
||||||
+ if (!is_isw(lc, di, isw)) {
|
|
||||||
+ log_dbg(lc, "not isw at %ld", isw_sboffset);
|
|
||||||
goto bad;
|
|
||||||
+ }
|
|
||||||
+ if (!isw_read_extended(lc, di, &isw, &temp_isw_sboffset, &size)) {
|
|
||||||
+ log_err(lc, "isw metadata, but extended read failed at %ld",
|
|
||||||
+ isw_sboffset);
|
|
||||||
+ goto bad;
|
|
||||||
+ }
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Now that we made sure, that we've got all the
|
|
||||||
@@ -578,6 +586,8 @@ isw_read_metadata(struct lib_context *lc
|
|
||||||
if (disk_ok(lc, di, isw)) {
|
|
||||||
*sz = size;
|
|
||||||
*offset = info->u64 = isw_sboffset;
|
|
||||||
+ log_dbg(lc, "isw metadata found at %ld from probe at %ld\n",
|
|
||||||
+ *offset, isw_sboffset);
|
|
||||||
goto out;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -589,6 +599,54 @@ out:
|
|
||||||
return (void *) isw;
|
|
||||||
}
|
|
||||||
|
|
||||||
+/* HPA on a disk shifts everything down. This is a 'works-enough' approach to
|
|
||||||
+ * handling that. There is a better long term approach requiring kernel
|
|
||||||
+ * patches - see the lkml patches for alt_size.
|
|
||||||
+ */
|
|
||||||
+static void *
|
|
||||||
+isw_try_hpa(struct lib_context *lc, struct dev_info *di,
|
|
||||||
+ size_t * sz, uint64_t * offset, union read_info *info)
|
|
||||||
+{
|
|
||||||
+ struct isw10 *isw10;
|
|
||||||
+ void *result = NULL;
|
|
||||||
+ uint64_t actual_offset;
|
|
||||||
+ if (!(isw10 = alloc_private_and_read(lc, handler, ISW_DISK_BLOCK_SIZE,
|
|
||||||
+ di->path, ISW_10_CONFIGOFFSET(di))))
|
|
||||||
+ goto out;
|
|
||||||
+ if (strncmp((const char *)isw10->sig, ISW10_SIGNATURE, ISW10_SIGNATURE_SIZE))
|
|
||||||
+ goto out_free;
|
|
||||||
+ log_dbg(lc, "Found isw 10 gafr signature.");
|
|
||||||
+ CVT16(isw10->offset);
|
|
||||||
+ actual_offset = isw10->offset + 2;
|
|
||||||
+ log_dbg(lc, "isw 10 sector offset calculated at %hd.", actual_offset);
|
|
||||||
+ if (actual_offset > di->sectors)
|
|
||||||
+ goto out_free;
|
|
||||||
+ result = isw_try_sboffset(lc, di, sz, offset, info,
|
|
||||||
+ ISW_SECTOR_TO_OFFSET(di->sectors - actual_offset));
|
|
||||||
+ out_free:
|
|
||||||
+ dbg_free(isw10);
|
|
||||||
+ out:
|
|
||||||
+ return result;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+
|
|
||||||
+static void *
|
|
||||||
+isw_read_metadata(struct lib_context *lc, struct dev_info *di,
|
|
||||||
+ size_t * sz, uint64_t * offset, union read_info *info)
|
|
||||||
+{
|
|
||||||
+ void *result;
|
|
||||||
+ if ((result = isw_try_sboffset(
|
|
||||||
+ lc, di, sz, offset, info, ISW_CONFIGOFFSET(di))))
|
|
||||||
+ return result;
|
|
||||||
+ if ((result = isw_try_hpa(lc, di, sz, offset, info)))
|
|
||||||
+ return result;
|
|
||||||
+ log_dbg(lc, "isw trying hard coded -2115 offset.");
|
|
||||||
+ if ((result = isw_try_sboffset(
|
|
||||||
+ lc, di, sz, offset, info, (di->sectors - 2115)*512)))
|
|
||||||
+ return result;
|
|
||||||
+ return NULL;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
static int setup_rd(struct lib_context *lc, struct raid_dev *rd,
|
|
||||||
struct dev_info *di, void *meta, union read_info *info);
|
|
||||||
static struct raid_dev *
|
|
||||||
--- dmraid/lib/format/ataraid/isw.h
|
|
||||||
+++ dmraid/lib/format/ataraid/isw.h
|
|
||||||
@@ -36,8 +36,11 @@
|
|
||||||
|
|
||||||
/* Intel metadata offset in bytes */
|
|
||||||
#define ISW_CONFIGSECTOR(di) ((di)->sectors - 2)
|
|
||||||
-#define ISW_CONFIGOFFSET(di) (ISW_CONFIGSECTOR(di) << 9)
|
|
||||||
+#define ISW_SECTOR_TO_OFFSET(sector) ((sector) << 9)
|
|
||||||
+#define ISW_CONFIGOFFSET(di) (ISW_SECTOR_TO_OFFSET(ISW_CONFIGSECTOR(di)))
|
|
||||||
#define ISW_DATAOFFSET 0 /* Data offset in sectors */
|
|
||||||
+#define ISW_10_CONFIGSECTOR(di) ((di)->sectors - 1)
|
|
||||||
+#define ISW_10_CONFIGOFFSET(di) (ISW_SECTOR_TO_OFFSET(ISW_10_CONFIGSECTOR(di)))
|
|
||||||
|
|
||||||
#define MPB_SIGNATURE "Intel Raid ISM Cfg Sig. "
|
|
||||||
#define MPB_SIGNATURE_SIZE (sizeof(MPB_SIGNATURE) - 1)
|
|
||||||
@@ -222,6 +225,14 @@ struct isw {
|
|
||||||
// here comes isw_dev[num_raid_devs]
|
|
||||||
} __attribute__ ((packed));
|
|
||||||
|
|
||||||
+#define ISW10_SIGNATURE "$GAFR\x10"
|
|
||||||
+#define ISW10_SIGNATURE_SIZE (sizeof(ISW10_SIGNATURE) - 1)
|
|
||||||
+struct isw10 {
|
|
||||||
+ int8_t sig[ISW10_SIGNATURE_SIZE];
|
|
||||||
+ uint32_t offset; /* offset to real data, in sectors back */
|
|
||||||
+} __attribute__ ((packed));
|
|
||||||
+
|
|
||||||
+
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int register_isw(struct lib_context *lc);
|
|
|
@ -1,12 +0,0 @@
|
||||||
Continue onto all raid sets instead of returning after processing the first. (LP: #401713)
|
|
||||||
--- dmraid/lib/metadata/metadata.c
|
|
||||||
+++ dmraid/lib/metadata/metadata.c
|
|
||||||
@@ -839,7 +839,7 @@ _discover_partitions(struct lib_context
|
|
||||||
*/
|
|
||||||
if (T_GROUP(rs)) {
|
|
||||||
_discover_partitions(lc, &rs->sets);
|
|
||||||
- return;
|
|
||||||
+ continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
|
@ -1,14 +0,0 @@
|
||||||
Fix isw raid0 incorrect sectors calculation, thanks to Valentin Pavlyuchenko
|
|
||||||
--- dmraid/lib/format/ataraid/isw.c
|
|
||||||
+++ dmraid/lib/format/ataraid/isw.c
|
|
||||||
@@ -776,7 +776,9 @@ _create_rd(struct lib_context *lc,
|
|
||||||
r->di = rd->di;
|
|
||||||
r->fmt = rd->fmt;
|
|
||||||
r->offset = dev->vol.map[0].pba_of_lba0;
|
|
||||||
- if ((r->sectors = dev->vol.map[0].blocks_per_member - RAID_DS_JOURNAL))
|
|
||||||
+ //fix bugs on ICH10R
|
|
||||||
+ //if ((r->sectors = dev->vol.map[0].blocks_per_member - RAID_DS_JOURNAL))
|
|
||||||
+ if ((r->sectors = dev->vol.map[0].blocks_per_member))
|
|
||||||
goto out;
|
|
||||||
|
|
||||||
log_zero_sectors(lc, rd->di->path, handler);
|
|
|
@ -1,20 +0,0 @@
|
||||||
---dmraid/include/dmraid/misc.h.orig
|
|
||||||
+++ dmraid/include/dmraid/misc.h
|
|
||||||
@@ -10,6 +10,7 @@
|
|
||||||
|
|
||||||
#ifndef _MISC_H_
|
|
||||||
#define _MISC_H_
|
|
||||||
+#include <fcntl.h>
|
|
||||||
|
|
||||||
#define DM_ASSERT(__cond) do { if (!(__cond)) { printf("ASSERT file:%s line:%d fuction:%s cond: %s\n", __FILE__, __LINE__, __FUNCTION__, #__cond); } } while(0);
|
|
||||||
|
|
||||||
--- dmraid/lib/device/scan.c.orig
|
|
||||||
+++ dmraid/lib/device/scan.c
|
|
||||||
@@ -10,6 +10,7 @@
|
|
||||||
# include <dirent.h>
|
|
||||||
# include <paths.h>
|
|
||||||
#else
|
|
||||||
+# include <paths.h>
|
|
||||||
# include <dirent.h>
|
|
||||||
# include <mntent.h>
|
|
||||||
#endif
|
|
|
@ -1,14 +0,0 @@
|
||||||
Source: maxice8
|
|
||||||
Upstream: no, it seems to be inactive.
|
|
||||||
Reason: fixes usage of dmraid.h under musl libc.
|
|
||||||
|
|
||||||
--- dmraid/include/dmraid/misc.h
|
|
||||||
+++ dmraid/include/dmraid/misc.h
|
|
||||||
@@ -10,6 +10,7 @@
|
|
||||||
|
|
||||||
#ifndef _MISC_H_
|
|
||||||
#define _MISC_H_
|
|
||||||
+#define _GNU_SOURCE
|
|
||||||
#include <fcntl.h>
|
|
||||||
|
|
||||||
#define DM_ASSERT(__cond) do { if (!(__cond)) { printf("ASSERT file:%s line:%d fuction:%s cond: %s\n", __FILE__, __LINE__, __FUNCTION__, #__cond); } } while(0);
|
|
|
@ -1,58 +0,0 @@
|
||||||
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
||||||
app=dmraid
|
|
||||||
version=1.0.0
|
|
||||||
build=2sml
|
|
||||||
homepage="https://people.redhat.com/~heinzm/sw/dmraid/"
|
|
||||||
download="https://people.redhat.com/~heinzm/sw/dmraid/src/dmiraid-$version.rc16-3.tar.bz2"
|
|
||||||
desc="Tool and a library to discover, configure and activate ATA RAID devices"
|
|
||||||
requires="lvm"
|
|
||||||
|
|
||||||
prepbuilddir() {
|
|
||||||
mkandenterbuilddir
|
|
||||||
rm -rf $app
|
|
||||||
|
|
||||||
tar xf $srcdir/$app"-"$version".rc16-3".tar.?z*
|
|
||||||
cd $app/$version".rc16-3"/dmraid
|
|
||||||
fixbuilddirpermissions
|
|
||||||
|
|
||||||
applypatch $srcdir/001-do_not_use_p_for_partition.patch
|
|
||||||
applypatch $srcdir/002-support_virtio_devices.patch
|
|
||||||
applypatch $srcdir/003-isw-probe-hpa.patch
|
|
||||||
applypatch $srcdir/004-activate_multiple_raid_sets.patch
|
|
||||||
applypatch $srcdir/005-fix_isw_sectors_calculation.patch
|
|
||||||
applypatch $srcdir/006-musl-libc.patch
|
|
||||||
applypatch $srcdir/007-fix-loff_t-musl.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
|
||||||
|
|
||||||
unset MAKEFLAGS CFLAGS CXXFLAGS
|
|
||||||
|
|
||||||
./configure \
|
|
||||||
--prefix="" \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--sbindir=/bin \
|
|
||||||
--enable-led \
|
|
||||||
--enable-intel_led \
|
|
||||||
--enable-shared_lib \
|
|
||||||
--disable-static_link \
|
|
||||||
$builddist
|
|
||||||
|
|
||||||
make -j1
|
|
||||||
make install DESTDIR=$pkg
|
|
||||||
|
|
||||||
cp LICENSE* $pkgdocs/
|
|
||||||
|
|
||||||
mkfinalpkg
|
|
||||||
}
|
|
||||||
|
|
||||||
sha512sums="
|
|
||||||
7c45e5117adc52fc2094b1b2bad4f4c518a46317a2196611966d72085ba3587c4ac8d1080f9d934888c01788f2b2d3d621c6f0d3e2a023c0fb1f9f3fa7fc127e dmraid-1.0.0.rc16-3.tar.bz2
|
|
||||||
df1e285f404da61f9d15c9be3fae905599fb5d03203d3cd0551421b89913361d36524f9d2ee899eac9088c35daad9e8d6280a621c6a5832eec1a9be21bd05b12 001-do_not_use_p_for_partition.patch
|
|
||||||
1486aa76066e959d800506030f37392560e4953eb23fbcb65899ce76ef8e646639d5bd7abed8d9328e9a7f8dcc005fac4312528a8afcc806d228828a5d9b3fb9 002-support_virtio_devices.patch
|
|
||||||
b679ef5ff2671a8c8aa1a12feb54cfdfa6a40cbb0aef23e49b1ea5a8f97563061f9b207eeaf06da9fbb33837d9d04a4972869adc87eb89eb459aeb1c1e7bc5ee 003-isw-probe-hpa.patch
|
|
||||||
ce120d7313f7f1b563e95fd9b81e4eb5353edf416a521d2955b0bd7a0c08ec4c0a5da4402aa1690f65d2b4464d1f5fc534ec7819b07ee8791046b25f0209a21b 004-activate_multiple_raid_sets.patch
|
|
||||||
702cb4cf0edf79dbde9185cada12462681b52bffd5f8c4eab1b594ef754c964fb6c7f711ce77e4074167d920755fe0466d284f94fb272d60ea2314f2a45ef366 005-fix_isw_sectors_calculation.patch
|
|
||||||
1335297528df24faa292e4d80a57e23e3f910b669a92370e57a97bd4df443092323a91489c2cc1f17e3b280a3a7f0386bb7fed3a157cdab7ab55686e9d5e1ae4 006-musl-libc.patch
|
|
||||||
3fe66677b7bb3a314cabcab32d35192ddd5ec70e50398a37916197eb2818debf919fe48337fe9befb3a7d7ab727cbeed976413db89585f66fed7375cf9b36ac8 007-fix-loff_t-musl.patch
|
|
||||||
"
|
|
|
@ -19,9 +19,8 @@ prepbuilddir() {
|
||||||
build() {
|
build() {
|
||||||
LDFLAGS="-static" \
|
LDFLAGS="-static" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--sbindir=/bin \
|
--sbindir=/bin \
|
||||||
--docdir="/share/doc/$app-$version" \
|
|
||||||
--enable-compat-symlinks
|
--enable-compat-symlinks
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -25,8 +25,8 @@ build() {
|
||||||
CFLAGS+=" -D__uint64_t=u_int64_t" \
|
CFLAGS+=" -D__uint64_t=u_int64_t" \
|
||||||
LDFLAGS="-static" \
|
LDFLAGS="-static" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--with-root-prefix="" \
|
--with-root-prefix= \
|
||||||
--sbindir=/bin \
|
--sbindir=/bin \
|
||||||
--disable-libblkid \
|
--disable-libblkid \
|
||||||
--disable-libuuid \
|
--disable-libuuid \
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=""
|
--prefix=
|
||||||
|
|
||||||
make CFLAGS="$CFLAGS"
|
make CFLAGS="$CFLAGS"
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--enable-static=no
|
--enable-static=no
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -19,7 +19,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--bindir=/bin \
|
--bindir=/bin \
|
||||||
--sbindir=/bin \
|
--sbindir=/bin \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
|
|
|
@ -19,7 +19,7 @@ prepbuilddir() {
|
||||||
build() {
|
build() {
|
||||||
CFLAGS+=" -std=c99" \
|
CFLAGS+=" -std=c99" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--sbindir=/bin
|
--sbindir=/bin
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -19,7 +19,7 @@ prepbuilddir() {
|
||||||
build() {
|
build() {
|
||||||
mkdir -p smbuild && cd smbuild
|
mkdir -p smbuild && cd smbuild
|
||||||
cmake .. \
|
cmake .. \
|
||||||
-DCMAKE_INSTALL_PREFIX="" \
|
-DCMAKE_INSTALL_PREFIX= \
|
||||||
-DCMAKE_INSTALL_LIBDIR=lib
|
-DCMAKE_INSTALL_LIBDIR=lib
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -18,8 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--docdir="/share/doc/$app-$version" \
|
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -19,7 +19,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
|
|
|
@ -21,10 +21,10 @@ build() {
|
||||||
|
|
||||||
# Default compile options
|
# Default compile options
|
||||||
defconfopts() {
|
defconfopts() {
|
||||||
[ "$arch" = "aarch64" ] && \
|
[[ $arch = aarch64 ]] && \
|
||||||
addconfigopts="--enable-openmp"
|
addconfigopts="--enable-openmp"
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-threads \
|
--enable-threads \
|
||||||
|
|
|
@ -23,7 +23,7 @@ build() {
|
||||||
# linking against libseccomp causes weird "Bad system call" issues
|
# linking against libseccomp causes weird "Bad system call" issues
|
||||||
CFLAGS+=" --std=c99" \
|
CFLAGS+=" --std=c99" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--datadir=/etc \
|
--datadir=/etc \
|
||||||
--enable-fsect-man5 \
|
--enable-fsect-man5 \
|
||||||
--disable-libseccomp
|
--disable-libseccomp
|
||||||
|
@ -48,6 +48,5 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
706f52abe8a4140983c03bc9403987153e3996a8bfbfd20d94f82fc7781c710a54e57b8967c8885e0ceec83f86ff0acca14b6d051b854f79df7aaa626d7068b8 file-5.39.tar.lz
|
aafc7bb8a84d64ec77b6e325868ce6149dea3fb3cb46868892c7c872dfeb7f56180cd231f2eecba4d256c7dd4936a6886de56b1ef3d69874ce798c1e49b91c05 file-5.44.tar.lz
|
||||||
26c3b9c7a6950649d0b2de896bfeca54289febe4cd487c0f91aa6ff1857fa49f9077f8738a17b86100125668a31dae05b586615c564f78da47ac20a1e4a74f63 file-5.44.tar.gz
|
|
||||||
"
|
"
|
|
@ -22,7 +22,7 @@ prepbuilddir() {
|
||||||
build() {
|
build() {
|
||||||
LDFLAGS="-static" \
|
LDFLAGS="-static" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--libexecdir=/lib
|
--libexecdir=/lib
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -17,15 +17,14 @@ prepbuilddir() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
if [[ $arch == "aarch64" ]] ; then
|
if [[ $arch == aarch64 ]] ; then
|
||||||
sseopts="--disable-sse"
|
sseopts="--disable-sse"
|
||||||
else
|
else
|
||||||
sseopts="--enable-sse"
|
sseopts="--enable-sse"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--docdir="/share/doc/$app-$version" \
|
|
||||||
$sseopts
|
$sseopts
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -19,8 +19,7 @@ prepbuilddir() {
|
||||||
build() {
|
build() {
|
||||||
CPPFLAGS="$CFLAGS -DSTDC_HEADERS" \
|
CPPFLAGS="$CFLAGS -DSTDC_HEADERS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--docdir="/share/doc/$app-$version" \
|
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -20,8 +20,7 @@ build() {
|
||||||
mkdir -p smbuild && cd smbuild
|
mkdir -p smbuild && cd smbuild
|
||||||
cmake .. \
|
cmake .. \
|
||||||
-DCMAKE_INSTALL_PREFIX="" \
|
-DCMAKE_INSTALL_PREFIX="" \
|
||||||
-DCMAKE_INSTALL_LIBDIR="/lib" \
|
-DCMAKE_INSTALL_LIBDIR="lib" \
|
||||||
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
|
|
||||||
-DBUILD_SHARED_LIBS=ON \
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
-DFMT_TEST=OFF \
|
-DFMT_TEST=OFF \
|
||||||
-Wno-dev
|
-Wno-dev
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
7
base/ftjam/ftjam-2.5.3-clang16.patch
Normal file
7
base/ftjam/ftjam-2.5.3-clang16.patch
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
https://bugs.gentoo.org/870655
|
||||||
|
--- a/jam.h
|
||||||
|
+++ b/jam.h
|
||||||
|
@@ -382,2 +382,3 @@
|
||||||
|
# include <string.h>
|
||||||
|
+# include <unistd.h>
|
||||||
|
# include <time.h>
|
59
base/ftjam/ftjam-2.5.3-false-flags.patch
Normal file
59
base/ftjam/ftjam-2.5.3-false-flags.patch
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
Respect CC, *FLAGS. Add datarootdir for autoconf-2.60 warnings.
|
||||||
|
|
||||||
|
--- ftjam-2.5.3rc2-orig/builds/unix/Makefile.in
|
||||||
|
+++ ftjam-2.5.3rc2/builds/unix/Makefile.in
|
||||||
|
@@ -37,6 +37,7 @@ exec_prefix := @exec_prefix@
|
||||||
|
libdir := @libdir@
|
||||||
|
bindir := @bindir@
|
||||||
|
includedir := @includedir@
|
||||||
|
+datarootdir := @datarootdir@
|
||||||
|
datadir := @datadir@
|
||||||
|
|
||||||
|
version_info := @version_info@
|
||||||
|
--- ftjam-2.5.3rc2-orig/jambase.c
|
||||||
|
+++ ftjam-2.5.3rc2/jambase.c
|
||||||
|
@@ -652,21 +652,21 @@ const char *jambase[] = {
|
||||||
|
"\n",
|
||||||
|
"AR ?= ar ru ;\n",
|
||||||
|
"AS ?= as ;\n",
|
||||||
|
-"ASFLAGS ?= ;\n",
|
||||||
|
+"ASFLAGS += $(ASFLAGS) ;\n",
|
||||||
|
"AWK ?= awk ;\n",
|
||||||
|
"BINDIR ?= /usr/local/bin ;\n",
|
||||||
|
-"C++ ?= cc ;\n",
|
||||||
|
-"C++FLAGS ?= ;\n",
|
||||||
|
-"CC ?= cc ;\n",
|
||||||
|
-"CCFLAGS ?= ;\n",
|
||||||
|
+"C++ ?= $(CXX) ;\n",
|
||||||
|
+"C++FLAGS += $(CXXFLAGS) ;\n",
|
||||||
|
+"CC ?= $(CC) ;\n",
|
||||||
|
+"CCFLAGS += $(CFLAGS) ;\n",
|
||||||
|
"CP ?= cp -f ;\n",
|
||||||
|
"CRELIB ?= ;\n",
|
||||||
|
"DOT ?= . ;\n",
|
||||||
|
"DOTDOT ?= .. ;\n",
|
||||||
|
"EXEMODE ?= 711 ;\n",
|
||||||
|
"FILEMODE ?= 644 ;\n",
|
||||||
|
-"FORTRAN ?= f77 ;\n",
|
||||||
|
-"FORTRANFLAGS ?= ;\n",
|
||||||
|
+"FORTRAN ?= $(F77) ;\n",
|
||||||
|
+"FORTRANFLAGS += $(FFLAGS) ;\n",
|
||||||
|
"HDRS ?= ;\n",
|
||||||
|
"INSTALLGRIST ?= installed ;\n",
|
||||||
|
"JAMFILE ?= Jamfile ;\n",
|
||||||
|
@@ -674,13 +674,13 @@ const char *jambase[] = {
|
||||||
|
"LEX ?= ;\n",
|
||||||
|
"LIBDIR ?= /usr/local/lib ;\n",
|
||||||
|
"LINK ?= $(CC) ;\n",
|
||||||
|
-"LINKFLAGS ?= ;\n",
|
||||||
|
+"LINKFLAGS += $(LDFLAGS) ;\n",
|
||||||
|
"LINKLIBS ?= ;\n",
|
||||||
|
"LN ?= ln ;\n",
|
||||||
|
"MANDIR ?= /usr/local/man ;\n",
|
||||||
|
"MKDIR ?= mkdir ;\n",
|
||||||
|
"MV ?= mv -f ;\n",
|
||||||
|
-"OPTIM ?= ;\n",
|
||||||
|
+"OPTIM = ;\n",
|
||||||
|
"RCP ?= rcp ;\n",
|
||||||
|
"RM ?= rm -f ;\n",
|
||||||
|
"RMDIR ?= $(RM) ;\n",
|
54
base/ftjam/ftjam-2.5.3-i-hate-yacc.patch
Normal file
54
base/ftjam/ftjam-2.5.3-i-hate-yacc.patch
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
diff -Naurp ftjam-2.5.3rc2-orig/Jambase ftjam-2.5.3rc2/Jambase
|
||||||
|
--- ftjam-2.5.3rc2-orig/Jambase 2007-06-05 08:20:19.000000000 -0600
|
||||||
|
+++ ftjam-2.5.3rc2/Jambase 2008-07-21 19:26:02.000000000 -0600
|
||||||
|
@@ -813,7 +813,7 @@ else if $(UNIX)
|
||||||
|
LINKLIBS ?= ;
|
||||||
|
OPTIM ?= -O ;
|
||||||
|
RANLIB ?= ranlib ;
|
||||||
|
- YACC ?= yacc ;
|
||||||
|
+ YACC ?= bison -y ;
|
||||||
|
YACCGEN ?= .c ;
|
||||||
|
YACCFILES ?= y.tab ;
|
||||||
|
YACCFLAGS ?= -d ;
|
||||||
|
@@ -882,10 +882,10 @@ DC ?= dmd ;
|
||||||
|
SUFLIB ?= .a ;
|
||||||
|
SUFOBJ ?= .o ;
|
||||||
|
UNDEFFLAG ?= "-u _" ;
|
||||||
|
- YACC ?= ;
|
||||||
|
- YACCGEN ?= ;
|
||||||
|
- YACCFILES ?= ;
|
||||||
|
- YACCFLAGS ?= ;
|
||||||
|
+ YACC ?= bison -y ;
|
||||||
|
+ YACCGEN ?= .c ;
|
||||||
|
+ YACCFILES ?= y.tab ;
|
||||||
|
+ YACCFLAGS ?= -d ;
|
||||||
|
|
||||||
|
HDRPATTERN =
|
||||||
|
"^[ ]*#[ ]*include[ ]*[<\"]([^\">]*)[\">].*$" ;
|
||||||
|
diff -Naurp ftjam-2.5.3rc2-orig/jambase.c ftjam-2.5.3rc2/jambase.c
|
||||||
|
--- ftjam-2.5.3rc2-orig/jambase.c 2007-06-05 08:31:08.000000000 -0600
|
||||||
|
+++ ftjam-2.5.3rc2/jambase.c 2008-07-21 19:27:55.000000000 -0600
|
||||||
|
@@ -632,7 +632,7 @@ const char *jambase[] = {
|
||||||
|
"LINKLIBS ?= ;\n",
|
||||||
|
"OPTIM ?= -O ;\n",
|
||||||
|
"RANLIB ?= ranlib ;\n",
|
||||||
|
-"YACC ?= yacc ;\n",
|
||||||
|
+"YACC ?= bison -y ;\n",
|
||||||
|
"YACCGEN ?= .c ;\n",
|
||||||
|
"YACCFILES ?= y.tab ;\n",
|
||||||
|
"YACCFLAGS ?= -d ;\n",
|
||||||
|
@@ -695,10 +695,10 @@ const char *jambase[] = {
|
||||||
|
"SUFLIB ?= .a ;\n",
|
||||||
|
"SUFOBJ ?= .o ;\n",
|
||||||
|
"UNDEFFLAG ?= \"-u _\" ;\n",
|
||||||
|
-"YACC ?= ;\n",
|
||||||
|
-"YACCGEN ?= ;\n",
|
||||||
|
-"YACCFILES ?= ;\n",
|
||||||
|
-"YACCFLAGS ?= ;\n",
|
||||||
|
+"YACC ?= bison -y ;\n",
|
||||||
|
+"YACCGEN ?= .c ;\n",
|
||||||
|
+"YACCFILES ?= y.tab ;\n",
|
||||||
|
+"YACCFLAGS ?= -d ;\n",
|
||||||
|
"\n",
|
||||||
|
"HDRPATTERN =\n",
|
||||||
|
"\"^[ ]*#[ ]*include[ ]*[<\\\"]([^\\\">]*)[\\\">].*$\" ;\n",
|
40
base/ftjam/ftjam-2.5.3-nostrip.patch
Normal file
40
base/ftjam/ftjam-2.5.3-nostrip.patch
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
diff -Naur ftjam-2.5.3rc2-orig/Jamfile ftjam-2.5.3rc2/Jamfile
|
||||||
|
--- ftjam-2.5.3rc2-orig/Jamfile 2007-06-05 08:30:52.000000000 -0600
|
||||||
|
+++ ftjam-2.5.3rc2/Jamfile 2007-06-10 12:55:03.000000000 -0600
|
||||||
|
@@ -138,16 +138,6 @@
|
||||||
|
LinkLibraries jam : libjam.a ;
|
||||||
|
GenFile jambase.c : mkjambase Jambase ;
|
||||||
|
|
||||||
|
-if $(UNIX) && ! $(DEBUG)
|
||||||
|
-{
|
||||||
|
- actions Strip
|
||||||
|
- {
|
||||||
|
- strip $(1)
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- Strip jam ;
|
||||||
|
-}
|
||||||
|
-
|
||||||
|
Library libjam.a :
|
||||||
|
builtins.c command.c compile.c $(code) expand.c
|
||||||
|
glob.c hash.c headers.c lists.c make.c make1.c
|
||||||
|
@@ -156,19 +146,6 @@
|
||||||
|
hdrmacro.c rope.c
|
||||||
|
;
|
||||||
|
|
||||||
|
-# Strip the Jam executable on Mingw
|
||||||
|
-#
|
||||||
|
-if $(JAM_TOOLSET) = MINGW
|
||||||
|
-{
|
||||||
|
- actions Strip
|
||||||
|
- {
|
||||||
|
- strip $(1)
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- Strip jam$(SUFEXE) ;
|
||||||
|
-}
|
||||||
|
-
|
||||||
|
-
|
||||||
|
if $(BINDIR) { InstallBin $(BINDIR) : jam ; }
|
||||||
|
|
||||||
|
#
|
40
base/ftjam/ftjam.SMBuild
Executable file
40
base/ftjam/ftjam.SMBuild
Executable file
|
@ -0,0 +1,40 @@
|
||||||
|
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
||||||
|
app=ftjam
|
||||||
|
version=2.5.3
|
||||||
|
build=1sml
|
||||||
|
homepage="https://www.freetype.org/jam/"
|
||||||
|
download="http://dk.archive.ubuntu.com/pub/mirrors/exherbo/ftjam-2.5.3rc2.tar.bz2"
|
||||||
|
desc="Program construction tool like make"
|
||||||
|
requires="musl"
|
||||||
|
|
||||||
|
prepbuilddir() {
|
||||||
|
mkandenterbuilddir
|
||||||
|
rm -rf $app-$version"rc2"
|
||||||
|
|
||||||
|
tar xf $srcdir/$app-$version"rc2".tar.?z*
|
||||||
|
cd $app-$version"rc2"
|
||||||
|
fixbuilddirpermissions
|
||||||
|
|
||||||
|
applypatch $srcdir/ftjam-2.5.3-clang16.patch
|
||||||
|
applypatch $srcdir/ftjam-2.5.3-false-flags.patch
|
||||||
|
applypatch $srcdir/ftjam-2.5.3-i-hate-yacc.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
./configure \
|
||||||
|
--prefix= \
|
||||||
|
$builddist
|
||||||
|
|
||||||
|
make
|
||||||
|
make install DESTDIR="$pkg"
|
||||||
|
|
||||||
|
mkfinalpkg
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
18a40c6741493adf293f032d9c7a9ab419402505a37993fa859e36e7a1655ec9d3d07662e6ee242487b143aa7e0f6c46f253bc7e23c3162c7381aaced001bfcd ftjam-2.5.3rc2.tar.bz2
|
||||||
|
30171a78036c34e290d9c880d0f3c0693a372ae4e4d72d549ee508bee6434cba7930ff90100bc26ab79f0d477e7a36935aa0e18c513598d2af7e2e8e452a0141 ftjam-2.5.3-clang16.patch
|
||||||
|
b9b97127c6a5d89759563cd4a1e4f87ed911610b70bbfff309105ab733290f74087bd0eb066eaad860be5624573ad2dfc1245eb45347c2d1c9800033c35e5c0a ftjam-2.5.3-false-flags.patch
|
||||||
|
e02948ccccb963ddfeb777c217efafaf19239cacff80514c167166ec666a6301b90e1a86a2b97ab58fee006f509106cc0e3dacbbde822efd0db2b9f5f4645be8 ftjam-2.5.3-i-hate-yacc.patch
|
||||||
|
6d8b399f8a4047c34b1315a230cf47e8ab76c7fbad9089fd4c3c18b2ba7fbb2f3ecbcb2d3a1075f0d95d36e547490de345167ba55fed75221b2b8162796ccc25 ftjam-2.5.3-nostrip.patch
|
||||||
|
"
|
|
@ -20,7 +20,7 @@ build() {
|
||||||
INIT_D_PATH="/etc/rc.d" \
|
INIT_D_PATH="/etc/rc.d" \
|
||||||
MOUNT_FUSE_PATH="/bin" \
|
MOUNT_FUSE_PATH="/bin" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--sbindir=/bin \
|
--sbindir=/bin \
|
||||||
--enable-lib \
|
--enable-lib \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
||||||
app=gawk
|
app=gawk
|
||||||
version=4.2.1
|
version=5.2.2
|
||||||
build=2sml
|
build=1sml
|
||||||
homepage="https://www.gnu.org/software/gawk/"
|
homepage="https://www.gnu.org/software/gawk/"
|
||||||
download="https://ftp.gnu.org/gnu/gawk/gawk-$version.tar.xz"
|
download="https://ftp.gnu.org/gnu/gawk/gawk-$version.tar.xz"
|
||||||
desc="POSIX-compliant pattern scanning and processing language"
|
desc="POSIX-compliant pattern scanning and processing language"
|
||||||
|
@ -19,7 +19,7 @@ prepbuilddir() {
|
||||||
build() {
|
build() {
|
||||||
LDFLAGS="-static" \
|
LDFLAGS="-static" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--libexecdir=/lib \
|
--libexecdir=/lib \
|
||||||
--without-mpfr \
|
--without-mpfr \
|
||||||
--without-readline
|
--without-readline
|
||||||
|
@ -33,5 +33,5 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
0bf7ccefea01f6249e2da3299f0478421113adb6a827272fc08b02f2691754f3a2de28478681fd97944286c2495decc7dedc99bec11bcb7ee12ea17cf246e296 gawk-4.2.1.tar.lz
|
90611e4daba7226d5ce8230843bf479dc71c0101740c005d851ef7c5b935b6cd4c42089b858abc1619adc05ed25fc7234f993690a76d2ea0b8e61bcbb7dc5a58 gawk-5.2.2.tar.xz
|
||||||
"
|
"
|
|
@ -19,7 +19,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--with-system-zlib \
|
--with-system-zlib \
|
||||||
--disable-sim
|
--disable-sim
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -18,8 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--docdir="/share/doc/$app-$version" \
|
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-java
|
--disable-java
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
make CFLAGS="$CFLAGS"
|
make CFLAGS="$CFLAGS"
|
||||||
make install DESTDIR=$pkg PREFIX="/"
|
make install DESTDIR="$pkg" PREFIX=/
|
||||||
|
|
||||||
cp COPYING $pkgdocs/
|
cp COPYING $pkgdocs/
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
make CC="$CC" $MAKEFLAGS CFLAGS="$CFLAGS" \
|
make CC="$CC" $MAKEFLAGS CFLAGS="$CFLAGS" \
|
||||||
prefix="/" gitexecdir="/lib/git-core" \
|
prefix="" gitexecdir="/lib/git-core" \
|
||||||
NO_TCLTK=1 NO_PYTHON=1 NO_EXPAT=1 NO_GETTEXT=1 \
|
NO_TCLTK=1 NO_PYTHON=1 NO_EXPAT=1 NO_GETTEXT=1 \
|
||||||
NO_REGEX=NeedsStartEnd \
|
NO_REGEX=NeedsStartEnd \
|
||||||
DESTDIR="$pkg" all install install-man
|
DESTDIR="$pkg" all install install-man
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
||||||
app=glib
|
app=glib
|
||||||
version=2.70.3
|
version=2.76.3
|
||||||
build=2sml
|
build=1sml
|
||||||
homepage="https://gitlab.gnome.org/GNOME/glib"
|
homepage="https://gitlab.gnome.org/GNOME/glib"
|
||||||
download="https://download.gnome.org/sources/glib/2.66/glib-$version.tar.xz"
|
download="https://download.gnome.org/sources/glib/2.66/glib-$version.tar.xz"
|
||||||
desc="library of C routines"
|
desc="library of C routines"
|
||||||
|
@ -19,7 +19,7 @@ prepbuilddir() {
|
||||||
build() {
|
build() {
|
||||||
mkdir -p smbuild && cd smbuild
|
mkdir -p smbuild && cd smbuild
|
||||||
|
|
||||||
meson .. --prefix="/" \
|
meson .. --prefix=/ \
|
||||||
-Dman=false \
|
-Dman=false \
|
||||||
-Dgtk_doc=false \
|
-Dgtk_doc=false \
|
||||||
-Dselinux=disabled \
|
-Dselinux=disabled \
|
||||||
|
@ -34,5 +34,5 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
993853772132feb0844e868408fa0ee803d4dad5e0827ed6410105b8746c05440313a9514d3b8d87385fe5133aacc2ff1e3e6418c0ce69c8f69f2977733f623c glib-2.70.3.tar.lz
|
25b6efe33ad206f05c3bd3981fe58c3cb6b399dae9fc4b31160a241fbbdb114c594a3d9d2f408b7b0965011177b7bb141fe52f32e0e66551b719d012ba7daef3 glib-2.76.3.tar.lz
|
||||||
"
|
"
|
||||||
|
|
|
@ -20,9 +20,11 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-static
|
--disable-static \
|
||||||
|
--without-tests \
|
||||||
|
--without-examples
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
@ -35,4 +37,4 @@ build() {
|
||||||
sha512sums="
|
sha512sums="
|
||||||
4125216628b99820eb1ee333c641d6db55944465bf97f8b6060da72027d2e76e6c9758cc3383c159780eef778fab5a6f5203b4e3d71c1a566574608e00116e62 gloox-1.0.22.tar.lz
|
4125216628b99820eb1ee333c641d6db55944465bf97f8b6060da72027d2e76e6c9758cc3383c159780eef778fab5a6f5203b4e3d71c1a566574608e00116e62 gloox-1.0.22.tar.lz
|
||||||
b30ddcfea7817a4426ad38febe9f16f1db2d4552710d7e02dbe69674ab6a06f9b26678f3f2a0d07bf6f08f16724387fff2b1b3deec76bdd6742b270a3366c8de gloox-musl.patch
|
b30ddcfea7817a4426ad38febe9f16f1db2d4552710d7e02dbe69674ab6a06f9b26678f3f2a0d07bf6f08f16724387fff2b1b3deec76bdd6742b270a3366c8de gloox-musl.patch
|
||||||
"
|
"
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-mono \
|
--disable-mono \
|
||||||
--disable-introspection
|
--disable-introspection
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--with-pic \
|
--with-pic \
|
||||||
--enable-cxx \
|
--enable-cxx \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
|
@ -6,9 +6,9 @@ homepage="https://sourceforge.net/projects/gnu-efi/"
|
||||||
download="https://sourceforge.net/projects/gnu-efi/files/gnu-efi-$version.tar.bz2"
|
download="https://sourceforge.net/projects/gnu-efi/files/gnu-efi-$version.tar.bz2"
|
||||||
desc="library to develop applications using GNU toolchain and EFI dev environment"
|
desc="library to develop applications using GNU toolchain and EFI dev environment"
|
||||||
requires="libelf-compat"
|
requires="libelf-compat"
|
||||||
|
apparch="x86_64"
|
||||||
|
|
||||||
prepbuilddir() {
|
prepbuilddir() {
|
||||||
compileonlyfor x86_64
|
|
||||||
mkandenterbuilddir
|
mkandenterbuilddir
|
||||||
rm -rf $app-$version
|
rm -rf $app-$version
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
make PREFIX="/" INSTALLROOT="$pkg" -j1 all install
|
make PREFIX=/ INSTALLROOT="$pkg" -j1 all install
|
||||||
|
|
||||||
mkfinalpkg
|
mkfinalpkg
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
||||||
app=gnupg2
|
app=gnupg2
|
||||||
version=2.2.20
|
version=2.2.41
|
||||||
build=2sml
|
build=1sml
|
||||||
homepage="https://gnupg.org/"
|
homepage="https://gnupg.org/"
|
||||||
download="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-$version.tar.bz2"
|
download="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-$version.tar.bz2"
|
||||||
desc="The GNU Privacy Guard version 2.x"
|
desc="The GNU Privacy Guard version 2.x"
|
||||||
|
@ -18,9 +18,8 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--sbindir=/bin \
|
--sbindir=/bin
|
||||||
--docdir="/share/doc/$app-$version"
|
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
@ -31,5 +30,5 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
f73470e4e17bf634e8cc5d680492df21a166c0b1b6ad352c4c0115e7f95c7347bed07b662d0a52ac201f86681db6deeb01b3fda81120f3326d51fe604ff12916 gnupg-2.2.20.tar.lz
|
f472e5058ea9881355f0c754a47acd0b5360c36e8976b8563dbc763a7cef792bf88227cc15fe5172d3e9bb9fc34d8448dd5c183949031e91a1997cc7f0f83b55 gnupg-2.2.41.tar.bz2
|
||||||
"
|
"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
||||||
app=gnutls
|
app=gnutls
|
||||||
version=3.6.16
|
version=3.8.0
|
||||||
build=1sml
|
build=2sml
|
||||||
homepage="https://www.gnutls.org/"
|
homepage="https://www.gnutls.org/"
|
||||||
download="https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-$version.tar.xz"
|
download="https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-$version.tar.xz"
|
||||||
desc="GNU TLS 1.0 and SSL 3.0 implementation"
|
desc="GNU TLS 1.0 and SSL 3.0 implementation"
|
||||||
|
@ -18,10 +18,9 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="/" \
|
--prefix= \
|
||||||
--disable-openssl-compatibility \
|
--enable-openssl-compatibility \
|
||||||
--disable-static \
|
--disable-static
|
||||||
--without-p11-kit
|
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
@ -32,5 +31,5 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
191b95e0b7921a145fd70dc640d678d6de066a64da134e651fa7ac5369faf9e4b36617c7fd57ae98face76317b9c98c19e5a83f31bccd1676c464fb6735e95c2 gnutls-3.6.16.tar.lz
|
3d018db58a429aa63db82f4feb1aea62f80a216c6f3f7ccf581f98ea894dd86dbf8435a867191d906a8db9e5b4e3bd2632b02eb9bc53ab4af49e641a1f70a796 gnutls-3.8.0.tar.lz
|
||||||
"
|
"
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=""
|
--prefix=
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
||||||
app=gpgme
|
app=gpgme
|
||||||
version=1.13.1
|
version=1.20.0
|
||||||
build=2sml
|
build=1sml
|
||||||
homepage="https://gnupg.org/software/gpgme/index.html"
|
homepage="https://gnupg.org/software/gpgme/index.html"
|
||||||
download="https://gnupg.org/ftp/gcrypt/gpgme/gpgme-$version.tar.bz2"
|
download="https://gnupg.org/ftp/gcrypt/gpgme/gpgme-$version.tar.bz2"
|
||||||
desc="C language library to easily add crypto to a program"
|
desc="C language library to easily add crypto to a program"
|
||||||
|
@ -33,5 +33,5 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
cf3e44b4f6ded9c486f37bafa3d059863a177f01d6e3a635abe90ce8af23a5f6ee86eee854c313e90c5506be9a78bee4e2ed3fa24faa887c8f8c19895613d0b1 gpgme-1.13.1.tar.lz
|
82dfd272edd4adab09e8428bf809c13eeb50a4a7d2397c41d29ffa3832c4f46054ad75eb053fbcc876ebbf78bb8bcf71d95bc9dad68f4b326492ea513dd5b606 gpgme-1.20.0.tar.bz2
|
||||||
"
|
"
|
|
@ -19,7 +19,7 @@ prepbuilddir() {
|
||||||
build() {
|
build() {
|
||||||
LDFLAGS="-static" \
|
LDFLAGS="-static" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--bindir=/bin
|
--bindir=/bin
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--without-x
|
--without-x
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -20,7 +20,7 @@ build() {
|
||||||
mkdir -p smbuild && cd smbuild
|
mkdir -p smbuild && cd smbuild
|
||||||
|
|
||||||
meson .. \
|
meson .. \
|
||||||
--prefix="/" \
|
--prefix=/ \
|
||||||
--buildtype=plain \
|
--buildtype=plain \
|
||||||
-Dintrospection=disabled
|
-Dintrospection=disabled
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ prepbuilddir() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
python3 setup.py install --prefix="" --root="$pkg"
|
python3 setup.py install --root="$pkg"
|
||||||
|
|
||||||
cp LICENSE $pkgdocs/
|
cp LICENSE $pkgdocs/
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=""
|
--prefix=
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--bindir=/bin \
|
--bindir=/bin \
|
||||||
--sbindir=/bin \
|
--sbindir=/bin \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg mandir="/share/man" sbindir="/bin"
|
make install mandir="/share/man" sbindir="/bin" DESTDIR="$pkg"
|
||||||
|
|
||||||
cp LICENSE.TXT $pkgdocs/
|
cp LICENSE.TXT $pkgdocs/
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
make
|
make
|
||||||
make install PREFIX="/" doc_dir="/share/doc/$app-$version" DESTDIR=$pkg
|
make install PREFIX= DESTDIR=$pkg
|
||||||
|
|
||||||
cp COPYING $pkgdocs/
|
cp COPYING $pkgdocs/
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ build() {
|
||||||
# enabling unicode causes this error:
|
# enabling unicode causes this error:
|
||||||
# Meter.c:415:54: error: 'cchar_t' {aka 'const struct <anonymous>'} has no member named 'attr'
|
# Meter.c:415:54: error: 'cchar_t' {aka 'const struct <anonymous>'} has no member named 'attr'
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--bindir=/bin \
|
--bindir=/bin \
|
||||||
--disable-unicode \
|
--disable-unicode \
|
||||||
--enable-sensors \
|
--enable-sensors \
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -30,7 +30,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
$builddist
|
$builddist
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--mandir=/share/man \
|
--mandir=/share/man \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
|
|
|
@ -1,37 +0,0 @@
|
||||||
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
||||||
app=iniparser
|
|
||||||
version=4.1
|
|
||||||
build=1sml
|
|
||||||
homepage="https://github.com/ndevilla/iniparser"
|
|
||||||
download="https://github.com/ndevilla/iniparser/archive/refs/tags/v$version.tar.gz"
|
|
||||||
desc="Stand-alone ini file parsing library written in ANSI C"
|
|
||||||
requires="musl"
|
|
||||||
|
|
||||||
prepbuilddir() {
|
|
||||||
mkandenterbuilddir
|
|
||||||
rm -rf $app-$version
|
|
||||||
|
|
||||||
tar xf $srcdir/$app-$version.tar.?z*
|
|
||||||
cd $app-$version
|
|
||||||
fixbuilddirpermissions
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
|
||||||
make
|
|
||||||
|
|
||||||
install -Dm 644 src/iniparser.h $pkg/include/iniparser.h
|
|
||||||
install -Dm 644 src/dictionary.h $pkg/include/dictionary.h
|
|
||||||
install -Dm 644 libiniparser.so.1 $pkg/lib/libiniparser.so.1
|
|
||||||
cp LICENSE $pkgdocs/
|
|
||||||
|
|
||||||
(
|
|
||||||
cd $pkg/lib ; ln -s libiniparser.so.1 libiniparser.so
|
|
||||||
chrpath $pkg/lib/libiniparser.so.1
|
|
||||||
)
|
|
||||||
|
|
||||||
mkfinalpkg
|
|
||||||
}
|
|
||||||
|
|
||||||
sha512sums="
|
|
||||||
19780c1bd520a867bf68cb2c156257fb45355b1677e3bc601fea64b5edb01f6b351ce9f6f68f0db56f962a7cc25a3c64008501d137c7c4fb2192ffacfeac595a iniparser-4.1.tar.lz
|
|
||||||
"
|
|
|
@ -20,7 +20,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=""
|
--prefix=
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
|
@ -18,7 +18,7 @@ prepbuilddir() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="" \
|
--prefix= \
|
||||||
--sbindir=/bin \
|
--sbindir=/bin \
|
||||||
--disable-nftables
|
--disable-nftables
|
||||||
|
|
||||||
|
|
|
@ -19,13 +19,12 @@ prepbuilddir() {
|
||||||
build() {
|
build() {
|
||||||
# this software is so stupid, it doesn't make a basic msgfmt file check,
|
# this software is so stupid, it doesn't make a basic msgfmt file check,
|
||||||
# which is part of gettext.
|
# which is part of gettext.
|
||||||
if [ ! -x /bin/msgfmt ]; then
|
if [[ ! -x /bin/msgfmt ]]; then
|
||||||
echo "ERROR! msgfmt, part of gettext, not found!"
|
err "/bin/msgfmt, part of gettext, not found!"
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=""
|
--prefix=
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$pkg
|
make install DESTDIR=$pkg
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue