NEW: sysutils/diffoscope

2018-11-27 Thread Brian Callahan

Hi ports --

Now that py-magic has been imported, I'm bringing back 
sysutils/diffoscope. Diffoscope is a utility that provides in-depth 
comparison of files, archives, and directories.


---
pkg/DESCR:
diffoscope will try to get to the bottom of what makes files or
directories different. It will recursively unpack archives of many kinds
and transform various binary formats into more human readable form to
compare them. It can compare two tarballs, ISO images, or PDF just as
easily.

It can be scripted through error codes, and a report can be produced
with the detected differences. The report can be text or HTML. When no
type of report has been selected, diffoscope defaults to write a text
report on the standard output.

diffoscope was initially started by the "reproducible builds" Debian
project and now being developed as part of the wider "Reproducible
Builds" initiative. It is meant to be able to quickly understand why two
builds of the same package produce different outputs. diffoscope was
previously named debbindiff.
---

I think one of the tests hangs (pcap) but I'm not sure if it's me doing 
something wrong.


The utility works fine on amd64.

OK?

~Brian



diffoscope.tgz
Description: Binary data


NEW: sysutils/diffoscope

2018-06-27 Thread Brian Callahan

Hi ports --

Attached is a new port, sysutils/diffoscope. Diffoscope is a utility for 
in-depth comparison of files, archives, and directories.


---
pkg/DESCR:
diffoscope will try to get to the bottom of what makes files or
directories different. It will recursively unpack archives of many kinds
and transform various binary formats into more human readable form to
compare them. It can compare two tarballs, ISO images, or PDF just as
easily.

It can be scripted through error codes, and a report can be produced
with the detected differences. The report can be text or HTML. When no
type of report has been selected, diffoscope defaults to write a text
report on the standard output.

diffoscope was initially started by the "reproducible builds" Debian
project and now being developed as part of the wider "Reproducible
Builds" initiative. It is meant to be able to quickly understand why two
builds of the same package produce different outputs. diffoscope was
previously named debbindiff.
---

Some time ago, afresh1@ asked me to port this. And it's been sitting in 
my queue since. Let's fix that!


Requires the libarchive-c and py-magic ports also sent to ports@.

OK?

~Brian



diffoscope.tgz
Description: Binary data


Re: NEW: sysutils/diffoscope

2018-11-28 Thread Solene Rapenne
Stuart Henderson  wrote:
> On 2018/06/28 01:00, Brian Callahan wrote:
> > Hi ports --
> > 
> > Attached is a new port, sysutils/diffoscope. Diffoscope is a utility for
> > in-depth comparison of files, archives, and directories.
> > 
> > ---
> > pkg/DESCR:
> > diffoscope will try to get to the bottom of what makes files or
> > directories different. It will recursively unpack archives of many kinds
> > and transform various binary formats into more human readable form to
> > compare them. It can compare two tarballs, ISO images, or PDF just as
> > easily.
> > 
> > It can be scripted through error codes, and a report can be produced
> > with the detected differences. The report can be text or HTML. When no
> > type of report has been selected, diffoscope defaults to write a text
> > report on the standard output.
> > 
> > diffoscope was initially started by the "reproducible builds" Debian
> > project and now being developed as part of the wider "Reproducible
> > Builds" initiative. It is meant to be able to quickly understand why two
> > builds of the same package produce different outputs. diffoscope was
> > previously named debbindiff.
> > ---
> > 
> > Some time ago, afresh1@ asked me to port this. And it's been sitting in my
> > queue since. Let's fix that!
> > 
> > Requires the libarchive-c and py-magic ports also sent to ports@.
> > 
> > OK?
> > 
> > ~Brian
> > 
> 
> 
> Should be NO_TEST not NO_TESTS - picked up because I have this in mk.conf:
> 
> $ grep templ /etc/mk.conf
> .include "/usr/ports/infrastructure/templates/mk.conf.template"
> 
> Please regen PLIST.
> 
> With those fixed, OK for when the py-magic conflict is handled.

on my system diffoscope displays some kind of warning about "getfacl" for each
file browsed before showing the result.

solene@t480 /usr/ports/sysutils/diffoscope $ diffoscope . .
2018-11-29 06:30:00 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:01 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:01 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:01 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:01 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:01 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:01 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:01 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:02 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:02 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:02 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:02 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:02 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:02 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:02 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:03 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:03 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:03 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:03 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:03 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:03 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:04 W: diffoscope.comparators.directory: Unable to find 
'getfacl', some directory metadata differences might not be noticed.
2018-11-29 06:30:04 W: diffosc

Re: NEW: sysutils/diffoscope

2018-06-28 Thread Stuart Henderson
On 2018/06/28 01:00, Brian Callahan wrote:
> Hi ports --
> 
> Attached is a new port, sysutils/diffoscope. Diffoscope is a utility for
> in-depth comparison of files, archives, and directories.
> 
> ---
> pkg/DESCR:
> diffoscope will try to get to the bottom of what makes files or
> directories different. It will recursively unpack archives of many kinds
> and transform various binary formats into more human readable form to
> compare them. It can compare two tarballs, ISO images, or PDF just as
> easily.
> 
> It can be scripted through error codes, and a report can be produced
> with the detected differences. The report can be text or HTML. When no
> type of report has been selected, diffoscope defaults to write a text
> report on the standard output.
> 
> diffoscope was initially started by the "reproducible builds" Debian
> project and now being developed as part of the wider "Reproducible
> Builds" initiative. It is meant to be able to quickly understand why two
> builds of the same package produce different outputs. diffoscope was
> previously named debbindiff.
> ---
> 
> Some time ago, afresh1@ asked me to port this. And it's been sitting in my
> queue since. Let's fix that!
> 
> Requires the libarchive-c and py-magic ports also sent to ports@.
> 
> OK?
> 
> ~Brian
> 


Should be NO_TEST not NO_TESTS - picked up because I have this in mk.conf:

$ grep templ /etc/mk.conf
.include "/usr/ports/infrastructure/templates/mk.conf.template"

Please regen PLIST.

With those fixed, OK for when the py-magic conflict is handled.