On 2020-01-15 12:03, Thomas Schmitt wrote:
Hi,
it seems to depend on whether macro SHA256 is defined:
https://sources.debian.org/src/freebsd-buildutils/9.0-11/src/usr.sbin/mtree/misc.c/#L76
SHA256 seems to be the most recently added feature
https://sources.debian.org/src/freebsd-buildutils/10.3~svn296373-7/debian/changelog/?hl=3#L3
says
"
freebsd-buildutils (10.3~svn296373-7) unstable; urgency=medium
* Build fmtree with support for MD5, SHA1, RMD160, SHA256 checksums
(Closes: #854184, #855072)
- add Build-Depends: libmd-dev
- refresh 22_ld_as_needed.diff
* Merge patch from Ubuntu: prototype-setmode.diff (Logan Rosen)
-- Steven Chamberlain <stev...@debian.org> Mon, 13 Feb 2017 21:45:25 +0000
"
Debian 9 seems to be older
https://packages.debian.org/source/oldstable/freebsd-buildutils
says
"Source Package: freebsd-buildutils (10.3~svn296373-6)"
One of the mentioned bug reports has a justification for the traditional lack.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855072
says
"When this was packaged in 2005, we did not have libmd. Since recently,
we have this now in sid/stretch, so I shall enable this feature :)"
Have a nice day :)
Thomas
Thanks for the reply. :-)
It looks like Stretch has the port based on 10.3~svn296373-6 and I need
the port based on 10.3~svn296373-7 (?):
https://packages.debian.org/search?keywords=freebsd-buildutils&searchon=names&suite=all§ion=all
I do not see a backport:
https://packages.debian.org/search?keywords=freebsd-buildutils&searchon=names§ion=all&suite=stretch-backports
Do I build from source? If so, is there a good tutorial?
David