Bug 258675 - mail/alpine: distinfo out of date for maildir.patch.gz
Summary: mail/alpine: distinfo out of date for maildir.patch.gz
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-22 12:24 UTC by Trond Endrestøl
Modified: 2022-01-30 18:20 UTC (History)
4 users (show)

See Also:
mbeis: maintainer-feedback+


Attachments
Patch for mail/alpine/distinfo correcting checksum and size for maildir.patch.gz (603 bytes, patch)
2021-09-22 12:24 UTC, Trond Endrestøl
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Trond Endrestøl 2021-09-22 12:24:02 UTC
distinfo is out of date for maildir.patch.gz. Patch will soon follow.
Comment 1 Trond Endrestøl 2021-09-22 12:24:22 UTC
Created attachment 228120 [details]
Patch for mail/alpine/distinfo correcting checksum and size for maildir.patch.gz
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2021-09-27 08:27:38 UTC
Is it possible to verify what have been changed in the rerolled distfile?
Comment 3 Trond Endrestøl 2021-09-27 09:35:46 UTC
(In reply to Li-Wen Hsu from comment #2)
The previous maildir.patch.gz can be reached at http://alpine.x10host.com/alpine/patches/alpine-2.24/maildir.patch.gz

Maybe these files should be placed in versioned directories in /usr/ports/distfiles, e.g. /usr/ports/distfiles/alpine-2.24.

The above host is unreachable for me, right now.
Comment 4 Trond Endrestøl 2021-10-01 15:11:07 UTC
alpine.x10host.com is alive again.
I have reached out to chappa@washington.edu awaiting a reply.
Ref. http://alpine.x10host.com/alpine/patches/
Comment 5 Freddy DISSAUX 2021-10-02 08:47:39 UTC
confirm distinfo is out of date and patch fix it
Comment 6 Trond Endrestøl 2021-10-04 06:48:44 UTC
(In reply to Trond.Endrestol from comment #4)
I received this the other day:

From: Eduardo Chappa [<] eduardo [.] chappa [@] gmx [.] com [>]
To: Trond Endrestøl [<] trond [.] endrestol [@] ximalas [.] info [>]
Date: Sat, 2 Oct 2021 09:17:27 -0600 (MDT)
Subject: Re: Recent change to maildir.patch.gz

Dear Trond,

  thank you for your message. I imagine that you are referring to the changes between the initial release of the maildir patch, and the current release of the maildir patch.

  A user notified that his compiler failed to build alpine when patched with the maildir patch due to the existence of a non-declared function in the dummy driver. This needed modifications of the maildir patch. While I was on it, I also got rid of many warnings that
the compiler gave me. This resulted in many changes to the patch.

  I am sorry that the combination of "patch" + version + SHA256 does not determine a unique "patch". The reason why this happens is because I sometimes need to clear bugs in the code, and so the patch changes, making the corresponding change in the SHA256, which seems
to be the issue you are having. I do publish the SHA256 sums, and they change not because I am evil towards you but because I need to make changes to the code. If you are interested in preserving the SHA256 you will have to download the patch to your site, but then you
will not get any updates I might make.

  One more time I apologize for this inconvenience, but the behavior you just found will continue happening when I need to fix bugs or add new features. In the case that just happened, it was to solve issues with compilation for a compiler.

  I hope this helps.
Comment 7 beckman 2022-01-30 18:20:17 UTC
Maybe related? Cannot download maildir.patch.gz when installing from ports.

Any planned progress here?

=> maildir.patch.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://alpine.x10host.com/alpine/patches/alpine-2.25/maildir.patch.gz
fetch: http://alpine.x10host.com/alpine/patches/alpine-2.25/maildir.patch.gz: size mismatch: expected 33849, actual 34788
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/maildir.patch.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/maildir.patch.gz: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/mail/alpine
*** Error code 1