summaryrefslogtreecommitdiff
path: root/coreutils/Pkgfile
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2021-09-26 12:55:00 +0200
committerJuergen Daubert <jue@jue.li>2021-09-26 12:57:09 +0200
commitd4df2838719b2ae030ba96a2153ee35d4c80c5aa (patch)
treed6b8daa185022c292f5fc06e355c08acb5596ede /coreutils/Pkgfile
parent81f3b344d0b21b2084a81f208d8fa946c78a9ee0 (diff)
downloadcore-d4df2838719b2ae030ba96a2153ee35d4c80c5aa.tar.gz
core-d4df2838719b2ae030ba96a2153ee35d4c80c5aa.tar.xz
coreutils: update to 9.0
Diffstat (limited to 'coreutils/Pkgfile')
-rw-r--r--coreutils/Pkgfile45
1 files changed, 25 insertions, 20 deletions
diff --git a/coreutils/Pkgfile b/coreutils/Pkgfile
index 812a2381..dc7c9bea 100644
--- a/coreutils/Pkgfile
+++ b/coreutils/Pkgfile
@@ -1,30 +1,35 @@
# Description: A collection of core GNU utilities
-# URL: http://www.gnu.org/software/coreutils/
-# Maintainer: CRUX System Team, core-ports at crux dot nu
-# Depends on: libgmp acl libcap
+# URL: http://www.gnu.org/software/coreutils/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Depends on: libgmp acl libcap
name=coreutils
-version=8.32
+version=9.0
release=1
source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.xz
- coreutils-uname.patch)
+ coreutils-uname.patch
+ chmod.c.patch)
build() {
- cd $name-$version
+ cd $name-$version
- patch -p1 -i $SRC/coreutils-uname.patch
- export FORCE_UNSAFE_CONFIGURE=1
-
- ./configure --prefix=/usr \
- --libexecdir=/usr/lib \
- --disable-nls \
- --disable-assert \
- --enable-no-install-program=uptime,kill,chcon,runcon,groups
- make
- make DESTDIR=$PKG install
+ # https://bugs.gnu.org/50784
+ patch -p1 -i $SRC/chmod.c.patch
- install -d $PKG/bin
- mv $PKG/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo,false,ln,ls,mkdir,sleep} $PKG/bin
- mv $PKG/usr/bin/{mknod,mv,pwd,readlink,rm,rmdir,stty,sync,touch,true,uname} $PKG/bin
- rm -r $PKG/usr/share/info
+ patch -p1 -i $SRC/coreutils-uname.patch
+ export FORCE_UNSAFE_CONFIGURE=1
+
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --disable-nls \
+ --disable-assert \
+ --enable-no-install-program=uptime,kill,chcon,runcon,groups
+ make
+ make DESTDIR=$PKG install
+
+ install -d $PKG/bin
+ mv $PKG/usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo,false,ln,ls,mkdir,sleep} $PKG/bin
+ mv $PKG/usr/bin/{mknod,mv,pwd,readlink,rm,rmdir,stty,sync,touch,true,uname} $PKG/bin
+ rm -r $PKG/usr/share/info
}

Generated by cgit