From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 02D141382C5 for ; Mon, 26 Apr 2021 13:41:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D1FAE0802; Mon, 26 Apr 2021 13:41:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F24C5E0802 for ; Mon, 26 Apr 2021 13:41:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 33532340FC1 for ; Mon, 26 Apr 2021 13:41:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 94489C3 for ; Mon, 26 Apr 2021 13:41:39 +0000 (UTC) From: "Alexandru Campeanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexandru Campeanu" Message-ID: <1619444479.0a4b02d6b1e419e686dd4fb7ecde957fff152ee8.tiotags1@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: www-servers/hinsightd/files/, www-servers/hinsightd/ X-VCS-Repository: repo/proj/guru X-VCS-Files: www-servers/hinsightd/Manifest www-servers/hinsightd/files/hinsightd-default-config.patch www-servers/hinsightd/files/hinsightd-redefine-directories.patch www-servers/hinsightd/hinsightd-0.9.1.ebuild www-servers/hinsightd/hinsightd-9999.ebuild X-VCS-Directories: www-servers/hinsightd/files/ www-servers/hinsightd/ X-VCS-Committer: tiotags1 X-VCS-Committer-Name: Alexandru Campeanu X-VCS-Revision: 0a4b02d6b1e419e686dd4fb7ecde957fff152ee8 X-VCS-Branch: dev Date: Mon, 26 Apr 2021 13:41:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1b0a7d33-f8c2-4ad1-bf82-43dd64ca743b X-Archives-Hash: a37fd6605a3f9bd1ce9e71fd92d28f3f commit: 0a4b02d6b1e419e686dd4fb7ecde957fff152ee8 Author: tiotags gmail com> AuthorDate: Mon Apr 26 13:41:19 2021 +0000 Commit: Alexandru Campeanu gmail com> CommitDate: Mon Apr 26 13:41:19 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0a4b02d6 www-servers/hinsightd: version bump 0.9.1 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alexandru Campeanu gmail.com> www-servers/hinsightd/Manifest | 1 + www-servers/hinsightd/files/hinsightd-default-config.patch | 12 ++++++++++++ .../hinsightd/files/hinsightd-redefine-directories.patch | 6 +++--- .../{hinsightd-9999.ebuild => hinsightd-0.9.1.ebuild} | 6 +++--- www-servers/hinsightd/hinsightd-9999.ebuild | 6 +++--- 5 files changed, 22 insertions(+), 9 deletions(-) diff --git a/www-servers/hinsightd/Manifest b/www-servers/hinsightd/Manifest index 61940dc50..37be5d923 100644 --- a/www-servers/hinsightd/Manifest +++ b/www-servers/hinsightd/Manifest @@ -1 +1,2 @@ DIST hin9-v0.9.0.tar.gz 65320 BLAKE2B c1348bc5afffa8804494f6ae228f54874d25cc5f40c17ee2a36f23104286f96f5d616cdc3e98de0854cf7d4b18165a2b70600b32f58024b679d213b2156c1f18 SHA512 60a1ff72d1abf57d8f764ebb77ab77f7069b40bfdbb5bb1c95324b366d1052378ffe36198112a595e08238622654a9c1e1d89679924883f8ff42b98ca7cf139e +DIST hin9-v0.9.1.tar.gz 64851 BLAKE2B ca646af3b2a752f2b0ba2eec983f807d148b302a7a2db627117686dea3d16811829a1f89a3347708c775d8141372dd91ca46c79c32684b9366b703eb7018706e SHA512 175bbb25bd8be5052bcda96b709b33a996945c63f71249750ab11a46bafdb425818437023a882858e34692abc341d99141954ca31f6296383b26f617e76ac11a diff --git a/www-servers/hinsightd/files/hinsightd-default-config.patch b/www-servers/hinsightd/files/hinsightd-default-config.patch new file mode 100644 index 000000000..114be8fe2 --- /dev/null +++ b/www-servers/hinsightd/files/hinsightd-default-config.patch @@ -0,0 +1,12 @@ +diff --git a/workdir/main.lua b/workdir/main.lua +index 4d516c6..08dd597 100644 +--- a/workdir/main.lua ++++ b/workdir/main.lua +@@ -2,6 +2,7 @@ + + --redirect_log (logdir.."debug.log") + --redirect_log (NULL, "ffffffff") ++redirect_log (logdir.."debug.log") + + function printf (...) + io.write (string.format (...)) diff --git a/www-servers/hinsightd/files/hinsightd-redefine-directories.patch b/www-servers/hinsightd/files/hinsightd-redefine-directories.patch index 22925c1dc..c204eff35 100644 --- a/www-servers/hinsightd/files/hinsightd-redefine-directories.patch +++ b/www-servers/hinsightd/files/hinsightd-redefine-directories.patch @@ -1,5 +1,5 @@ diff --git a/src/hin/conf.h b/src/hin/conf.h -index c4f7f4c..29b9375 100644 +index c4f7f4c..23b0714 100644 --- a/src/hin/conf.h +++ b/src/hin/conf.h @@ -2,9 +2,9 @@ @@ -21,8 +21,8 @@ index c4f7f4c..29b9375 100644 #define HIN_HTTPD_MAX_DEFLATE_SIZE 0 -#define HIN_HTTPD_POST_DIRECTORY "/tmp" -#define HIN_HTTPD_CACHE_DIRECTORY "/tmp" -+#define HIN_HTTPD_POST_DIRECTORY "/var/tmp/hinsightd" -+#define HIN_HTTPD_CACHE_DIRECTORY "/var/tmp/hinsightd" ++#define HIN_HTTPD_POST_DIRECTORY "/var/tmp/hinsightd/" ++#define HIN_HTTPD_CACHE_DIRECTORY "/var/tmp/hinsightd/" #define HIN_HTTPD_CACHE_CLEAN_ON_EXIT 1 #define HIN_HTTPD_CACHE_TMPFILE 0 #define HIN_HTTPD_CACHE_MAX_SIZE 64 * 1024 * 1024 diff --git a/www-servers/hinsightd/hinsightd-9999.ebuild b/www-servers/hinsightd/hinsightd-0.9.1.ebuild similarity index 96% copy from www-servers/hinsightd/hinsightd-9999.ebuild copy to www-servers/hinsightd/hinsightd-0.9.1.ebuild index 9107371b8..924a614e4 100644 --- a/www-servers/hinsightd/hinsightd-9999.ebuild +++ b/www-servers/hinsightd/hinsightd-0.9.1.ebuild @@ -11,17 +11,16 @@ DESCRIPTION="hinsightd a http/1.1 webserver with (hopefully) minimal goals" HOMEPAGE="https://gitlab.com/tiotags/hin9" if [[ ${PV} == *9999* ]]; then - EGIT_REPO_URI="https://gitlab.com/tiotags/hin9.git" inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/tiotags/hin9.git" else - KEYWORDS="~amd64" SRC_URI="https://gitlab.com/tiotags/hin9/-/archive/v${PV}/hin9-v${PV}.tar.gz" S="${WORKDIR}/hin9-v${PV}" + KEYWORDS="~amd64" fi LICENSE="BSD" SLOT="0" -KEYWORDS="" IUSE="+openssl" REQUIRED_USE="${LUA_REQUIRED_USE}" @@ -45,6 +44,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}/hinsightd-redefine-directories.patch" + "${FILESDIR}/hinsightd-default-config.patch" ) src_configure() { diff --git a/www-servers/hinsightd/hinsightd-9999.ebuild b/www-servers/hinsightd/hinsightd-9999.ebuild index 9107371b8..924a614e4 100644 --- a/www-servers/hinsightd/hinsightd-9999.ebuild +++ b/www-servers/hinsightd/hinsightd-9999.ebuild @@ -11,17 +11,16 @@ DESCRIPTION="hinsightd a http/1.1 webserver with (hopefully) minimal goals" HOMEPAGE="https://gitlab.com/tiotags/hin9" if [[ ${PV} == *9999* ]]; then - EGIT_REPO_URI="https://gitlab.com/tiotags/hin9.git" inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/tiotags/hin9.git" else - KEYWORDS="~amd64" SRC_URI="https://gitlab.com/tiotags/hin9/-/archive/v${PV}/hin9-v${PV}.tar.gz" S="${WORKDIR}/hin9-v${PV}" + KEYWORDS="~amd64" fi LICENSE="BSD" SLOT="0" -KEYWORDS="" IUSE="+openssl" REQUIRED_USE="${LUA_REQUIRED_USE}" @@ -45,6 +44,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}/hinsightd-redefine-directories.patch" + "${FILESDIR}/hinsightd-default-config.patch" ) src_configure() {