• pkg_rmleaves regresssion

    From Andrea Venturoli@ml@netfence.it to muc.lists.freebsd.ports on Mon Jul 27 08:29:03 2026
    From Newsgroup: muc.lists.freebsd.ports

    Hello.

    I'm a long time user of pkg_rmleaves, but, after the last update, I'm experiencing a problem.
    The first run works fine, but, after that, the same packages appear
    again and again, with the new leafs at the end of the list.

    I think the problem lies at the beginning of the showList() function, where
    cat "$TMPFILE" >> "$DLGFILE"
    should be
    cat "$TMPFILE" > "$DLGFILE"

    Thanks for providing this port.

    bye
    av.


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alexander Wittig@alexander@wittig.name to muc.lists.freebsd.ports on Thu Jul 30 17:45:41 2026
    From Newsgroup: muc.lists.freebsd.ports

    Thanks Andrea
    I'm a long time user of pkg_rmleaves, but, after the last update, I'm experiencing a problem.
    The first run works fine, but, after that, the same packages appear again and again, with the new leafs at the end of the list.

    I think the problem lies at the beginning of the showList() function, where
    cat "$TMPFILE" >> "$DLGFILE"
    should be
    cat "$TMPFILE" > "$DLGFILE"
    Indeed, that looks like a regression. Thanks for debugging and finding the problem.
    I think I fixed it and just submitted a maintainer update (Bug 297171).
    Thanks,
    Alex
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Andrea Venturoli@ml@netfence.it to muc.lists.freebsd.ports on Wed Aug 5 17:57:02 2026
    From Newsgroup: muc.lists.freebsd.ports

    On 7/30/26 18:45, Alexander Wittig wrote:

    Indeed, that looks like a regression. Thanks for debugging and finding the problem.
    I think I fixed it and just submitted a maintainer update (Bug 297171).
    Thanks.
    However, now it doesn't work at all :)

    Reason is "--cancel-exit-code" and "--esc-exit-code" are not available
    in 14.4's bsddialog (only on 15.1).
    Removing that line fixes it, though.

    bye & Thanks
    av.


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Alexander Wittig@alexander@wittig.name to muc.lists.freebsd.ports on Wed Aug 5 21:07:15 2026
    From Newsgroup: muc.lists.freebsd.ports


    On 5 Aug 2026, at 16:57, Andrea Venturoli <ml@netfence.it> wrote:

    On 7/30/26 18:45, Alexander Wittig wrote:

    Indeed, that looks like a regression. Thanks for debugging and finding the problem.
    I think I fixed it and just submitted a maintainer update (Bug 297171).
    Thanks.
    However, now it doesn't work at all :)
    Yay! Progress!
    Reason is "--cancel-exit-code" and "--esc-exit-code" are not available in 14.4's bsddialog (only on 15.1).
    Removing that line fixes it, though.
    Unfortunately thatrCOs needed to allow xargs to break out of multiple dialogs for people with lots of leaf ports without seeing all of them.
    I think I implemented a work-around, could you try the latest version at https://github.com/abgandar/pkg_rmleaves to see if it works for you on 14.x?
    Thanks,
    Alex--
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Andrea Venturoli@ml@netfence.it to muc.lists.freebsd.ports on Mon Aug 10 19:28:45 2026
    From Newsgroup: muc.lists.freebsd.ports

    On 8/5/26 22:07, Alexander Wittig wrote:

    I think I implemented a work-around, could you try the latest version at https://github.com/abgandar/pkg_rmleaves to see if it works for you on 14.x?
    LGTM.

    bye & Thank
    av.


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2