[Bug 295751] net/td-system-tools: Update to new release 2.7.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 05 Jun 2026 16:45:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295751

Thomas Dreibholz <thomas.dreibholz@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #271375|0                           |1
        is obsolete|                            |
 Attachment #271529|                            |maintainer-approval+
              Flags|                            |

--- Comment #2 from Thomas Dreibholz <thomas.dreibholz@gmail.com> ---
Created attachment 271529
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=271529&action=edit
The updated diff file

The updated diff file should fix the issues:
* I18N -> NLS
* Updated sorting of pkg-plist:

I was not able to find an official definition of the sorting order. Assuming
the order is non-options first, then file name, I wrote a small script for
sorting:

...
while read -r line ; do
   if [[ "${line}" =~ ^(%%.+%%)([^%]+)$ ]] ; then
      echo -e "1\t${BASH_REMATCH[1]}\t${BASH_REMATCH[2]}\t${line}"
   elif [[ "${line}" =~ ^([^%]+)$ ]] ; then
      echo -e "0\t\t${BASH_REMATCH[1]}\t${line}"
   else
      echo >&2 "ERROR: Unexpected input!"
      exit 1
   fi
done <"${PKG_PLIST}" | \
   LC_ALL=C.UTF-8 sort -t$'\t' -k1n -k3 | \
   IFS=$'\t' awk '{ print $4 }' | \
   tee "${PKG_PLIST}.sorted"


The updated diff also includes additional options to enable/disable the
installation of examples, etc.

-- 
You are receiving this mail because:
You are the assignee for the bug.