source: trunk/dports/archivers/cpio/Portfile

Last change on this file was 145935, checked in by cal@…, 21 months ago

cpio: 2.12, fix CVE-2016-2037, ignoring maintainer

Update cpio to 2.12 and apply a patch to fix CVE-2016-2037. See

https://security-tracker.debian.org/tracker/CVE-2016-2037

for more information and

https://lists.gnu.org/archive/html/bug-cpio/2016-01/msg00005.html

for a patch.

Additionally, drop a patch that's no longer required with 2.12.

Ignoring maintainer because this is a security update.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 145935 2016-02-21 17:52:59Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                cpio
6version             2.12
7revision            0
8checksums           rmd160  156e7852db0f83e35fc02c007a1fb21e4a3393d6 \
9                    sha256  70998c5816ace8407c8b101c9ba1ffd3ebbecba1f5031046893307580ec1296e
10
11categories          archivers
12platforms           darwin
13maintainers         mww
14license             GPL-3
15description         copies files into or out of a cpio or tar archives
16long_description    GNU cpio copies files into or out of a cpio or tar \
17                    archive. The archive can be another file on the disk, a \
18                    magnetic tape, or a pipe.
19
20homepage            http://www.gnu.org/software/cpio/cpio.html
21master_sites        gnu
22use_bzip2           yes
23
24depends_lib         port:gettext port:libiconv
25
26patchfiles          cve-2016-2037.patch
27
28configure.args      --program-prefix=gnu \
29                    --mandir=${prefix}/share/man \
30                    --infodir=${prefix}/share/info \
31                    --libexecdir=${prefix}/lib/${name}
32
33test.run            yes
34test.target         check
35
36post-destroot {
37    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
38    ln -sf ${prefix}/bin/gnucpio ${destroot}${prefix}/libexec/gnubin/cpio
39}
40
41livecheck.type      regex
42livecheck.url       http://ftp.gnu.org/gnu/cpio/?C=M&O=D
43livecheck.regex     cpio-(\[0-9\]+\\.\[0-9\]+)
44
Note: See TracBrowser for help on using the repository browser.