core/cpio/Pkgfile
Fredrik Rinnestam 06c60ebc03 cpio: added patch for CVE-2017-7516. Closes FS#1573
Report and patch from Lee (thanks!)
2018-02-13 00:12:00 +01:00

21 lines
557 B
Plaintext

# Description: A tool to copy files into or out of a cpio or tar archive
# URL: http://www.gnu.org/software/cpio/
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=cpio
version=2.12
release=2
source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.bz2 \
CVE-2017-7516.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/CVE-2017-7516.patch
./configure --prefix=/usr \
--disable-nls
make
make DESTDIR=$PKG install
rm -r $PKG/usr/{libexec,share/info}
rm -r $PKG/usr/share/man/man8
}