Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: A tool to copy files into or out of a cpio or tar archive |
2 | # URL: http://www.gnu.org/software/cpio/ | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
6dca1d21 JB |
5 | |
6 | name=cpio | |
2dad6db3 | 7 | version=2.12 |
6ef9c672 VM |
8 | release=2 |
9 | source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.bz2 \ | |
10 | CVE-2017-7516.patch) | |
6dca1d21 JB |
11 | |
12 | build() { | |
13 | cd $name-$version | |
6ef9c672 | 14 | patch -p1 -i $SRC/CVE-2017-7516.patch |
6dca1d21 JB |
15 | ./configure --build=$CHOST \ |
16 | --host=$CTARGET \ | |
17 | --prefix=/usr \ | |
6dca1d21 JB |
18 | --disable-nls |
19 | make | |
20 | make DESTDIR=$PKG install | |
2dad6db3 VM |
21 | rm -r $PKG/usr/{libexec,share/info} |
22 | rm -r $PKG/usr/share/man/man8 | |
6dca1d21 | 23 | } |