-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New package: forgejo-13.0.4 #58445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
New package: forgejo-13.0.4 #58445
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| #!/bin/sh | ||
|
|
||
| exec 2>&1 | ||
| export HOME=/var/lib/forgejo | ||
| exec chpst -u forgejo -C $HOME /usr/bin/forgejo -w $HOME |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| # Template file for 'forgejo' | ||
| pkgname=forgejo | ||
| version=13.0.4 | ||
| revision=1 | ||
| build_style=go | ||
| go_import_path="forgejo.org" | ||
| go_build_tags="sqlite sqlite_unlock_notify bindata" | ||
| go_ldflags=" -X main.Version=${version}" | ||
| hostmakedepends="nodejs" | ||
| makedepends="sqlite-devel" | ||
| depends="git" | ||
| checkdepends="git nodejs openssh" | ||
| short_desc="Self-hosted lightweight software forge" | ||
| maintainer="Radek Olšák <[email protected]>" | ||
| license="GPL-3.0-or-later" | ||
| homepage="https://forgejo.org" | ||
| changelog="https://codeberg.org/forgejo/forgejo/raw/branch/forgejo/release-notes-published/${version}.md" | ||
| distfiles="https://codeberg.org/forgejo/forgejo/archive/v${version}.tar.gz" | ||
| checksum=c755edfda0fb6bd2478da5ea64cf885be0c982d294610a4c7ae7b4d0f190281e | ||
| make_dirs="/var/lib/forgejo 0750 forgejo forgejo" | ||
| system_accounts="forgejo" | ||
| forgejo_homedir="/var/lib/forgejo" | ||
| # For SSH access. | ||
| forgejo_shell="/bin/bash" | ||
| nopie_files="/usr/bin/forgejo" | ||
|
|
||
| do_build() { | ||
| make TAGS="${go_build_tags}" CGO_LDFLAGS="$LDFLAGS" LDFLAGS="$go_ldflags" FORGEJO_VERSION="${version}" build ${makejobs} | ||
| } | ||
|
|
||
| do_check() { | ||
| make test ${makejobs} | ||
| } | ||
|
|
||
| do_install() { | ||
| vbin gitea forgejo | ||
| } | ||
|
Comment on lines
+35
to
+37
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A Void package should not arbitrarily rename the only executable provided by the project. That said, unless and until upstream decides to differentiate its project enough to actually call the executable by its own name, I have a hard time considering this package suitable for inclusion.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| post_install() { | ||
| vsv forgejo | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As previously noted, this should probably not be enforced; however, if there is a real reason to demand bash, the package would have to depend on
bash.