public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexandru Campeanu" <tiotags1@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: www-servers/hinsightd/files/, www-servers/hinsightd/
Date: Mon, 26 Apr 2021 13:41:39 +0000 (UTC)	[thread overview]
Message-ID: <1619444479.0a4b02d6b1e419e686dd4fb7ecde957fff152ee8.tiotags1@gentoo> (raw)

commit:     0a4b02d6b1e419e686dd4fb7ecde957fff152ee8
Author:     tiotags <tiotags1 <AT> gmail <DOT> com>
AuthorDate: Mon Apr 26 13:41:19 2021 +0000
Commit:     Alexandru Campeanu <tiotags1 <AT> gmail <DOT> 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 <tiotags1 <AT> 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() {


             reply	other threads:[~2021-04-26 13:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-26 13:41 Alexandru Campeanu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-26 10:15 [gentoo-commits] repo/proj/guru:dev commit in: www-servers/hinsightd/files/, www-servers/hinsightd/ Alexandru Campeanu
2021-07-20  8:48 Alexandru Campeanu
2021-06-20  9:20 Alexandru Campeanu
2021-04-19  7:51 Alexandru Campeanu
2021-04-19  7:51 Alexandru Campeanu
2021-04-17 20:00 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-04-17 20:00 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-04-17 19:24 Alexandru Campeanu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1619444479.0a4b02d6b1e419e686dd4fb7ecde957fff152ee8.tiotags1@gentoo \
    --to=tiotags1@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox