[Bug 274418] news/nzbhydra2: Update to 5.1.11

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 21 Nov 2023 09:08:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274418

kreeblah@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #245572|0                           |1
        is obsolete|                            |
 Attachment #246457|                            |maintainer-approval?(marcel
              Flags|                            |@herrbischoff.com)

--- Comment #4 from kreeblah@gmail.com ---
Created attachment 246457
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246457&action=edit
Update news/nzbhydra2 to 5.3.3 and ensure lib/ only contains the current .jar
file

5.3.3 was just released, and the new wrapper file in it contains a fix for what
was probably causing the issues with not being able to find java.  There was a
bug in the old version which was causing it to overwrite the java parameter.

So, this updates to 5.3.3.  I also added a line to the startup script to clean
out the lib/ directory and remove any file which doesn't match the current .jar
file, since that should be the only file in there.  This should ensure that, no
matter what, there aren't any issues with upgrades.

From talking with folks, apparently some of the code paths that pkg takes for
local packages can leave old files around, which is likely how that was
happening with files in the lib/ directory, but this would compensate for that.

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