* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/ttyd/, www-apps/ttyd/files/
@ 2023-03-31 21:28 Anna Vyalkova
0 siblings, 0 replies; 2+ messages in thread
From: Anna Vyalkova @ 2023-03-31 21:28 UTC (permalink / raw
To: gentoo-commits
commit: 7551f7c986453338f930f1ba87e2ab0c9de53a2a
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Mar 31 21:28:10 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Mar 31 21:28:10 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7551f7c9
www-apps/ttyd: new package, add 1.7.3
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
www-apps/ttyd/Manifest | 1 +
www-apps/ttyd/files/ttyd.initd | 13 +++++++++++++
www-apps/ttyd/files/ttyd.service | 16 ++++++++++++++++
www-apps/ttyd/metadata.xml | 11 +++++++++++
www-apps/ttyd/ttyd-1.7.3.ebuild | 33 +++++++++++++++++++++++++++++++++
5 files changed, 74 insertions(+)
diff --git a/www-apps/ttyd/Manifest b/www-apps/ttyd/Manifest
new file mode 100644
index 000000000..4039ce4e9
--- /dev/null
+++ b/www-apps/ttyd/Manifest
@@ -0,0 +1 @@
+DIST ttyd-1.7.3.tar.gz 579492 BLAKE2B 14b66dbe83c0ccb601a6e3bf35a804f69f679387c9aca2f55a055dda85b2e3a396ddb4f9a3fb56575d0554837faf1d5c090cf66f4e7571201323659db3feb0b7 SHA512 e0900e2b4620095717d0f32206d08177ce74bc2f24cd9c20793cc2e370a8ee961272b73698b0dda857360703df20378c080293dfdfd287ae863801d338c8b2a4
diff --git a/www-apps/ttyd/files/ttyd.initd b/www-apps/ttyd/files/ttyd.initd
new file mode 100644
index 000000000..cbd70989f
--- /dev/null
+++ b/www-apps/ttyd/files/ttyd.initd
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+# shellcheck shell=sh
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/bin/ttyd"
+command_args="${TTYD_OPTS:--i lo -p 7681 -O} login"
+command_background=1
+pidfile="/run/ttyd.pid"
+
+depend() {
+ use net
+}
diff --git a/www-apps/ttyd/files/ttyd.service b/www-apps/ttyd/files/ttyd.service
new file mode 100644
index 000000000..3e0f59808
--- /dev/null
+++ b/www-apps/ttyd/files/ttyd.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=ttyd daemon
+Documentation=man:ttyd(1)
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/ttyd -i lo -O login
+ExecReload=/usr/bin/kill -HUP $MAINPID
+KillMode=process
+LimitNOFILE=512
+LimitMEMLOCK=infinity
+LimitSTACK=infinity
+
+[Install]
+WantedBy=multi-user.target
diff --git a/www-apps/ttyd/metadata.xml b/www-apps/ttyd/metadata.xml
new file mode 100644
index 000000000..245b7381b
--- /dev/null
+++ b/www-apps/ttyd/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <remote-id type="github">tsl0922/ttyd</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/ttyd/ttyd-1.7.3.ebuild b/www-apps/ttyd/ttyd-1.7.3.ebuild
new file mode 100644
index 000000000..8190b5b30
--- /dev/null
+++ b/www-apps/ttyd/ttyd-1.7.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake systemd
+
+DESCRIPTION="Share your terminal over the web"
+HOMEPAGE="
+ https://tsl0922.github.io/ttyd
+ https://github.com/tsl0922/ttyd
+"
+SRC_URI="https://github.com/tsl0922/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ dev-libs/json-c:=
+ dev-libs/libuv:=
+ dev-libs/openssl:=
+ net-libs/libwebsockets:=[libuv,ssl]
+ sys-libs/zlib:=
+"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ cmake_src_install
+
+ systemd_dounit "${FILESDIR}"/ttyd.service
+ newinitd "${FILESDIR}"/ttyd.initd ttyd
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: www-apps/ttyd/, www-apps/ttyd/files/
@ 2023-05-05 9:42 Anna Vyalkova
0 siblings, 0 replies; 2+ messages in thread
From: Anna Vyalkova @ 2023-05-05 9:42 UTC (permalink / raw
To: gentoo-commits
commit: a087576ece5ec5590f40bb2b47f92e0ffd290fb8
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri May 5 09:40:46 2023 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri May 5 09:41:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a087576e
www-apps/ttyd: treeclean
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
www-apps/ttyd/Manifest | 1 -
www-apps/ttyd/files/ttyd.initd | 13 -------------
www-apps/ttyd/files/ttyd.service | 16 ----------------
www-apps/ttyd/metadata.xml | 11 -----------
www-apps/ttyd/ttyd-1.7.3.ebuild | 33 ---------------------------------
5 files changed, 74 deletions(-)
diff --git a/www-apps/ttyd/Manifest b/www-apps/ttyd/Manifest
deleted file mode 100644
index 4039ce4e9..000000000
--- a/www-apps/ttyd/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ttyd-1.7.3.tar.gz 579492 BLAKE2B 14b66dbe83c0ccb601a6e3bf35a804f69f679387c9aca2f55a055dda85b2e3a396ddb4f9a3fb56575d0554837faf1d5c090cf66f4e7571201323659db3feb0b7 SHA512 e0900e2b4620095717d0f32206d08177ce74bc2f24cd9c20793cc2e370a8ee961272b73698b0dda857360703df20378c080293dfdfd287ae863801d338c8b2a4
diff --git a/www-apps/ttyd/files/ttyd.initd b/www-apps/ttyd/files/ttyd.initd
deleted file mode 100644
index cbd70989f..000000000
--- a/www-apps/ttyd/files/ttyd.initd
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/sbin/openrc-run
-# shellcheck shell=sh
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-command="/usr/bin/ttyd"
-command_args="${TTYD_OPTS:--i lo -p 7681 -O} login"
-command_background=1
-pidfile="/run/ttyd.pid"
-
-depend() {
- use net
-}
diff --git a/www-apps/ttyd/files/ttyd.service b/www-apps/ttyd/files/ttyd.service
deleted file mode 100644
index 3e0f59808..000000000
--- a/www-apps/ttyd/files/ttyd.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=ttyd daemon
-Documentation=man:ttyd(1)
-After=network.target
-
-[Service]
-Type=simple
-ExecStart=/usr/bin/ttyd -i lo -O login
-ExecReload=/usr/bin/kill -HUP $MAINPID
-KillMode=process
-LimitNOFILE=512
-LimitMEMLOCK=infinity
-LimitSTACK=infinity
-
-[Install]
-WantedBy=multi-user.target
diff --git a/www-apps/ttyd/metadata.xml b/www-apps/ttyd/metadata.xml
deleted file mode 100644
index 245b7381b..000000000
--- a/www-apps/ttyd/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?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>
- <remote-id type="github">tsl0922/ttyd</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/www-apps/ttyd/ttyd-1.7.3.ebuild b/www-apps/ttyd/ttyd-1.7.3.ebuild
deleted file mode 100644
index 8190b5b30..000000000
--- a/www-apps/ttyd/ttyd-1.7.3.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake systemd
-
-DESCRIPTION="Share your terminal over the web"
-HOMEPAGE="
- https://tsl0922.github.io/ttyd
- https://github.com/tsl0922/ttyd
-"
-SRC_URI="https://github.com/tsl0922/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="
- dev-libs/json-c:=
- dev-libs/libuv:=
- dev-libs/openssl:=
- net-libs/libwebsockets:=[libuv,ssl]
- sys-libs/zlib:=
-"
-RDEPEND="${DEPEND}"
-
-src_install() {
- cmake_src_install
-
- systemd_dounit "${FILESDIR}"/ttyd.service
- newinitd "${FILESDIR}"/ttyd.initd ttyd
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-05 9:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-31 21:28 [gentoo-commits] repo/proj/guru:dev commit in: www-apps/ttyd/, www-apps/ttyd/files/ Anna Vyalkova
-- strict thread matches above, loose matches on Subject: below --
2023-05-05 9:42 Anna Vyalkova
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox