diff --git a/dev/util/pkgconf/ympbuild b/dev/util/pkgconf/ympbuild index 05bc19ea..f12c7c68 100644 --- a/dev/util/pkgconf/ympbuild +++ b/dev/util/pkgconf/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='pkgconf' -release='4' -version='2.5.1' +release='5' +version='2.9.93' url='https://github.com/pkgconf/pkgconf/tags' description='Package compiler and linker metadata toolkit' email='aliriza.keskin@pardus.org.tr' @@ -13,7 +13,7 @@ source=("https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-$version.t ) depends=( ) makedepends=( ) -sha256sums=('79721badcad1987dead9c3609eb4877ab9b58821c06bdacb824f2c8897c11f2a' +sha256sums=('b9632d0d91321f56645de720fd8cd3584b0d0ca8ff13a3d9d5285888869fcc98' 'SKIP' 'SKIP') uses=() diff --git a/sys/auth/suidless-su/ympbuild b/sys/auth/suidless-su/ympbuild index d504f0ab..1eff6bb5 100644 --- a/sys/auth/suidless-su/ympbuild +++ b/sys/auth/suidless-su/ympbuild @@ -1,7 +1,7 @@ #!/usr/bin/env bash name='suidless-su' -release='1' -version='1.0.0' +release='2' +version='1.1.0' url='https://gitlab.com/turkmen-linux/devel/sources/suidless-su' description='su command replacement. No suid bit required.' email='aliriza.keskin@pardus.org.tr' @@ -10,7 +10,7 @@ license=('GPLv3') source=("https://gitlab.com/turkmen-linux/devel/sources/suidless-su/-/archive/$version/suidless-su-$version.tar.gz") depends=() makedepends=() -sha256sums=('17623cb0dc18d5de0b40b8e7818b451326166f1887f01044285b30a4f683593d') +sha256sums=('538c909c2ccfc5494cc49d46e2b4c6ed0a496da4380e5dc07ce1110e0b9c82a8') group=(sys.auth) uses=() arch=('x86_64') diff --git a/sys/base/busybox/ympbuild b/sys/base/busybox/ympbuild index bc21947d..874cc15a 100644 --- a/sys/base/busybox/ympbuild +++ b/sys/base/busybox/ympbuild @@ -1,7 +1,7 @@ #!/bin/bash name=busybox -version=1.37.0 -release=3 +version=1.38.0 +release=4 url='https://busybox.net' description='BusyBox is a software suite that provides several Unix utilities in a single executable file.' email='parduscix@yandex.ru' @@ -12,15 +12,10 @@ group=(sys.base) makedepends=(musl) source=("https://busybox.net/downloads/busybox-$version.tar.bz2" "files/busybox.sysconf" - "files/busybox.initramfs" "files/udhcpc.openrc" "files/udhcpc.script" - "data-user.patch" - "busybox-1.36.1-kernel-6.8.patch" ) -sha256sums=("3311dff32e746499f4df0d5df04d7eb396382d7e108bb9250e7b519b837043a4" - "SKIP" - "SKIP" +sha256sums=("34f9ea6ff8636f2c9241153b9114eefa9e65674a45318ae1ef95bb5f31c53bb2" "SKIP" "SKIP" "SKIP" @@ -30,19 +25,22 @@ sha256sums=("3311dff32e746499f4df0d5df04d7eb396382d7e108bb9250e7b519b837043a4" export PATH=$PATH:/usr/bin/core_perl cd $name-$version +export CFLAGS="-Wno-all -Os -s" +export LDFLAGS="-fno-link-libatomic" + prepare(){ - for tool in ar strip ; do + for tool in ar strip ld; do ln -s /usr/bin/$tool ../musl-$tool done - patch -Np1 -i ../data-user.patch - patch -Np1 -i ../busybox-1.36.1-kernel-6.8.patch + sed -i 's|/home|/data/user|g' loginutils/adduser.c } setup(){ make defconfig sed -i "s|.*CONFIG_STATIC_LIBGCC .*|CONFIG_STATIC_LIBGCC=y|" .config + sed -i "s|CONFIG_TC=.*|# CONFIG_TC is not set|" .config sed -i "s|.*CONFIG_STATIC .*|CONFIG_STATIC=y|" .config - echo 'CONFIG_CROSS_COMPILER_PREFIX="musl-"' >> .config + sed -i 's|CONFIG_CROSS_COMPILER_PREFIX=.*|CONFIG_CROSS_COMPILER_PREFIX="musl-"|' .config } @@ -54,8 +52,6 @@ package(){ mkdir -p ${DESTDIR}/bin/ ${DESTDIR}/etc/sysconf.d ${DESTDIR}/usr/share/initramfs-tools/{hooks,conf-hooks.d}/ install busybox ${DESTDIR}/bin/busybox install ../busybox.sysconf ${DESTDIR}/etc/sysconf.d/busybox - install ../busybox.initramfs ${DESTDIR}/usr/share/initramfs-tools/hooks/zz-busybox - echo "BUSYBOXDIR=/bin" > ${DESTDIR}/usr/share/initramfs-tools/conf-hooks.d/busybox # install udhcpc script and service mkdir -p ${DESTDIR}/usr/share/udhcpc/ ${DESTDIR}/etc/init.d/ install ../udhcpc.script ${DESTDIR}/usr/share/udhcpc/default.script