mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 13:03:31 -04:00
www-apps/ttyd: treeclean
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
DIST ttyd-1.7.3.tar.gz 579492 BLAKE2B 14b66dbe83c0ccb601a6e3bf35a804f69f679387c9aca2f55a055dda85b2e3a396ddb4f9a3fb56575d0554837faf1d5c090cf66f4e7571201323659db3feb0b7 SHA512 e0900e2b4620095717d0f32206d08177ce74bc2f24cd9c20793cc2e370a8ee961272b73698b0dda857360703df20378c080293dfdfd287ae863801d338c8b2a4
|
|
||||||
@@ -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
|
|
||||||
}
|
|
||||||
@@ -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
|
|
||||||
@@ -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>
|
|
||||||
@@ -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
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user