huo-ju / photoprism-freebsd-port

The photoprism port for FreeBSD
BSD 2-Clause "Simplified" License
69 stars 15 forks source link

Update photoprism to 2023-07-19 #59

Closed tinsukE closed 1 year ago

tinsukE commented 1 year ago

Now pointing to: https://github.com/photoprism/photoprism/releases/tag/230719-73fa7bbe8

I've no experience with this, so please double-check.

This is what I've done:

  1. Update Makefile: DISTVERSION and GH_TAGNAME
  2. Run make package
  3. See the errors about new tar.gz not listed in distinfo
  4. Update distinfo with values from new tar.gz file
  5. Run make package
  6. Run into error due to files not being in pkg-plist
  7. Run make makeplist
  8. Check pkg-plist, remove line with etc/rc.d/photoprism (looked out of place with git diff)
  9. Run make package
  10. Profit

The new build is running (AFAIK) fine on my personal instance.

huo-ju commented 1 year ago

Thank you! Looks good for me. 👍

lapo-luchini commented 1 year ago

BTW: @tinsukE you can use make makesum to update distinfo automatically.