CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
ports
/
core-arm64.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gcc: updated to 10.2.0
[ports/core-arm64.git]
/
glibc
/
Pkgfile
diff --git
a/glibc/Pkgfile
b/glibc/Pkgfile
index 4f2450c4869e95b0c9a5463634f433bef6dee701..ead1ccffb2c1c8e25a7a0bd7f688253de9efaf39 100644
(file)
--- a/
glibc/Pkgfile
+++ b/
glibc/Pkgfile
@@
-5,18
+5,22
@@
# Depends on:
name=glibc
# Depends on:
name=glibc
-version=2.2
7
-release=
1
+version=2.2
8
+release=
2
source=(http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz \
source=(http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz \
- http://www.kernel.org/pub/linux/kernel/v4.x/linux-4.14.14.tar.xz \
+ http://www.kernel.org/pub/linux/kernel/v4.x/linux-4.19.24.tar.xz \
+ glibc-$version-1.patch \
hosts resolv.conf nsswitch.conf host.conf ld.so.conf)
build() {
# install kernel headers
hosts resolv.conf nsswitch.conf host.conf ld.so.conf)
build() {
# install kernel headers
- cd linux-4.1
4.1
4
+ cd linux-4.1
9.2
4
make mrproper
make ARCH=arm64 headers_check
make ARCH=arm64 INSTALL_HDR_PATH=$PKG/usr headers_install
make mrproper
make ARCH=arm64 headers_check
make ARCH=arm64 INSTALL_HDR_PATH=$PKG/usr headers_install
+ chown root:root $PKG/usr
+
+ patch -p1 -d $SRC/$name-${version:0:4} -i $SRC/$name-$version-1.patch
mkdir $SRC/build
cd $SRC/build
mkdir $SRC/build
cd $SRC/build
@@
-26,6
+30,7
@@
build() {
--enable-kernel=2.6.25 \
--enable-add-ons \
--enable-static-nss \
--enable-kernel=2.6.25 \
--enable-add-ons \
--enable-static-nss \
+ --enable-stack-protector=strong \
--disable-profile \
--disable-werror \
--without-gd \
--disable-profile \
--disable-werror \
--without-gd \
@@
-36,17
+41,23
@@
build() {
#make check
make install_root=$PKG install
#make check
make install_root=$PKG install
- install -m 0644 $SRC/$name-$
version
/nscd/nscd.conf $PKG/etc
+ install -m 0644 $SRC/$name-$
{version:0:4}
/nscd/nscd.conf $PKG/etc
install -d $PKG/var/{db,run}/nscd
install -m 0644 $SRC/{hosts,resolv.conf,nsswitch.conf,host.conf,ld.so.conf} $PKG/etc
install -d $PKG/var/{db,run}/nscd
install -m 0644 $SRC/{hosts,resolv.conf,nsswitch.conf,host.conf,ld.so.conf} $PKG/etc
+ # install needed headers
+ install -d $PKG/usr/include/rpcsvc
+ install -m 0644 $SRC/$name-${version:0:4}/nis/rpcsvc/yp* $PKG/usr/include/rpcsvc
+
ln -sf ../usr/share/zoneinfo/UTC $PKG/etc/localtime
ln -sf ../usr/share/zoneinfo/UTC $PKG/etc/localtime
-
ln -s stubs-hard.h $PKG/usr/include/gnu/stubs-soft.h
+ ln -s stubs-hard.h $PKG/usr/include/gnu/stubs-soft.h
install -d $PKG/etc/ld.so.conf.d $PKG/usr/lib/locale
touch $PKG/etc/ld.so.cache
rm -rf $PKG/usr/share/{info,locale} \
install -d $PKG/etc/ld.so.conf.d $PKG/usr/lib/locale
touch $PKG/etc/ld.so.cache
rm -rf $PKG/usr/share/{info,locale} \
- $PKG/usr/bin/tzselect \
- $PKG/usr/sbin/z{dump,ic}
+ $PKG/usr/bin/tzselect \
+ $PKG/usr/sbin/z{dump,ic}
+ find $PKG -name "*install.cmd" -delete
+ find $PKG -name ".\install" -delete
}
}