2006-02-23 16:26:10 +01:00
|
|
|
# Description: A tool to copy files into or out of a cpio or tar archive
|
|
|
|
# URL: http://www.gnu.org/software/cpio/
|
2007-01-23 18:25:18 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=cpio
|
2015-09-24 14:47:36 +02:00
|
|
|
version=2.12
|
2018-02-13 00:11:55 +01:00
|
|
|
release=2
|
|
|
|
source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.bz2 \
|
|
|
|
CVE-2017-7516.patch)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2018-02-13 00:11:55 +01:00
|
|
|
patch -p1 -i $SRC/CVE-2017-7516.patch
|
2006-07-06 21:58:20 +02:00
|
|
|
./configure --prefix=/usr \
|
2006-10-22 18:38:15 +02:00
|
|
|
--disable-nls
|
2006-02-23 16:26:10 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2015-07-26 00:03:54 +02:00
|
|
|
rm -r $PKG/usr/{libexec,share/info}
|
2015-09-24 15:12:53 +02:00
|
|
|
rm -r $PKG/usr/share/man/man8
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|