Update package version to 2.41
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
name: glibc
|
name: glibc
|
||||||
description: The GNU C Library
|
description: The GNU C Library
|
||||||
version: 2.39
|
version: 2.41
|
||||||
revision: 2
|
|
||||||
url: https://www.gnu.org/software/libc/
|
url: https://www.gnu.org/software/libc/
|
||||||
license: GPL2-or-later
|
license: GPL2-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
make_depends: ["bash","binutils","bison","coreutils","diffutils","gawk","gcc","gettext","grep","gzip","make","perl","python3","sed","texinfo"]
|
make_depends: ["bash","binutils","bison","coreutils","diffutils","gawk","gcc","gettext","grep","gzip","make","perl","python3","sed","texinfo"]
|
||||||
|
provides: ["libc"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ build() {
|
|||||||
echo "rootsbindir=/usr/sbin" > configparms
|
echo "rootsbindir=/usr/sbin" > configparms
|
||||||
../configure --prefix=/usr \
|
../configure --prefix=/usr \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--enable-kernel=4.19 \
|
--enable-kernel=5.4 \
|
||||||
--enable-stack-protector=strong \
|
--enable-stack-protector=strong \
|
||||||
--disable-nscd \
|
--disable-nscd \
|
||||||
libc_cv_slibdir=/usr/lib
|
libc_cv_slibdir=/usr/lib
|
||||||
@@ -31,6 +31,10 @@ build() {
|
|||||||
# The check function is executed in the source directory
|
# The check function is executed in the source directory
|
||||||
# This function is used to run tests to verify the package has been compiled correctly
|
# This function is used to run tests to verify the package has been compiled correctly
|
||||||
check() {
|
check() {
|
||||||
|
# disable tests that take too long on most systems
|
||||||
|
sed -i "/tst-thread-affinity-pthread/d" nptl/Makefile
|
||||||
|
sed -i "/tst-thread-affinity-sched/d" nptl/Makefile
|
||||||
|
|
||||||
cd build
|
cd build
|
||||||
make check
|
make check
|
||||||
}
|
}
|
||||||
@@ -54,4 +58,8 @@ package() {
|
|||||||
ln -sf ../lib/ld-linux-x86-64.so.2 "$BPM_OUTPUT"/lib64
|
ln -sf ../lib/ld-linux-x86-64.so.2 "$BPM_OUTPUT"/lib64
|
||||||
ln -sf ../lib/ld-linux-x86-64.so.2 "$BPM_OUTPUT"/lib64/ld-lsb-x86_64.so.3
|
ln -sf ../lib/ld-linux-x86-64.so.2 "$BPM_OUTPUT"/lib64/ld-lsb-x86_64.so.3
|
||||||
chmod +x "$BPM_OUTPUT"/usr/bin/locale-gen
|
chmod +x "$BPM_OUTPUT"/usr/bin/locale-gen
|
||||||
|
|
||||||
|
install -Dm644 "$BPM_SOURCE"/LICENSES "$BPM_OUTPUT"/usr/share/licenses/glibc/LICENSES
|
||||||
|
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/glibc/COPYING
|
||||||
|
install -Dm644 "$BPM_SOURCE"/COPYING.LIB "$BPM_OUTPUT"/usr/share/licenses/glibc/COPYING.LIB
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user