Page MenuHomeFreeBSD

x11/xscreensaver: Update to 6.04
ClosedPublic

Authored by zirias on May 30 2022, 8:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 22, 7:13 AM
Unknown Object (File)
Tue, Apr 9, 12:55 AM
Unknown Object (File)
Mar 14 2024, 1:52 AM
Unknown Object (File)
Mar 14 2024, 1:52 AM
Unknown Object (File)
Mar 14 2024, 1:52 AM
Unknown Object (File)
Mar 14 2024, 1:52 AM
Unknown Object (File)
Mar 14 2024, 1:52 AM
Unknown Object (File)
Mar 14 2024, 1:51 AM
Subscribers

Details

Summary

Any code for calling an external helper for PAM was removed in 6.03,
therefore replace pam_helper by unix-selfauth-helper that's called by
pam_exec.so

Also fix line length in USES.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

don't hardcode /usr/local in pam configuration

zirias retitled this revision from x11/xscreensaver: Update to 6.03 to x11/xscreensaver: Update to 6.04.Jun 13 2022, 10:03 AM

Latest upstream version is now 6.04

Update patch accordingly.

Fix icon in xscreensaver-start.desktop

Add run dep on p5-LWP-Protocol-https

The new "mapscroller" hack needs LWP::Protocol::https.

Re-apply accidentally reverted icon fix.

rebase after created-by removal

rebase after gdk-pixbuf change

cy requested changes to this revision.Jul 29 2022, 8:47 PM

Please submit this as two patches, one dependent on the other.

x11/xscreensaver/Makefile
20

This is a cosmetic change and should be a separate commit.

Changes like in an update "something" mess up history making it difficult for those of us who follow looking to bisect some bug.

Though this change is simple enough it's counter to the make one change per commit paradigm.

If separate commits would break a port (or build in src) -- see my upcoming (not yet in the tree for a week or two) cde commit -- one would commit the jumbo patch with sufficient documentation in the commit log why all the changes are being done at once.

This revision now requires changes to proceed.Jul 29 2022, 8:47 PM

Or document the minor cosmetic change. (This change may be minor enough to commit it as is.)

Seriously, I think it would be pretty ridiculous to make one single line break an extra commit. But I'll happily mention it in the commit message of course ;)

So far, this isn't ready to land anyways cause I'm still waiting for an EN fixing a bug in pam_exec for 13.x-RELEASE...

In D35348#817241, @felix_palmen-it.de wrote:

Seriously, I think it would be pretty ridiculous to make one single line break an extra commit. But I'll happily mention it in the commit message of course ;)

Your commit log message might read,

Update to 6.0.5.

Any code for calling an external helper for PAM was removed in 6.03,
therefore replace pam_helper by unix-selfauth-helper that's called by
pam_exec.so.

Minor formatting adjustments.

You don't need to articulate each adjustment. You need to mention that adjustments outside of the primary change will be made.

So far, this isn't ready to land anyways cause I'm still waiting for an EN fixing a bug in pam_exec for 13.x-RELEASE...

In D35348#817314, @cy wrote:

You don't need to articulate each adjustment. You need to mention that adjustments outside of the primary change will be made.

That, of course, totally makes sense and I'll keep it in mind in case I'll be able to commit it, we will see. Nothing against separating formatting changes into separate commits of course, I practice that myself, I just think it's a bit over-the-top for one simple added linebreak ;)

In D35348#817314, @cy wrote:

You don't need to articulate each adjustment. You need to mention that adjustments outside of the primary change will be made.

That, of course, totally makes sense and I'll keep it in mind in case I'll be able to commit it, we will see. Nothing against separating formatting changes into separate commits of course, I practice that myself, I just think it's a bit over-the-top for one simple added linebreak ;)

Back in the CVS days we the guidance regarding ports commits was loose. People tended to patches into commits because CVS was difficult to use. When we switched to SVN the guidance was to batch patches into larger commit packages. The reason for this was that each commit caused significant repo bloat. Now that we use GIT the bloat problem is no more. Additionally, committing to a repo is cheap and pushing multiple commits is easy.

I altered my approach to commits when I got my src commit bit. In src they tended to break down commits into functional and cosmetic changes, making it easier to follow along when reading history. Many ports committers have adopted this same strategy. I've noticed that since we cut from SVN to GIT that more people comment negatively about "jumbo" commits than in the past. It's my impression that ports approach is becoming more like that of src in this regard. This would be my advice.

Now that you are a committer, I trust that your mentor (tcbrener) will guide you through the process. As such, the patch looks good. Work with tcbrener@ to commit it.

When you commit this the commit log should say reviewed by those who have accepted the revision and approved by your mentor. tcbrener@ will guide you through this too.

Have fun. ;)

This revision is now accepted and ready to land.Aug 2 2022, 12:58 PM

Rebase onto current main, add note about the cosmetic fix to USES.

This revision now requires review to proceed.Aug 30 2022, 5:55 PM
zirias edited reviewers, added: bapt, tcberner; removed: cy, vishwin.
This revision is now accepted and ready to land.Aug 30 2022, 6:00 PM
This revision was automatically updated to reflect the committed changes.