updating alpine port to new version (as a maintainer)

Marco Beishuizen mbeis at xs4all.nl
Sat Jan 17 22:03:28 UTC 2015


On Sat, 17 Jan 2015, the wise Scot Hetzel wrote:

> Are you using the correct version of the maildir.patch.gz.
>
> If you look on line 116 of the original Makefile, it shows:
>
> 116 PATCH_SITES= http://patches.freeiz.com/alpine/patches/alpine-2.11/
> 117 PATCHFILES+= maildir.patch.gz
>
> You should change that line so that it shows alpine-2.20 or
> alpine-${PORTVERSION} instead.

Yes I already saw this and changed it.

> I checked the alpine-2.20/maildir.patch.gz and it shows that sm_read
> requires 2 arguments.
>
> Since the patch file isn't versioned, you will have to remove the file
> from your distfiles and run make checksum to update the checksum for
> the file.

This didn't work:

===>  License APACHE20 accepted by the user
===>  Found saved configuration for alpine-2.11_2
===>   alpine-2.20 depends on file: /usr/local/sbin/pkg - found
=> alpine-2.20.tar.xz doesn't seem to exist in 
/usr/ports/distfiles/alpine-2.20.
=> Attempting to fetch 
http://patches.freeiz.com/alpine/release/src/alpine-2.20.tar.xz
alpine-2.20.tar.xz                            100% of 4717 kB  388 kBps 
00m12s
=> maildir.patch.gz doesn't seem to exist in 
/usr/ports/distfiles/alpine-2.20.
=> Attempting to fetch 
http://patches.freeiz.com/alpine/patches/alpine-2.20/maildir.patch.gz
maildir.patch.gz                              100% of   33 kB 5433 kBps 
00m00s
===> Fetching all distfiles required by alpine-2.20 for building
=> SHA256 Checksum OK for alpine-2.20/alpine-2.20.tar.xz.
=> No SHA256 checksum recorded for alpine-2.20/maildir.patch.gz.
=> No suitable checksum found for alpine-2.20/maildir.patch.gz.
*** Error code 1

> Another option is to change lines 116 and 117 to:
>
> 116 PATCH_SITES= http://patches.freeiz.com/alpine/patches/
> 117 PATCHFILES+= alpine-${PORTVERSION}/maildir.patch.gz
>
> This will ensure everyone has the correct version of the maildir.patch.gz file.

Errors here too:

===>  License APACHE20 accepted by the user
===>  Found saved configuration for alpine-2.11_2
===>   alpine-2.20 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by alpine-2.20 for building
=> SHA256 Checksum OK for alpine-2.20/alpine-2.20.tar.xz.
cannot open alpine-2.20/alpine-2.20/maildir.patch.gz: No such file or 
directory
*** Error code 2

Regards,

Marco

-- 
I have made this letter longer than usual
because I lack the time to make it shorter.
 		-- Blaise Pascal


More information about the freebsd-ports mailing list