Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: NEW: www/forgejo
To:
Igor Zornik <mocheryl@mocheryl.org>, Purple Rain <purplerain@secbsd.org>, <ports@openbsd.org>
Date:
Sun, 14 Jul 2024 11:01:02 +0100

Download raw body.

Thread
Might as well just write the manual directly to ${PREFIX}/man/man1/ in 
post-install:, there's no need for the extra steps.

-- 
  Sent from a phone, apologies for poor formatting.

On 14 July 2024 08:25:08 Igor Zornik <mocheryl@mocheryl.org> wrote:

> Hello,
>
> A few points I would like to make.
>
> This port doesn’t work as-is because it fails to account for the new
> daemon user. You must add appropriate entries to PLIST for that.
>
> Is there a reason we couldn’t use the single-binary build mode? The
> distribution already includes all the generated files which is great
> because no extra work is needed. Just including “bindata” into tags
> seems to work.
>
> Here’s also a little trick to get the man page. Add a post-build event
> where we write the file:
>
> post-build:
> 	@mkdir -p ${WRKSRC}/man/man1
> 	${MODGO_WORKSPACE}/bin/gitea docs --man > ${WRKSRC}/man/man1/forgejo.1
>
> Then move it in the post install event:
>
> ${INSTALL_MAN} ${WRKSRC}/man/man1/forgejo.1 ${PREFIX}/man/man1/
>
> On 7/5/24 10:07, Purple Rain wrote:
>> Hello ports@,
>>
>> Here is a new port www/forgejo 7.0.5.
>>
>> Forgejo is a self-hosted lightweight version control software.
>> A hard fork of Gitea. Forgejo is built to be privacy first.
>>
>> The difference between Forgejo and Gitea:
>> https://forgejo.org/compare-to-gitea
>>
>> This works OK on OpenBSD-7.5-current amd64.
>>
>> OK?
>>
>> Purple Rain.