public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: www-servers/hinsightd/, www-servers/hinsightd/files/
@ 2021-04-26  9:40 Alexandru Campeanu
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandru Campeanu @ 2021-04-26  9:40 UTC (permalink / raw
  To: gentoo-commits

commit:     ae65a194038ff27752b13602466ffef599002c09
Author:     tiotags <tiotags1 <AT> gmail <DOT> com>
AuthorDate: Mon Apr 26 09:39:03 2021 +0000
Commit:     Alexandru Campeanu <tiotags1 <AT> gmail <DOT> com>
CommitDate: Mon Apr 26 09:39:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ae65a194

www-servers/hinsightd: switched to cmake

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alexandru Campeanu <tiotags1 <AT> gmail.com>

 www-servers/hinsightd/files/init.d.sh       |  2 +-
 www-servers/hinsightd/hinsightd-9999.ebuild | 30 ++++++++++++++++++-----------
 www-servers/hinsightd/metadata.xml          |  2 +-
 3 files changed, 21 insertions(+), 13 deletions(-)

diff --git a/www-servers/hinsightd/files/init.d.sh b/www-servers/hinsightd/files/init.d.sh
index 9146de844..bc05ab5c9 100644
--- a/www-servers/hinsightd/files/init.d.sh
+++ b/www-servers/hinsightd/files/init.d.sh
@@ -14,7 +14,7 @@ RUN_USER="hinsightd"
 extra_commands="checkconfig reload"
 
 command=$RUN_FILE
-command_args="--config $CFG_FILE --logdir $LOG_DIR --cwd $CWD_DIR --pidfile $PID_FILE --tmpdir $TMP_DIR"
+command_args="--config $CFG_FILE --logdir $LOG_DIR/ --cwd $CWD_DIR/ --pidfile $PID_FILE --tmpdir $TMP_DIR"
 pidfile="$PID_FILE"
 command_args_background="--daemonize"
 command_user="$RUN_USER:$RUN_USER"

diff --git a/www-servers/hinsightd/hinsightd-9999.ebuild b/www-servers/hinsightd/hinsightd-9999.ebuild
index 8ae886a39..9107371b8 100644
--- a/www-servers/hinsightd/hinsightd-9999.ebuild
+++ b/www-servers/hinsightd/hinsightd-9999.ebuild
@@ -5,21 +5,30 @@ EAPI=7
 
 LUA_COMPAT=( lua5-{1..4} )
 
-inherit git-r3 fcaps lua-single systemd
+inherit fcaps lua-single systemd cmake
 
 DESCRIPTION="hinsightd a http/1.1 webserver with (hopefully) minimal goals"
 HOMEPAGE="https://gitlab.com/tiotags/hin9"
-EGIT_REPO_URI="https://gitlab.com/tiotags/hin9.git"
+
+if [[ ${PV} == *9999* ]]; then
+	EGIT_REPO_URI="https://gitlab.com/tiotags/hin9.git"
+	inherit git-r3
+else
+	KEYWORDS="~amd64"
+	SRC_URI="https://gitlab.com/tiotags/hin9/-/archive/v${PV}/hin9-v${PV}.tar.gz"
+	S="${WORKDIR}/hin9-v${PV}"
+fi
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS=""
 
-IUSE="" #+openssl
+IUSE="+openssl"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 
 BDEPEND="
 	dev-util/ninja
+	dev-util/cmake
 	virtual/pkgconfig
 "
 
@@ -29,7 +38,7 @@ RDEPEND="
 	acct-group/hinsightd
 	sys-libs/liburing
 	sys-libs/zlib
-	dev-libs/openssl
+	openssl? ( dev-libs/openssl )
 "
 
 DEPEND="${RDEPEND}"
@@ -38,16 +47,15 @@ PATCHES=(
 	"${FILESDIR}/hinsightd-redefine-directories.patch"
 )
 
-#src_configure() {
-#}
-
-src_compile() {
-	cd build
-	ninja || die
+src_configure() {
+	local mycmakeargs=(
+		-DUSE_OPENSSL=$(usex openssl)
+	)
+	cmake_src_configure
 }
 
 src_install() {
-	newbin "${S}/build/hin9" hinsightd
+	newbin "${BUILD_DIR}/hin9" hinsightd
 	newinitd "${FILESDIR}/init.d.sh" hinsightd
 	systemd_dounit "${FILESDIR}/hinsightd.service" # not tested
 

diff --git a/www-servers/hinsightd/metadata.xml b/www-servers/hinsightd/metadata.xml
index f494a4303..f06968fc0 100644
--- a/www-servers/hinsightd/metadata.xml
+++ b/www-servers/hinsightd/metadata.xml
@@ -17,6 +17,6 @@
 		Full debug information can be toggled per request and outputted to 			console or a log file.
 	</longdescription>
 	<use>
-		<!--<flag name="openssl">Enable tls encryption with openssl</flag>-->
+		<flag name="openssl">Enable tls encryption with openssl</flag>
 	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: www-servers/hinsightd/, www-servers/hinsightd/files/
@ 2021-04-30  7:50 Alexandru Campeanu
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandru Campeanu @ 2021-04-30  7:50 UTC (permalink / raw
  To: gentoo-commits

commit:     95e29c33c1c2f04ef1515ec4d123f35ffa3ab19c
Author:     tiotags <tiotags1 <AT> gmail <DOT> com>
AuthorDate: Fri Apr 30 07:49:08 2021 +0000
Commit:     Alexandru Campeanu <tiotags1 <AT> gmail <DOT> com>
CommitDate: Fri Apr 30 07:49:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=95e29c33

www-servers/hinsightd: new version 0.9.3

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alexandru Campeanu <tiotags1 <AT> gmail.com>

 www-servers/hinsightd/Manifest                               |  2 +-
 .../hinsightd/files/hinsightd-redefine-directories.patch     | 12 +++++++-----
 .../{hinsightd-0.9.2.ebuild => hinsightd-0.9.3.ebuild}       |  0
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/www-servers/hinsightd/Manifest b/www-servers/hinsightd/Manifest
index bd726cf85..a3034ae29 100644
--- a/www-servers/hinsightd/Manifest
+++ b/www-servers/hinsightd/Manifest
@@ -1 +1 @@
-DIST hin9-v0.9.2.tar.gz 65277 BLAKE2B 64f68db310ddd9438bd2b0247a285a9f7c4b162bfb105802760e4a231693116d159aaa4052d9c596356a2a6768379033b0bc1334a4da9ec9c845a1c835965922 SHA512 1ce3fd028e32be3daabf0b743c1005e9670df4f704c862aa871418dcb877d1780c174ae1c054be06bea62600e573a9ef80e67e4759c6722f9e25f3d656faa431
+DIST hin9-v0.9.3.tar.gz 65343 BLAKE2B 4b475f8088aa113ae7dbd2cfe091ee10efb39d60b7277cb821eb010e752b39adf5e2a3c53aedc73c612ed4ba3d96178c09f255b9a07caf64b9cad34af2da5841 SHA512 768f0e55c2992b0ce50187a62e4c75ae2c2e2c31067d77898d221ad89afba20a3121853f01267bf6f1e43942ddca273bfed6c63849ce922c9c9d2c971a9061e0

diff --git a/www-servers/hinsightd/files/hinsightd-redefine-directories.patch b/www-servers/hinsightd/files/hinsightd-redefine-directories.patch
index c204eff35..9fa2285a8 100644
--- a/www-servers/hinsightd/files/hinsightd-redefine-directories.patch
+++ b/www-servers/hinsightd/files/hinsightd-redefine-directories.patch
@@ -1,21 +1,23 @@
 diff --git a/src/hin/conf.h b/src/hin/conf.h
-index c4f7f4c..23b0714 100644
+index 8dfe060..3874d6c 100644
 --- a/src/hin/conf.h
 +++ b/src/hin/conf.h
-@@ -2,9 +2,9 @@
+@@ -2,10 +2,10 @@
  #ifndef HIN_CONF_H
  #define HIN_CONF_H
  
 -#define HIN_CONF_PATH "workdir/main.lua"
 -#define HIN_LOGDIR_PATH "build/"
--#define HIN_CWD_PATH "./"
+-#define HIN_WORKDIR_PATH "./"
+-#define HIN_PRINT_GREETING 1
 +#define HIN_CONF_PATH "/etc/hinsightd/hinsightd.lua"
 +#define HIN_LOGDIR_PATH "/var/log/hinsightd/"
-+#define HIN_CWD_PATH "/var/www/localhost/"
++#define HIN_WORKDIR_PATH "/var/www/localhost/"
++#define HIN_PRINT_GREETING 0
  
  #define HIN_URING_QUEUE_DEPTH 256
  #define HIN_URING_DONT_FORK 0
-@@ -20,8 +20,8 @@
+@@ -21,8 +21,8 @@
  #define HIN_HTTPD_MAX_HEADER_LINE_SIZE 4096
  #define HIN_HTTPD_MAX_POST_SIZE 4121440
  #define HIN_HTTPD_MAX_DEFLATE_SIZE 0

diff --git a/www-servers/hinsightd/hinsightd-0.9.2.ebuild b/www-servers/hinsightd/hinsightd-0.9.3.ebuild
similarity index 100%
rename from www-servers/hinsightd/hinsightd-0.9.2.ebuild
rename to www-servers/hinsightd/hinsightd-0.9.3.ebuild


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: www-servers/hinsightd/, www-servers/hinsightd/files/
@ 2021-05-25 15:33 Alexandru Campeanu
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandru Campeanu @ 2021-05-25 15:33 UTC (permalink / raw
  To: gentoo-commits

commit:     a9d6a6f50ee567c3f343da44e6ea5a7e97ac1063
Author:     tiotags <tiotags1 <AT> gmail <DOT> com>
AuthorDate: Tue May 25 15:29:33 2021 +0000
Commit:     Alexandru Campeanu <tiotags1 <AT> gmail <DOT> com>
CommitDate: Tue May 25 15:30:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a9d6a6f5

www-servers/hinsightd: new version 0.9.4

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alexandru Campeanu <tiotags1 <AT> gmail.com>

 www-servers/hinsightd/Manifest                     |  1 +
 .../files/hinsightd-redefine-directories-v2.patch  | 21 ++++++++++++++++
 www-servers/hinsightd/files/init.d.sh              |  9 +++----
 ...insightd-9999.ebuild => hinsightd-0.9.4.ebuild} | 28 +++++++++++++---------
 www-servers/hinsightd/hinsightd-9999.ebuild        | 28 +++++++++++++---------
 www-servers/hinsightd/metadata.xml                 | 12 +++++-----
 6 files changed, 67 insertions(+), 32 deletions(-)

diff --git a/www-servers/hinsightd/Manifest b/www-servers/hinsightd/Manifest
index a3034ae29..56ef7b385 100644
--- a/www-servers/hinsightd/Manifest
+++ b/www-servers/hinsightd/Manifest
@@ -1 +1,2 @@
 DIST hin9-v0.9.3.tar.gz 65343 BLAKE2B 4b475f8088aa113ae7dbd2cfe091ee10efb39d60b7277cb821eb010e752b39adf5e2a3c53aedc73c612ed4ba3d96178c09f255b9a07caf64b9cad34af2da5841 SHA512 768f0e55c2992b0ce50187a62e4c75ae2c2e2c31067d77898d221ad89afba20a3121853f01267bf6f1e43942ddca273bfed6c63849ce922c9c9d2c971a9061e0
+DIST hin9-v0.9.4.tar.gz 77019 BLAKE2B 7339b407ba60c740f51f47794bd5fa4b73c662c718841c8de10be53bc6bec53f5ba511e2f69859ef9312aa85a318f0feeab5088b839dcae1dd734951f52f87a4 SHA512 817ac692778b9b7d9b2b7dd82a0d92fa0303d875601d6b52ddd75bb470cab1c9ac39170a0a1f5737ec4d28849837a8b61bf34bc96481044fe9864932bcfdd6cf

diff --git a/www-servers/hinsightd/files/hinsightd-redefine-directories-v2.patch b/www-servers/hinsightd/files/hinsightd-redefine-directories-v2.patch
new file mode 100644
index 000000000..8406efc86
--- /dev/null
+++ b/www-servers/hinsightd/files/hinsightd-redefine-directories-v2.patch
@@ -0,0 +1,21 @@
+diff --git a/src/hin/conf.h b/src/hin/conf.h
+index 4a6f071..f4f6f36 100644
+--- a/src/hin/conf.h
++++ b/src/hin/conf.h
+@@ -2,11 +2,11 @@
+ #ifndef HIN_CONF_H
+ #define HIN_CONF_H
+ 
+-#define HIN_CONF_PATH "workdir/main.lua"
+-#define HIN_LOGDIR_PATH "build/"
+-#define HIN_WORKDIR_PATH "./"
+-#define HIN_TEMP_PATH "/tmp/"
+-#define HIN_DEBUG_MASK 0xffffffff
++#define HIN_CONF_PATH "/etc/hinsightd/main.lua"
++#define HIN_LOGDIR_PATH "/var/log/hinsightd/"
++#define HIN_WORKDIR_PATH "/etc/hinsightd/"
++#define HIN_TEMP_PATH "/var/tmp/hinsightd/"
++#define HIN_DEBUG_MASK 0x27f0f
+ 
+ #define HIN_URING_QUEUE_DEPTH 256
+ #define HIN_URING_DONT_FORK 0

diff --git a/www-servers/hinsightd/files/init.d.sh b/www-servers/hinsightd/files/init.d.sh
index bc05ab5c9..15cd2ced5 100644
--- a/www-servers/hinsightd/files/init.d.sh
+++ b/www-servers/hinsightd/files/init.d.sh
@@ -6,7 +6,8 @@ LOG_DIR=/var/log/$NAME
 TMP_DIR=/var/tmp/$NAME
 CWD_DIR=/var/www/localhost
 PID_FILE=$RUN_DIR/$NAME.pid
-CFG_FILE=/etc/hinsightd/$NAME.lua
+CFG_FILE=/etc/hinsightd/main.lua
+LOG_FILE=$LOG_DIR/hindsight.log
 
 RUN_FILE=/usr/bin/hinsightd
 RUN_USER="hinsightd"
@@ -14,7 +15,7 @@ RUN_USER="hinsightd"
 extra_commands="checkconfig reload"
 
 command=$RUN_FILE
-command_args="--config $CFG_FILE --logdir $LOG_DIR/ --cwd $CWD_DIR/ --pidfile $PID_FILE --tmpdir $TMP_DIR"
+command_args="--config $CFG_FILE --logdir $LOG_DIR --cwd $CWD_DIR --pidfile $PID_FILE --tmpdir $TMP_DIR --log $LOG_FILE"
 pidfile="$PID_FILE"
 command_args_background="--daemonize"
 command_user="$RUN_USER:$RUN_USER"
@@ -24,11 +25,11 @@ depend() {
 }
 
 checkconfig() {
-  $command $command_args --pretend > /dev/null
+  start-stop-daemon --quiet --user $RUN_USER --start --exec $command -- --check $command_args
 }
 
 start_pre() {
-  checkpath --directory --owner $command_user --mode 0770 $LOG_DIR $TMP_DIR $RUN_DIR
+  checkpath --directory --owner $command_user --mode 06770 $LOG_DIR $TMP_DIR $RUN_DIR
   checkconfig || return 1
 }
 

diff --git a/www-servers/hinsightd/hinsightd-9999.ebuild b/www-servers/hinsightd/hinsightd-0.9.4.ebuild
similarity index 66%
copy from www-servers/hinsightd/hinsightd-9999.ebuild
copy to www-servers/hinsightd/hinsightd-0.9.4.ebuild
index a7e45d693..f8d82a655 100644
--- a/www-servers/hinsightd/hinsightd-9999.ebuild
+++ b/www-servers/hinsightd/hinsightd-0.9.4.ebuild
@@ -42,8 +42,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 PATCHES=(
-	"${FILESDIR}/hinsightd-redefine-directories.patch"
-	"${FILESDIR}/hinsightd-default-config.patch"
+	"${FILESDIR}/hinsightd-redefine-directories-v2.patch"
 )
 
 src_configure() {
@@ -54,28 +53,35 @@ src_configure() {
 }
 
 src_install() {
-	newbin "${BUILD_DIR}/hin9" hinsightd
-	newinitd "${FILESDIR}/init.d.sh" hinsightd
-	systemd_dounit "${FILESDIR}/hinsightd.service" # not tested
+	newbin "${BUILD_DIR}/hin9" $PN
+	newinitd "${FILESDIR}/init.d.sh" $PN
+	systemd_dounit "${FILESDIR}/$PN.service" # not tested
 
-	insinto /etc/hinsightd
-	newins "${S}/workdir/main.lua" hinsightd.lua
+	# config
+	insinto /etc/$PN
+	doins "${S}/workdir/main.lua"
+	doins "${S}/workdir/lib.lua"
+	doins "${S}/workdir/default_config.lua"
 
 	# logrotate
 	insinto /etc/logrotate.d
-	newins "${FILESDIR}"/logrotate.d.sh hinsightd
+	newins "${FILESDIR}"/logrotate.d.sh $PN
 
 	keepdir /var/www/localhost/htdocs
-	keepdir /var/log/hinsightd
-	keepdir /var/tmp/hinsightd
 }
 
 pkg_postinst() {
-	fcaps CAP_NET_BIND_SERVICE /usr/bin/hinsightd
+	fcaps CAP_NET_BIND_SERVICE /usr/bin/$PN
 
 	if kernel_is lt 5 7; then
 		ewarn ""
 		ewarn "hinsightd requires io_uring and kernel ~5.6.0"
 		ewarn ""
 	fi
+
+	ewarn ""
+	ewarn "hinsightd requires a higher than default RLIMIT_MEMLOCK for"
+	ewarn "things like graceful restarting"
+	ewarn "memory limit can be increased in /etc/security/limits.conf"
+	ewarn ""
 }

diff --git a/www-servers/hinsightd/hinsightd-9999.ebuild b/www-servers/hinsightd/hinsightd-9999.ebuild
index a7e45d693..f8d82a655 100644
--- a/www-servers/hinsightd/hinsightd-9999.ebuild
+++ b/www-servers/hinsightd/hinsightd-9999.ebuild
@@ -42,8 +42,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 PATCHES=(
-	"${FILESDIR}/hinsightd-redefine-directories.patch"
-	"${FILESDIR}/hinsightd-default-config.patch"
+	"${FILESDIR}/hinsightd-redefine-directories-v2.patch"
 )
 
 src_configure() {
@@ -54,28 +53,35 @@ src_configure() {
 }
 
 src_install() {
-	newbin "${BUILD_DIR}/hin9" hinsightd
-	newinitd "${FILESDIR}/init.d.sh" hinsightd
-	systemd_dounit "${FILESDIR}/hinsightd.service" # not tested
+	newbin "${BUILD_DIR}/hin9" $PN
+	newinitd "${FILESDIR}/init.d.sh" $PN
+	systemd_dounit "${FILESDIR}/$PN.service" # not tested
 
-	insinto /etc/hinsightd
-	newins "${S}/workdir/main.lua" hinsightd.lua
+	# config
+	insinto /etc/$PN
+	doins "${S}/workdir/main.lua"
+	doins "${S}/workdir/lib.lua"
+	doins "${S}/workdir/default_config.lua"
 
 	# logrotate
 	insinto /etc/logrotate.d
-	newins "${FILESDIR}"/logrotate.d.sh hinsightd
+	newins "${FILESDIR}"/logrotate.d.sh $PN
 
 	keepdir /var/www/localhost/htdocs
-	keepdir /var/log/hinsightd
-	keepdir /var/tmp/hinsightd
 }
 
 pkg_postinst() {
-	fcaps CAP_NET_BIND_SERVICE /usr/bin/hinsightd
+	fcaps CAP_NET_BIND_SERVICE /usr/bin/$PN
 
 	if kernel_is lt 5 7; then
 		ewarn ""
 		ewarn "hinsightd requires io_uring and kernel ~5.6.0"
 		ewarn ""
 	fi
+
+	ewarn ""
+	ewarn "hinsightd requires a higher than default RLIMIT_MEMLOCK for"
+	ewarn "things like graceful restarting"
+	ewarn "memory limit can be increased in /etc/security/limits.conf"
+	ewarn ""
 }

diff --git a/www-servers/hinsightd/metadata.xml b/www-servers/hinsightd/metadata.xml
index f06968fc0..826bd5d5f 100644
--- a/www-servers/hinsightd/metadata.xml
+++ b/www-servers/hinsightd/metadata.xml
@@ -1,7 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<!-- maintainer-needed -->
+	<maintainer type="person">
+		<email>tiotags1@gmail.com</email>
+		<name>Alexandru Campeanu</name>
+	</maintainer>
 	<upstream>
 		<changelog>https://gitlab.com/tiotags/hin9/-/blob/master/docs/changes.md</changelog>
 		<bugs-to>https://gitlab.com/tiotags/hin9/-/issues</bugs-to>
@@ -10,11 +13,8 @@
 		hinsightd is a http/1.1 webserver with a focus on simple code and
 		reliable behaviour.
 		Notable features: reverse proxying, output caching, ssl, pipelining,
-		cgi, output compression with deflate, graceful restart, 304 status,
-		etag, range requests and a very customizable config file using lua.
-		Virtual hosts can be implemented in lua.
-		Logging is entirely controled by lua.
-		Full debug information can be toggled per request and outputted to 			console or a log file.
+		cgi, output compression with deflate, graceful restart and a very
+		customizable config file using lua.
 	</longdescription>
 	<use>
 		<flag name="openssl">Enable tls encryption with openssl</flag>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: www-servers/hinsightd/, www-servers/hinsightd/files/
@ 2021-07-29 19:59 Alexandru Campeanu
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandru Campeanu @ 2021-07-29 19:59 UTC (permalink / raw
  To: gentoo-commits

commit:     ff194e05683971cbfd622db249addf536e42c0d3
Author:     tiotags <tiotags1 <AT> gmail <DOT> com>
AuthorDate: Thu Jul 29 19:59:11 2021 +0000
Commit:     Alexandru Campeanu <tiotags1 <AT> gmail <DOT> com>
CommitDate: Thu Jul 29 19:59:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ff194e05

www-servers/hinsightd: updated 9999 version

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexandru Campeanu <tiotags1 <AT> gmail.com>

 .../hinsightd/files/{defines-v4.patch => hinsightd-defines-v4.patch}   | 0
 www-servers/hinsightd/hinsightd-0.9.8.ebuild                           | 2 +-
 www-servers/hinsightd/hinsightd-9999.ebuild                            | 3 ++-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/www-servers/hinsightd/files/defines-v4.patch b/www-servers/hinsightd/files/hinsightd-defines-v4.patch
similarity index 100%
rename from www-servers/hinsightd/files/defines-v4.patch
rename to www-servers/hinsightd/files/hinsightd-defines-v4.patch

diff --git a/www-servers/hinsightd/hinsightd-0.9.8.ebuild b/www-servers/hinsightd/hinsightd-0.9.8.ebuild
index 528b0d20c..cc379c653 100644
--- a/www-servers/hinsightd/hinsightd-0.9.8.ebuild
+++ b/www-servers/hinsightd/hinsightd-0.9.8.ebuild
@@ -43,7 +43,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 PATCHES=(
-	"${FILESDIR}/defines-v4.patch"
+	"${FILESDIR}/${PN}-defines-v4.patch"
 )
 
 src_configure() {

diff --git a/www-servers/hinsightd/hinsightd-9999.ebuild b/www-servers/hinsightd/hinsightd-9999.ebuild
index 528b0d20c..e76e5c8c0 100644
--- a/www-servers/hinsightd/hinsightd-9999.ebuild
+++ b/www-servers/hinsightd/hinsightd-9999.ebuild
@@ -43,7 +43,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 PATCHES=(
-	"${FILESDIR}/defines-v4.patch"
+	"${FILESDIR}/${PN}-defines-v4.patch"
 )
 
 src_configure() {
@@ -55,6 +55,7 @@ src_configure() {
 
 src_install() {
 	newsbin "${BUILD_DIR}/hin9" $PN
+	newbin "${BUILD_DIR}/hin9_pid_helper" ${PN}_pid_helper
 	newinitd "${S}/external/packaging/$PN.initd.sh" $PN
 	newconfd "${S}/external/packaging/$PN.confd.sh" $PN
 	systemd_dounit "${FILESDIR}/$PN.service" # not tested


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-29 19:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-29 19:59 [gentoo-commits] repo/proj/guru:dev commit in: www-servers/hinsightd/, www-servers/hinsightd/files/ Alexandru Campeanu
  -- strict thread matches above, loose matches on Subject: below --
2021-05-25 15:33 Alexandru Campeanu
2021-04-30  7:50 Alexandru Campeanu
2021-04-26  9:40 Alexandru Campeanu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox