commit:     6c610a26232300fd184743d07204356a4e016cf3
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 27 16:57:35 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Dec 27 18:51:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c610a26

www-servers/kore: bump to 4.3.0_rc4

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 www-servers/kore/Manifest              |  1 +
 www-servers/kore/kore-4.3.0_rc4.ebuild | 78 ++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/www-servers/kore/Manifest b/www-servers/kore/Manifest
index 7537863f0f94..7055e669dca7 100644
--- a/www-servers/kore/Manifest
+++ b/www-servers/kore/Manifest
@@ -1 +1,2 @@
 DIST kore-4.2.3.tar.gz 1085717 BLAKE2B 
1c12c6974ea5997d776efcf490728bf4f90c978d4547bd1c608549d97a544fb0f45e8cd58aab6730999c267a85807d5eb3a04fdcf16817df122992f339c3f05d
 SHA512 
7ed5eb116da190640605d40c757bf49d503d2d866fc7effe9ad658f84f12aec671ec5935677767dd9721b686b61e278b16d8b4360c2fe9ea1eb57068746f52b1
+DIST kore-4.3.0_rc4.gh.tar.gz 1090477 BLAKE2B 
34965ca7790e3163345ab6d367b7decc93fbf06504d3742ffa73773dc9c3d4e4e074a0dfe171d684f7528ff2edbf8d8b7679d0f71ef6717414755411f3275718
 SHA512 
2f0b57d2502fc2adb62dbcd74bd5463a446c9ee80786b952a5dbb4293d696ca0977e3b6e8ce44d8cf85a6bdf3153d6ba49a2618a58125bb7630a8b66b85875cc

diff --git a/www-servers/kore/kore-4.3.0_rc4.ebuild 
b/www-servers/kore/kore-4.3.0_rc4.ebuild
new file mode 100644
index 000000000000..c8b932ac8b32
--- /dev/null
+++ b/www-servers/kore/kore-4.3.0_rc4.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+APP_PV="${PV/_/-}"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Web application platform for writing scalable, concurrent web 
based processes"
+HOMEPAGE="https://kore.io/
+       https://github.com/jorisvink/kore/";
+
+if [[ "${PV}" == *9999* ]] ; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://git.kore.io/kore";
+else
+       
SRC_URI="https://github.com/jorisvink/${PN}/archive/refs/tags/${APP_PV}.tar.gz
+               -> ${P}.gh.tar.gz"
+       S="${WORKDIR}/${PN}-${APP_PV}"
+
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC"
+SLOT="0"
+IUSE="+acme +curl debug +http +json +openssl postgres +threads"
+REQUIRED_USE="acme? ( curl openssl )"
+
+RDEPEND="
+       curl? ( net-misc/curl:= )
+       json? ( dev-libs/yajl:= )
+       openssl? ( dev-libs/openssl:= )
+       postgres? ( dev-db/postgresql:= )
+"
+DEPEND="
+       ${RDEPEND}
+"
+
+PATCHES=(
+       "${FILESDIR}/kore-4.2.3-makefile.patch"
+       "${FILESDIR}/kore-4.2.3-kodev-makefile.patch"
+)
+
+DOCS=( README.md )
+
+src_prepare() {
+       default
+
+       sed -i ./kodev/Makefile tools/kore-serve/conf/build.conf \
+               -e 's|-Werror||g' \
+               || die
+}
+
+src_compile() {
+       tc-export CC
+
+       # See https://github.com/jorisvink/kore#building-kore
+       env ACME=$(usex acme 1 '')                      \
+               CURL=$(usex curl 1 '')                      \
+               DEBUG=$(usex debug 1 '')                    \
+               JSONRPC=$(usex json 1 '')                   \
+               NOHTTP=$(usex http '' 1)                    \
+               PGSQL=$(usex postgres 1 '')                 \
+               TASKS=$(usex threads 1 '')                  \
+               TLS_BACKEND=$(usex openssl openssl none)    \
+               CFLAGS="${CFLAGS} ${LDFLAGS}"               \
+               LDFLAGS="${LDFLAGS}"                        \
+               PREFIX=/usr                                 \
+               emake
+}
+
+src_install() {
+       emake DESTDIR="${D}" PREFIX=/usr install
+
+       einstalldocs
+}

Reply via email to