source: trunk/dports/sysutils/tardiff/Portfile

Last change on this file was 148304, checked in by raimue@…, 17 months ago

sysutils/tardiff:
Add patches for CVE-2015-0857, CVE-2015-0858, and other bugs, closes #51292

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 148304 2016-05-03 14:43:01Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                tardiff
7version             0.1
8revision            4
9categories          sysutils textproc devel archivers
10license             GPL
11platforms           darwin
12maintainers         ryandesign \
13                    openmaintainer
14supported_archs     noarch
15
16description         compares the contents of two tarballs
17
18long_description    TarDiff compares the contents of two tarballs and reports \
19                    on any differences found between them. Its use is mainly \
20                    for release managers who can use it as a QA tool to make \
21                    sure no files have accidentally been left over or were \
22                    added by mistake. TarDiff supports compressed tarballs, \
23                    diff statistics and suppression of GNU autotool changes.
24
25homepage            http://tardiff.coolprojects.org/
26master_sites        ${homepage}
27dist_subdir         ${name}/${version}
28distfiles           ${name}
29
30checksums           rmd160  08f52fbe95991669973bf955d6f11e9c74e25d5d \
31                    sha256  fd649eb8f75cf3b860f2c49830909a17930911b787bee4fcce7d15fa961461ba
32
33depends_run         bin:gnutar:gnutar
34
35extract.only
36extract.mkdir       yes
37
38post-extract {
39    copy ${distpath}/${name} ${worksrcpath}
40}
41
42patchfiles          patch-tardiff.diff \
43                    patch-fix-statistic.diff \
44                    patch-fix-unique-uniquebase.diff \
45                    patch-CVE-2015-0857.diff \
46                    patch-CVE-2015-0858.diff
47
48use_configure       no
49
50build {}
51
52destroot {
53    xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin
54}
55
56livecheck.type      regex
57livecheck.regex     {>TarDiff ([0-9.]+)<}
Note: See TracBrowser for help on using the repository browser.