* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2023-06-29 21:34 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2023-06-29 21:34 UTC (permalink / raw
To: gentoo-commits
commit: b01a9bc35bb316629ff5b20f48b8b748a63fa77c
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Thu Jun 29 21:33:51 2023 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Thu Jun 29 21:34:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b01a9bc3
www-apps/forgejo: add 1.19.3.0
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 1 +
www-apps/forgejo/forgejo-1.19.3.0.ebuild | 127 +++++++++++++++++++++++++++++++
2 files changed, 128 insertions(+)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index e02f0825b..20af5f1c2 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1 +1,2 @@
DIST forgejo-1.18.0.1.tar.gz 58980172 BLAKE2B c5e9b276c9446f8f4ceb9dc00d502fe13b92d1c812526252315cc478148c3438fa3ecc8ef883f0dc092a09f812480e4c3166ca474e7f013a12596a02381488ca SHA512 f1d6989cdf4df981e0c0d9f3abe49686c4ee5ddebfd2e54b384a8f52357b556c7bf48ea79cf7a8f9e32cda35e319a9c486c66d2d7a5e5d75fb0d1ad1a6e23598
+DIST forgejo-1.19.3.0.tar.gz 60542292 BLAKE2B d96fe5ce326a2229c841af6f2329d7e711e48749323ab43b977e23ee36e660745d65a42a2430b995b3699177721731aba9b972f8b1e263b16ef738c0ebca827c SHA512 446dc7725238db63da1ced323a800ee62f78906c255f73169b35d2582241c79b55b9e22c6cd6426429270e69582db524533b4ad595f2a4733814d4e34e6b340b
diff --git a/www-apps/forgejo/forgejo-1.19.3.0.ebuild b/www-apps/forgejo/forgejo-1.19.3.0.ebuild
new file mode 100644
index 000000000..e9010e5d9
--- /dev/null
+++ b/www-apps/forgejo/forgejo-1.19.3.0.ebuild
@@ -0,0 +1,127 @@
+# Copyright 2016-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fcaps go-module tmpfiles systemd flag-o-matic
+
+MY_PV="$(ver_cut 1-3)-$(ver_cut 4)"
+DESCRIPTION="A self-hosted lightweight software forge"
+HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://codeberg.org/forgejo/forgejo"
+else
+ SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+fi
+
+S="${WORKDIR}/${PN}-src-${MY_PV}"
+
+LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="+acct pam sqlite pie"
+
+DEPEND="
+ acct? (
+ acct-group/git
+ acct-user/git[gitea] )
+ pam? ( sys-libs/pam )"
+RDEPEND="${DEPEND}
+ dev-vcs/git
+ !www-apps/gitea" # until acct-user/git[forgejo]
+
+DOCS=(
+ custom/conf/app.example.ini CONTRIBUTING.md README.md
+)
+FILECAPS=(
+ -m 711 cap_net_bind_service+ep usr/bin/forgejo
+)
+
+RESTRICT="test"
+
+src_prepare() {
+ default
+
+ local sedcmds=(
+ -e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#"
+ -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/forgejo#"
+ -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#"
+ -e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
+ -e "s#^MODE = console#MODE = file#"
+ -e "s#^LEVEL = Trace#LEVEL = Info#"
+ -e "s#^LOG_SQL = true#LOG_SQL = false#"
+ -e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#"
+ )
+
+ sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die
+ if use sqlite ; then
+ sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die
+ fi
+}
+
+src_configure() {
+ # bug 832756 - PIE build issues
+ filter-flags -fPIE
+ filter-ldflags -fPIE -pie
+}
+
+src_compile() {
+ local forgejo_tags=(
+ bindata
+ $(usev pam)
+ $(usex sqlite 'sqlite sqlite_unlock_notify' '')
+ )
+ local forgejo_settings=(
+ "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini"
+ "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
+ "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
+ )
+ local makeenv=(
+ DRONE_TAG="${PV}"
+ LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}"
+ TAGS="${forgejo_tags[*]}"
+ )
+
+ GOFLAGS=""
+ if use pie ; then
+ GOFLAGS+="-buildmode=pie"
+ fi
+
+ env "${makeenv[@]}" emake EXTRA_GOFLAGS="${GOFLAGS}" backend
+}
+
+src_install() {
+ cp gitea forgejo
+ dobin forgejo
+
+ einstalldocs
+
+ newconfd "${FILESDIR}/forgejo.confd-r1" forgejo
+ newinitd "${FILESDIR}/forgejo.initd-r3" forgejo
+ newtmpfiles - forgejo.conf <<-EOF
+ d /run/forgejo 0755 git git
+ EOF
+ systemd_newunit "${FILESDIR}"/forgejo.service-r3 forgejo.service
+
+ insinto /etc/forgejo
+ newins custom/conf/app.example.ini app.ini
+ if use acct; then
+ fowners root:git /etc/forgejo/{,app.ini}
+ fperms g+w,o-rwx /etc/forgejo/{,app.ini}
+
+ diropts -m0750 -o git -g git
+ keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data
+ keepdir /var/log/forgejo
+ fi
+}
+
+pkg_postinst() {
+ fcaps_pkg_postinst
+ tmpfiles_process forgejo.conf
+
+ ewarn "${PN} ${MY_PV} will continue to use /var/lib/gitea as the default home,"
+ ewarn "as acct-user/git[gitea] depends on it, and acct-user[forgejo] does not"
+ ewarn "exist yet."
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2023-06-29 21:55 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2023-06-29 21:55 UTC (permalink / raw
To: gentoo-commits
commit: e15ae1f3ffc6901ee547449c9e99336fc60e2572
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Thu Jun 29 21:51:12 2023 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Thu Jun 29 21:54:47 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e15ae1f3
www-apps/forgejo: add myself as a maintainer
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/metadata.xml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/www-apps/forgejo/metadata.xml b/www-apps/forgejo/metadata.xml
index 3e4c59ae5..6b7bf3b34 100644
--- a/www-apps/forgejo/metadata.xml
+++ b/www-apps/forgejo/metadata.xml
@@ -1,7 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>artemis@artemis.sh</email>
+ <description>Primary maintainer</description>
+ <name>Artemis Everfree</name>
+ </maintainer>
+ <upstream>
+ <changelog>https://codeberg.org/forgejo/forgejo/releases</changelog>
+ <bugs-to>https://codeberg.org/forgejo/forgejo/issues</bugs-to>
+ </upstream>
<use>
<flag name="acct">User and group management via acct-*/git packages</flag>
</use>
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2023-07-08 8:31 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2023-07-08 8:31 UTC (permalink / raw
To: gentoo-commits
commit: 9950feaf1498baba4dfe85bdd6377543ef9b8372
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sat Jul 8 08:29:09 2023 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sat Jul 8 08:30:46 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9950feaf
www-apps/forgejo: drop 1.19.3.0
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 1 -
www-apps/forgejo/forgejo-1.19.3.0.ebuild | 127 -------------------------------
2 files changed, 128 deletions(-)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index a0fa45412..f87409daa 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,3 +1,2 @@
DIST forgejo-1.18.0.1.tar.gz 58980172 BLAKE2B c5e9b276c9446f8f4ceb9dc00d502fe13b92d1c812526252315cc478148c3438fa3ecc8ef883f0dc092a09f812480e4c3166ca474e7f013a12596a02381488ca SHA512 f1d6989cdf4df981e0c0d9f3abe49686c4ee5ddebfd2e54b384a8f52357b556c7bf48ea79cf7a8f9e32cda35e319a9c486c66d2d7a5e5d75fb0d1ad1a6e23598
-DIST forgejo-1.19.3.0.tar.gz 60542292 BLAKE2B d96fe5ce326a2229c841af6f2329d7e711e48749323ab43b977e23ee36e660745d65a42a2430b995b3699177721731aba9b972f8b1e263b16ef738c0ebca827c SHA512 446dc7725238db63da1ced323a800ee62f78906c255f73169b35d2582241c79b55b9e22c6cd6426429270e69582db524533b4ad595f2a4733814d4e34e6b340b
DIST forgejo-1.19.4.0.tar.gz 60635393 BLAKE2B 7fe8e10f7aae8371c4a540290bb24c67a0521080eb58c7749c95d977320781e2e11ba754a42a333c706d243cf0170178dd62da5338540576d214f281b3da6daa SHA512 4870a7804c3cefab4aac38f30ac60874d9a7359b29e8f765ee9a1f41bc543fdd445a21c6e808f864c56ce22f79f6038b15eec4325c556ef6288ad6635977533f
diff --git a/www-apps/forgejo/forgejo-1.19.3.0.ebuild b/www-apps/forgejo/forgejo-1.19.3.0.ebuild
deleted file mode 100644
index e9010e5d9..000000000
--- a/www-apps/forgejo/forgejo-1.19.3.0.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 2016-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit fcaps go-module tmpfiles systemd flag-o-matic
-
-MY_PV="$(ver_cut 1-3)-$(ver_cut 4)"
-DESCRIPTION="A self-hosted lightweight software forge"
-HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
-
-if [[ ${PV} == *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://codeberg.org/forgejo/forgejo"
-else
- SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-fi
-
-S="${WORKDIR}/${PN}-src-${MY_PV}"
-
-LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
-SLOT="0"
-IUSE="+acct pam sqlite pie"
-
-DEPEND="
- acct? (
- acct-group/git
- acct-user/git[gitea] )
- pam? ( sys-libs/pam )"
-RDEPEND="${DEPEND}
- dev-vcs/git
- !www-apps/gitea" # until acct-user/git[forgejo]
-
-DOCS=(
- custom/conf/app.example.ini CONTRIBUTING.md README.md
-)
-FILECAPS=(
- -m 711 cap_net_bind_service+ep usr/bin/forgejo
-)
-
-RESTRICT="test"
-
-src_prepare() {
- default
-
- local sedcmds=(
- -e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#"
- -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/forgejo#"
- -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#"
- -e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
- -e "s#^MODE = console#MODE = file#"
- -e "s#^LEVEL = Trace#LEVEL = Info#"
- -e "s#^LOG_SQL = true#LOG_SQL = false#"
- -e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#"
- )
-
- sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die
- if use sqlite ; then
- sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die
- fi
-}
-
-src_configure() {
- # bug 832756 - PIE build issues
- filter-flags -fPIE
- filter-ldflags -fPIE -pie
-}
-
-src_compile() {
- local forgejo_tags=(
- bindata
- $(usev pam)
- $(usex sqlite 'sqlite sqlite_unlock_notify' '')
- )
- local forgejo_settings=(
- "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini"
- "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
- "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
- )
- local makeenv=(
- DRONE_TAG="${PV}"
- LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}"
- TAGS="${forgejo_tags[*]}"
- )
-
- GOFLAGS=""
- if use pie ; then
- GOFLAGS+="-buildmode=pie"
- fi
-
- env "${makeenv[@]}" emake EXTRA_GOFLAGS="${GOFLAGS}" backend
-}
-
-src_install() {
- cp gitea forgejo
- dobin forgejo
-
- einstalldocs
-
- newconfd "${FILESDIR}/forgejo.confd-r1" forgejo
- newinitd "${FILESDIR}/forgejo.initd-r3" forgejo
- newtmpfiles - forgejo.conf <<-EOF
- d /run/forgejo 0755 git git
- EOF
- systemd_newunit "${FILESDIR}"/forgejo.service-r3 forgejo.service
-
- insinto /etc/forgejo
- newins custom/conf/app.example.ini app.ini
- if use acct; then
- fowners root:git /etc/forgejo/{,app.ini}
- fperms g+w,o-rwx /etc/forgejo/{,app.ini}
-
- diropts -m0750 -o git -g git
- keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data
- keepdir /var/log/forgejo
- fi
-}
-
-pkg_postinst() {
- fcaps_pkg_postinst
- tmpfiles_process forgejo.conf
-
- ewarn "${PN} ${MY_PV} will continue to use /var/lib/gitea as the default home,"
- ewarn "as acct-user/git[gitea] depends on it, and acct-user[forgejo] does not"
- ewarn "exist yet."
-}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2023-07-08 8:31 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2023-07-08 8:31 UTC (permalink / raw
To: gentoo-commits
commit: 34e762b98a2c983538ea4fdaf06c570d51e628b6
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sat Jul 8 08:28:07 2023 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sat Jul 8 08:30:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=34e762b9
www-apps/forgejo: add 1.19.4.0
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 1 +
www-apps/forgejo/forgejo-1.19.4.0.ebuild | 127 +++++++++++++++++++++++++++++++
2 files changed, 128 insertions(+)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index 20af5f1c2..a0fa45412 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,2 +1,3 @@
DIST forgejo-1.18.0.1.tar.gz 58980172 BLAKE2B c5e9b276c9446f8f4ceb9dc00d502fe13b92d1c812526252315cc478148c3438fa3ecc8ef883f0dc092a09f812480e4c3166ca474e7f013a12596a02381488ca SHA512 f1d6989cdf4df981e0c0d9f3abe49686c4ee5ddebfd2e54b384a8f52357b556c7bf48ea79cf7a8f9e32cda35e319a9c486c66d2d7a5e5d75fb0d1ad1a6e23598
DIST forgejo-1.19.3.0.tar.gz 60542292 BLAKE2B d96fe5ce326a2229c841af6f2329d7e711e48749323ab43b977e23ee36e660745d65a42a2430b995b3699177721731aba9b972f8b1e263b16ef738c0ebca827c SHA512 446dc7725238db63da1ced323a800ee62f78906c255f73169b35d2582241c79b55b9e22c6cd6426429270e69582db524533b4ad595f2a4733814d4e34e6b340b
+DIST forgejo-1.19.4.0.tar.gz 60635393 BLAKE2B 7fe8e10f7aae8371c4a540290bb24c67a0521080eb58c7749c95d977320781e2e11ba754a42a333c706d243cf0170178dd62da5338540576d214f281b3da6daa SHA512 4870a7804c3cefab4aac38f30ac60874d9a7359b29e8f765ee9a1f41bc543fdd445a21c6e808f864c56ce22f79f6038b15eec4325c556ef6288ad6635977533f
diff --git a/www-apps/forgejo/forgejo-1.19.4.0.ebuild b/www-apps/forgejo/forgejo-1.19.4.0.ebuild
new file mode 100644
index 000000000..e9010e5d9
--- /dev/null
+++ b/www-apps/forgejo/forgejo-1.19.4.0.ebuild
@@ -0,0 +1,127 @@
+# Copyright 2016-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fcaps go-module tmpfiles systemd flag-o-matic
+
+MY_PV="$(ver_cut 1-3)-$(ver_cut 4)"
+DESCRIPTION="A self-hosted lightweight software forge"
+HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://codeberg.org/forgejo/forgejo"
+else
+ SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+fi
+
+S="${WORKDIR}/${PN}-src-${MY_PV}"
+
+LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="+acct pam sqlite pie"
+
+DEPEND="
+ acct? (
+ acct-group/git
+ acct-user/git[gitea] )
+ pam? ( sys-libs/pam )"
+RDEPEND="${DEPEND}
+ dev-vcs/git
+ !www-apps/gitea" # until acct-user/git[forgejo]
+
+DOCS=(
+ custom/conf/app.example.ini CONTRIBUTING.md README.md
+)
+FILECAPS=(
+ -m 711 cap_net_bind_service+ep usr/bin/forgejo
+)
+
+RESTRICT="test"
+
+src_prepare() {
+ default
+
+ local sedcmds=(
+ -e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#"
+ -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/forgejo#"
+ -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#"
+ -e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
+ -e "s#^MODE = console#MODE = file#"
+ -e "s#^LEVEL = Trace#LEVEL = Info#"
+ -e "s#^LOG_SQL = true#LOG_SQL = false#"
+ -e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#"
+ )
+
+ sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die
+ if use sqlite ; then
+ sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die
+ fi
+}
+
+src_configure() {
+ # bug 832756 - PIE build issues
+ filter-flags -fPIE
+ filter-ldflags -fPIE -pie
+}
+
+src_compile() {
+ local forgejo_tags=(
+ bindata
+ $(usev pam)
+ $(usex sqlite 'sqlite sqlite_unlock_notify' '')
+ )
+ local forgejo_settings=(
+ "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini"
+ "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
+ "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
+ )
+ local makeenv=(
+ DRONE_TAG="${PV}"
+ LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}"
+ TAGS="${forgejo_tags[*]}"
+ )
+
+ GOFLAGS=""
+ if use pie ; then
+ GOFLAGS+="-buildmode=pie"
+ fi
+
+ env "${makeenv[@]}" emake EXTRA_GOFLAGS="${GOFLAGS}" backend
+}
+
+src_install() {
+ cp gitea forgejo
+ dobin forgejo
+
+ einstalldocs
+
+ newconfd "${FILESDIR}/forgejo.confd-r1" forgejo
+ newinitd "${FILESDIR}/forgejo.initd-r3" forgejo
+ newtmpfiles - forgejo.conf <<-EOF
+ d /run/forgejo 0755 git git
+ EOF
+ systemd_newunit "${FILESDIR}"/forgejo.service-r3 forgejo.service
+
+ insinto /etc/forgejo
+ newins custom/conf/app.example.ini app.ini
+ if use acct; then
+ fowners root:git /etc/forgejo/{,app.ini}
+ fperms g+w,o-rwx /etc/forgejo/{,app.ini}
+
+ diropts -m0750 -o git -g git
+ keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data
+ keepdir /var/log/forgejo
+ fi
+}
+
+pkg_postinst() {
+ fcaps_pkg_postinst
+ tmpfiles_process forgejo.conf
+
+ ewarn "${PN} ${MY_PV} will continue to use /var/lib/gitea as the default home,"
+ ewarn "as acct-user/git[gitea] depends on it, and acct-user[forgejo] does not"
+ ewarn "exist yet."
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2023-07-25 19:36 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2023-07-25 19:36 UTC (permalink / raw
To: gentoo-commits
commit: aca70b0f4e06ba0dcc7a914d9a4807a18fd7aa1f
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Tue Jul 25 19:34:49 2023 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Tue Jul 25 19:36:01 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aca70b0f
www-apps/forgejo: add 1.20.1.0, drop 1.18.0.1
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 3 ++-
...ejo-1.18.0.1.ebuild => forgejo-1.20.1.0.ebuild} | 22 +++++++++++++---------
2 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index f87409daa..deebbb604 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,2 +1,3 @@
-DIST forgejo-1.18.0.1.tar.gz 58980172 BLAKE2B c5e9b276c9446f8f4ceb9dc00d502fe13b92d1c812526252315cc478148c3438fa3ecc8ef883f0dc092a09f812480e4c3166ca474e7f013a12596a02381488ca SHA512 f1d6989cdf4df981e0c0d9f3abe49686c4ee5ddebfd2e54b384a8f52357b556c7bf48ea79cf7a8f9e32cda35e319a9c486c66d2d7a5e5d75fb0d1ad1a6e23598
DIST forgejo-1.19.4.0.tar.gz 60635393 BLAKE2B 7fe8e10f7aae8371c4a540290bb24c67a0521080eb58c7749c95d977320781e2e11ba754a42a333c706d243cf0170178dd62da5338540576d214f281b3da6daa SHA512 4870a7804c3cefab4aac38f30ac60874d9a7359b29e8f765ee9a1f41bc543fdd445a21c6e808f864c56ce22f79f6038b15eec4325c556ef6288ad6635977533f
+DIST forgejo-1.20.1.0.tar.gz 30700591 BLAKE2B d794a8a121e8e01bdd643122f1c1be8d046e3a50137b00abf1cae43b24f32040fc82f088b694c617d8f20853d1d9b21a3ce99395b776a58ff7a37f717fbf431f SHA512 642b4ae14c1cedfcf856e0fad67e9825becce002c12d0431d247082c2e2f193ea8d8459a40a3fa69497fa3da6dca46ced5a855fb4dc1e52a34211e8938666cb0
+DIST forgejo-node-modules-cache-1.20.1.0.tar.gz 152983555 BLAKE2B e626ab10122c9105ae7861fbe869fcbd3203ef81152b4ac7a4521106303d7a80929c2fac1cde0eabe587f527aaa55b089973ec5019234127fb5024265f8a9928 SHA512 41eb9e09165e65cbb8a04e8b45e34a92b821343539549295dda6ae78995e89fb6341182555c2815754b8e6a8476c037a1ee89625a934e9f711109162d42c4b16
diff --git a/www-apps/forgejo/forgejo-1.18.0.1.ebuild b/www-apps/forgejo/forgejo-1.20.1.0.ebuild
similarity index 82%
rename from www-apps/forgejo/forgejo-1.18.0.1.ebuild
rename to www-apps/forgejo/forgejo-1.20.1.0.ebuild
index e9010e5d9..093ab08a1 100644
--- a/www-apps/forgejo/forgejo-1.18.0.1.ebuild
+++ b/www-apps/forgejo/forgejo-1.20.1.0.ebuild
@@ -9,14 +9,11 @@ MY_PV="$(ver_cut 1-3)-$(ver_cut 4)"
DESCRIPTION="A self-hosted lightweight software forge"
HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
-if [[ ${PV} == *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://codeberg.org/forgejo/forgejo"
-else
- SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-fi
-
+SRC_URI="
+ https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz
+ https://pkg.artemis.sh/gentoo/pkg-deps/www-apps/forgejo/forgejo-node-modules-cache-${PV}.tar.gz
+"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
S="${WORKDIR}/${PN}-src-${MY_PV}"
LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
@@ -28,6 +25,9 @@ DEPEND="
acct-group/git
acct-user/git[gitea] )
pam? ( sys-libs/pam )"
+BDEPEND="
+ net-libs/nodejs[npm]
+"
RDEPEND="${DEPEND}
dev-vcs/git
!www-apps/gitea" # until acct-user/git[forgejo]
@@ -82,6 +82,7 @@ src_compile() {
DRONE_TAG="${PV}"
LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}"
TAGS="${forgejo_tags[*]}"
+ npm_config_cache="${WORKDIR}/node-modules-cache"
)
GOFLAGS=""
@@ -89,7 +90,10 @@ src_compile() {
GOFLAGS+="-buildmode=pie"
fi
- env "${makeenv[@]}" emake EXTRA_GOFLAGS="${GOFLAGS}" backend
+ # need to set -j1 or build fails due to a race condition between MAKE jobs.
+ # this does not actually impact build parallelism, because the go compiler
+ # will still build everything in parallel when it's invoked.
+ env "${makeenv[@]}" emake -j1 EXTRA_GOFLAGS="${GOFLAGS}"
}
src_install() {
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2023-07-31 4:48 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2023-07-31 4:48 UTC (permalink / raw
To: gentoo-commits
commit: c782e387d05f2da073c38f0416a57b7043ac0568
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Mon Jul 31 04:46:51 2023 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Mon Jul 31 04:47:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c782e387
www-apps/forgejo: add 1.20.2.0
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 1 +
www-apps/forgejo/forgejo-1.20.2.0.ebuild | 124 +++++++++++++++++++++++++++++++
2 files changed, 125 insertions(+)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index deebbb6040..5a7b59e379 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,3 +1,4 @@
DIST forgejo-1.19.4.0.tar.gz 60635393 BLAKE2B 7fe8e10f7aae8371c4a540290bb24c67a0521080eb58c7749c95d977320781e2e11ba754a42a333c706d243cf0170178dd62da5338540576d214f281b3da6daa SHA512 4870a7804c3cefab4aac38f30ac60874d9a7359b29e8f765ee9a1f41bc543fdd445a21c6e808f864c56ce22f79f6038b15eec4325c556ef6288ad6635977533f
DIST forgejo-1.20.1.0.tar.gz 30700591 BLAKE2B d794a8a121e8e01bdd643122f1c1be8d046e3a50137b00abf1cae43b24f32040fc82f088b694c617d8f20853d1d9b21a3ce99395b776a58ff7a37f717fbf431f SHA512 642b4ae14c1cedfcf856e0fad67e9825becce002c12d0431d247082c2e2f193ea8d8459a40a3fa69497fa3da6dca46ced5a855fb4dc1e52a34211e8938666cb0
+DIST forgejo-1.20.2.0.tar.gz 54334985 BLAKE2B d00b3d841b9002ef6368569d07d3e3643fa6f17005446d9fb14303eb1a03e7ef9f018348822378dbb4e5b64bbaa20e586da0015c0c1a6dffde8dd1ec59ea9265 SHA512 16204c846a5ba66aa0d9d1ec35175737daa13e1bddfc6d5f72963b232381abe168887b852d592aff51b6cbbb34a50bee7391a8c013802d2ae74bc6baf4ee1f11
DIST forgejo-node-modules-cache-1.20.1.0.tar.gz 152983555 BLAKE2B e626ab10122c9105ae7861fbe869fcbd3203ef81152b4ac7a4521106303d7a80929c2fac1cde0eabe587f527aaa55b089973ec5019234127fb5024265f8a9928 SHA512 41eb9e09165e65cbb8a04e8b45e34a92b821343539549295dda6ae78995e89fb6341182555c2815754b8e6a8476c037a1ee89625a934e9f711109162d42c4b16
diff --git a/www-apps/forgejo/forgejo-1.20.2.0.ebuild b/www-apps/forgejo/forgejo-1.20.2.0.ebuild
new file mode 100644
index 0000000000..f647011285
--- /dev/null
+++ b/www-apps/forgejo/forgejo-1.20.2.0.ebuild
@@ -0,0 +1,124 @@
+# Copyright 2016-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fcaps go-module tmpfiles systemd flag-o-matic
+
+MY_PV="$(ver_cut 1-3)-$(ver_cut 4)"
+DESCRIPTION="A self-hosted lightweight software forge"
+HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
+
+SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+S="${WORKDIR}/${PN}-src-${MY_PV}"
+
+LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="+acct pam sqlite pie"
+
+DEPEND="
+ acct? (
+ acct-group/git
+ acct-user/git[gitea] )
+ pam? ( sys-libs/pam )"
+RDEPEND="${DEPEND}
+ dev-vcs/git
+ !www-apps/gitea" # until acct-user/git[forgejo]
+
+DOCS=(
+ custom/conf/app.example.ini CONTRIBUTING.md README.md
+)
+FILECAPS=(
+ -m 711 cap_net_bind_service+ep usr/bin/forgejo
+)
+
+RESTRICT="test"
+
+src_prepare() {
+ default
+
+ local sedcmds=(
+ -e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#"
+ -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/forgejo#"
+ -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#"
+ -e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
+ -e "s#^MODE = console#MODE = file#"
+ -e "s#^LEVEL = Trace#LEVEL = Info#"
+ -e "s#^LOG_SQL = true#LOG_SQL = false#"
+ -e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#"
+ )
+
+ sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die
+ if use sqlite ; then
+ sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die
+ fi
+}
+
+src_configure() {
+ # bug 832756 - PIE build issues
+ filter-flags -fPIE
+ filter-ldflags -fPIE -pie
+}
+
+src_compile() {
+ local forgejo_tags=(
+ bindata
+ $(usev pam)
+ $(usex sqlite 'sqlite sqlite_unlock_notify' '')
+ )
+ local forgejo_settings=(
+ "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini"
+ "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
+ "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
+ )
+ local makeenv=(
+ DRONE_TAG="${PV}"
+ LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}"
+ TAGS="${forgejo_tags[*]}"
+ )
+
+ GOFLAGS=""
+ if use pie ; then
+ GOFLAGS+="-buildmode=pie"
+ fi
+
+ # need to set -j1 or build fails due to a race condition between MAKE jobs.
+ # this does not actually impact build parallelism, because the go compiler
+ # will still build everything in parallel when it's invoked.
+ env "${makeenv[@]}" emake -j1 EXTRA_GOFLAGS="${GOFLAGS}" backend
+}
+
+src_install() {
+ cp gitea forgejo
+ dobin forgejo
+
+ einstalldocs
+
+ newconfd "${FILESDIR}/forgejo.confd-r1" forgejo
+ newinitd "${FILESDIR}/forgejo.initd-r3" forgejo
+ newtmpfiles - forgejo.conf <<-EOF
+ d /run/forgejo 0755 git git
+ EOF
+ systemd_newunit "${FILESDIR}"/forgejo.service-r3 forgejo.service
+
+ insinto /etc/forgejo
+ newins custom/conf/app.example.ini app.ini
+ if use acct; then
+ fowners root:git /etc/forgejo/{,app.ini}
+ fperms g+w,o-rwx /etc/forgejo/{,app.ini}
+
+ diropts -m0750 -o git -g git
+ keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data
+ keepdir /var/log/forgejo
+ fi
+}
+
+pkg_postinst() {
+ fcaps_pkg_postinst
+ tmpfiles_process forgejo.conf
+
+ ewarn "${PN} ${MY_PV} will continue to use /var/lib/gitea as the default home,"
+ ewarn "as acct-user/git[gitea] depends on it, and acct-user[forgejo] does not"
+ ewarn "exist yet."
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2023-09-05 14:05 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2023-09-05 14:05 UTC (permalink / raw
To: gentoo-commits
commit: 1d8993fb25082f8d34533a2e3f20ea9df38e42dd
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Tue Sep 5 14:03:08 2023 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Tue Sep 5 14:04:47 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1d8993fb
www-apps/forgejo: add 1.20.3.0, drop 1.20.1.0
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 3 +--
.../{forgejo-1.20.1.0.ebuild => forgejo-1.20.3.0.ebuild} | 11 ++---------
2 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index 5a7b59e379..673aa76ca5 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,4 +1,3 @@
DIST forgejo-1.19.4.0.tar.gz 60635393 BLAKE2B 7fe8e10f7aae8371c4a540290bb24c67a0521080eb58c7749c95d977320781e2e11ba754a42a333c706d243cf0170178dd62da5338540576d214f281b3da6daa SHA512 4870a7804c3cefab4aac38f30ac60874d9a7359b29e8f765ee9a1f41bc543fdd445a21c6e808f864c56ce22f79f6038b15eec4325c556ef6288ad6635977533f
-DIST forgejo-1.20.1.0.tar.gz 30700591 BLAKE2B d794a8a121e8e01bdd643122f1c1be8d046e3a50137b00abf1cae43b24f32040fc82f088b694c617d8f20853d1d9b21a3ce99395b776a58ff7a37f717fbf431f SHA512 642b4ae14c1cedfcf856e0fad67e9825becce002c12d0431d247082c2e2f193ea8d8459a40a3fa69497fa3da6dca46ced5a855fb4dc1e52a34211e8938666cb0
DIST forgejo-1.20.2.0.tar.gz 54334985 BLAKE2B d00b3d841b9002ef6368569d07d3e3643fa6f17005446d9fb14303eb1a03e7ef9f018348822378dbb4e5b64bbaa20e586da0015c0c1a6dffde8dd1ec59ea9265 SHA512 16204c846a5ba66aa0d9d1ec35175737daa13e1bddfc6d5f72963b232381abe168887b852d592aff51b6cbbb34a50bee7391a8c013802d2ae74bc6baf4ee1f11
-DIST forgejo-node-modules-cache-1.20.1.0.tar.gz 152983555 BLAKE2B e626ab10122c9105ae7861fbe869fcbd3203ef81152b4ac7a4521106303d7a80929c2fac1cde0eabe587f527aaa55b089973ec5019234127fb5024265f8a9928 SHA512 41eb9e09165e65cbb8a04e8b45e34a92b821343539549295dda6ae78995e89fb6341182555c2815754b8e6a8476c037a1ee89625a934e9f711109162d42c4b16
+DIST forgejo-1.20.3.0.tar.gz 55513966 BLAKE2B e8e6700b91b213bd9b5e336d35d075c6ae1522085a35698a9dbdac0a72cab1d0ab7c63764a01b338dd4aff365d895dab50d299fbed6ec5255b4ec74a2d9d0daa SHA512 20aa0067b7123847f00ccc90868cb99dc215e8bfb541cb9adfb9d205de7a30ff4d94693e43bd3ca86ea876daebc3cbbc46c41f502434467f862fe98198e75a8b
diff --git a/www-apps/forgejo/forgejo-1.20.1.0.ebuild b/www-apps/forgejo/forgejo-1.20.3.0.ebuild
similarity index 89%
rename from www-apps/forgejo/forgejo-1.20.1.0.ebuild
rename to www-apps/forgejo/forgejo-1.20.3.0.ebuild
index 093ab08a13..f647011285 100644
--- a/www-apps/forgejo/forgejo-1.20.1.0.ebuild
+++ b/www-apps/forgejo/forgejo-1.20.3.0.ebuild
@@ -9,10 +9,7 @@ MY_PV="$(ver_cut 1-3)-$(ver_cut 4)"
DESCRIPTION="A self-hosted lightweight software forge"
HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
-SRC_URI="
- https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz
- https://pkg.artemis.sh/gentoo/pkg-deps/www-apps/forgejo/forgejo-node-modules-cache-${PV}.tar.gz
-"
+SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
S="${WORKDIR}/${PN}-src-${MY_PV}"
@@ -25,9 +22,6 @@ DEPEND="
acct-group/git
acct-user/git[gitea] )
pam? ( sys-libs/pam )"
-BDEPEND="
- net-libs/nodejs[npm]
-"
RDEPEND="${DEPEND}
dev-vcs/git
!www-apps/gitea" # until acct-user/git[forgejo]
@@ -82,7 +76,6 @@ src_compile() {
DRONE_TAG="${PV}"
LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}"
TAGS="${forgejo_tags[*]}"
- npm_config_cache="${WORKDIR}/node-modules-cache"
)
GOFLAGS=""
@@ -93,7 +86,7 @@ src_compile() {
# need to set -j1 or build fails due to a race condition between MAKE jobs.
# this does not actually impact build parallelism, because the go compiler
# will still build everything in parallel when it's invoked.
- env "${makeenv[@]}" emake -j1 EXTRA_GOFLAGS="${GOFLAGS}"
+ env "${makeenv[@]}" emake -j1 EXTRA_GOFLAGS="${GOFLAGS}" backend
}
src_install() {
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2023-09-10 11:19 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2023-09-10 11:19 UTC (permalink / raw
To: gentoo-commits
commit: 4d1a64ab9ecd14a9df9b9afad2e9b0cbdbf31ccc
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sun Sep 10 11:18:44 2023 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sun Sep 10 11:18:44 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4d1a64ab
www-apps/forgejo: add 1.20.4.0, drop 1.20.2.0
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 2 +-
www-apps/forgejo/{forgejo-1.20.2.0.ebuild => forgejo-1.20.4.0.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index 673aa76ca5..a32b24b4e8 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,3 +1,3 @@
DIST forgejo-1.19.4.0.tar.gz 60635393 BLAKE2B 7fe8e10f7aae8371c4a540290bb24c67a0521080eb58c7749c95d977320781e2e11ba754a42a333c706d243cf0170178dd62da5338540576d214f281b3da6daa SHA512 4870a7804c3cefab4aac38f30ac60874d9a7359b29e8f765ee9a1f41bc543fdd445a21c6e808f864c56ce22f79f6038b15eec4325c556ef6288ad6635977533f
-DIST forgejo-1.20.2.0.tar.gz 54334985 BLAKE2B d00b3d841b9002ef6368569d07d3e3643fa6f17005446d9fb14303eb1a03e7ef9f018348822378dbb4e5b64bbaa20e586da0015c0c1a6dffde8dd1ec59ea9265 SHA512 16204c846a5ba66aa0d9d1ec35175737daa13e1bddfc6d5f72963b232381abe168887b852d592aff51b6cbbb34a50bee7391a8c013802d2ae74bc6baf4ee1f11
DIST forgejo-1.20.3.0.tar.gz 55513966 BLAKE2B e8e6700b91b213bd9b5e336d35d075c6ae1522085a35698a9dbdac0a72cab1d0ab7c63764a01b338dd4aff365d895dab50d299fbed6ec5255b4ec74a2d9d0daa SHA512 20aa0067b7123847f00ccc90868cb99dc215e8bfb541cb9adfb9d205de7a30ff4d94693e43bd3ca86ea876daebc3cbbc46c41f502434467f862fe98198e75a8b
+DIST forgejo-1.20.4.0.tar.gz 55536470 BLAKE2B d7cc2c1a056a33b07f33c2366b839dff314fc66b3b98b59738aa932416255a48637f5631e7443f1f53fe3650563269abf255906112b222fd5c430d9704a1f70d SHA512 b8861e47f700d4d4850295d0ef53b2f8255a5023e2ca48e9bc72a705b13033d0b4d8ad10279417b0a21c03ebdd1b86c25c3b8d06902b2cff4000592cc7b34283
diff --git a/www-apps/forgejo/forgejo-1.20.2.0.ebuild b/www-apps/forgejo/forgejo-1.20.4.0.ebuild
similarity index 100%
rename from www-apps/forgejo/forgejo-1.20.2.0.ebuild
rename to www-apps/forgejo/forgejo-1.20.4.0.ebuild
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2023-09-23 10:50 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2023-09-23 10:50 UTC (permalink / raw
To: gentoo-commits
commit: 4e0b18977310f693027882184238cee9dd416aae
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sat Sep 23 10:49:45 2023 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sat Sep 23 10:49:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4e0b1897
www-apps/forgejo: add 1.20.4.1, drop 1.20.3.0
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 2 +-
www-apps/forgejo/{forgejo-1.20.3.0.ebuild => forgejo-1.20.4.1.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index a32b24b4e8..76a7875472 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,3 +1,3 @@
DIST forgejo-1.19.4.0.tar.gz 60635393 BLAKE2B 7fe8e10f7aae8371c4a540290bb24c67a0521080eb58c7749c95d977320781e2e11ba754a42a333c706d243cf0170178dd62da5338540576d214f281b3da6daa SHA512 4870a7804c3cefab4aac38f30ac60874d9a7359b29e8f765ee9a1f41bc543fdd445a21c6e808f864c56ce22f79f6038b15eec4325c556ef6288ad6635977533f
-DIST forgejo-1.20.3.0.tar.gz 55513966 BLAKE2B e8e6700b91b213bd9b5e336d35d075c6ae1522085a35698a9dbdac0a72cab1d0ab7c63764a01b338dd4aff365d895dab50d299fbed6ec5255b4ec74a2d9d0daa SHA512 20aa0067b7123847f00ccc90868cb99dc215e8bfb541cb9adfb9d205de7a30ff4d94693e43bd3ca86ea876daebc3cbbc46c41f502434467f862fe98198e75a8b
DIST forgejo-1.20.4.0.tar.gz 55536470 BLAKE2B d7cc2c1a056a33b07f33c2366b839dff314fc66b3b98b59738aa932416255a48637f5631e7443f1f53fe3650563269abf255906112b222fd5c430d9704a1f70d SHA512 b8861e47f700d4d4850295d0ef53b2f8255a5023e2ca48e9bc72a705b13033d0b4d8ad10279417b0a21c03ebdd1b86c25c3b8d06902b2cff4000592cc7b34283
+DIST forgejo-1.20.4.1.tar.gz 55536581 BLAKE2B b9eb85a2483670b61f410c6a855fbb57f41bcd1305279d479493453bdbba538a0b4101312135b33967cda618f6ac4339c21055e67b9ace4e0f78248bd39f4452 SHA512 5ec5a20d169d7c684332ef413fdf79280259ad3bd981dadecc752be7308f3372a47803f15c57fbb36b3357e7a85081093c4e5e9d1ba3e6a5939807640e0cb582
diff --git a/www-apps/forgejo/forgejo-1.20.3.0.ebuild b/www-apps/forgejo/forgejo-1.20.4.1.ebuild
similarity index 100%
rename from www-apps/forgejo/forgejo-1.20.3.0.ebuild
rename to www-apps/forgejo/forgejo-1.20.4.1.ebuild
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2023-10-11 3:08 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2023-10-11 3:08 UTC (permalink / raw
To: gentoo-commits
commit: ca7069b2b735ec4307d2da9a6d8930d30ef2d28e
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Wed Oct 11 03:07:44 2023 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Wed Oct 11 03:08:00 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ca7069b2
www-apps/forgejo: add 1.20.5.0, drop 1.20.4.0
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 2 +-
www-apps/forgejo/{forgejo-1.20.4.0.ebuild => forgejo-1.20.5.0.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index 76a7875472..149381bb75 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,3 +1,3 @@
DIST forgejo-1.19.4.0.tar.gz 60635393 BLAKE2B 7fe8e10f7aae8371c4a540290bb24c67a0521080eb58c7749c95d977320781e2e11ba754a42a333c706d243cf0170178dd62da5338540576d214f281b3da6daa SHA512 4870a7804c3cefab4aac38f30ac60874d9a7359b29e8f765ee9a1f41bc543fdd445a21c6e808f864c56ce22f79f6038b15eec4325c556ef6288ad6635977533f
-DIST forgejo-1.20.4.0.tar.gz 55536470 BLAKE2B d7cc2c1a056a33b07f33c2366b839dff314fc66b3b98b59738aa932416255a48637f5631e7443f1f53fe3650563269abf255906112b222fd5c430d9704a1f70d SHA512 b8861e47f700d4d4850295d0ef53b2f8255a5023e2ca48e9bc72a705b13033d0b4d8ad10279417b0a21c03ebdd1b86c25c3b8d06902b2cff4000592cc7b34283
DIST forgejo-1.20.4.1.tar.gz 55536581 BLAKE2B b9eb85a2483670b61f410c6a855fbb57f41bcd1305279d479493453bdbba538a0b4101312135b33967cda618f6ac4339c21055e67b9ace4e0f78248bd39f4452 SHA512 5ec5a20d169d7c684332ef413fdf79280259ad3bd981dadecc752be7308f3372a47803f15c57fbb36b3357e7a85081093c4e5e9d1ba3e6a5939807640e0cb582
+DIST forgejo-1.20.5.0.tar.gz 55539985 BLAKE2B 09830af9cfac13e3ca790cd54fd884f1d3cfa1e18b7d8c07517c669fe15e28a3074777ad2f031533aab4a9812fd9e580eeaa6be7d88b68fce2ccfdfbd258d37e SHA512 db42ae29fb5005a2ebf3474784fbec15bbae25c255ead00c7aa6227f844a608cd52c146b215ffec6b7e6ead5f001c37d459b01695c224c0edb519cb71c249eb5
diff --git a/www-apps/forgejo/forgejo-1.20.4.0.ebuild b/www-apps/forgejo/forgejo-1.20.5.0.ebuild
similarity index 100%
rename from www-apps/forgejo/forgejo-1.20.4.0.ebuild
rename to www-apps/forgejo/forgejo-1.20.5.0.ebuild
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2023-12-01 6:47 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2023-12-01 6:47 UTC (permalink / raw
To: gentoo-commits
commit: 6c4668ccba77d0d040e8c30ab52b51b8958c0537
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Fri Dec 1 06:44:18 2023 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Fri Dec 1 06:44:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6c4668cc
www-apps/forgejo: add 1.20.6.0, drop 1.20.4.1
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 2 +-
www-apps/forgejo/{forgejo-1.20.4.1.ebuild => forgejo-1.20.6.0.ebuild} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index 149381bb75..26ae99e4df 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,3 +1,3 @@
DIST forgejo-1.19.4.0.tar.gz 60635393 BLAKE2B 7fe8e10f7aae8371c4a540290bb24c67a0521080eb58c7749c95d977320781e2e11ba754a42a333c706d243cf0170178dd62da5338540576d214f281b3da6daa SHA512 4870a7804c3cefab4aac38f30ac60874d9a7359b29e8f765ee9a1f41bc543fdd445a21c6e808f864c56ce22f79f6038b15eec4325c556ef6288ad6635977533f
-DIST forgejo-1.20.4.1.tar.gz 55536581 BLAKE2B b9eb85a2483670b61f410c6a855fbb57f41bcd1305279d479493453bdbba538a0b4101312135b33967cda618f6ac4339c21055e67b9ace4e0f78248bd39f4452 SHA512 5ec5a20d169d7c684332ef413fdf79280259ad3bd981dadecc752be7308f3372a47803f15c57fbb36b3357e7a85081093c4e5e9d1ba3e6a5939807640e0cb582
DIST forgejo-1.20.5.0.tar.gz 55539985 BLAKE2B 09830af9cfac13e3ca790cd54fd884f1d3cfa1e18b7d8c07517c669fe15e28a3074777ad2f031533aab4a9812fd9e580eeaa6be7d88b68fce2ccfdfbd258d37e SHA512 db42ae29fb5005a2ebf3474784fbec15bbae25c255ead00c7aa6227f844a608cd52c146b215ffec6b7e6ead5f001c37d459b01695c224c0edb519cb71c249eb5
+DIST forgejo-1.20.6.0.tar.gz 55539743 BLAKE2B d44fcaec52b164099a221f2172faab8fe078b5fdaf8c9910042278f6276f4ff557d2a527a5159a0bb157f773ffcc91595d2183e1be53b97187cb35ee684fa7ce SHA512 047b41b3192053df8c0f37675c087bc5fbed9967e8f23cab35bede76071129e6f18ec0561a0415a2eaa2010877dedfd15a231f050a1738fca1a5e437f89e93b5
diff --git a/www-apps/forgejo/forgejo-1.20.4.1.ebuild b/www-apps/forgejo/forgejo-1.20.6.0.ebuild
similarity index 98%
rename from www-apps/forgejo/forgejo-1.20.4.1.ebuild
rename to www-apps/forgejo/forgejo-1.20.6.0.ebuild
index f647011285..5ec0496a5f 100644
--- a/www-apps/forgejo/forgejo-1.20.4.1.ebuild
+++ b/www-apps/forgejo/forgejo-1.20.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2016-2022 Gentoo Authors
+# Copyright 2016-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2024-02-03 23:29 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2024-02-03 23:29 UTC (permalink / raw
To: gentoo-commits
commit: 8010ec9244b789153722622cf8a13ab1af194697
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sat Feb 3 23:28:17 2024 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sat Feb 3 23:28:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8010ec92
www-apps/forgejo: add 1.21.5.0
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 1 +
www-apps/forgejo/forgejo-1.21.5.0.ebuild | 136 +++++++++++++++++++++++++++++++
www-apps/forgejo/metadata.xml | 1 +
3 files changed, 138 insertions(+)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index 26ae99e4df..22e15ac435 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,3 +1,4 @@
DIST forgejo-1.19.4.0.tar.gz 60635393 BLAKE2B 7fe8e10f7aae8371c4a540290bb24c67a0521080eb58c7749c95d977320781e2e11ba754a42a333c706d243cf0170178dd62da5338540576d214f281b3da6daa SHA512 4870a7804c3cefab4aac38f30ac60874d9a7359b29e8f765ee9a1f41bc543fdd445a21c6e808f864c56ce22f79f6038b15eec4325c556ef6288ad6635977533f
DIST forgejo-1.20.5.0.tar.gz 55539985 BLAKE2B 09830af9cfac13e3ca790cd54fd884f1d3cfa1e18b7d8c07517c669fe15e28a3074777ad2f031533aab4a9812fd9e580eeaa6be7d88b68fce2ccfdfbd258d37e SHA512 db42ae29fb5005a2ebf3474784fbec15bbae25c255ead00c7aa6227f844a608cd52c146b215ffec6b7e6ead5f001c37d459b01695c224c0edb519cb71c249eb5
DIST forgejo-1.20.6.0.tar.gz 55539743 BLAKE2B d44fcaec52b164099a221f2172faab8fe078b5fdaf8c9910042278f6276f4ff557d2a527a5159a0bb157f773ffcc91595d2183e1be53b97187cb35ee684fa7ce SHA512 047b41b3192053df8c0f37675c087bc5fbed9967e8f23cab35bede76071129e6f18ec0561a0415a2eaa2010877dedfd15a231f050a1738fca1a5e437f89e93b5
+DIST forgejo-1.21.5.0.tar.gz 58775082 BLAKE2B 05b5ee8a394ad2968769cda82b0caa368d6a0fa81686c67e3384ad8b69b43acfd53702af3ff383f05c6b2a4a2e191fb77ca7bd4755ce231451c21c97cc79e270 SHA512 947870af1601dcad9ed08157c0dc8971e333646b1ff1312592f408896e6a87804ed4dc1a22af87d1948fd64a34ec5af0209bad23fb742bb585244588b11062cf
diff --git a/www-apps/forgejo/forgejo-1.21.5.0.ebuild b/www-apps/forgejo/forgejo-1.21.5.0.ebuild
new file mode 100644
index 0000000000..96b0995014
--- /dev/null
+++ b/www-apps/forgejo/forgejo-1.21.5.0.ebuild
@@ -0,0 +1,136 @@
+# Copyright 2016-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fcaps go-module tmpfiles systemd flag-o-matic
+
+MY_PV="$(ver_cut 1-3)-$(ver_cut 4)"
+DESCRIPTION="A self-hosted lightweight software forge"
+HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
+
+SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+S="${WORKDIR}/${PN}-src-${MY_PV}"
+
+LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="+acct pam sqlite pie"
+
+DEPEND="
+ acct? (
+ acct-group/git
+ acct-user/git[gitea] )
+ pam? ( sys-libs/pam )"
+RDEPEND="${DEPEND}
+ dev-vcs/git
+ !www-apps/gitea" # until acct-user/git[forgejo]
+
+DOCS=(
+ custom/conf/app.example.ini CONTRIBUTING.md README.md
+)
+FILECAPS=(
+ -m 711 cap_net_bind_service+ep usr/bin/forgejo
+)
+
+RESTRICT="test"
+
+src_prepare() {
+ default
+
+ local sedcmds=(
+ -e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#"
+ -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/forgejo#"
+ -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#"
+ -e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
+ -e "s#^MODE = console#MODE = file#"
+ -e "s#^LEVEL = Trace#LEVEL = Info#"
+ -e "s#^LOG_SQL = true#LOG_SQL = false#"
+ -e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#"
+ )
+
+ sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die
+ if use sqlite ; then
+ sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die
+ fi
+}
+
+src_configure() {
+ # bug 832756 - PIE build issues
+ filter-flags -fPIE
+ filter-ldflags -fPIE -pie
+}
+
+src_compile() {
+ local forgejo_tags=(
+ bindata
+ $(usev pam)
+ $(usex sqlite 'sqlite sqlite_unlock_notify' '')
+ )
+ local forgejo_settings=(
+ "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini"
+ "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
+ "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
+ )
+ local makeenv=(
+ DRONE_TAG="${PV}"
+ LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}"
+ TAGS="${forgejo_tags[*]}"
+ )
+
+ GOFLAGS=""
+ if use pie ; then
+ GOFLAGS+="-buildmode=pie"
+ fi
+
+ # need to set -j1 or build fails due to a race condition between MAKE jobs.
+ # this does not actually impact build parallelism, because the go compiler
+ # will still build everything in parallel when it's invoked.
+ env "${makeenv[@]}" emake -j1 EXTRA_GOFLAGS="${GOFLAGS}" backend
+}
+
+src_install() {
+ cp gitea forgejo
+ dobin forgejo
+
+ einstalldocs
+
+ newconfd "${FILESDIR}/forgejo.confd-r1" forgejo
+ newinitd "${FILESDIR}/forgejo.initd-r3" forgejo
+ newtmpfiles - forgejo.conf <<-EOF
+ d /run/forgejo 0755 git git
+ EOF
+ systemd_newunit "${FILESDIR}"/forgejo.service-r3 forgejo.service
+
+ insinto /etc/forgejo
+ newins custom/conf/app.example.ini app.ini
+ if use acct; then
+ fowners root:git /etc/forgejo/{,app.ini}
+ fperms g+w,o-rwx /etc/forgejo/{,app.ini}
+
+ diropts -m0750 -o git -g git
+ keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data
+ keepdir /var/log/forgejo
+ fi
+}
+
+pkg_postinst() {
+ fcaps_pkg_postinst
+ tmpfiles_process forgejo.conf
+
+ ewarn "${PN} ${MY_PV} will continue to use /var/lib/gitea as the default home,"
+ ewarn "as acct-user/git[gitea] depends on it, and acct-user[forgejo] does not"
+ ewarn "exist yet."
+ ewarn ""
+ ewarn "1.21.x includes changes that may require manual intervention when"
+ ewarn "upgrading from 1.20.x:"
+ ewarn ""
+ ewarn "> Git branches are stored in the databases to reduce the calls to a"
+ ewarn "> git process and improve performances. After upgrading, login as an"
+ ewarn "> admin, go to the /admin page and click run Sync missed branches"
+ ewarn "> from git data to databases. If this is not done there will be"
+ ewarn "> messages such as LoadBranches: branch does not exist in the logs."
+ ewarn ""
+ ewarn "See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#1-21-1-0"
+ ewarn "for more information"
+}
diff --git a/www-apps/forgejo/metadata.xml b/www-apps/forgejo/metadata.xml
index 6b7bf3b346..11aeec6101 100644
--- a/www-apps/forgejo/metadata.xml
+++ b/www-apps/forgejo/metadata.xml
@@ -9,6 +9,7 @@
<upstream>
<changelog>https://codeberg.org/forgejo/forgejo/releases</changelog>
<bugs-to>https://codeberg.org/forgejo/forgejo/issues</bugs-to>
+ <remote-id type="codeberg">forgejo/forgejo</remote-id>
</upstream>
<use>
<flag name="acct">User and group management via acct-*/git packages</flag>
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2024-02-03 23:29 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2024-02-03 23:29 UTC (permalink / raw
To: gentoo-commits
commit: 38872a8b8b02caa8d2f467cf2d682f5aa7eaa1b6
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sat Feb 3 23:29:11 2024 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sat Feb 3 23:29:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=38872a8b
www-apps/forgejo: drop 1.19.4.0
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 1 -
www-apps/forgejo/forgejo-1.19.4.0.ebuild | 127 -------------------------------
2 files changed, 128 deletions(-)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index 22e15ac435..2e46d41c91 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,4 +1,3 @@
-DIST forgejo-1.19.4.0.tar.gz 60635393 BLAKE2B 7fe8e10f7aae8371c4a540290bb24c67a0521080eb58c7749c95d977320781e2e11ba754a42a333c706d243cf0170178dd62da5338540576d214f281b3da6daa SHA512 4870a7804c3cefab4aac38f30ac60874d9a7359b29e8f765ee9a1f41bc543fdd445a21c6e808f864c56ce22f79f6038b15eec4325c556ef6288ad6635977533f
DIST forgejo-1.20.5.0.tar.gz 55539985 BLAKE2B 09830af9cfac13e3ca790cd54fd884f1d3cfa1e18b7d8c07517c669fe15e28a3074777ad2f031533aab4a9812fd9e580eeaa6be7d88b68fce2ccfdfbd258d37e SHA512 db42ae29fb5005a2ebf3474784fbec15bbae25c255ead00c7aa6227f844a608cd52c146b215ffec6b7e6ead5f001c37d459b01695c224c0edb519cb71c249eb5
DIST forgejo-1.20.6.0.tar.gz 55539743 BLAKE2B d44fcaec52b164099a221f2172faab8fe078b5fdaf8c9910042278f6276f4ff557d2a527a5159a0bb157f773ffcc91595d2183e1be53b97187cb35ee684fa7ce SHA512 047b41b3192053df8c0f37675c087bc5fbed9967e8f23cab35bede76071129e6f18ec0561a0415a2eaa2010877dedfd15a231f050a1738fca1a5e437f89e93b5
DIST forgejo-1.21.5.0.tar.gz 58775082 BLAKE2B 05b5ee8a394ad2968769cda82b0caa368d6a0fa81686c67e3384ad8b69b43acfd53702af3ff383f05c6b2a4a2e191fb77ca7bd4755ce231451c21c97cc79e270 SHA512 947870af1601dcad9ed08157c0dc8971e333646b1ff1312592f408896e6a87804ed4dc1a22af87d1948fd64a34ec5af0209bad23fb742bb585244588b11062cf
diff --git a/www-apps/forgejo/forgejo-1.19.4.0.ebuild b/www-apps/forgejo/forgejo-1.19.4.0.ebuild
deleted file mode 100644
index e9010e5d93..0000000000
--- a/www-apps/forgejo/forgejo-1.19.4.0.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 2016-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit fcaps go-module tmpfiles systemd flag-o-matic
-
-MY_PV="$(ver_cut 1-3)-$(ver_cut 4)"
-DESCRIPTION="A self-hosted lightweight software forge"
-HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
-
-if [[ ${PV} == *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://codeberg.org/forgejo/forgejo"
-else
- SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-fi
-
-S="${WORKDIR}/${PN}-src-${MY_PV}"
-
-LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
-SLOT="0"
-IUSE="+acct pam sqlite pie"
-
-DEPEND="
- acct? (
- acct-group/git
- acct-user/git[gitea] )
- pam? ( sys-libs/pam )"
-RDEPEND="${DEPEND}
- dev-vcs/git
- !www-apps/gitea" # until acct-user/git[forgejo]
-
-DOCS=(
- custom/conf/app.example.ini CONTRIBUTING.md README.md
-)
-FILECAPS=(
- -m 711 cap_net_bind_service+ep usr/bin/forgejo
-)
-
-RESTRICT="test"
-
-src_prepare() {
- default
-
- local sedcmds=(
- -e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#"
- -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/forgejo#"
- -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#"
- -e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
- -e "s#^MODE = console#MODE = file#"
- -e "s#^LEVEL = Trace#LEVEL = Info#"
- -e "s#^LOG_SQL = true#LOG_SQL = false#"
- -e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#"
- )
-
- sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die
- if use sqlite ; then
- sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die
- fi
-}
-
-src_configure() {
- # bug 832756 - PIE build issues
- filter-flags -fPIE
- filter-ldflags -fPIE -pie
-}
-
-src_compile() {
- local forgejo_tags=(
- bindata
- $(usev pam)
- $(usex sqlite 'sqlite sqlite_unlock_notify' '')
- )
- local forgejo_settings=(
- "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini"
- "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
- "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
- )
- local makeenv=(
- DRONE_TAG="${PV}"
- LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}"
- TAGS="${forgejo_tags[*]}"
- )
-
- GOFLAGS=""
- if use pie ; then
- GOFLAGS+="-buildmode=pie"
- fi
-
- env "${makeenv[@]}" emake EXTRA_GOFLAGS="${GOFLAGS}" backend
-}
-
-src_install() {
- cp gitea forgejo
- dobin forgejo
-
- einstalldocs
-
- newconfd "${FILESDIR}/forgejo.confd-r1" forgejo
- newinitd "${FILESDIR}/forgejo.initd-r3" forgejo
- newtmpfiles - forgejo.conf <<-EOF
- d /run/forgejo 0755 git git
- EOF
- systemd_newunit "${FILESDIR}"/forgejo.service-r3 forgejo.service
-
- insinto /etc/forgejo
- newins custom/conf/app.example.ini app.ini
- if use acct; then
- fowners root:git /etc/forgejo/{,app.ini}
- fperms g+w,o-rwx /etc/forgejo/{,app.ini}
-
- diropts -m0750 -o git -g git
- keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data
- keepdir /var/log/forgejo
- fi
-}
-
-pkg_postinst() {
- fcaps_pkg_postinst
- tmpfiles_process forgejo.conf
-
- ewarn "${PN} ${MY_PV} will continue to use /var/lib/gitea as the default home,"
- ewarn "as acct-user/git[gitea] depends on it, and acct-user[forgejo] does not"
- ewarn "exist yet."
-}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2024-02-23 3:36 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2024-02-23 3:36 UTC (permalink / raw
To: gentoo-commits
commit: aac4ab4ccd5de0afbf545d5fdf9206cfd3d42309
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Fri Feb 23 03:35:23 2024 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Fri Feb 23 03:36:00 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aac4ab4c
www-apps/forgejo: add 1.21.6.0
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 1 +
www-apps/forgejo/forgejo-1.21.6.0.ebuild | 136 +++++++++++++++++++++++++++++++
2 files changed, 137 insertions(+)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index 2e46d41c91..448273b2cd 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,3 +1,4 @@
DIST forgejo-1.20.5.0.tar.gz 55539985 BLAKE2B 09830af9cfac13e3ca790cd54fd884f1d3cfa1e18b7d8c07517c669fe15e28a3074777ad2f031533aab4a9812fd9e580eeaa6be7d88b68fce2ccfdfbd258d37e SHA512 db42ae29fb5005a2ebf3474784fbec15bbae25c255ead00c7aa6227f844a608cd52c146b215ffec6b7e6ead5f001c37d459b01695c224c0edb519cb71c249eb5
DIST forgejo-1.20.6.0.tar.gz 55539743 BLAKE2B d44fcaec52b164099a221f2172faab8fe078b5fdaf8c9910042278f6276f4ff557d2a527a5159a0bb157f773ffcc91595d2183e1be53b97187cb35ee684fa7ce SHA512 047b41b3192053df8c0f37675c087bc5fbed9967e8f23cab35bede76071129e6f18ec0561a0415a2eaa2010877dedfd15a231f050a1738fca1a5e437f89e93b5
DIST forgejo-1.21.5.0.tar.gz 58775082 BLAKE2B 05b5ee8a394ad2968769cda82b0caa368d6a0fa81686c67e3384ad8b69b43acfd53702af3ff383f05c6b2a4a2e191fb77ca7bd4755ce231451c21c97cc79e270 SHA512 947870af1601dcad9ed08157c0dc8971e333646b1ff1312592f408896e6a87804ed4dc1a22af87d1948fd64a34ec5af0209bad23fb742bb585244588b11062cf
+DIST forgejo-1.21.6.0.tar.gz 58787727 BLAKE2B 7d3b77b05771261986a7623a79f9eee1525c723eb5bb2cdb9c7a66ee12bc5fb352ab5857aece92359d397ded4b57cb5ce31ca98cba0d45871f237a27bb009bb7 SHA512 298544a8301bc2415b0cbad943316ac4b2b17b3ab15927d707a34e48fe04d327756c8febe3a8e942c1fd1edd3c92109ddcaf6a12e31d360d4fc82575e9f18565
diff --git a/www-apps/forgejo/forgejo-1.21.6.0.ebuild b/www-apps/forgejo/forgejo-1.21.6.0.ebuild
new file mode 100644
index 0000000000..96b0995014
--- /dev/null
+++ b/www-apps/forgejo/forgejo-1.21.6.0.ebuild
@@ -0,0 +1,136 @@
+# Copyright 2016-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fcaps go-module tmpfiles systemd flag-o-matic
+
+MY_PV="$(ver_cut 1-3)-$(ver_cut 4)"
+DESCRIPTION="A self-hosted lightweight software forge"
+HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
+
+SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+S="${WORKDIR}/${PN}-src-${MY_PV}"
+
+LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="+acct pam sqlite pie"
+
+DEPEND="
+ acct? (
+ acct-group/git
+ acct-user/git[gitea] )
+ pam? ( sys-libs/pam )"
+RDEPEND="${DEPEND}
+ dev-vcs/git
+ !www-apps/gitea" # until acct-user/git[forgejo]
+
+DOCS=(
+ custom/conf/app.example.ini CONTRIBUTING.md README.md
+)
+FILECAPS=(
+ -m 711 cap_net_bind_service+ep usr/bin/forgejo
+)
+
+RESTRICT="test"
+
+src_prepare() {
+ default
+
+ local sedcmds=(
+ -e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#"
+ -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/forgejo#"
+ -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#"
+ -e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
+ -e "s#^MODE = console#MODE = file#"
+ -e "s#^LEVEL = Trace#LEVEL = Info#"
+ -e "s#^LOG_SQL = true#LOG_SQL = false#"
+ -e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#"
+ )
+
+ sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die
+ if use sqlite ; then
+ sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die
+ fi
+}
+
+src_configure() {
+ # bug 832756 - PIE build issues
+ filter-flags -fPIE
+ filter-ldflags -fPIE -pie
+}
+
+src_compile() {
+ local forgejo_tags=(
+ bindata
+ $(usev pam)
+ $(usex sqlite 'sqlite sqlite_unlock_notify' '')
+ )
+ local forgejo_settings=(
+ "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini"
+ "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
+ "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
+ )
+ local makeenv=(
+ DRONE_TAG="${PV}"
+ LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}"
+ TAGS="${forgejo_tags[*]}"
+ )
+
+ GOFLAGS=""
+ if use pie ; then
+ GOFLAGS+="-buildmode=pie"
+ fi
+
+ # need to set -j1 or build fails due to a race condition between MAKE jobs.
+ # this does not actually impact build parallelism, because the go compiler
+ # will still build everything in parallel when it's invoked.
+ env "${makeenv[@]}" emake -j1 EXTRA_GOFLAGS="${GOFLAGS}" backend
+}
+
+src_install() {
+ cp gitea forgejo
+ dobin forgejo
+
+ einstalldocs
+
+ newconfd "${FILESDIR}/forgejo.confd-r1" forgejo
+ newinitd "${FILESDIR}/forgejo.initd-r3" forgejo
+ newtmpfiles - forgejo.conf <<-EOF
+ d /run/forgejo 0755 git git
+ EOF
+ systemd_newunit "${FILESDIR}"/forgejo.service-r3 forgejo.service
+
+ insinto /etc/forgejo
+ newins custom/conf/app.example.ini app.ini
+ if use acct; then
+ fowners root:git /etc/forgejo/{,app.ini}
+ fperms g+w,o-rwx /etc/forgejo/{,app.ini}
+
+ diropts -m0750 -o git -g git
+ keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data
+ keepdir /var/log/forgejo
+ fi
+}
+
+pkg_postinst() {
+ fcaps_pkg_postinst
+ tmpfiles_process forgejo.conf
+
+ ewarn "${PN} ${MY_PV} will continue to use /var/lib/gitea as the default home,"
+ ewarn "as acct-user/git[gitea] depends on it, and acct-user[forgejo] does not"
+ ewarn "exist yet."
+ ewarn ""
+ ewarn "1.21.x includes changes that may require manual intervention when"
+ ewarn "upgrading from 1.20.x:"
+ ewarn ""
+ ewarn "> Git branches are stored in the databases to reduce the calls to a"
+ ewarn "> git process and improve performances. After upgrading, login as an"
+ ewarn "> admin, go to the /admin page and click run Sync missed branches"
+ ewarn "> from git data to databases. If this is not done there will be"
+ ewarn "> messages such as LoadBranches: branch does not exist in the logs."
+ ewarn ""
+ ewarn "See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#1-21-1-0"
+ ewarn "for more information"
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2024-02-23 3:36 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2024-02-23 3:36 UTC (permalink / raw
To: gentoo-commits
commit: 782a74af92385ba48ffaf413f578de1d755ea348
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Fri Feb 23 03:35:46 2024 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Fri Feb 23 03:36:00 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=782a74af
www-apps/forgejo: drop 1.20.5.0
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 1 -
www-apps/forgejo/forgejo-1.20.5.0.ebuild | 124 -------------------------------
2 files changed, 125 deletions(-)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index 448273b2cd..73ae572849 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,4 +1,3 @@
-DIST forgejo-1.20.5.0.tar.gz 55539985 BLAKE2B 09830af9cfac13e3ca790cd54fd884f1d3cfa1e18b7d8c07517c669fe15e28a3074777ad2f031533aab4a9812fd9e580eeaa6be7d88b68fce2ccfdfbd258d37e SHA512 db42ae29fb5005a2ebf3474784fbec15bbae25c255ead00c7aa6227f844a608cd52c146b215ffec6b7e6ead5f001c37d459b01695c224c0edb519cb71c249eb5
DIST forgejo-1.20.6.0.tar.gz 55539743 BLAKE2B d44fcaec52b164099a221f2172faab8fe078b5fdaf8c9910042278f6276f4ff557d2a527a5159a0bb157f773ffcc91595d2183e1be53b97187cb35ee684fa7ce SHA512 047b41b3192053df8c0f37675c087bc5fbed9967e8f23cab35bede76071129e6f18ec0561a0415a2eaa2010877dedfd15a231f050a1738fca1a5e437f89e93b5
DIST forgejo-1.21.5.0.tar.gz 58775082 BLAKE2B 05b5ee8a394ad2968769cda82b0caa368d6a0fa81686c67e3384ad8b69b43acfd53702af3ff383f05c6b2a4a2e191fb77ca7bd4755ce231451c21c97cc79e270 SHA512 947870af1601dcad9ed08157c0dc8971e333646b1ff1312592f408896e6a87804ed4dc1a22af87d1948fd64a34ec5af0209bad23fb742bb585244588b11062cf
DIST forgejo-1.21.6.0.tar.gz 58787727 BLAKE2B 7d3b77b05771261986a7623a79f9eee1525c723eb5bb2cdb9c7a66ee12bc5fb352ab5857aece92359d397ded4b57cb5ce31ca98cba0d45871f237a27bb009bb7 SHA512 298544a8301bc2415b0cbad943316ac4b2b17b3ab15927d707a34e48fe04d327756c8febe3a8e942c1fd1edd3c92109ddcaf6a12e31d360d4fc82575e9f18565
diff --git a/www-apps/forgejo/forgejo-1.20.5.0.ebuild b/www-apps/forgejo/forgejo-1.20.5.0.ebuild
deleted file mode 100644
index f647011285..0000000000
--- a/www-apps/forgejo/forgejo-1.20.5.0.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 2016-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit fcaps go-module tmpfiles systemd flag-o-matic
-
-MY_PV="$(ver_cut 1-3)-$(ver_cut 4)"
-DESCRIPTION="A self-hosted lightweight software forge"
-HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
-
-SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-S="${WORKDIR}/${PN}-src-${MY_PV}"
-
-LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
-SLOT="0"
-IUSE="+acct pam sqlite pie"
-
-DEPEND="
- acct? (
- acct-group/git
- acct-user/git[gitea] )
- pam? ( sys-libs/pam )"
-RDEPEND="${DEPEND}
- dev-vcs/git
- !www-apps/gitea" # until acct-user/git[forgejo]
-
-DOCS=(
- custom/conf/app.example.ini CONTRIBUTING.md README.md
-)
-FILECAPS=(
- -m 711 cap_net_bind_service+ep usr/bin/forgejo
-)
-
-RESTRICT="test"
-
-src_prepare() {
- default
-
- local sedcmds=(
- -e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#"
- -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/forgejo#"
- -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#"
- -e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
- -e "s#^MODE = console#MODE = file#"
- -e "s#^LEVEL = Trace#LEVEL = Info#"
- -e "s#^LOG_SQL = true#LOG_SQL = false#"
- -e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#"
- )
-
- sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die
- if use sqlite ; then
- sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die
- fi
-}
-
-src_configure() {
- # bug 832756 - PIE build issues
- filter-flags -fPIE
- filter-ldflags -fPIE -pie
-}
-
-src_compile() {
- local forgejo_tags=(
- bindata
- $(usev pam)
- $(usex sqlite 'sqlite sqlite_unlock_notify' '')
- )
- local forgejo_settings=(
- "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini"
- "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
- "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
- )
- local makeenv=(
- DRONE_TAG="${PV}"
- LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}"
- TAGS="${forgejo_tags[*]}"
- )
-
- GOFLAGS=""
- if use pie ; then
- GOFLAGS+="-buildmode=pie"
- fi
-
- # need to set -j1 or build fails due to a race condition between MAKE jobs.
- # this does not actually impact build parallelism, because the go compiler
- # will still build everything in parallel when it's invoked.
- env "${makeenv[@]}" emake -j1 EXTRA_GOFLAGS="${GOFLAGS}" backend
-}
-
-src_install() {
- cp gitea forgejo
- dobin forgejo
-
- einstalldocs
-
- newconfd "${FILESDIR}/forgejo.confd-r1" forgejo
- newinitd "${FILESDIR}/forgejo.initd-r3" forgejo
- newtmpfiles - forgejo.conf <<-EOF
- d /run/forgejo 0755 git git
- EOF
- systemd_newunit "${FILESDIR}"/forgejo.service-r3 forgejo.service
-
- insinto /etc/forgejo
- newins custom/conf/app.example.ini app.ini
- if use acct; then
- fowners root:git /etc/forgejo/{,app.ini}
- fperms g+w,o-rwx /etc/forgejo/{,app.ini}
-
- diropts -m0750 -o git -g git
- keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data
- keepdir /var/log/forgejo
- fi
-}
-
-pkg_postinst() {
- fcaps_pkg_postinst
- tmpfiles_process forgejo.conf
-
- ewarn "${PN} ${MY_PV} will continue to use /var/lib/gitea as the default home,"
- ewarn "as acct-user/git[gitea] depends on it, and acct-user[forgejo] does not"
- ewarn "exist yet."
-}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2024-03-12 22:17 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2024-03-12 22:17 UTC (permalink / raw
To: gentoo-commits
commit: cf4e040545077b2edc0dd4b10cffc0ea5436982b
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Tue Mar 12 22:16:31 2024 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Tue Mar 12 22:16:59 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf4e0405
www-apps/forgejo: add 1.21.7.0, drop 1.21.5.0
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 2 +-
www-apps/forgejo/{forgejo-1.21.5.0.ebuild => forgejo-1.21.7.0.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index 73ae572849..9b0291dd93 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,3 +1,3 @@
DIST forgejo-1.20.6.0.tar.gz 55539743 BLAKE2B d44fcaec52b164099a221f2172faab8fe078b5fdaf8c9910042278f6276f4ff557d2a527a5159a0bb157f773ffcc91595d2183e1be53b97187cb35ee684fa7ce SHA512 047b41b3192053df8c0f37675c087bc5fbed9967e8f23cab35bede76071129e6f18ec0561a0415a2eaa2010877dedfd15a231f050a1738fca1a5e437f89e93b5
-DIST forgejo-1.21.5.0.tar.gz 58775082 BLAKE2B 05b5ee8a394ad2968769cda82b0caa368d6a0fa81686c67e3384ad8b69b43acfd53702af3ff383f05c6b2a4a2e191fb77ca7bd4755ce231451c21c97cc79e270 SHA512 947870af1601dcad9ed08157c0dc8971e333646b1ff1312592f408896e6a87804ed4dc1a22af87d1948fd64a34ec5af0209bad23fb742bb585244588b11062cf
DIST forgejo-1.21.6.0.tar.gz 58787727 BLAKE2B 7d3b77b05771261986a7623a79f9eee1525c723eb5bb2cdb9c7a66ee12bc5fb352ab5857aece92359d397ded4b57cb5ce31ca98cba0d45871f237a27bb009bb7 SHA512 298544a8301bc2415b0cbad943316ac4b2b17b3ab15927d707a34e48fe04d327756c8febe3a8e942c1fd1edd3c92109ddcaf6a12e31d360d4fc82575e9f18565
+DIST forgejo-1.21.7.0.tar.gz 58802779 BLAKE2B da03bc3fead3b477a6a5492c02223f546275145531843f9301de914e054e35e22cb2a1decf573f874467bd03689abf79a2b898174359ee5e5483463d4857329b SHA512 dbcb43b0e36c19e20e09c594b84656f06ae901cb4d298827c48fccdd0879383a1da8119c7bd3ce4f832a1588673c33e1bd382813bc37d1ffda41f3f7a22ec538
diff --git a/www-apps/forgejo/forgejo-1.21.5.0.ebuild b/www-apps/forgejo/forgejo-1.21.7.0.ebuild
similarity index 100%
rename from www-apps/forgejo/forgejo-1.21.5.0.ebuild
rename to www-apps/forgejo/forgejo-1.21.7.0.ebuild
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2024-03-31 21:32 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2024-03-31 21:32 UTC (permalink / raw
To: gentoo-commits
commit: bf39707037a8a51e5f45855acd74c30c0861e124
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sun Mar 31 21:30:33 2024 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sun Mar 31 21:31:51 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf397070
www-apps/forgejo: add 1.21.8.0, drop 1.21.6.0
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 2 +-
www-apps/forgejo/{forgejo-1.21.6.0.ebuild => forgejo-1.21.8.0.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index 9b0291dd93..40c76a80a9 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,3 +1,3 @@
DIST forgejo-1.20.6.0.tar.gz 55539743 BLAKE2B d44fcaec52b164099a221f2172faab8fe078b5fdaf8c9910042278f6276f4ff557d2a527a5159a0bb157f773ffcc91595d2183e1be53b97187cb35ee684fa7ce SHA512 047b41b3192053df8c0f37675c087bc5fbed9967e8f23cab35bede76071129e6f18ec0561a0415a2eaa2010877dedfd15a231f050a1738fca1a5e437f89e93b5
-DIST forgejo-1.21.6.0.tar.gz 58787727 BLAKE2B 7d3b77b05771261986a7623a79f9eee1525c723eb5bb2cdb9c7a66ee12bc5fb352ab5857aece92359d397ded4b57cb5ce31ca98cba0d45871f237a27bb009bb7 SHA512 298544a8301bc2415b0cbad943316ac4b2b17b3ab15927d707a34e48fe04d327756c8febe3a8e942c1fd1edd3c92109ddcaf6a12e31d360d4fc82575e9f18565
DIST forgejo-1.21.7.0.tar.gz 58802779 BLAKE2B da03bc3fead3b477a6a5492c02223f546275145531843f9301de914e054e35e22cb2a1decf573f874467bd03689abf79a2b898174359ee5e5483463d4857329b SHA512 dbcb43b0e36c19e20e09c594b84656f06ae901cb4d298827c48fccdd0879383a1da8119c7bd3ce4f832a1588673c33e1bd382813bc37d1ffda41f3f7a22ec538
+DIST forgejo-1.21.8.0.tar.gz 58828827 BLAKE2B ad42b0bcd0c147b62a3b63a954d7af36ec88c4a0c14b42d6217b7d6c4f05627cd57176a9758624a179c4e353a463291cea4d9b184007cc1ce8a1cca3b2b403c4 SHA512 3a5dc87f9e2866cbc78bcb8d68b9a530835b3ebf1de06d66549353bc87f13de70e188b7dc95610bb216a0c80e0981445ca240ab345cfa492071c0dca3f8ef2af
diff --git a/www-apps/forgejo/forgejo-1.21.6.0.ebuild b/www-apps/forgejo/forgejo-1.21.8.0.ebuild
similarity index 100%
rename from www-apps/forgejo/forgejo-1.21.6.0.ebuild
rename to www-apps/forgejo/forgejo-1.21.8.0.ebuild
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2024-04-22 5:30 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2024-04-22 5:30 UTC (permalink / raw
To: gentoo-commits
commit: 45de72be2258755a4ffe1dc084fa82a50131aae7
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Mon Apr 22 05:30:01 2024 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Mon Apr 22 05:30:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=45de72be
www-apps/forgejo: make pkgcheck happy
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/forgejo-1.20.6.0.ebuild | 5 +++--
www-apps/forgejo/forgejo-1.21.11.1.ebuild | 5 +++--
www-apps/forgejo/forgejo-1.21.8.0.ebuild | 5 +++--
3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/www-apps/forgejo/forgejo-1.20.6.0.ebuild b/www-apps/forgejo/forgejo-1.20.6.0.ebuild
index 5ec0496a5f..96b07e64e5 100644
--- a/www-apps/forgejo/forgejo-1.20.6.0.ebuild
+++ b/www-apps/forgejo/forgejo-1.20.6.0.ebuild
@@ -10,11 +10,12 @@ DESCRIPTION="A self-hosted lightweight software forge"
HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
S="${WORKDIR}/${PN}-src-${MY_PV}"
-
LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
SLOT="0"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
IUSE="+acct pam sqlite pie"
DEPEND="
diff --git a/www-apps/forgejo/forgejo-1.21.11.1.ebuild b/www-apps/forgejo/forgejo-1.21.11.1.ebuild
index 96b0995014..68c5354b8c 100644
--- a/www-apps/forgejo/forgejo-1.21.11.1.ebuild
+++ b/www-apps/forgejo/forgejo-1.21.11.1.ebuild
@@ -10,11 +10,12 @@ DESCRIPTION="A self-hosted lightweight software forge"
HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
S="${WORKDIR}/${PN}-src-${MY_PV}"
-
LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
SLOT="0"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
IUSE="+acct pam sqlite pie"
DEPEND="
diff --git a/www-apps/forgejo/forgejo-1.21.8.0.ebuild b/www-apps/forgejo/forgejo-1.21.8.0.ebuild
index 96b0995014..68c5354b8c 100644
--- a/www-apps/forgejo/forgejo-1.21.8.0.ebuild
+++ b/www-apps/forgejo/forgejo-1.21.8.0.ebuild
@@ -10,11 +10,12 @@ DESCRIPTION="A self-hosted lightweight software forge"
HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
S="${WORKDIR}/${PN}-src-${MY_PV}"
-
LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
SLOT="0"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
IUSE="+acct pam sqlite pie"
DEPEND="
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2024-06-01 8:31 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2024-06-01 8:31 UTC (permalink / raw
To: gentoo-commits
commit: 791e57594876a7f5985590403cd66354c11dcde4
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sat Jun 1 08:25:17 2024 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sat Jun 1 08:30:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=791e5759
www-apps/forgejo: add 7.0.3
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 1 +
www-apps/forgejo/forgejo-7.0.3.ebuild | 139 ++++++++++++++++++++++++++++++++++
2 files changed, 140 insertions(+)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index 50821162d..35c662ea6 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,3 +1,4 @@
DIST forgejo-1.20.6.0.tar.gz 55539743 BLAKE2B d44fcaec52b164099a221f2172faab8fe078b5fdaf8c9910042278f6276f4ff557d2a527a5159a0bb157f773ffcc91595d2183e1be53b97187cb35ee684fa7ce SHA512 047b41b3192053df8c0f37675c087bc5fbed9967e8f23cab35bede76071129e6f18ec0561a0415a2eaa2010877dedfd15a231f050a1738fca1a5e437f89e93b5
DIST forgejo-1.21.11.1.tar.gz 58893566 BLAKE2B cf3541682de609d63f079922610cc7ae338b7736634a6bc767e310f4ea9fc21fd8c6928b2de4693be6619b49d7e0cbf3b0effd58b681a0cd5e95d4ba21c29141 SHA512 c461d8690a7d2eb3a4955487223391daac58f3236481c0b963a208184ed06fc96372fe8082fbb4a7d9a64b01b2c468d43d1559dd081ec65e65c9f9bc043f9af4
DIST forgejo-1.21.8.0.tar.gz 58828827 BLAKE2B ad42b0bcd0c147b62a3b63a954d7af36ec88c4a0c14b42d6217b7d6c4f05627cd57176a9758624a179c4e353a463291cea4d9b184007cc1ce8a1cca3b2b403c4 SHA512 3a5dc87f9e2866cbc78bcb8d68b9a530835b3ebf1de06d66549353bc87f13de70e188b7dc95610bb216a0c80e0981445ca240ab345cfa492071c0dca3f8ef2af
+DIST forgejo-7.0.3.tar.gz 54895104 BLAKE2B a5965efaca04745fe8bfd60d18bfc68196b4a5f4b4731ee7aa8e0ee3dfeac0fb9e13193bd65df8db9202f37211b40c1a77ccbfbe018cbf0a3c7f708e77a864d8 SHA512 5d47a229cf89af44a1a36d0b873a3f0eede81b52aefe44c38f7f8a96930dd5038655c488112e4c945b8e71e8aa1e6d092fe51917535463d3228e0dfc0c974474
diff --git a/www-apps/forgejo/forgejo-7.0.3.ebuild b/www-apps/forgejo/forgejo-7.0.3.ebuild
new file mode 100644
index 000000000..2b2357dce
--- /dev/null
+++ b/www-apps/forgejo/forgejo-7.0.3.ebuild
@@ -0,0 +1,139 @@
+# Copyright 2016-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fcaps go-module tmpfiles systemd flag-o-matic
+
+DESCRIPTION="A self-hosted lightweight software forge"
+HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
+
+SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${PV}/forgejo-src-${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-src-${PV}"
+LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
+SLOT="0"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+IUSE="+acct pam sqlite pie"
+
+DEPEND="
+ acct? (
+ acct-group/git
+ acct-user/git[gitea] )
+ pam? ( sys-libs/pam )"
+RDEPEND="${DEPEND}
+ dev-vcs/git
+ !www-apps/gitea" # until acct-user/git[forgejo]
+
+DOCS=(
+ custom/conf/app.example.ini CONTRIBUTING.md README.md
+)
+FILECAPS=(
+ -m 711 cap_net_bind_service+ep usr/bin/forgejo
+)
+
+RESTRICT="test"
+
+src_prepare() {
+ default
+
+ local sedcmds=(
+ -e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#"
+ -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/forgejo#"
+ -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#"
+ -e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
+ -e "s#^MODE = console#MODE = file#"
+ -e "s#^LEVEL = Trace#LEVEL = Info#"
+ -e "s#^LOG_SQL = true#LOG_SQL = false#"
+ -e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#"
+ )
+
+ sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die
+ if use sqlite ; then
+ sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die
+ fi
+}
+
+src_configure() {
+ # bug 832756 - PIE build issues
+ filter-flags -fPIE
+ filter-ldflags -fPIE -pie
+}
+
+src_compile() {
+ local forgejo_tags=(
+ bindata
+ $(usev pam)
+ $(usex sqlite 'sqlite sqlite_unlock_notify' '')
+ )
+ local forgejo_settings=(
+ "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini"
+ "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
+ "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
+ )
+ local makeenv=(
+ DRONE_TAG="${PV}"
+ LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}"
+ TAGS="${forgejo_tags[*]}"
+ )
+
+ GOFLAGS=""
+ if use pie ; then
+ GOFLAGS+="-buildmode=pie"
+ fi
+
+ # need to set -j1 or build fails due to a race condition between MAKE jobs.
+ # this does not actually impact build parallelism, because the go compiler
+ # will still build everything in parallel when it's invoked.
+ env "${makeenv[@]}" emake -j1 EXTRA_GOFLAGS="${GOFLAGS}" backend
+}
+
+src_install() {
+ cp gitea forgejo
+ dobin forgejo
+
+ einstalldocs
+
+ newconfd "${FILESDIR}/forgejo.confd-r1" forgejo
+ newinitd "${FILESDIR}/forgejo.initd-r3" forgejo
+ newtmpfiles - forgejo.conf <<-EOF
+ d /run/forgejo 0755 git git
+ EOF
+ systemd_newunit "${FILESDIR}"/forgejo.service-r3 forgejo.service
+
+ insinto /etc/forgejo
+ newins custom/conf/app.example.ini app.ini
+ if use acct; then
+ fowners root:git /etc/forgejo/{,app.ini}
+ fperms g+w,o-rwx /etc/forgejo/{,app.ini}
+
+ diropts -m0750 -o git -g git
+ keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data
+ keepdir /var/log/forgejo
+ fi
+}
+
+pkg_postinst() {
+ fcaps_pkg_postinst
+ tmpfiles_process forgejo.conf
+
+ ewarn "${PN} ${PV} will continue to use /var/lib/gitea as the default home,"
+ ewarn "as acct-user/git[gitea] depends on it, and acct-user[forgejo] does not"
+ ewarn "exist yet."
+ ewarn ""
+ ewarn "7.x includes changes that may require manual intervention when"
+ ewarn "upgrading from 1.21.x, most prominently:"
+ ewarn ""
+ ewarn "> MySQL 8.0 or PostgreSQL 12 are the minimum supported versions. The"
+ ewarn "> database must be migrated before upgrading. The requirements"
+ ewarn "> regarding SQLite did not change."
+ ewarn ">"
+ ewarn "> The Gitea themes were renamed and the [ui].THEMES setting must be changed as follows:"
+ ewarn "> - gitea is replaced by gitea-light"
+ ewarn "> - arc-green is replaced by gitea-dark"
+ ewarn "> - auto is replaced by gitea-auto"
+ ewarn ""
+ ewarn "See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-0"
+ ewarn "for more information"
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2024-06-01 8:31 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2024-06-01 8:31 UTC (permalink / raw
To: gentoo-commits
commit: f4d568fdf7e8b8d3cbe938a208abcf44f7ac9ab5
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sat Jun 1 08:26:04 2024 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sat Jun 1 08:30:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f4d568fd
www-apps/forgejo: drop 1.20.6.0, 1.21.8.0
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 2 -
www-apps/forgejo/forgejo-1.20.6.0.ebuild | 125 ----------------------------
www-apps/forgejo/forgejo-1.21.8.0.ebuild | 137 -------------------------------
3 files changed, 264 deletions(-)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index 35c662ea6..7e6b220e0 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,4 +1,2 @@
-DIST forgejo-1.20.6.0.tar.gz 55539743 BLAKE2B d44fcaec52b164099a221f2172faab8fe078b5fdaf8c9910042278f6276f4ff557d2a527a5159a0bb157f773ffcc91595d2183e1be53b97187cb35ee684fa7ce SHA512 047b41b3192053df8c0f37675c087bc5fbed9967e8f23cab35bede76071129e6f18ec0561a0415a2eaa2010877dedfd15a231f050a1738fca1a5e437f89e93b5
DIST forgejo-1.21.11.1.tar.gz 58893566 BLAKE2B cf3541682de609d63f079922610cc7ae338b7736634a6bc767e310f4ea9fc21fd8c6928b2de4693be6619b49d7e0cbf3b0effd58b681a0cd5e95d4ba21c29141 SHA512 c461d8690a7d2eb3a4955487223391daac58f3236481c0b963a208184ed06fc96372fe8082fbb4a7d9a64b01b2c468d43d1559dd081ec65e65c9f9bc043f9af4
-DIST forgejo-1.21.8.0.tar.gz 58828827 BLAKE2B ad42b0bcd0c147b62a3b63a954d7af36ec88c4a0c14b42d6217b7d6c4f05627cd57176a9758624a179c4e353a463291cea4d9b184007cc1ce8a1cca3b2b403c4 SHA512 3a5dc87f9e2866cbc78bcb8d68b9a530835b3ebf1de06d66549353bc87f13de70e188b7dc95610bb216a0c80e0981445ca240ab345cfa492071c0dca3f8ef2af
DIST forgejo-7.0.3.tar.gz 54895104 BLAKE2B a5965efaca04745fe8bfd60d18bfc68196b4a5f4b4731ee7aa8e0ee3dfeac0fb9e13193bd65df8db9202f37211b40c1a77ccbfbe018cbf0a3c7f708e77a864d8 SHA512 5d47a229cf89af44a1a36d0b873a3f0eede81b52aefe44c38f7f8a96930dd5038655c488112e4c945b8e71e8aa1e6d092fe51917535463d3228e0dfc0c974474
diff --git a/www-apps/forgejo/forgejo-1.20.6.0.ebuild b/www-apps/forgejo/forgejo-1.20.6.0.ebuild
deleted file mode 100644
index 96b07e64e..000000000
--- a/www-apps/forgejo/forgejo-1.20.6.0.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 2016-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit fcaps go-module tmpfiles systemd flag-o-matic
-
-MY_PV="$(ver_cut 1-3)-$(ver_cut 4)"
-DESCRIPTION="A self-hosted lightweight software forge"
-HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
-
-SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-src-${MY_PV}"
-LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
-SLOT="0"
-
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-
-IUSE="+acct pam sqlite pie"
-
-DEPEND="
- acct? (
- acct-group/git
- acct-user/git[gitea] )
- pam? ( sys-libs/pam )"
-RDEPEND="${DEPEND}
- dev-vcs/git
- !www-apps/gitea" # until acct-user/git[forgejo]
-
-DOCS=(
- custom/conf/app.example.ini CONTRIBUTING.md README.md
-)
-FILECAPS=(
- -m 711 cap_net_bind_service+ep usr/bin/forgejo
-)
-
-RESTRICT="test"
-
-src_prepare() {
- default
-
- local sedcmds=(
- -e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#"
- -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/forgejo#"
- -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#"
- -e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
- -e "s#^MODE = console#MODE = file#"
- -e "s#^LEVEL = Trace#LEVEL = Info#"
- -e "s#^LOG_SQL = true#LOG_SQL = false#"
- -e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#"
- )
-
- sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die
- if use sqlite ; then
- sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die
- fi
-}
-
-src_configure() {
- # bug 832756 - PIE build issues
- filter-flags -fPIE
- filter-ldflags -fPIE -pie
-}
-
-src_compile() {
- local forgejo_tags=(
- bindata
- $(usev pam)
- $(usex sqlite 'sqlite sqlite_unlock_notify' '')
- )
- local forgejo_settings=(
- "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini"
- "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
- "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
- )
- local makeenv=(
- DRONE_TAG="${PV}"
- LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}"
- TAGS="${forgejo_tags[*]}"
- )
-
- GOFLAGS=""
- if use pie ; then
- GOFLAGS+="-buildmode=pie"
- fi
-
- # need to set -j1 or build fails due to a race condition between MAKE jobs.
- # this does not actually impact build parallelism, because the go compiler
- # will still build everything in parallel when it's invoked.
- env "${makeenv[@]}" emake -j1 EXTRA_GOFLAGS="${GOFLAGS}" backend
-}
-
-src_install() {
- cp gitea forgejo
- dobin forgejo
-
- einstalldocs
-
- newconfd "${FILESDIR}/forgejo.confd-r1" forgejo
- newinitd "${FILESDIR}/forgejo.initd-r3" forgejo
- newtmpfiles - forgejo.conf <<-EOF
- d /run/forgejo 0755 git git
- EOF
- systemd_newunit "${FILESDIR}"/forgejo.service-r3 forgejo.service
-
- insinto /etc/forgejo
- newins custom/conf/app.example.ini app.ini
- if use acct; then
- fowners root:git /etc/forgejo/{,app.ini}
- fperms g+w,o-rwx /etc/forgejo/{,app.ini}
-
- diropts -m0750 -o git -g git
- keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data
- keepdir /var/log/forgejo
- fi
-}
-
-pkg_postinst() {
- fcaps_pkg_postinst
- tmpfiles_process forgejo.conf
-
- ewarn "${PN} ${MY_PV} will continue to use /var/lib/gitea as the default home,"
- ewarn "as acct-user/git[gitea] depends on it, and acct-user[forgejo] does not"
- ewarn "exist yet."
-}
diff --git a/www-apps/forgejo/forgejo-1.21.8.0.ebuild b/www-apps/forgejo/forgejo-1.21.8.0.ebuild
deleted file mode 100644
index 68c5354b8..000000000
--- a/www-apps/forgejo/forgejo-1.21.8.0.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 2016-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit fcaps go-module tmpfiles systemd flag-o-matic
-
-MY_PV="$(ver_cut 1-3)-$(ver_cut 4)"
-DESCRIPTION="A self-hosted lightweight software forge"
-HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
-
-SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-src-${MY_PV}"
-LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
-SLOT="0"
-
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-
-IUSE="+acct pam sqlite pie"
-
-DEPEND="
- acct? (
- acct-group/git
- acct-user/git[gitea] )
- pam? ( sys-libs/pam )"
-RDEPEND="${DEPEND}
- dev-vcs/git
- !www-apps/gitea" # until acct-user/git[forgejo]
-
-DOCS=(
- custom/conf/app.example.ini CONTRIBUTING.md README.md
-)
-FILECAPS=(
- -m 711 cap_net_bind_service+ep usr/bin/forgejo
-)
-
-RESTRICT="test"
-
-src_prepare() {
- default
-
- local sedcmds=(
- -e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#"
- -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/forgejo#"
- -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#"
- -e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
- -e "s#^MODE = console#MODE = file#"
- -e "s#^LEVEL = Trace#LEVEL = Info#"
- -e "s#^LOG_SQL = true#LOG_SQL = false#"
- -e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#"
- )
-
- sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die
- if use sqlite ; then
- sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die
- fi
-}
-
-src_configure() {
- # bug 832756 - PIE build issues
- filter-flags -fPIE
- filter-ldflags -fPIE -pie
-}
-
-src_compile() {
- local forgejo_tags=(
- bindata
- $(usev pam)
- $(usex sqlite 'sqlite sqlite_unlock_notify' '')
- )
- local forgejo_settings=(
- "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini"
- "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
- "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
- )
- local makeenv=(
- DRONE_TAG="${PV}"
- LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}"
- TAGS="${forgejo_tags[*]}"
- )
-
- GOFLAGS=""
- if use pie ; then
- GOFLAGS+="-buildmode=pie"
- fi
-
- # need to set -j1 or build fails due to a race condition between MAKE jobs.
- # this does not actually impact build parallelism, because the go compiler
- # will still build everything in parallel when it's invoked.
- env "${makeenv[@]}" emake -j1 EXTRA_GOFLAGS="${GOFLAGS}" backend
-}
-
-src_install() {
- cp gitea forgejo
- dobin forgejo
-
- einstalldocs
-
- newconfd "${FILESDIR}/forgejo.confd-r1" forgejo
- newinitd "${FILESDIR}/forgejo.initd-r3" forgejo
- newtmpfiles - forgejo.conf <<-EOF
- d /run/forgejo 0755 git git
- EOF
- systemd_newunit "${FILESDIR}"/forgejo.service-r3 forgejo.service
-
- insinto /etc/forgejo
- newins custom/conf/app.example.ini app.ini
- if use acct; then
- fowners root:git /etc/forgejo/{,app.ini}
- fperms g+w,o-rwx /etc/forgejo/{,app.ini}
-
- diropts -m0750 -o git -g git
- keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data
- keepdir /var/log/forgejo
- fi
-}
-
-pkg_postinst() {
- fcaps_pkg_postinst
- tmpfiles_process forgejo.conf
-
- ewarn "${PN} ${MY_PV} will continue to use /var/lib/gitea as the default home,"
- ewarn "as acct-user/git[gitea] depends on it, and acct-user[forgejo] does not"
- ewarn "exist yet."
- ewarn ""
- ewarn "1.21.x includes changes that may require manual intervention when"
- ewarn "upgrading from 1.20.x:"
- ewarn ""
- ewarn "> Git branches are stored in the databases to reduce the calls to a"
- ewarn "> git process and improve performances. After upgrading, login as an"
- ewarn "> admin, go to the /admin page and click run Sync missed branches"
- ewarn "> from git data to databases. If this is not done there will be"
- ewarn "> messages such as LoadBranches: branch does not exist in the logs."
- ewarn ""
- ewarn "See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#1-21-1-0"
- ewarn "for more information"
-}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2024-06-16 3:02 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2024-06-16 3:02 UTC (permalink / raw
To: gentoo-commits
commit: faca0e1ee752577ed4e220f6c2ea066563873a2b
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sun Jun 16 03:01:49 2024 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sun Jun 16 03:02:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=faca0e1e
www-apps/forgejo: add 7.0.4
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 1 +
www-apps/forgejo/forgejo-7.0.4.ebuild | 139 ++++++++++++++++++++++++++++++++++
2 files changed, 140 insertions(+)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index 7e6b220e0..c24645d2f 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,2 +1,3 @@
DIST forgejo-1.21.11.1.tar.gz 58893566 BLAKE2B cf3541682de609d63f079922610cc7ae338b7736634a6bc767e310f4ea9fc21fd8c6928b2de4693be6619b49d7e0cbf3b0effd58b681a0cd5e95d4ba21c29141 SHA512 c461d8690a7d2eb3a4955487223391daac58f3236481c0b963a208184ed06fc96372fe8082fbb4a7d9a64b01b2c468d43d1559dd081ec65e65c9f9bc043f9af4
DIST forgejo-7.0.3.tar.gz 54895104 BLAKE2B a5965efaca04745fe8bfd60d18bfc68196b4a5f4b4731ee7aa8e0ee3dfeac0fb9e13193bd65df8db9202f37211b40c1a77ccbfbe018cbf0a3c7f708e77a864d8 SHA512 5d47a229cf89af44a1a36d0b873a3f0eede81b52aefe44c38f7f8a96930dd5038655c488112e4c945b8e71e8aa1e6d092fe51917535463d3228e0dfc0c974474
+DIST forgejo-7.0.4.tar.gz 54935871 BLAKE2B 3333c3d0ddd4021b0ca28765dd5a97fba1d77d538e8297852f2a541cad181a401bd3a1650cce10e746adbd54a3731219f0b8bc2c35612524532b2724d1f6310e SHA512 adba79ea5f49a36f399f8cbfb42a8ff2197f57ec74cbf195d1778a9634b51be6da88683c78355c9f04654c8bc3c77c7198751fc4685ff469d115c50d7e05cdfa
diff --git a/www-apps/forgejo/forgejo-7.0.4.ebuild b/www-apps/forgejo/forgejo-7.0.4.ebuild
new file mode 100644
index 000000000..2b2357dce
--- /dev/null
+++ b/www-apps/forgejo/forgejo-7.0.4.ebuild
@@ -0,0 +1,139 @@
+# Copyright 2016-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fcaps go-module tmpfiles systemd flag-o-matic
+
+DESCRIPTION="A self-hosted lightweight software forge"
+HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
+
+SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${PV}/forgejo-src-${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-src-${PV}"
+LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
+SLOT="0"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+IUSE="+acct pam sqlite pie"
+
+DEPEND="
+ acct? (
+ acct-group/git
+ acct-user/git[gitea] )
+ pam? ( sys-libs/pam )"
+RDEPEND="${DEPEND}
+ dev-vcs/git
+ !www-apps/gitea" # until acct-user/git[forgejo]
+
+DOCS=(
+ custom/conf/app.example.ini CONTRIBUTING.md README.md
+)
+FILECAPS=(
+ -m 711 cap_net_bind_service+ep usr/bin/forgejo
+)
+
+RESTRICT="test"
+
+src_prepare() {
+ default
+
+ local sedcmds=(
+ -e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#"
+ -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/forgejo#"
+ -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#"
+ -e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
+ -e "s#^MODE = console#MODE = file#"
+ -e "s#^LEVEL = Trace#LEVEL = Info#"
+ -e "s#^LOG_SQL = true#LOG_SQL = false#"
+ -e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#"
+ )
+
+ sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die
+ if use sqlite ; then
+ sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die
+ fi
+}
+
+src_configure() {
+ # bug 832756 - PIE build issues
+ filter-flags -fPIE
+ filter-ldflags -fPIE -pie
+}
+
+src_compile() {
+ local forgejo_tags=(
+ bindata
+ $(usev pam)
+ $(usex sqlite 'sqlite sqlite_unlock_notify' '')
+ )
+ local forgejo_settings=(
+ "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini"
+ "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
+ "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
+ )
+ local makeenv=(
+ DRONE_TAG="${PV}"
+ LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}"
+ TAGS="${forgejo_tags[*]}"
+ )
+
+ GOFLAGS=""
+ if use pie ; then
+ GOFLAGS+="-buildmode=pie"
+ fi
+
+ # need to set -j1 or build fails due to a race condition between MAKE jobs.
+ # this does not actually impact build parallelism, because the go compiler
+ # will still build everything in parallel when it's invoked.
+ env "${makeenv[@]}" emake -j1 EXTRA_GOFLAGS="${GOFLAGS}" backend
+}
+
+src_install() {
+ cp gitea forgejo
+ dobin forgejo
+
+ einstalldocs
+
+ newconfd "${FILESDIR}/forgejo.confd-r1" forgejo
+ newinitd "${FILESDIR}/forgejo.initd-r3" forgejo
+ newtmpfiles - forgejo.conf <<-EOF
+ d /run/forgejo 0755 git git
+ EOF
+ systemd_newunit "${FILESDIR}"/forgejo.service-r3 forgejo.service
+
+ insinto /etc/forgejo
+ newins custom/conf/app.example.ini app.ini
+ if use acct; then
+ fowners root:git /etc/forgejo/{,app.ini}
+ fperms g+w,o-rwx /etc/forgejo/{,app.ini}
+
+ diropts -m0750 -o git -g git
+ keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data
+ keepdir /var/log/forgejo
+ fi
+}
+
+pkg_postinst() {
+ fcaps_pkg_postinst
+ tmpfiles_process forgejo.conf
+
+ ewarn "${PN} ${PV} will continue to use /var/lib/gitea as the default home,"
+ ewarn "as acct-user/git[gitea] depends on it, and acct-user[forgejo] does not"
+ ewarn "exist yet."
+ ewarn ""
+ ewarn "7.x includes changes that may require manual intervention when"
+ ewarn "upgrading from 1.21.x, most prominently:"
+ ewarn ""
+ ewarn "> MySQL 8.0 or PostgreSQL 12 are the minimum supported versions. The"
+ ewarn "> database must be migrated before upgrading. The requirements"
+ ewarn "> regarding SQLite did not change."
+ ewarn ">"
+ ewarn "> The Gitea themes were renamed and the [ui].THEMES setting must be changed as follows:"
+ ewarn "> - gitea is replaced by gitea-light"
+ ewarn "> - arc-green is replaced by gitea-dark"
+ ewarn "> - auto is replaced by gitea-auto"
+ ewarn ""
+ ewarn "See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-0"
+ ewarn "for more information"
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2024-07-05 5:19 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2024-07-05 5:19 UTC (permalink / raw
To: gentoo-commits
commit: e9ed117873e607b4e175b049b797494bdeaf7fc5
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Fri Jul 5 05:18:08 2024 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Fri Jul 5 05:18:08 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e9ed1178
www-apps/forgejo: add 7.0.5, drop 7.0.3
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 2 +-
www-apps/forgejo/{forgejo-7.0.3.ebuild => forgejo-7.0.5.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index c24645d2f..9c1912c49 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,3 +1,3 @@
DIST forgejo-1.21.11.1.tar.gz 58893566 BLAKE2B cf3541682de609d63f079922610cc7ae338b7736634a6bc767e310f4ea9fc21fd8c6928b2de4693be6619b49d7e0cbf3b0effd58b681a0cd5e95d4ba21c29141 SHA512 c461d8690a7d2eb3a4955487223391daac58f3236481c0b963a208184ed06fc96372fe8082fbb4a7d9a64b01b2c468d43d1559dd081ec65e65c9f9bc043f9af4
-DIST forgejo-7.0.3.tar.gz 54895104 BLAKE2B a5965efaca04745fe8bfd60d18bfc68196b4a5f4b4731ee7aa8e0ee3dfeac0fb9e13193bd65df8db9202f37211b40c1a77ccbfbe018cbf0a3c7f708e77a864d8 SHA512 5d47a229cf89af44a1a36d0b873a3f0eede81b52aefe44c38f7f8a96930dd5038655c488112e4c945b8e71e8aa1e6d092fe51917535463d3228e0dfc0c974474
DIST forgejo-7.0.4.tar.gz 54935871 BLAKE2B 3333c3d0ddd4021b0ca28765dd5a97fba1d77d538e8297852f2a541cad181a401bd3a1650cce10e746adbd54a3731219f0b8bc2c35612524532b2724d1f6310e SHA512 adba79ea5f49a36f399f8cbfb42a8ff2197f57ec74cbf195d1778a9634b51be6da88683c78355c9f04654c8bc3c77c7198751fc4685ff469d115c50d7e05cdfa
+DIST forgejo-7.0.5.tar.gz 55031691 BLAKE2B f8dac358d99b3f12c3c77854ed1fe4198f98acb2f397e64ef4771cc9131f846707870a01d164c3e913d62185d69f33deabdd6646db4ed2146c6fc12289488e02 SHA512 52d85da61632a59b28738e24c60d08c96617924e68b6dfd20939210448b799e1c743bb022487603d2f821541cf184ae293b86913369fcf175722d49cbb5b4a36
diff --git a/www-apps/forgejo/forgejo-7.0.3.ebuild b/www-apps/forgejo/forgejo-7.0.5.ebuild
similarity index 100%
rename from www-apps/forgejo/forgejo-7.0.3.ebuild
rename to www-apps/forgejo/forgejo-7.0.5.ebuild
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2024-08-21 0:03 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2024-08-21 0:03 UTC (permalink / raw
To: gentoo-commits
commit: df052545a222ae021c26eff68c7c377da98b90ff
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Wed Aug 21 00:01:33 2024 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Wed Aug 21 00:02:09 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=df052545
www-apps/forgejo: add 7.0.7, drop 7.0.4
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 2 +-
www-apps/forgejo/{forgejo-7.0.4.ebuild => forgejo-7.0.7.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index 9c1912c49..68122766f 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,3 +1,3 @@
DIST forgejo-1.21.11.1.tar.gz 58893566 BLAKE2B cf3541682de609d63f079922610cc7ae338b7736634a6bc767e310f4ea9fc21fd8c6928b2de4693be6619b49d7e0cbf3b0effd58b681a0cd5e95d4ba21c29141 SHA512 c461d8690a7d2eb3a4955487223391daac58f3236481c0b963a208184ed06fc96372fe8082fbb4a7d9a64b01b2c468d43d1559dd081ec65e65c9f9bc043f9af4
-DIST forgejo-7.0.4.tar.gz 54935871 BLAKE2B 3333c3d0ddd4021b0ca28765dd5a97fba1d77d538e8297852f2a541cad181a401bd3a1650cce10e746adbd54a3731219f0b8bc2c35612524532b2724d1f6310e SHA512 adba79ea5f49a36f399f8cbfb42a8ff2197f57ec74cbf195d1778a9634b51be6da88683c78355c9f04654c8bc3c77c7198751fc4685ff469d115c50d7e05cdfa
DIST forgejo-7.0.5.tar.gz 55031691 BLAKE2B f8dac358d99b3f12c3c77854ed1fe4198f98acb2f397e64ef4771cc9131f846707870a01d164c3e913d62185d69f33deabdd6646db4ed2146c6fc12289488e02 SHA512 52d85da61632a59b28738e24c60d08c96617924e68b6dfd20939210448b799e1c743bb022487603d2f821541cf184ae293b86913369fcf175722d49cbb5b4a36
+DIST forgejo-7.0.7.tar.gz 53549049 BLAKE2B af5b42ba2888a106b418a683c1f40d80d31e226608b699c6e6696ff3187c7f91c75cd53de490d464af12d2107e8cbaaa3662bca4b1a834aacfcbc3ca22d7f71a SHA512 6163f154afde2c804b601a083cff43b6f13677fa6181f4916e190ffba23a05d29ffc945a6a384f23eb72fb9a7e0d1d846657b01f0dce5c519a8919c73631f22a
diff --git a/www-apps/forgejo/forgejo-7.0.4.ebuild b/www-apps/forgejo/forgejo-7.0.7.ebuild
similarity index 100%
rename from www-apps/forgejo/forgejo-7.0.4.ebuild
rename to www-apps/forgejo/forgejo-7.0.7.ebuild
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2024-09-07 6:57 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2024-09-07 6:57 UTC (permalink / raw
To: gentoo-commits
commit: 3b173a08e7b3d7be67436be4c7fd7c85ed7dc19a
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sat Sep 7 06:56:08 2024 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sat Sep 7 06:56:33 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b173a08
www-apps/forgejo: add 7.0.9, drop 7.0.5
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 2 +-
www-apps/forgejo/{forgejo-7.0.5.ebuild => forgejo-7.0.9.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index 68122766f..dd898110e 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,3 +1,3 @@
DIST forgejo-1.21.11.1.tar.gz 58893566 BLAKE2B cf3541682de609d63f079922610cc7ae338b7736634a6bc767e310f4ea9fc21fd8c6928b2de4693be6619b49d7e0cbf3b0effd58b681a0cd5e95d4ba21c29141 SHA512 c461d8690a7d2eb3a4955487223391daac58f3236481c0b963a208184ed06fc96372fe8082fbb4a7d9a64b01b2c468d43d1559dd081ec65e65c9f9bc043f9af4
-DIST forgejo-7.0.5.tar.gz 55031691 BLAKE2B f8dac358d99b3f12c3c77854ed1fe4198f98acb2f397e64ef4771cc9131f846707870a01d164c3e913d62185d69f33deabdd6646db4ed2146c6fc12289488e02 SHA512 52d85da61632a59b28738e24c60d08c96617924e68b6dfd20939210448b799e1c743bb022487603d2f821541cf184ae293b86913369fcf175722d49cbb5b4a36
DIST forgejo-7.0.7.tar.gz 53549049 BLAKE2B af5b42ba2888a106b418a683c1f40d80d31e226608b699c6e6696ff3187c7f91c75cd53de490d464af12d2107e8cbaaa3662bca4b1a834aacfcbc3ca22d7f71a SHA512 6163f154afde2c804b601a083cff43b6f13677fa6181f4916e190ffba23a05d29ffc945a6a384f23eb72fb9a7e0d1d846657b01f0dce5c519a8919c73631f22a
+DIST forgejo-7.0.9.tar.gz 53600572 BLAKE2B 2ef91a7e488562b6e4110769841f37265f26a277c67db0c154ba2e55a1809501c908cb35807e5514093ce3756441cbe25ad8dce7f74ed2c839e59136b0f9dd05 SHA512 45996bec03934fb26ef6d87fa8efc7c007f4ec683b29eb0a23c07a03ab35ea9c74c22f4d1f985ede71ef87430973c703d8b6efd17d04192fa00ad30366ad7f17
diff --git a/www-apps/forgejo/forgejo-7.0.5.ebuild b/www-apps/forgejo/forgejo-7.0.9.ebuild
similarity index 100%
rename from www-apps/forgejo/forgejo-7.0.5.ebuild
rename to www-apps/forgejo/forgejo-7.0.9.ebuild
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2024-10-20 6:09 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2024-10-20 6:09 UTC (permalink / raw
To: gentoo-commits
commit: 654bcf834d3182c57205e54a8ff7e8bcb289c632
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sun Oct 20 05:59:26 2024 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sun Oct 20 05:59:26 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=654bcf83
www-apps/forgejo: add 8.0.3
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 1 +
www-apps/forgejo/forgejo-8.0.3.ebuild | 139 ++++++++++++++++++++++++++++++++++
2 files changed, 140 insertions(+)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index dd898110e..72a3d39d3 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,3 +1,4 @@
DIST forgejo-1.21.11.1.tar.gz 58893566 BLAKE2B cf3541682de609d63f079922610cc7ae338b7736634a6bc767e310f4ea9fc21fd8c6928b2de4693be6619b49d7e0cbf3b0effd58b681a0cd5e95d4ba21c29141 SHA512 c461d8690a7d2eb3a4955487223391daac58f3236481c0b963a208184ed06fc96372fe8082fbb4a7d9a64b01b2c468d43d1559dd081ec65e65c9f9bc043f9af4
DIST forgejo-7.0.7.tar.gz 53549049 BLAKE2B af5b42ba2888a106b418a683c1f40d80d31e226608b699c6e6696ff3187c7f91c75cd53de490d464af12d2107e8cbaaa3662bca4b1a834aacfcbc3ca22d7f71a SHA512 6163f154afde2c804b601a083cff43b6f13677fa6181f4916e190ffba23a05d29ffc945a6a384f23eb72fb9a7e0d1d846657b01f0dce5c519a8919c73631f22a
DIST forgejo-7.0.9.tar.gz 53600572 BLAKE2B 2ef91a7e488562b6e4110769841f37265f26a277c67db0c154ba2e55a1809501c908cb35807e5514093ce3756441cbe25ad8dce7f74ed2c839e59136b0f9dd05 SHA512 45996bec03934fb26ef6d87fa8efc7c007f4ec683b29eb0a23c07a03ab35ea9c74c22f4d1f985ede71ef87430973c703d8b6efd17d04192fa00ad30366ad7f17
+DIST forgejo-8.0.3.tar.gz 53477625 BLAKE2B 378183773d7e81cf4471f592bf0c992aa1ff3bb267a5e53c7ffad8d79b2fd9a91060ce42a0cc33c39ae629fa9e69077715a88a029a59b68c35dd2ada4396b35d SHA512 eb5c90679d073856bac4b67fd49a9d74de6c91d3627461e8426ed0c2de2ca4344d25fb559bd7f6f13e09b7e443c51c3b4d5ead32f23f3fe10c115eb9ee019999
diff --git a/www-apps/forgejo/forgejo-8.0.3.ebuild b/www-apps/forgejo/forgejo-8.0.3.ebuild
new file mode 100644
index 000000000..2b2357dce
--- /dev/null
+++ b/www-apps/forgejo/forgejo-8.0.3.ebuild
@@ -0,0 +1,139 @@
+# Copyright 2016-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fcaps go-module tmpfiles systemd flag-o-matic
+
+DESCRIPTION="A self-hosted lightweight software forge"
+HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
+
+SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${PV}/forgejo-src-${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-src-${PV}"
+LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
+SLOT="0"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+IUSE="+acct pam sqlite pie"
+
+DEPEND="
+ acct? (
+ acct-group/git
+ acct-user/git[gitea] )
+ pam? ( sys-libs/pam )"
+RDEPEND="${DEPEND}
+ dev-vcs/git
+ !www-apps/gitea" # until acct-user/git[forgejo]
+
+DOCS=(
+ custom/conf/app.example.ini CONTRIBUTING.md README.md
+)
+FILECAPS=(
+ -m 711 cap_net_bind_service+ep usr/bin/forgejo
+)
+
+RESTRICT="test"
+
+src_prepare() {
+ default
+
+ local sedcmds=(
+ -e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#"
+ -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/forgejo#"
+ -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#"
+ -e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
+ -e "s#^MODE = console#MODE = file#"
+ -e "s#^LEVEL = Trace#LEVEL = Info#"
+ -e "s#^LOG_SQL = true#LOG_SQL = false#"
+ -e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#"
+ )
+
+ sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die
+ if use sqlite ; then
+ sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die
+ fi
+}
+
+src_configure() {
+ # bug 832756 - PIE build issues
+ filter-flags -fPIE
+ filter-ldflags -fPIE -pie
+}
+
+src_compile() {
+ local forgejo_tags=(
+ bindata
+ $(usev pam)
+ $(usex sqlite 'sqlite sqlite_unlock_notify' '')
+ )
+ local forgejo_settings=(
+ "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini"
+ "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
+ "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
+ )
+ local makeenv=(
+ DRONE_TAG="${PV}"
+ LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}"
+ TAGS="${forgejo_tags[*]}"
+ )
+
+ GOFLAGS=""
+ if use pie ; then
+ GOFLAGS+="-buildmode=pie"
+ fi
+
+ # need to set -j1 or build fails due to a race condition between MAKE jobs.
+ # this does not actually impact build parallelism, because the go compiler
+ # will still build everything in parallel when it's invoked.
+ env "${makeenv[@]}" emake -j1 EXTRA_GOFLAGS="${GOFLAGS}" backend
+}
+
+src_install() {
+ cp gitea forgejo
+ dobin forgejo
+
+ einstalldocs
+
+ newconfd "${FILESDIR}/forgejo.confd-r1" forgejo
+ newinitd "${FILESDIR}/forgejo.initd-r3" forgejo
+ newtmpfiles - forgejo.conf <<-EOF
+ d /run/forgejo 0755 git git
+ EOF
+ systemd_newunit "${FILESDIR}"/forgejo.service-r3 forgejo.service
+
+ insinto /etc/forgejo
+ newins custom/conf/app.example.ini app.ini
+ if use acct; then
+ fowners root:git /etc/forgejo/{,app.ini}
+ fperms g+w,o-rwx /etc/forgejo/{,app.ini}
+
+ diropts -m0750 -o git -g git
+ keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data
+ keepdir /var/log/forgejo
+ fi
+}
+
+pkg_postinst() {
+ fcaps_pkg_postinst
+ tmpfiles_process forgejo.conf
+
+ ewarn "${PN} ${PV} will continue to use /var/lib/gitea as the default home,"
+ ewarn "as acct-user/git[gitea] depends on it, and acct-user[forgejo] does not"
+ ewarn "exist yet."
+ ewarn ""
+ ewarn "7.x includes changes that may require manual intervention when"
+ ewarn "upgrading from 1.21.x, most prominently:"
+ ewarn ""
+ ewarn "> MySQL 8.0 or PostgreSQL 12 are the minimum supported versions. The"
+ ewarn "> database must be migrated before upgrading. The requirements"
+ ewarn "> regarding SQLite did not change."
+ ewarn ">"
+ ewarn "> The Gitea themes were renamed and the [ui].THEMES setting must be changed as follows:"
+ ewarn "> - gitea is replaced by gitea-light"
+ ewarn "> - arc-green is replaced by gitea-dark"
+ ewarn "> - auto is replaced by gitea-auto"
+ ewarn ""
+ ewarn "See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-0"
+ ewarn "for more information"
+}
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/
@ 2024-10-20 6:09 Artemis Everfree
0 siblings, 0 replies; 26+ messages in thread
From: Artemis Everfree @ 2024-10-20 6:09 UTC (permalink / raw
To: gentoo-commits
commit: 9680bdbca1693aada2bf7824a44058d93429f182
Author: Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sun Oct 20 05:59:48 2024 +0000
Commit: Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sun Oct 20 05:59:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9680bdbc
www-apps/forgejo: drop 1.21.11.1, 7.0.7
Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>
www-apps/forgejo/Manifest | 2 -
www-apps/forgejo/forgejo-1.21.11.1.ebuild | 137 -----------------------------
www-apps/forgejo/forgejo-7.0.7.ebuild | 139 ------------------------------
3 files changed, 278 deletions(-)
diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest
index 72a3d39d3..0660af78e 100644
--- a/www-apps/forgejo/Manifest
+++ b/www-apps/forgejo/Manifest
@@ -1,4 +1,2 @@
-DIST forgejo-1.21.11.1.tar.gz 58893566 BLAKE2B cf3541682de609d63f079922610cc7ae338b7736634a6bc767e310f4ea9fc21fd8c6928b2de4693be6619b49d7e0cbf3b0effd58b681a0cd5e95d4ba21c29141 SHA512 c461d8690a7d2eb3a4955487223391daac58f3236481c0b963a208184ed06fc96372fe8082fbb4a7d9a64b01b2c468d43d1559dd081ec65e65c9f9bc043f9af4
-DIST forgejo-7.0.7.tar.gz 53549049 BLAKE2B af5b42ba2888a106b418a683c1f40d80d31e226608b699c6e6696ff3187c7f91c75cd53de490d464af12d2107e8cbaaa3662bca4b1a834aacfcbc3ca22d7f71a SHA512 6163f154afde2c804b601a083cff43b6f13677fa6181f4916e190ffba23a05d29ffc945a6a384f23eb72fb9a7e0d1d846657b01f0dce5c519a8919c73631f22a
DIST forgejo-7.0.9.tar.gz 53600572 BLAKE2B 2ef91a7e488562b6e4110769841f37265f26a277c67db0c154ba2e55a1809501c908cb35807e5514093ce3756441cbe25ad8dce7f74ed2c839e59136b0f9dd05 SHA512 45996bec03934fb26ef6d87fa8efc7c007f4ec683b29eb0a23c07a03ab35ea9c74c22f4d1f985ede71ef87430973c703d8b6efd17d04192fa00ad30366ad7f17
DIST forgejo-8.0.3.tar.gz 53477625 BLAKE2B 378183773d7e81cf4471f592bf0c992aa1ff3bb267a5e53c7ffad8d79b2fd9a91060ce42a0cc33c39ae629fa9e69077715a88a029a59b68c35dd2ada4396b35d SHA512 eb5c90679d073856bac4b67fd49a9d74de6c91d3627461e8426ed0c2de2ca4344d25fb559bd7f6f13e09b7e443c51c3b4d5ead32f23f3fe10c115eb9ee019999
diff --git a/www-apps/forgejo/forgejo-1.21.11.1.ebuild b/www-apps/forgejo/forgejo-1.21.11.1.ebuild
deleted file mode 100644
index 68c5354b8..000000000
--- a/www-apps/forgejo/forgejo-1.21.11.1.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 2016-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit fcaps go-module tmpfiles systemd flag-o-matic
-
-MY_PV="$(ver_cut 1-3)-$(ver_cut 4)"
-DESCRIPTION="A self-hosted lightweight software forge"
-HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
-
-SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${MY_PV}/forgejo-src-${MY_PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-src-${MY_PV}"
-LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
-SLOT="0"
-
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-
-IUSE="+acct pam sqlite pie"
-
-DEPEND="
- acct? (
- acct-group/git
- acct-user/git[gitea] )
- pam? ( sys-libs/pam )"
-RDEPEND="${DEPEND}
- dev-vcs/git
- !www-apps/gitea" # until acct-user/git[forgejo]
-
-DOCS=(
- custom/conf/app.example.ini CONTRIBUTING.md README.md
-)
-FILECAPS=(
- -m 711 cap_net_bind_service+ep usr/bin/forgejo
-)
-
-RESTRICT="test"
-
-src_prepare() {
- default
-
- local sedcmds=(
- -e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#"
- -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/forgejo#"
- -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#"
- -e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
- -e "s#^MODE = console#MODE = file#"
- -e "s#^LEVEL = Trace#LEVEL = Info#"
- -e "s#^LOG_SQL = true#LOG_SQL = false#"
- -e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#"
- )
-
- sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die
- if use sqlite ; then
- sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die
- fi
-}
-
-src_configure() {
- # bug 832756 - PIE build issues
- filter-flags -fPIE
- filter-ldflags -fPIE -pie
-}
-
-src_compile() {
- local forgejo_tags=(
- bindata
- $(usev pam)
- $(usex sqlite 'sqlite sqlite_unlock_notify' '')
- )
- local forgejo_settings=(
- "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini"
- "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
- "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
- )
- local makeenv=(
- DRONE_TAG="${PV}"
- LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}"
- TAGS="${forgejo_tags[*]}"
- )
-
- GOFLAGS=""
- if use pie ; then
- GOFLAGS+="-buildmode=pie"
- fi
-
- # need to set -j1 or build fails due to a race condition between MAKE jobs.
- # this does not actually impact build parallelism, because the go compiler
- # will still build everything in parallel when it's invoked.
- env "${makeenv[@]}" emake -j1 EXTRA_GOFLAGS="${GOFLAGS}" backend
-}
-
-src_install() {
- cp gitea forgejo
- dobin forgejo
-
- einstalldocs
-
- newconfd "${FILESDIR}/forgejo.confd-r1" forgejo
- newinitd "${FILESDIR}/forgejo.initd-r3" forgejo
- newtmpfiles - forgejo.conf <<-EOF
- d /run/forgejo 0755 git git
- EOF
- systemd_newunit "${FILESDIR}"/forgejo.service-r3 forgejo.service
-
- insinto /etc/forgejo
- newins custom/conf/app.example.ini app.ini
- if use acct; then
- fowners root:git /etc/forgejo/{,app.ini}
- fperms g+w,o-rwx /etc/forgejo/{,app.ini}
-
- diropts -m0750 -o git -g git
- keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data
- keepdir /var/log/forgejo
- fi
-}
-
-pkg_postinst() {
- fcaps_pkg_postinst
- tmpfiles_process forgejo.conf
-
- ewarn "${PN} ${MY_PV} will continue to use /var/lib/gitea as the default home,"
- ewarn "as acct-user/git[gitea] depends on it, and acct-user[forgejo] does not"
- ewarn "exist yet."
- ewarn ""
- ewarn "1.21.x includes changes that may require manual intervention when"
- ewarn "upgrading from 1.20.x:"
- ewarn ""
- ewarn "> Git branches are stored in the databases to reduce the calls to a"
- ewarn "> git process and improve performances. After upgrading, login as an"
- ewarn "> admin, go to the /admin page and click run Sync missed branches"
- ewarn "> from git data to databases. If this is not done there will be"
- ewarn "> messages such as LoadBranches: branch does not exist in the logs."
- ewarn ""
- ewarn "See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#1-21-1-0"
- ewarn "for more information"
-}
diff --git a/www-apps/forgejo/forgejo-7.0.7.ebuild b/www-apps/forgejo/forgejo-7.0.7.ebuild
deleted file mode 100644
index 2b2357dce..000000000
--- a/www-apps/forgejo/forgejo-7.0.7.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 2016-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit fcaps go-module tmpfiles systemd flag-o-matic
-
-DESCRIPTION="A self-hosted lightweight software forge"
-HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo"
-
-SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${PV}/forgejo-src-${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-src-${PV}"
-LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
-SLOT="0"
-
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-
-IUSE="+acct pam sqlite pie"
-
-DEPEND="
- acct? (
- acct-group/git
- acct-user/git[gitea] )
- pam? ( sys-libs/pam )"
-RDEPEND="${DEPEND}
- dev-vcs/git
- !www-apps/gitea" # until acct-user/git[forgejo]
-
-DOCS=(
- custom/conf/app.example.ini CONTRIBUTING.md README.md
-)
-FILECAPS=(
- -m 711 cap_net_bind_service+ep usr/bin/forgejo
-)
-
-RESTRICT="test"
-
-src_prepare() {
- default
-
- local sedcmds=(
- -e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#"
- -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/forgejo#"
- -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#"
- -e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
- -e "s#^MODE = console#MODE = file#"
- -e "s#^LEVEL = Trace#LEVEL = Info#"
- -e "s#^LOG_SQL = true#LOG_SQL = false#"
- -e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#"
- )
-
- sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die
- if use sqlite ; then
- sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die
- fi
-}
-
-src_configure() {
- # bug 832756 - PIE build issues
- filter-flags -fPIE
- filter-ldflags -fPIE -pie
-}
-
-src_compile() {
- local forgejo_tags=(
- bindata
- $(usev pam)
- $(usex sqlite 'sqlite sqlite_unlock_notify' '')
- )
- local forgejo_settings=(
- "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini"
- "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
- "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
- )
- local makeenv=(
- DRONE_TAG="${PV}"
- LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}"
- TAGS="${forgejo_tags[*]}"
- )
-
- GOFLAGS=""
- if use pie ; then
- GOFLAGS+="-buildmode=pie"
- fi
-
- # need to set -j1 or build fails due to a race condition between MAKE jobs.
- # this does not actually impact build parallelism, because the go compiler
- # will still build everything in parallel when it's invoked.
- env "${makeenv[@]}" emake -j1 EXTRA_GOFLAGS="${GOFLAGS}" backend
-}
-
-src_install() {
- cp gitea forgejo
- dobin forgejo
-
- einstalldocs
-
- newconfd "${FILESDIR}/forgejo.confd-r1" forgejo
- newinitd "${FILESDIR}/forgejo.initd-r3" forgejo
- newtmpfiles - forgejo.conf <<-EOF
- d /run/forgejo 0755 git git
- EOF
- systemd_newunit "${FILESDIR}"/forgejo.service-r3 forgejo.service
-
- insinto /etc/forgejo
- newins custom/conf/app.example.ini app.ini
- if use acct; then
- fowners root:git /etc/forgejo/{,app.ini}
- fperms g+w,o-rwx /etc/forgejo/{,app.ini}
-
- diropts -m0750 -o git -g git
- keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data
- keepdir /var/log/forgejo
- fi
-}
-
-pkg_postinst() {
- fcaps_pkg_postinst
- tmpfiles_process forgejo.conf
-
- ewarn "${PN} ${PV} will continue to use /var/lib/gitea as the default home,"
- ewarn "as acct-user/git[gitea] depends on it, and acct-user[forgejo] does not"
- ewarn "exist yet."
- ewarn ""
- ewarn "7.x includes changes that may require manual intervention when"
- ewarn "upgrading from 1.21.x, most prominently:"
- ewarn ""
- ewarn "> MySQL 8.0 or PostgreSQL 12 are the minimum supported versions. The"
- ewarn "> database must be migrated before upgrading. The requirements"
- ewarn "> regarding SQLite did not change."
- ewarn ">"
- ewarn "> The Gitea themes were renamed and the [ui].THEMES setting must be changed as follows:"
- ewarn "> - gitea is replaced by gitea-light"
- ewarn "> - arc-green is replaced by gitea-dark"
- ewarn "> - auto is replaced by gitea-auto"
- ewarn ""
- ewarn "See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-0"
- ewarn "for more information"
-}
^ permalink raw reply related [flat|nested] 26+ messages in thread
end of thread, other threads:[~2024-10-20 6:09 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-08 8:31 [gentoo-commits] repo/proj/guru:dev commit in: www-apps/forgejo/ Artemis Everfree
-- strict thread matches above, loose matches on Subject: below --
2024-10-20 6:09 Artemis Everfree
2024-10-20 6:09 Artemis Everfree
2024-09-07 6:57 Artemis Everfree
2024-08-21 0:03 Artemis Everfree
2024-07-05 5:19 Artemis Everfree
2024-06-16 3:02 Artemis Everfree
2024-06-01 8:31 Artemis Everfree
2024-06-01 8:31 Artemis Everfree
2024-04-22 5:30 Artemis Everfree
2024-03-31 21:32 Artemis Everfree
2024-03-12 22:17 Artemis Everfree
2024-02-23 3:36 Artemis Everfree
2024-02-23 3:36 Artemis Everfree
2024-02-03 23:29 Artemis Everfree
2024-02-03 23:29 Artemis Everfree
2023-12-01 6:47 Artemis Everfree
2023-10-11 3:08 Artemis Everfree
2023-09-23 10:50 Artemis Everfree
2023-09-10 11:19 Artemis Everfree
2023-09-05 14:05 Artemis Everfree
2023-07-31 4:48 Artemis Everfree
2023-07-25 19:36 Artemis Everfree
2023-07-08 8:31 Artemis Everfree
2023-06-29 21:55 Artemis Everfree
2023-06-29 21:34 Artemis Everfree
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox