> Am 13.03.2022 um 10:23 schrieb Stefan Hagen <[email protected]>: > > Mike Fischer wrote (2022-03-13 01:17 CET): >> Hi ports@, >> >> The current version 2.4.0p0 of wp-cli seems pretty old, given that >> 2.6.0 was released in January. >> https://make.wordpress.org/cli/2022/01/26/wp-cli-v2-6-0-release-notes/ >> >> Version 2.6.0 includes security fixes from version 2.5.0: >> https://make.wordpress.org/cli/2021/05/19/wp-cli-v2-5-0-release-notes/ >> >> The current version 2.4.0p0 also produces a ton of PHP warnings and >> notices. (For PHP 7.4.28 and WP 5.9.2 on OpenBSD 7.0 stable amd64.) >> >> I have manually installed the 2.6.0 version and it fixes the PHP >> warnings and notices in the otherwise same setup. According to the >> release notes it also supports PHP 8.1 but I haven’t tried that. >> >> Is an update to the port planned? If not can I help? > > This is a simple port and I updated it directly with the diff below.
Thanks! > If you want to learn about creating/updating ports, there's the porter > handbook: https://www.openbsd.org/faq/ports Ok, https://www.openbsd.org/faq/ports/ports.html seems to answer a lot of my questions. Thanks. The VM I am currently using for testing only has a 2.3 GB /usr partition (default layout for a 20 GB disk). /usr/ports will fit but adding /usr/sys and /usr/src will not fit. Are /usr/src and /usr/sys needed for ports work? How big should /usr be at a minimum? Is working via SSH on a remote machine going to cause any problems? (Other than -current possibly having issues from time to time.) If I understand things correctly in theory working on stable is an option (for simple updates such as wp-cli or new ports) until changes need to be submitted. Then -current is mandatory? At this time I have never used -current so I am sightly leery about stability. > And a pretty cool workshop from bcallah@: > https://www.youtube.com/watch?v=z_TnemhzbXQ > > I'm rehosting the video with the annoying fan noise removed: > https://codevoid.de/h/openbsd-port-workshop-bcallah.mkv Very cool workshop! Thanks Brian and thanks for the de-noised version Stefan :-) Should be linked to somewhere on the openbsd.org website if it isn’t already. Mike > > Best Regards, > Stefan > > Index: www/wp-cli/Makefile > =================================================================== > RCS file: /home/cvs/ports/www/wp-cli/Makefile,v > retrieving revision 1.11 > diff -u -p -u -p -r1.11 Makefile > --- www/wp-cli/Makefile 11 Mar 2022 20:11:07 -0000 1.11 > +++ www/wp-cli/Makefile 13 Mar 2022 08:46:06 -0000 > @@ -1,8 +1,7 @@ > COMMENT = command line tool for wordpress > > -V = 2.4.0 > +V = 2.6.0 > DISTNAME = wp-cli-${V} > -REVISION = 0 > > EXTRACT_ONLY = > EXTRACT_SUFX = .phar > Index: www/wp-cli/distinfo > =================================================================== > RCS file: /home/cvs/ports/www/wp-cli/distinfo,v > retrieving revision 1.5 > diff -u -p -u -p -r1.5 distinfo > --- www/wp-cli/distinfo 16 Jan 2020 09:55:28 -0000 1.5 > +++ www/wp-cli/distinfo 13 Mar 2022 08:46:16 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (wp-cli-2.4.0.phar) = E53Mhu0573UWee+9r1elNSjxr9qXLE42ImZ8wnOXtUA= > -SIZE (wp-cli-2.4.0.phar) = 5568133 > +SHA256 (wp-cli-2.6.0.phar) = 0WZSjKtgvIIpwGcp5wc4OPu6aNaytXRQTLAniDXIeIg= > +SIZE (wp-cli-2.6.0.phar) = 6494444
