diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-31 02:13:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-31 02:13:53 +0100 |
commit | 95f4ecedd41206e678e2ddec24f8382ba2287dd1 (patch) | |
tree | cda4312d875acc2990aeb49d104c9451aae1666d /www-apps/ttyd | |
parent | a40f8cd35ca0e91929e52f40825a390bd16a626c (diff) |
gentoo auto-resync : 31:03:2024 - 02:13:53
Diffstat (limited to 'www-apps/ttyd')
-rw-r--r-- | www-apps/ttyd/Manifest | 2 | ||||
-rw-r--r-- | www-apps/ttyd/ttyd-1.7.7.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/www-apps/ttyd/Manifest b/www-apps/ttyd/Manifest index 6611848693a5..5c8c894f614f 100644 --- a/www-apps/ttyd/Manifest +++ b/www-apps/ttyd/Manifest @@ -2,7 +2,9 @@ AUX ttyd.confd 2351 BLAKE2B 971fa19f54c194c3791a464d065ac1c4074bf8d1b16170704b87 AUX ttyd.initd 308 BLAKE2B 9d78f775a0e529d55cddfd92488829d2aa79f2321b5f70c54649a8a6faeffb0ceaa899cf19187c6b51919092348659cb1d930bf144921dab65e1f007c6ef0054 SHA512 a955068ab20f06165c10af89ae7e02c38f24247f7b7a5aa86da38cf4361555c6bb009a76e34d1ff6fb41df2555d91d42bc1494a2324c30a89098fdf312015e35 AUX ttyd.service 155 BLAKE2B 6be520f7b88c5e8b7e6dada0a923eff285743d5b97c995fc924da153d70641e0706b86a5a91bc6d2054ced4f1044a12584108262b916b948250cdbf092094aec SHA512 381d9dd122b7aca028e813e5369d8a8260165483e1c232ca1f6614d8d5d7bba069102c754c61813496461ce5c038a0ef7564026ea4373d7b5579af8b64995cf6 DIST ttyd-1.7.4.tar.gz 603483 BLAKE2B 745ad302fdf17f31d941d3ae4b69b70257f87f3b6d624f3678e83269901577370fc6296726d8b2c61e94469f9970257b1192bcc2299fb0855bd0f3ea5960a498 SHA512 bbaa56389c224db9438b6dcce696deb0eeedfdf9b3a68cbc4c01c155340f71558e1d90c3fabe9a52de180728792b8dc7deed0c3512acdc246d651270d7fb82c6 +DIST ttyd-1.7.7.tar.gz 621347 BLAKE2B 6d6524437fcbde1141c3a256eb1fc21877df1b67586b18053ca05f98202cdd95ac1daf968700e93ff2287b72c93a1195aecf1c424f995c30c619a3b55d3690e4 SHA512 0cc643223c603dfbd32bc8233e6d2b8d59efd0b1208ef684277ff690fd92ca9ce242b8ea229a5621c43301ce99f95ee56fbe1f3b8df47329be89c3d0658d7663 EBUILD ttyd-1.7.4-r1.ebuild 900 BLAKE2B 1955a0d153468c3b54de22e34f5ea0c69994abfa1e8ddf9a893963530c4c06ec9570289fbe23927f629a6e7d0d8957e5a9da57402f08842d62f5e5098d5ecc90 SHA512 141ef4de093a5afdf3aa491b358511faecc82aeb5c3c7d7ada4432d9d059fa92644231a7410b0d036bb8868b230cac0aae6d9126f6fb17c3e21c6f46e313091c EBUILD ttyd-1.7.4.ebuild 863 BLAKE2B efddecfbf8ac314ebcbec3d3d9ae342eca075600952d8ce891be7b8678e56bee5bba4bb21cc2df7d5780f1e8c1d1456f9b377e570f59cb27e0dfc27386843c17 SHA512 735e0e199ae715b75971fc328b55361b288babc45c1a40f3b7055765de7fce6f3e112f597d623de2edea4610f957f825f455537d81b8501cf19fee2aac890a45 +EBUILD ttyd-1.7.7.ebuild 900 BLAKE2B 1955a0d153468c3b54de22e34f5ea0c69994abfa1e8ddf9a893963530c4c06ec9570289fbe23927f629a6e7d0d8957e5a9da57402f08842d62f5e5098d5ecc90 SHA512 141ef4de093a5afdf3aa491b358511faecc82aeb5c3c7d7ada4432d9d059fa92644231a7410b0d036bb8868b230cac0aae6d9126f6fb17c3e21c6f46e313091c EBUILD ttyd-9999.ebuild 900 BLAKE2B 1955a0d153468c3b54de22e34f5ea0c69994abfa1e8ddf9a893963530c4c06ec9570289fbe23927f629a6e7d0d8957e5a9da57402f08842d62f5e5098d5ecc90 SHA512 141ef4de093a5afdf3aa491b358511faecc82aeb5c3c7d7ada4432d9d059fa92644231a7410b0d036bb8868b230cac0aae6d9126f6fb17c3e21c6f46e313091c MISC metadata.xml 415 BLAKE2B b9b9c89804921cc4d79c3392e5d01a249135c875d325acb117e6e11f60a7e1132408c06a1a6818e8cb8da1e7bfa8e373f7a7ef0a4db2ea02c83ca703530720f5 SHA512 20e06608cc9be5bc06ca0b0627a5dfa0b653b23d39a1c4834df77582cee26bcc45f064aa17e5dd8ed87f75479227c3f85b847f574010b68715c618e7e41dfad5 diff --git a/www-apps/ttyd/ttyd-1.7.7.ebuild b/www-apps/ttyd/ttyd-1.7.7.ebuild new file mode 100644 index 000000000000..3fdbd114e567 --- /dev/null +++ b/www-apps/ttyd/ttyd-1.7.7.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake systemd + +MY_PV="$(ver_rs 3 '-')" + +DESCRIPTION="ttyd, a simple command-line tool for sharing terminal over the web" +HOMEPAGE="https://github.com/tsl0922/ttyd" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/tsl0922/ttyd.git" + inherit git-r3 +else + SRC_URI="https://github.com/tsl0922/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="mbedtls" + +DEPEND=" + dev-libs/json-c:= + dev-libs/libuv:= + net-libs/libwebsockets:=[libuv,mbedtls=,ssl] + sys-libs/zlib:= + !mbedtls? ( dev-libs/openssl:= ) +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_install() { + cmake_src_install + + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + newconfd "${FILESDIR}/${PN}.confd" "${PN}" + systemd_dounit "${FILESDIR}"/${PN}.service +} |