Index | Thread | Search

From:
Igor Zornik <mocheryl@mocheryl.org>
Subject:
Re: NEW: www/forgejo
To:
Purple Rain <purplerain@secbsd.org>, ports@openbsd.org
Date:
Sun, 14 Jul 2024 09:24:43 +0200

Download raw body.

Thread
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.