CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cpio: updated 2.12-2
[crossrootfs.git]
/
cpio
/
Pkgfile
diff --git
a/cpio/Pkgfile
b/cpio/Pkgfile
index bc3c492314105914dd188ddc274ab7bae4b217d2..7b85c13d7f59fa395d99da037b76cd00d1d029a1 100644
(file)
--- a/
cpio/Pkgfile
+++ b/
cpio/Pkgfile
@@
-4,27
+4,20
@@
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
name=cpio
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
name=cpio
-version=2.1
1
+version=2.1
2
release=2
release=2
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
-
cpio-2.11-stat
.patch)
+source=(http://ftp
mirror
.gnu.org/gnu/$name/$name-$version.tar.bz2 \
+
CVE-2017-7516
.patch)
build() {
cd $name-$version
build() {
cd $name-$version
-
- patch -p1 -i $SRC/cpio-2.11-stat.patch
- # fix for glibc 'gets' removal
- sed -i -e '/gets is a/d' gnu/stdio.in.h
-
+ patch -p1 -i $SRC/CVE-2017-7516.patch
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
- --mandir=/usr/man \
--disable-nls
--disable-nls
-
make
make DESTDIR=$PKG install
make
make DESTDIR=$PKG install
-
- rm -r $PKG/usr/{share,libexec}
- rm $PKG/usr/man/man1/mt.1
+ rm -r $PKG/usr/{libexec,share/info}
+ rm -r $PKG/usr/share/man/man8
}
}