public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/honk/files/, www-apps/honk/
@ 2022-12-02  6:15 Anna Vyalkova
  0 siblings, 0 replies; 6+ messages in thread
From: Anna Vyalkova @ 2022-12-02  6:15 UTC (permalink / raw
  To: gentoo-commits

commit:     91a6bc0640cb54786f2d9fab86fb5cf2b842380e
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Dec  1 12:07:49 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Dec  2 06:13:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=91a6bc06

www-apps/honk: new package, add 0.9.8

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 www-apps/honk/Manifest           |  1 +
 www-apps/honk/files/honk         | 56 ++++++++++++++++++++++++++++++++++++++++
 www-apps/honk/files/honk.service | 20 ++++++++++++++
 www-apps/honk/honk-0.9.8.ebuild  | 47 +++++++++++++++++++++++++++++++++
 www-apps/honk/metadata.xml       | 15 +++++++++++
 5 files changed, 139 insertions(+)

diff --git a/www-apps/honk/Manifest b/www-apps/honk/Manifest
new file mode 100644
index 000000000..e2eebfd7d
--- /dev/null
+++ b/www-apps/honk/Manifest
@@ -0,0 +1 @@
+DIST honk-0.9.8.tgz 511957 BLAKE2B c07e4141be790d58170da6eb759486889b6c74d70b946e89b1598b2c1868175df1cb9f41649a34067f2ca6f3bddc77d4cc22a241761460b2487bf866b7d40650 SHA512 f32be393698eb3b3ae72d223814eee2a15af3e892ab4b9140314da3ce96d4b4582a8b73c3fa5adede34a4d9d9b2cfc8d7dbb933d516eba8e3820d125c217a354

diff --git a/www-apps/honk/files/honk b/www-apps/honk/files/honk
new file mode 100644
index 000000000..c542d1067
--- /dev/null
+++ b/www-apps/honk/files/honk
@@ -0,0 +1,56 @@
+#!/sbin/openrc-run
+# shellcheck shell=sh
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+extra_stopped_commands="init"
+extra_started_commands="upgrade"
+description_init="Create the database"
+description_upgrade="Upgrade the server"
+
+name="Honk ActivityPub server"
+command="/usr/bin/honk"
+command_args="-datadir /var/lib/honk -viewdir /usr/share/honk -log /var/log/honk.log"
+command_user="honk:honk"
+command_background=yes
+pidfile="/run/honk.pid"
+
+depend() {
+	need net
+}
+
+fix_log_perms() {
+	checkpath -fo honk:honk /var/log/honk.log
+}
+
+check_db() {
+	if [ ! -f /var/lib/honk/honk.db ]; then
+		eerror "Please run 'rc-service honk init' before the first start"
+		return 1
+	fi
+
+	return 0
+}
+
+start_pre() {
+	fix_log_perms || return 1
+	check_db || return 1
+
+	start-stop-daemon --exec "${command}" --user "${command_user}" \
+		-- ${command_args} cleanup
+}
+
+init() {
+	fix_log_perms || return 1
+
+	start-stop-daemon --exec "${command}" --user "${command_user}" \
+		-- ${command_args} init
+}
+
+upgrade() {
+	fix_log_perms || return 1
+	check_db || return 1
+
+	start-stop-daemon --exec "${command}" --user "${command_user}" \
+		-- ${command_args} upgrade
+}

diff --git a/www-apps/honk/files/honk.service b/www-apps/honk/files/honk.service
new file mode 100644
index 000000000..897d8f3b4
--- /dev/null
+++ b/www-apps/honk/files/honk.service
@@ -0,0 +1,20 @@
+[Unit]
+Description="Honk ActivityPub server"
+After=syslog.target network.target
+Requires=network.target
+
+[Service]
+Restart=always
+RestartSec=30
+ExecStart=/usr/bin/honk -datadir /var/lib/honk -viewdir /usr/share/honk
+NoNewPrivileges=yes
+ProtectKernelLogs=true
+ProtectKernelModules=true
+ProtectKernelTunables=true
+ProtectControlGroups=true
+ReadWritePaths=/var/lib/honk
+User=honk
+Group=honk
+
+[Install]
+WantedBy=default.target

diff --git a/www-apps/honk/honk-0.9.8.ebuild b/www-apps/honk/honk-0.9.8.ebuild
new file mode 100644
index 000000000..db8476cde
--- /dev/null
+++ b/www-apps/honk/honk-0.9.8.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+DESCRIPTION="ActivityPub server with minimal setup and support costs"
+HOMEPAGE="https://humungus.tedunangst.com/r/honk"
+SRC_URI="https://humungus.tedunangst.com/r/${PN}/d/${P}.tgz"
+
+LICENSE="BSD BSD-2 ISC MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-db/sqlite:3"
+RDEPEND="
+	${DEPEND}
+	acct-user/honk
+"
+
+DOCS=( README docs/{changelog,ping}.txt docs/{intro.1,vim.3} )
+
+src_install() {
+	dobin honk
+	doman docs/activitypub.7 docs/hfcs.1 docs/honk.{1,3,5,8}
+	einstalldocs
+
+	doinitd "${FILESDIR}"/honk
+	systemd_dounit "${FILESDIR}"/honk.service
+
+	insinto /usr/share/honk
+	doins -r views
+
+	diropts --owner honk --group honk
+	keepdir /var/lib/honk
+}
+
+pkg_postinst() {
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
+		einfo "To finish the installation, please run:"
+		einfo "	# rc-service honk init"
+	else
+		einfo "To finish the upgrade, please run:"
+		einfo "	# rc-service honk upgrade"
+	fi
+}

diff --git a/www-apps/honk/metadata.xml b/www-apps/honk/metadata.xml
new file mode 100644
index 000000000..cf502567a
--- /dev/null
+++ b/www-apps/honk/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>cyber+gentoo@sysrq.in</email>
+		<name>Anna</name>
+	</maintainer>
+	<upstream>
+		<doc>https://humungus.tedunangst.com/r/honk/m</doc>
+		<maintainer>
+			<name>Ted Unangst</name>
+			<email>tedu@tedunangst.com</email>
+		</maintainer>
+	</upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/honk/files/, www-apps/honk/
@ 2025-02-11 11:27 Skyler Mäntysaari
  0 siblings, 0 replies; 6+ messages in thread
From: Skyler Mäntysaari @ 2025-02-11 11:27 UTC (permalink / raw
  To: gentoo-commits

commit:     b111f2a0c6efda2da6e74725be1ce1f9ac5b362f
Author:     Skyler Mäntysaari <sm+git <AT> skym <DOT> fi>
AuthorDate: Tue Feb 11 11:27:27 2025 +0000
Commit:     Skyler Mäntysaari <gentoo <AT> samip <DOT> fi>
CommitDate: Tue Feb 11 11:27:27 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b111f2a0

www-apps/honk: treeclean

Signed-off-by: Skyler Mäntysaari <sm+git <AT> skym.fi>

 www-apps/honk/Manifest           |  2 --
 www-apps/honk/files/honk         | 56 ----------------------------------------
 www-apps/honk/files/honk.service | 20 --------------
 www-apps/honk/honk-0.9.8.ebuild  | 47 ---------------------------------
 www-apps/honk/honk-0.9.91.ebuild | 47 ---------------------------------
 www-apps/honk/metadata.xml       | 12 ---------
 6 files changed, 184 deletions(-)

diff --git a/www-apps/honk/Manifest b/www-apps/honk/Manifest
deleted file mode 100644
index ead2a3f83..000000000
--- a/www-apps/honk/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST honk-0.9.8.tgz 511957 BLAKE2B c07e4141be790d58170da6eb759486889b6c74d70b946e89b1598b2c1868175df1cb9f41649a34067f2ca6f3bddc77d4cc22a241761460b2487bf866b7d40650 SHA512 f32be393698eb3b3ae72d223814eee2a15af3e892ab4b9140314da3ce96d4b4582a8b73c3fa5adede34a4d9d9b2cfc8d7dbb933d516eba8e3820d125c217a354
-DIST honk-0.9.91.tgz 516396 BLAKE2B 416ffa5920115b57b69450e07ea6fc5fe68707900d2c6607ce6a99043e32735f7d73624671d1dcee5c9a2962a7242a008ad248156385439d94ed4ca8f55e3328 SHA512 bad8a328d666943d6007f1fe856dc9bfdc6b625d50cebce551c27aeb03de159e106d63d73d567026116b8bd92ec906f1774bad5c7f175726f338c6c1537eb071

diff --git a/www-apps/honk/files/honk b/www-apps/honk/files/honk
deleted file mode 100644
index c542d1067..000000000
--- a/www-apps/honk/files/honk
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/sbin/openrc-run
-# shellcheck shell=sh
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-extra_stopped_commands="init"
-extra_started_commands="upgrade"
-description_init="Create the database"
-description_upgrade="Upgrade the server"
-
-name="Honk ActivityPub server"
-command="/usr/bin/honk"
-command_args="-datadir /var/lib/honk -viewdir /usr/share/honk -log /var/log/honk.log"
-command_user="honk:honk"
-command_background=yes
-pidfile="/run/honk.pid"
-
-depend() {
-	need net
-}
-
-fix_log_perms() {
-	checkpath -fo honk:honk /var/log/honk.log
-}
-
-check_db() {
-	if [ ! -f /var/lib/honk/honk.db ]; then
-		eerror "Please run 'rc-service honk init' before the first start"
-		return 1
-	fi
-
-	return 0
-}
-
-start_pre() {
-	fix_log_perms || return 1
-	check_db || return 1
-
-	start-stop-daemon --exec "${command}" --user "${command_user}" \
-		-- ${command_args} cleanup
-}
-
-init() {
-	fix_log_perms || return 1
-
-	start-stop-daemon --exec "${command}" --user "${command_user}" \
-		-- ${command_args} init
-}
-
-upgrade() {
-	fix_log_perms || return 1
-	check_db || return 1
-
-	start-stop-daemon --exec "${command}" --user "${command_user}" \
-		-- ${command_args} upgrade
-}

diff --git a/www-apps/honk/files/honk.service b/www-apps/honk/files/honk.service
deleted file mode 100644
index 897d8f3b4..000000000
--- a/www-apps/honk/files/honk.service
+++ /dev/null
@@ -1,20 +0,0 @@
-[Unit]
-Description="Honk ActivityPub server"
-After=syslog.target network.target
-Requires=network.target
-
-[Service]
-Restart=always
-RestartSec=30
-ExecStart=/usr/bin/honk -datadir /var/lib/honk -viewdir /usr/share/honk
-NoNewPrivileges=yes
-ProtectKernelLogs=true
-ProtectKernelModules=true
-ProtectKernelTunables=true
-ProtectControlGroups=true
-ReadWritePaths=/var/lib/honk
-User=honk
-Group=honk
-
-[Install]
-WantedBy=default.target

diff --git a/www-apps/honk/honk-0.9.8.ebuild b/www-apps/honk/honk-0.9.8.ebuild
deleted file mode 100644
index db8476cde..000000000
--- a/www-apps/honk/honk-0.9.8.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module systemd
-
-DESCRIPTION="ActivityPub server with minimal setup and support costs"
-HOMEPAGE="https://humungus.tedunangst.com/r/honk"
-SRC_URI="https://humungus.tedunangst.com/r/${PN}/d/${P}.tgz"
-
-LICENSE="BSD BSD-2 ISC MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-db/sqlite:3"
-RDEPEND="
-	${DEPEND}
-	acct-user/honk
-"
-
-DOCS=( README docs/{changelog,ping}.txt docs/{intro.1,vim.3} )
-
-src_install() {
-	dobin honk
-	doman docs/activitypub.7 docs/hfcs.1 docs/honk.{1,3,5,8}
-	einstalldocs
-
-	doinitd "${FILESDIR}"/honk
-	systemd_dounit "${FILESDIR}"/honk.service
-
-	insinto /usr/share/honk
-	doins -r views
-
-	diropts --owner honk --group honk
-	keepdir /var/lib/honk
-}
-
-pkg_postinst() {
-	if [[ -z ${REPLACING_VERSIONS} ]]; then
-		einfo "To finish the installation, please run:"
-		einfo "	# rc-service honk init"
-	else
-		einfo "To finish the upgrade, please run:"
-		einfo "	# rc-service honk upgrade"
-	fi
-}

diff --git a/www-apps/honk/honk-0.9.91.ebuild b/www-apps/honk/honk-0.9.91.ebuild
deleted file mode 100644
index 17d162dc4..000000000
--- a/www-apps/honk/honk-0.9.91.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module systemd
-
-DESCRIPTION="ActivityPub server with minimal setup and support costs"
-HOMEPAGE="https://humungus.tedunangst.com/r/honk"
-SRC_URI="https://humungus.tedunangst.com/r/${PN}/d/${P}.tgz"
-
-LICENSE="BSD BSD-2 ISC MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-db/sqlite:3"
-RDEPEND="
-	${DEPEND}
-	acct-user/honk
-"
-
-DOCS=( README docs/{changelog,ping}.txt docs/{intro.1,vim.3} )
-
-src_install() {
-	dobin honk
-	doman docs/activitypub.7 docs/hfcs.1 docs/honk.{1,3,5,8}
-	einstalldocs
-
-	doinitd "${FILESDIR}"/honk
-	systemd_dounit "${FILESDIR}"/honk.service
-
-	insinto /usr/share/honk
-	doins -r views
-
-	diropts --owner honk --group honk
-	keepdir /var/lib/honk
-}
-
-pkg_postinst() {
-	if [[ -z ${REPLACING_VERSIONS} ]]; then
-		einfo "To finish the installation, please run:"
-		einfo "	# rc-service honk init"
-	else
-		einfo "To finish the upgrade, please run:"
-		einfo "	# rc-service honk upgrade"
-	fi
-}

diff --git a/www-apps/honk/metadata.xml b/www-apps/honk/metadata.xml
deleted file mode 100644
index b20b97e8e..000000000
--- a/www-apps/honk/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<!-- maintainer-needed -->
-	<upstream>
-		<doc>https://humungus.tedunangst.com/r/honk/m</doc>
-		<maintainer>
-			<name>Ted Unangst</name>
-			<email>tedu@tedunangst.com</email>
-		</maintainer>
-	</upstream>
-</pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/honk/files/, www-apps/honk/
@ 2025-02-11 13:08 Skyler Mäntysaari
  0 siblings, 0 replies; 6+ messages in thread
From: Skyler Mäntysaari @ 2025-02-11 13:08 UTC (permalink / raw
  To: gentoo-commits

commit:     ba8e09c1fc4e9820c10864148ece105027c12da3
Author:     Skyler Mäntysaari <sm+gentoo <AT> skym <DOT> fi>
AuthorDate: Tue Feb 11 13:07:57 2025 +0000
Commit:     Skyler Mäntysaari <gentoo <AT> samip <DOT> fi>
CommitDate: Tue Feb 11 13:07:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ba8e09c1

Revert "www-apps/honk: treeclean"

This reverts commit b111f2a0c6efda2da6e74725be1ce1f9ac5b362f.

Signed-off-by: Skyler Mäntysaari <sm+gentoo <AT> skym.fi>

 www-apps/honk/Manifest           |  2 ++
 www-apps/honk/files/honk         | 56 ++++++++++++++++++++++++++++++++++++++++
 www-apps/honk/files/honk.service | 20 ++++++++++++++
 www-apps/honk/honk-0.9.8.ebuild  | 47 +++++++++++++++++++++++++++++++++
 www-apps/honk/honk-0.9.91.ebuild | 47 +++++++++++++++++++++++++++++++++
 www-apps/honk/metadata.xml       | 12 +++++++++
 6 files changed, 184 insertions(+)

diff --git a/www-apps/honk/Manifest b/www-apps/honk/Manifest
new file mode 100644
index 000000000..ead2a3f83
--- /dev/null
+++ b/www-apps/honk/Manifest
@@ -0,0 +1,2 @@
+DIST honk-0.9.8.tgz 511957 BLAKE2B c07e4141be790d58170da6eb759486889b6c74d70b946e89b1598b2c1868175df1cb9f41649a34067f2ca6f3bddc77d4cc22a241761460b2487bf866b7d40650 SHA512 f32be393698eb3b3ae72d223814eee2a15af3e892ab4b9140314da3ce96d4b4582a8b73c3fa5adede34a4d9d9b2cfc8d7dbb933d516eba8e3820d125c217a354
+DIST honk-0.9.91.tgz 516396 BLAKE2B 416ffa5920115b57b69450e07ea6fc5fe68707900d2c6607ce6a99043e32735f7d73624671d1dcee5c9a2962a7242a008ad248156385439d94ed4ca8f55e3328 SHA512 bad8a328d666943d6007f1fe856dc9bfdc6b625d50cebce551c27aeb03de159e106d63d73d567026116b8bd92ec906f1774bad5c7f175726f338c6c1537eb071

diff --git a/www-apps/honk/files/honk b/www-apps/honk/files/honk
new file mode 100644
index 000000000..c542d1067
--- /dev/null
+++ b/www-apps/honk/files/honk
@@ -0,0 +1,56 @@
+#!/sbin/openrc-run
+# shellcheck shell=sh
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+extra_stopped_commands="init"
+extra_started_commands="upgrade"
+description_init="Create the database"
+description_upgrade="Upgrade the server"
+
+name="Honk ActivityPub server"
+command="/usr/bin/honk"
+command_args="-datadir /var/lib/honk -viewdir /usr/share/honk -log /var/log/honk.log"
+command_user="honk:honk"
+command_background=yes
+pidfile="/run/honk.pid"
+
+depend() {
+	need net
+}
+
+fix_log_perms() {
+	checkpath -fo honk:honk /var/log/honk.log
+}
+
+check_db() {
+	if [ ! -f /var/lib/honk/honk.db ]; then
+		eerror "Please run 'rc-service honk init' before the first start"
+		return 1
+	fi
+
+	return 0
+}
+
+start_pre() {
+	fix_log_perms || return 1
+	check_db || return 1
+
+	start-stop-daemon --exec "${command}" --user "${command_user}" \
+		-- ${command_args} cleanup
+}
+
+init() {
+	fix_log_perms || return 1
+
+	start-stop-daemon --exec "${command}" --user "${command_user}" \
+		-- ${command_args} init
+}
+
+upgrade() {
+	fix_log_perms || return 1
+	check_db || return 1
+
+	start-stop-daemon --exec "${command}" --user "${command_user}" \
+		-- ${command_args} upgrade
+}

diff --git a/www-apps/honk/files/honk.service b/www-apps/honk/files/honk.service
new file mode 100644
index 000000000..897d8f3b4
--- /dev/null
+++ b/www-apps/honk/files/honk.service
@@ -0,0 +1,20 @@
+[Unit]
+Description="Honk ActivityPub server"
+After=syslog.target network.target
+Requires=network.target
+
+[Service]
+Restart=always
+RestartSec=30
+ExecStart=/usr/bin/honk -datadir /var/lib/honk -viewdir /usr/share/honk
+NoNewPrivileges=yes
+ProtectKernelLogs=true
+ProtectKernelModules=true
+ProtectKernelTunables=true
+ProtectControlGroups=true
+ReadWritePaths=/var/lib/honk
+User=honk
+Group=honk
+
+[Install]
+WantedBy=default.target

diff --git a/www-apps/honk/honk-0.9.8.ebuild b/www-apps/honk/honk-0.9.8.ebuild
new file mode 100644
index 000000000..db8476cde
--- /dev/null
+++ b/www-apps/honk/honk-0.9.8.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+DESCRIPTION="ActivityPub server with minimal setup and support costs"
+HOMEPAGE="https://humungus.tedunangst.com/r/honk"
+SRC_URI="https://humungus.tedunangst.com/r/${PN}/d/${P}.tgz"
+
+LICENSE="BSD BSD-2 ISC MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-db/sqlite:3"
+RDEPEND="
+	${DEPEND}
+	acct-user/honk
+"
+
+DOCS=( README docs/{changelog,ping}.txt docs/{intro.1,vim.3} )
+
+src_install() {
+	dobin honk
+	doman docs/activitypub.7 docs/hfcs.1 docs/honk.{1,3,5,8}
+	einstalldocs
+
+	doinitd "${FILESDIR}"/honk
+	systemd_dounit "${FILESDIR}"/honk.service
+
+	insinto /usr/share/honk
+	doins -r views
+
+	diropts --owner honk --group honk
+	keepdir /var/lib/honk
+}
+
+pkg_postinst() {
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
+		einfo "To finish the installation, please run:"
+		einfo "	# rc-service honk init"
+	else
+		einfo "To finish the upgrade, please run:"
+		einfo "	# rc-service honk upgrade"
+	fi
+}

diff --git a/www-apps/honk/honk-0.9.91.ebuild b/www-apps/honk/honk-0.9.91.ebuild
new file mode 100644
index 000000000..17d162dc4
--- /dev/null
+++ b/www-apps/honk/honk-0.9.91.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+DESCRIPTION="ActivityPub server with minimal setup and support costs"
+HOMEPAGE="https://humungus.tedunangst.com/r/honk"
+SRC_URI="https://humungus.tedunangst.com/r/${PN}/d/${P}.tgz"
+
+LICENSE="BSD BSD-2 ISC MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-db/sqlite:3"
+RDEPEND="
+	${DEPEND}
+	acct-user/honk
+"
+
+DOCS=( README docs/{changelog,ping}.txt docs/{intro.1,vim.3} )
+
+src_install() {
+	dobin honk
+	doman docs/activitypub.7 docs/hfcs.1 docs/honk.{1,3,5,8}
+	einstalldocs
+
+	doinitd "${FILESDIR}"/honk
+	systemd_dounit "${FILESDIR}"/honk.service
+
+	insinto /usr/share/honk
+	doins -r views
+
+	diropts --owner honk --group honk
+	keepdir /var/lib/honk
+}
+
+pkg_postinst() {
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
+		einfo "To finish the installation, please run:"
+		einfo "	# rc-service honk init"
+	else
+		einfo "To finish the upgrade, please run:"
+		einfo "	# rc-service honk upgrade"
+	fi
+}

diff --git a/www-apps/honk/metadata.xml b/www-apps/honk/metadata.xml
new file mode 100644
index 000000000..b20b97e8e
--- /dev/null
+++ b/www-apps/honk/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<!-- maintainer-needed -->
+	<upstream>
+		<doc>https://humungus.tedunangst.com/r/honk/m</doc>
+		<maintainer>
+			<name>Ted Unangst</name>
+			<email>tedu@tedunangst.com</email>
+		</maintainer>
+	</upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/honk/files/, www-apps/honk/
@ 2025-03-12  9:17 Skyler Mäntysaari
  0 siblings, 0 replies; 6+ messages in thread
From: Skyler Mäntysaari @ 2025-03-12  9:17 UTC (permalink / raw
  To: gentoo-commits

commit:     dec9e3e1e9c6db3deb3dba1eb7446023e4abfbd4
Author:     Skyler Mäntysaari <sm+gentoo <AT> skym <DOT> fi>
AuthorDate: Wed Mar 12 09:17:29 2025 +0000
Commit:     Skyler Mäntysaari <gentoo <AT> samip <DOT> fi>
CommitDate: Wed Mar 12 09:17:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dec9e3e1

www-apps/honk: treeclean

Signed-off-by: Skyler Mäntysaari <sm+gentoo <AT> skym.fi>

 www-apps/honk/Manifest           |  2 --
 www-apps/honk/files/honk         | 56 ----------------------------------------
 www-apps/honk/files/honk.service | 20 --------------
 www-apps/honk/honk-0.9.8.ebuild  | 47 ---------------------------------
 www-apps/honk/honk-0.9.91.ebuild | 47 ---------------------------------
 www-apps/honk/metadata.xml       | 12 ---------
 6 files changed, 184 deletions(-)

diff --git a/www-apps/honk/Manifest b/www-apps/honk/Manifest
deleted file mode 100644
index ead2a3f83..000000000
--- a/www-apps/honk/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST honk-0.9.8.tgz 511957 BLAKE2B c07e4141be790d58170da6eb759486889b6c74d70b946e89b1598b2c1868175df1cb9f41649a34067f2ca6f3bddc77d4cc22a241761460b2487bf866b7d40650 SHA512 f32be393698eb3b3ae72d223814eee2a15af3e892ab4b9140314da3ce96d4b4582a8b73c3fa5adede34a4d9d9b2cfc8d7dbb933d516eba8e3820d125c217a354
-DIST honk-0.9.91.tgz 516396 BLAKE2B 416ffa5920115b57b69450e07ea6fc5fe68707900d2c6607ce6a99043e32735f7d73624671d1dcee5c9a2962a7242a008ad248156385439d94ed4ca8f55e3328 SHA512 bad8a328d666943d6007f1fe856dc9bfdc6b625d50cebce551c27aeb03de159e106d63d73d567026116b8bd92ec906f1774bad5c7f175726f338c6c1537eb071

diff --git a/www-apps/honk/files/honk b/www-apps/honk/files/honk
deleted file mode 100644
index c542d1067..000000000
--- a/www-apps/honk/files/honk
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/sbin/openrc-run
-# shellcheck shell=sh
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-extra_stopped_commands="init"
-extra_started_commands="upgrade"
-description_init="Create the database"
-description_upgrade="Upgrade the server"
-
-name="Honk ActivityPub server"
-command="/usr/bin/honk"
-command_args="-datadir /var/lib/honk -viewdir /usr/share/honk -log /var/log/honk.log"
-command_user="honk:honk"
-command_background=yes
-pidfile="/run/honk.pid"
-
-depend() {
-	need net
-}
-
-fix_log_perms() {
-	checkpath -fo honk:honk /var/log/honk.log
-}
-
-check_db() {
-	if [ ! -f /var/lib/honk/honk.db ]; then
-		eerror "Please run 'rc-service honk init' before the first start"
-		return 1
-	fi
-
-	return 0
-}
-
-start_pre() {
-	fix_log_perms || return 1
-	check_db || return 1
-
-	start-stop-daemon --exec "${command}" --user "${command_user}" \
-		-- ${command_args} cleanup
-}
-
-init() {
-	fix_log_perms || return 1
-
-	start-stop-daemon --exec "${command}" --user "${command_user}" \
-		-- ${command_args} init
-}
-
-upgrade() {
-	fix_log_perms || return 1
-	check_db || return 1
-
-	start-stop-daemon --exec "${command}" --user "${command_user}" \
-		-- ${command_args} upgrade
-}

diff --git a/www-apps/honk/files/honk.service b/www-apps/honk/files/honk.service
deleted file mode 100644
index 897d8f3b4..000000000
--- a/www-apps/honk/files/honk.service
+++ /dev/null
@@ -1,20 +0,0 @@
-[Unit]
-Description="Honk ActivityPub server"
-After=syslog.target network.target
-Requires=network.target
-
-[Service]
-Restart=always
-RestartSec=30
-ExecStart=/usr/bin/honk -datadir /var/lib/honk -viewdir /usr/share/honk
-NoNewPrivileges=yes
-ProtectKernelLogs=true
-ProtectKernelModules=true
-ProtectKernelTunables=true
-ProtectControlGroups=true
-ReadWritePaths=/var/lib/honk
-User=honk
-Group=honk
-
-[Install]
-WantedBy=default.target

diff --git a/www-apps/honk/honk-0.9.8.ebuild b/www-apps/honk/honk-0.9.8.ebuild
deleted file mode 100644
index db8476cde..000000000
--- a/www-apps/honk/honk-0.9.8.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module systemd
-
-DESCRIPTION="ActivityPub server with minimal setup and support costs"
-HOMEPAGE="https://humungus.tedunangst.com/r/honk"
-SRC_URI="https://humungus.tedunangst.com/r/${PN}/d/${P}.tgz"
-
-LICENSE="BSD BSD-2 ISC MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-db/sqlite:3"
-RDEPEND="
-	${DEPEND}
-	acct-user/honk
-"
-
-DOCS=( README docs/{changelog,ping}.txt docs/{intro.1,vim.3} )
-
-src_install() {
-	dobin honk
-	doman docs/activitypub.7 docs/hfcs.1 docs/honk.{1,3,5,8}
-	einstalldocs
-
-	doinitd "${FILESDIR}"/honk
-	systemd_dounit "${FILESDIR}"/honk.service
-
-	insinto /usr/share/honk
-	doins -r views
-
-	diropts --owner honk --group honk
-	keepdir /var/lib/honk
-}
-
-pkg_postinst() {
-	if [[ -z ${REPLACING_VERSIONS} ]]; then
-		einfo "To finish the installation, please run:"
-		einfo "	# rc-service honk init"
-	else
-		einfo "To finish the upgrade, please run:"
-		einfo "	# rc-service honk upgrade"
-	fi
-}

diff --git a/www-apps/honk/honk-0.9.91.ebuild b/www-apps/honk/honk-0.9.91.ebuild
deleted file mode 100644
index 17d162dc4..000000000
--- a/www-apps/honk/honk-0.9.91.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module systemd
-
-DESCRIPTION="ActivityPub server with minimal setup and support costs"
-HOMEPAGE="https://humungus.tedunangst.com/r/honk"
-SRC_URI="https://humungus.tedunangst.com/r/${PN}/d/${P}.tgz"
-
-LICENSE="BSD BSD-2 ISC MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-db/sqlite:3"
-RDEPEND="
-	${DEPEND}
-	acct-user/honk
-"
-
-DOCS=( README docs/{changelog,ping}.txt docs/{intro.1,vim.3} )
-
-src_install() {
-	dobin honk
-	doman docs/activitypub.7 docs/hfcs.1 docs/honk.{1,3,5,8}
-	einstalldocs
-
-	doinitd "${FILESDIR}"/honk
-	systemd_dounit "${FILESDIR}"/honk.service
-
-	insinto /usr/share/honk
-	doins -r views
-
-	diropts --owner honk --group honk
-	keepdir /var/lib/honk
-}
-
-pkg_postinst() {
-	if [[ -z ${REPLACING_VERSIONS} ]]; then
-		einfo "To finish the installation, please run:"
-		einfo "	# rc-service honk init"
-	else
-		einfo "To finish the upgrade, please run:"
-		einfo "	# rc-service honk upgrade"
-	fi
-}

diff --git a/www-apps/honk/metadata.xml b/www-apps/honk/metadata.xml
deleted file mode 100644
index b20b97e8e..000000000
--- a/www-apps/honk/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<!-- maintainer-needed -->
-	<upstream>
-		<doc>https://humungus.tedunangst.com/r/honk/m</doc>
-		<maintainer>
-			<name>Ted Unangst</name>
-			<email>tedu@tedunangst.com</email>
-		</maintainer>
-	</upstream>
-</pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/honk/files/, www-apps/honk/
@ 2025-03-12  9:21 Skyler Mäntysaari
  0 siblings, 0 replies; 6+ messages in thread
From: Skyler Mäntysaari @ 2025-03-12  9:21 UTC (permalink / raw
  To: gentoo-commits

commit:     cd1141e13674c4ee47b7283a896ac75397a65300
Author:     Skyler Mäntysaari <sm+gentoo <AT> skym <DOT> fi>
AuthorDate: Wed Mar 12 09:21:36 2025 +0000
Commit:     Skyler Mäntysaari <gentoo <AT> samip <DOT> fi>
CommitDate: Wed Mar 12 09:21:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cd1141e1

Revert "www-apps/honk: treeclean"

This reverts commit dec9e3e1e9c6db3deb3dba1eb7446023e4abfbd4.

Signed-off-by: Skyler Mäntysaari <sm+gentoo <AT> skym.fi>

 www-apps/honk/Manifest           |  2 ++
 www-apps/honk/files/honk         | 56 ++++++++++++++++++++++++++++++++++++++++
 www-apps/honk/files/honk.service | 20 ++++++++++++++
 www-apps/honk/honk-0.9.8.ebuild  | 47 +++++++++++++++++++++++++++++++++
 www-apps/honk/honk-0.9.91.ebuild | 47 +++++++++++++++++++++++++++++++++
 www-apps/honk/metadata.xml       | 12 +++++++++
 6 files changed, 184 insertions(+)

diff --git a/www-apps/honk/Manifest b/www-apps/honk/Manifest
new file mode 100644
index 000000000..ead2a3f83
--- /dev/null
+++ b/www-apps/honk/Manifest
@@ -0,0 +1,2 @@
+DIST honk-0.9.8.tgz 511957 BLAKE2B c07e4141be790d58170da6eb759486889b6c74d70b946e89b1598b2c1868175df1cb9f41649a34067f2ca6f3bddc77d4cc22a241761460b2487bf866b7d40650 SHA512 f32be393698eb3b3ae72d223814eee2a15af3e892ab4b9140314da3ce96d4b4582a8b73c3fa5adede34a4d9d9b2cfc8d7dbb933d516eba8e3820d125c217a354
+DIST honk-0.9.91.tgz 516396 BLAKE2B 416ffa5920115b57b69450e07ea6fc5fe68707900d2c6607ce6a99043e32735f7d73624671d1dcee5c9a2962a7242a008ad248156385439d94ed4ca8f55e3328 SHA512 bad8a328d666943d6007f1fe856dc9bfdc6b625d50cebce551c27aeb03de159e106d63d73d567026116b8bd92ec906f1774bad5c7f175726f338c6c1537eb071

diff --git a/www-apps/honk/files/honk b/www-apps/honk/files/honk
new file mode 100644
index 000000000..c542d1067
--- /dev/null
+++ b/www-apps/honk/files/honk
@@ -0,0 +1,56 @@
+#!/sbin/openrc-run
+# shellcheck shell=sh
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+extra_stopped_commands="init"
+extra_started_commands="upgrade"
+description_init="Create the database"
+description_upgrade="Upgrade the server"
+
+name="Honk ActivityPub server"
+command="/usr/bin/honk"
+command_args="-datadir /var/lib/honk -viewdir /usr/share/honk -log /var/log/honk.log"
+command_user="honk:honk"
+command_background=yes
+pidfile="/run/honk.pid"
+
+depend() {
+	need net
+}
+
+fix_log_perms() {
+	checkpath -fo honk:honk /var/log/honk.log
+}
+
+check_db() {
+	if [ ! -f /var/lib/honk/honk.db ]; then
+		eerror "Please run 'rc-service honk init' before the first start"
+		return 1
+	fi
+
+	return 0
+}
+
+start_pre() {
+	fix_log_perms || return 1
+	check_db || return 1
+
+	start-stop-daemon --exec "${command}" --user "${command_user}" \
+		-- ${command_args} cleanup
+}
+
+init() {
+	fix_log_perms || return 1
+
+	start-stop-daemon --exec "${command}" --user "${command_user}" \
+		-- ${command_args} init
+}
+
+upgrade() {
+	fix_log_perms || return 1
+	check_db || return 1
+
+	start-stop-daemon --exec "${command}" --user "${command_user}" \
+		-- ${command_args} upgrade
+}

diff --git a/www-apps/honk/files/honk.service b/www-apps/honk/files/honk.service
new file mode 100644
index 000000000..897d8f3b4
--- /dev/null
+++ b/www-apps/honk/files/honk.service
@@ -0,0 +1,20 @@
+[Unit]
+Description="Honk ActivityPub server"
+After=syslog.target network.target
+Requires=network.target
+
+[Service]
+Restart=always
+RestartSec=30
+ExecStart=/usr/bin/honk -datadir /var/lib/honk -viewdir /usr/share/honk
+NoNewPrivileges=yes
+ProtectKernelLogs=true
+ProtectKernelModules=true
+ProtectKernelTunables=true
+ProtectControlGroups=true
+ReadWritePaths=/var/lib/honk
+User=honk
+Group=honk
+
+[Install]
+WantedBy=default.target

diff --git a/www-apps/honk/honk-0.9.8.ebuild b/www-apps/honk/honk-0.9.8.ebuild
new file mode 100644
index 000000000..db8476cde
--- /dev/null
+++ b/www-apps/honk/honk-0.9.8.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+DESCRIPTION="ActivityPub server with minimal setup and support costs"
+HOMEPAGE="https://humungus.tedunangst.com/r/honk"
+SRC_URI="https://humungus.tedunangst.com/r/${PN}/d/${P}.tgz"
+
+LICENSE="BSD BSD-2 ISC MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-db/sqlite:3"
+RDEPEND="
+	${DEPEND}
+	acct-user/honk
+"
+
+DOCS=( README docs/{changelog,ping}.txt docs/{intro.1,vim.3} )
+
+src_install() {
+	dobin honk
+	doman docs/activitypub.7 docs/hfcs.1 docs/honk.{1,3,5,8}
+	einstalldocs
+
+	doinitd "${FILESDIR}"/honk
+	systemd_dounit "${FILESDIR}"/honk.service
+
+	insinto /usr/share/honk
+	doins -r views
+
+	diropts --owner honk --group honk
+	keepdir /var/lib/honk
+}
+
+pkg_postinst() {
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
+		einfo "To finish the installation, please run:"
+		einfo "	# rc-service honk init"
+	else
+		einfo "To finish the upgrade, please run:"
+		einfo "	# rc-service honk upgrade"
+	fi
+}

diff --git a/www-apps/honk/honk-0.9.91.ebuild b/www-apps/honk/honk-0.9.91.ebuild
new file mode 100644
index 000000000..17d162dc4
--- /dev/null
+++ b/www-apps/honk/honk-0.9.91.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+DESCRIPTION="ActivityPub server with minimal setup and support costs"
+HOMEPAGE="https://humungus.tedunangst.com/r/honk"
+SRC_URI="https://humungus.tedunangst.com/r/${PN}/d/${P}.tgz"
+
+LICENSE="BSD BSD-2 ISC MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-db/sqlite:3"
+RDEPEND="
+	${DEPEND}
+	acct-user/honk
+"
+
+DOCS=( README docs/{changelog,ping}.txt docs/{intro.1,vim.3} )
+
+src_install() {
+	dobin honk
+	doman docs/activitypub.7 docs/hfcs.1 docs/honk.{1,3,5,8}
+	einstalldocs
+
+	doinitd "${FILESDIR}"/honk
+	systemd_dounit "${FILESDIR}"/honk.service
+
+	insinto /usr/share/honk
+	doins -r views
+
+	diropts --owner honk --group honk
+	keepdir /var/lib/honk
+}
+
+pkg_postinst() {
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
+		einfo "To finish the installation, please run:"
+		einfo "	# rc-service honk init"
+	else
+		einfo "To finish the upgrade, please run:"
+		einfo "	# rc-service honk upgrade"
+	fi
+}

diff --git a/www-apps/honk/metadata.xml b/www-apps/honk/metadata.xml
new file mode 100644
index 000000000..b20b97e8e
--- /dev/null
+++ b/www-apps/honk/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<!-- maintainer-needed -->
+	<upstream>
+		<doc>https://humungus.tedunangst.com/r/honk/m</doc>
+		<maintainer>
+			<name>Ted Unangst</name>
+			<email>tedu@tedunangst.com</email>
+		</maintainer>
+	</upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/honk/files/, www-apps/honk/
@ 2025-03-12  9:24 Skyler Mäntysaari
  0 siblings, 0 replies; 6+ messages in thread
From: Skyler Mäntysaari @ 2025-03-12  9:24 UTC (permalink / raw
  To: gentoo-commits

commit:     36f82ea04b00ae334ffb85ea9c90c583fdf01ca9
Author:     Skyler Mäntysaari <sm+gentoo <AT> skym <DOT> fi>
AuthorDate: Wed Mar 12 09:24:22 2025 +0000
Commit:     Skyler Mäntysaari <gentoo <AT> samip <DOT> fi>
CommitDate: Wed Mar 12 09:24:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=36f82ea0

www-apps/honk: treeclean

Signed-off-by: Skyler Mäntysaari <sm+gentoo <AT> skym.fi>

 www-apps/honk/Manifest           |  2 --
 www-apps/honk/files/honk         | 56 ----------------------------------------
 www-apps/honk/files/honk.service | 20 --------------
 www-apps/honk/honk-0.9.8.ebuild  | 47 ---------------------------------
 www-apps/honk/honk-0.9.91.ebuild | 47 ---------------------------------
 www-apps/honk/metadata.xml       | 12 ---------
 6 files changed, 184 deletions(-)

diff --git a/www-apps/honk/Manifest b/www-apps/honk/Manifest
deleted file mode 100644
index ead2a3f83..000000000
--- a/www-apps/honk/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST honk-0.9.8.tgz 511957 BLAKE2B c07e4141be790d58170da6eb759486889b6c74d70b946e89b1598b2c1868175df1cb9f41649a34067f2ca6f3bddc77d4cc22a241761460b2487bf866b7d40650 SHA512 f32be393698eb3b3ae72d223814eee2a15af3e892ab4b9140314da3ce96d4b4582a8b73c3fa5adede34a4d9d9b2cfc8d7dbb933d516eba8e3820d125c217a354
-DIST honk-0.9.91.tgz 516396 BLAKE2B 416ffa5920115b57b69450e07ea6fc5fe68707900d2c6607ce6a99043e32735f7d73624671d1dcee5c9a2962a7242a008ad248156385439d94ed4ca8f55e3328 SHA512 bad8a328d666943d6007f1fe856dc9bfdc6b625d50cebce551c27aeb03de159e106d63d73d567026116b8bd92ec906f1774bad5c7f175726f338c6c1537eb071

diff --git a/www-apps/honk/files/honk b/www-apps/honk/files/honk
deleted file mode 100644
index c542d1067..000000000
--- a/www-apps/honk/files/honk
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/sbin/openrc-run
-# shellcheck shell=sh
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-extra_stopped_commands="init"
-extra_started_commands="upgrade"
-description_init="Create the database"
-description_upgrade="Upgrade the server"
-
-name="Honk ActivityPub server"
-command="/usr/bin/honk"
-command_args="-datadir /var/lib/honk -viewdir /usr/share/honk -log /var/log/honk.log"
-command_user="honk:honk"
-command_background=yes
-pidfile="/run/honk.pid"
-
-depend() {
-	need net
-}
-
-fix_log_perms() {
-	checkpath -fo honk:honk /var/log/honk.log
-}
-
-check_db() {
-	if [ ! -f /var/lib/honk/honk.db ]; then
-		eerror "Please run 'rc-service honk init' before the first start"
-		return 1
-	fi
-
-	return 0
-}
-
-start_pre() {
-	fix_log_perms || return 1
-	check_db || return 1
-
-	start-stop-daemon --exec "${command}" --user "${command_user}" \
-		-- ${command_args} cleanup
-}
-
-init() {
-	fix_log_perms || return 1
-
-	start-stop-daemon --exec "${command}" --user "${command_user}" \
-		-- ${command_args} init
-}
-
-upgrade() {
-	fix_log_perms || return 1
-	check_db || return 1
-
-	start-stop-daemon --exec "${command}" --user "${command_user}" \
-		-- ${command_args} upgrade
-}

diff --git a/www-apps/honk/files/honk.service b/www-apps/honk/files/honk.service
deleted file mode 100644
index 897d8f3b4..000000000
--- a/www-apps/honk/files/honk.service
+++ /dev/null
@@ -1,20 +0,0 @@
-[Unit]
-Description="Honk ActivityPub server"
-After=syslog.target network.target
-Requires=network.target
-
-[Service]
-Restart=always
-RestartSec=30
-ExecStart=/usr/bin/honk -datadir /var/lib/honk -viewdir /usr/share/honk
-NoNewPrivileges=yes
-ProtectKernelLogs=true
-ProtectKernelModules=true
-ProtectKernelTunables=true
-ProtectControlGroups=true
-ReadWritePaths=/var/lib/honk
-User=honk
-Group=honk
-
-[Install]
-WantedBy=default.target

diff --git a/www-apps/honk/honk-0.9.8.ebuild b/www-apps/honk/honk-0.9.8.ebuild
deleted file mode 100644
index db8476cde..000000000
--- a/www-apps/honk/honk-0.9.8.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module systemd
-
-DESCRIPTION="ActivityPub server with minimal setup and support costs"
-HOMEPAGE="https://humungus.tedunangst.com/r/honk"
-SRC_URI="https://humungus.tedunangst.com/r/${PN}/d/${P}.tgz"
-
-LICENSE="BSD BSD-2 ISC MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-db/sqlite:3"
-RDEPEND="
-	${DEPEND}
-	acct-user/honk
-"
-
-DOCS=( README docs/{changelog,ping}.txt docs/{intro.1,vim.3} )
-
-src_install() {
-	dobin honk
-	doman docs/activitypub.7 docs/hfcs.1 docs/honk.{1,3,5,8}
-	einstalldocs
-
-	doinitd "${FILESDIR}"/honk
-	systemd_dounit "${FILESDIR}"/honk.service
-
-	insinto /usr/share/honk
-	doins -r views
-
-	diropts --owner honk --group honk
-	keepdir /var/lib/honk
-}
-
-pkg_postinst() {
-	if [[ -z ${REPLACING_VERSIONS} ]]; then
-		einfo "To finish the installation, please run:"
-		einfo "	# rc-service honk init"
-	else
-		einfo "To finish the upgrade, please run:"
-		einfo "	# rc-service honk upgrade"
-	fi
-}

diff --git a/www-apps/honk/honk-0.9.91.ebuild b/www-apps/honk/honk-0.9.91.ebuild
deleted file mode 100644
index 17d162dc4..000000000
--- a/www-apps/honk/honk-0.9.91.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module systemd
-
-DESCRIPTION="ActivityPub server with minimal setup and support costs"
-HOMEPAGE="https://humungus.tedunangst.com/r/honk"
-SRC_URI="https://humungus.tedunangst.com/r/${PN}/d/${P}.tgz"
-
-LICENSE="BSD BSD-2 ISC MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-db/sqlite:3"
-RDEPEND="
-	${DEPEND}
-	acct-user/honk
-"
-
-DOCS=( README docs/{changelog,ping}.txt docs/{intro.1,vim.3} )
-
-src_install() {
-	dobin honk
-	doman docs/activitypub.7 docs/hfcs.1 docs/honk.{1,3,5,8}
-	einstalldocs
-
-	doinitd "${FILESDIR}"/honk
-	systemd_dounit "${FILESDIR}"/honk.service
-
-	insinto /usr/share/honk
-	doins -r views
-
-	diropts --owner honk --group honk
-	keepdir /var/lib/honk
-}
-
-pkg_postinst() {
-	if [[ -z ${REPLACING_VERSIONS} ]]; then
-		einfo "To finish the installation, please run:"
-		einfo "	# rc-service honk init"
-	else
-		einfo "To finish the upgrade, please run:"
-		einfo "	# rc-service honk upgrade"
-	fi
-}

diff --git a/www-apps/honk/metadata.xml b/www-apps/honk/metadata.xml
deleted file mode 100644
index b20b97e8e..000000000
--- a/www-apps/honk/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<!-- maintainer-needed -->
-	<upstream>
-		<doc>https://humungus.tedunangst.com/r/honk/m</doc>
-		<maintainer>
-			<name>Ted Unangst</name>
-			<email>tedu@tedunangst.com</email>
-		</maintainer>
-	</upstream>
-</pkgmetadata>


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

end of thread, other threads:[~2025-03-12  9:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-12  9:17 [gentoo-commits] repo/proj/guru:dev commit in: www-apps/honk/files/, www-apps/honk/ Skyler Mäntysaari
  -- strict thread matches above, loose matches on Subject: below --
2025-03-12  9:24 Skyler Mäntysaari
2025-03-12  9:21 Skyler Mäntysaari
2025-02-11 13:08 Skyler Mäntysaari
2025-02-11 11:27 Skyler Mäntysaari
2022-12-02  6:15 Anna Vyalkova

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