update
This commit is contained in:
1 parent
ffd77e0612
commit
659faeb9e2
3 files changed
+16
-20
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
name='pkgconf'
|
name='pkgconf'
|
||||||
release='4'
|
release='5'
|
||||||
version='2.5.1'
|
version='2.9.93'
|
||||||
url='https://github.com/pkgconf/pkgconf/tags'
|
url='https://github.com/pkgconf/pkgconf/tags'
|
||||||
description='Package compiler and linker metadata toolkit'
|
description='Package compiler and linker metadata toolkit'
|
||||||
email='aliriza.keskin@pardus.org.tr'
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
@@ -13,7 +13,7 @@ source=("https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-$version.t
|
|||||||
)
|
)
|
||||||
depends=( )
|
depends=( )
|
||||||
makedepends=( )
|
makedepends=( )
|
||||||
sha256sums=('79721badcad1987dead9c3609eb4877ab9b58821c06bdacb824f2c8897c11f2a'
|
sha256sums=('b9632d0d91321f56645de720fd8cd3584b0d0ca8ff13a3d9d5285888869fcc98'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'SKIP')
|
'SKIP')
|
||||||
uses=()
|
uses=()
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
name='suidless-su'
|
name='suidless-su'
|
||||||
release='1'
|
release='2'
|
||||||
version='1.0.0'
|
version='1.1.0'
|
||||||
url='https://gitlab.com/turkmen-linux/devel/sources/suidless-su'
|
url='https://gitlab.com/turkmen-linux/devel/sources/suidless-su'
|
||||||
description='su command replacement. No suid bit required.'
|
description='su command replacement. No suid bit required.'
|
||||||
email='aliriza.keskin@pardus.org.tr'
|
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")
|
source=("https://gitlab.com/turkmen-linux/devel/sources/suidless-su/-/archive/$version/suidless-su-$version.tar.gz")
|
||||||
depends=()
|
depends=()
|
||||||
makedepends=()
|
makedepends=()
|
||||||
sha256sums=('17623cb0dc18d5de0b40b8e7818b451326166f1887f01044285b30a4f683593d')
|
sha256sums=('538c909c2ccfc5494cc49d46e2b4c6ed0a496da4380e5dc07ce1110e0b9c82a8')
|
||||||
group=(sys.auth)
|
group=(sys.auth)
|
||||||
uses=()
|
uses=()
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|||||||
+10
-14
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
name=busybox
|
name=busybox
|
||||||
version=1.37.0
|
version=1.38.0
|
||||||
release=3
|
release=4
|
||||||
url='https://busybox.net'
|
url='https://busybox.net'
|
||||||
description='BusyBox is a software suite that provides several Unix utilities in a single executable file.'
|
description='BusyBox is a software suite that provides several Unix utilities in a single executable file.'
|
||||||
email='parduscix@yandex.ru'
|
email='parduscix@yandex.ru'
|
||||||
@@ -12,15 +12,10 @@ group=(sys.base)
|
|||||||
makedepends=(musl)
|
makedepends=(musl)
|
||||||
source=("https://busybox.net/downloads/busybox-$version.tar.bz2"
|
source=("https://busybox.net/downloads/busybox-$version.tar.bz2"
|
||||||
"files/busybox.sysconf"
|
"files/busybox.sysconf"
|
||||||
"files/busybox.initramfs"
|
|
||||||
"files/udhcpc.openrc"
|
"files/udhcpc.openrc"
|
||||||
"files/udhcpc.script"
|
"files/udhcpc.script"
|
||||||
"data-user.patch"
|
|
||||||
"busybox-1.36.1-kernel-6.8.patch"
|
|
||||||
)
|
)
|
||||||
sha256sums=("3311dff32e746499f4df0d5df04d7eb396382d7e108bb9250e7b519b837043a4"
|
sha256sums=("34f9ea6ff8636f2c9241153b9114eefa9e65674a45318ae1ef95bb5f31c53bb2"
|
||||||
"SKIP"
|
|
||||||
"SKIP"
|
|
||||||
"SKIP"
|
"SKIP"
|
||||||
"SKIP"
|
"SKIP"
|
||||||
"SKIP"
|
"SKIP"
|
||||||
@@ -30,19 +25,22 @@ sha256sums=("3311dff32e746499f4df0d5df04d7eb396382d7e108bb9250e7b519b837043a4"
|
|||||||
export PATH=$PATH:/usr/bin/core_perl
|
export PATH=$PATH:/usr/bin/core_perl
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
|
export CFLAGS="-Wno-all -Os -s"
|
||||||
|
export LDFLAGS="-fno-link-libatomic"
|
||||||
|
|
||||||
prepare(){
|
prepare(){
|
||||||
for tool in ar strip ; do
|
for tool in ar strip ld; do
|
||||||
ln -s /usr/bin/$tool ../musl-$tool
|
ln -s /usr/bin/$tool ../musl-$tool
|
||||||
done
|
done
|
||||||
patch -Np1 -i ../data-user.patch
|
sed -i 's|/home|/data/user|g' loginutils/adduser.c
|
||||||
patch -Np1 -i ../busybox-1.36.1-kernel-6.8.patch
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
make defconfig
|
make defconfig
|
||||||
sed -i "s|.*CONFIG_STATIC_LIBGCC .*|CONFIG_STATIC_LIBGCC=y|" .config
|
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
|
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}/
|
mkdir -p ${DESTDIR}/bin/ ${DESTDIR}/etc/sysconf.d ${DESTDIR}/usr/share/initramfs-tools/{hooks,conf-hooks.d}/
|
||||||
install busybox ${DESTDIR}/bin/busybox
|
install busybox ${DESTDIR}/bin/busybox
|
||||||
install ../busybox.sysconf ${DESTDIR}/etc/sysconf.d/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
|
# install udhcpc script and service
|
||||||
mkdir -p ${DESTDIR}/usr/share/udhcpc/ ${DESTDIR}/etc/init.d/
|
mkdir -p ${DESTDIR}/usr/share/udhcpc/ ${DESTDIR}/etc/init.d/
|
||||||
install ../udhcpc.script ${DESTDIR}/usr/share/udhcpc/default.script
|
install ../udhcpc.script ${DESTDIR}/usr/share/udhcpc/default.script
|
||||||
|
|||||||
Reference in new issue
Block a user