How to integrate an updated version of a package?

Hello all,

What should I do if I want to integrate a newer version of package into an existed release?
e.g. linuxptp 2.0 --> 3.1 in 19.07.7.

Thanks,

Edit the package's 19.07.7 Makefile to use the new package version, or copy the new package definition from OpenWrt's master branch into the 19.07.7 build system, then rebuild the image.

Another option is to use the 19.07.7 SDK to build the package. Use opkg to install the resulting *.ipk onto a device running OpenWrt 19.07.7, or use the 19.07.7 imagebuilder to build it into an OpenWrt image.