public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ttyd] rawhide: Unretirement request: https://forge.fedoraproject.org/releng/fedora-scm-requests/issues/1808
@ 2026-11-11  2:28 releng-bot
  0 siblings, 0 replies; only message in thread
From: releng-bot @ 2026-11-11  2:28 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ttyd
Branch : rawhide
Commit : 30c855e574e73777234ffe4631956454dc8afdc8
Author : releng-bot <releng-bot@fedoraproject.org>
Date   : 2026-11-11T02:28:53+00:00
Stats  : +63/-1 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/ttyd/c/30c855e574e73777234ffe4631956454dc8afdc8?branch=rawhide

Log:
Unretirement request: https://forge.fedoraproject.org/releng/fedora-scm-requests/issues/1808

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3a07f9b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+/ttyd-1.6.0.tar.gz
+/ttyd-1.6.1.tar.gz
+/ttyd-1.7.7.tar.gz

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..163ea66
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# ttyd
+
+Share your terminal over HTTP

diff --git a/dead.package b/dead.package
deleted file mode 100644
index 5204a84..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-Orphaned for 6+ weeks

diff --git a/sources b/sources
new file mode 100644
index 0000000..f585f26
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (ttyd-1.7.7.tar.gz) = 0cc643223c603dfbd32bc8233e6d2b8d59efd0b1208ef684277ff690fd92ca9ce242b8ea229a5621c43301ce99f95ee56fbe1f3b8df47329be89c3d0658d7663

diff --git a/ttyd-CMakeLists.txt.patch b/ttyd-CMakeLists.txt.patch
new file mode 100644
index 0000000..80c70ec
--- /dev/null
+++ b/ttyd-CMakeLists.txt.patch
@@ -0,0 +1,15 @@
+--- CMakeLists.txt.orig	2024-07-30 18:30:18.311560523 -0400
++++ CMakeLists.txt	2024-07-30 18:43:40.532485581 -0400
+@@ -50,10 +50,9 @@
+ endif()
+ 
+ find_package(ZLIB REQUIRED)
+-find_package(Libwebsockets 3.2.0 REQUIRED)
+ 
+-set(INCLUDE_DIRS ${ZLIB_INCLUDE_DIR} ${LIBWEBSOCKETS_INCLUDE_DIRS} ${JSON-C_INCLUDE_DIRS} ${LIBUV_INCLUDE_DIRS})
+-set(LINK_LIBS ${ZLIB_LIBRARIES} ${LIBWEBSOCKETS_LIBRARIES} ${JSON-C_LIBRARIES} ${LIBUV_LIBRARIES})
++set(INCLUDE_DIRS ${ZLIB_INCLUDE_DIR} ${JSON-C_INCLUDE_DIRS} ${LIBUV_INCLUDE_DIRS})
++set(LINK_LIBS ${ZLIB_LIBRARIES} ${JSON-C_LIBRARIES} ${LIBUV_LIBRARIES} -lwebsockets)
+ 
+ set (CMAKE_REQUIRED_INCLUDES ${INCLUDE_DIRS})
+ include(CheckSymbolExists)

diff --git a/ttyd.spec b/ttyd.spec
new file mode 100644
index 0000000..805900c
--- /dev/null
+++ b/ttyd.spec
@@ -0,0 +1,41 @@
+Name:           ttyd
+Version:        1.7.7
+Release:        %autorelease
+Summary:        Share your terminal over HTTP
+License:        MIT
+URL:            https://github.com/tsl0922/ttyd
+Source:         https://github.com/tsl0922/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
+
+# Needed to make CMake find Libwebsockets
+Patch0:         ttyd-CMakeLists.txt.patch
+
+BuildRequires:  cmake
+BuildRequires:  gcc
+BuildRequires:  json-c-devel
+BuildRequires:  libuv-devel
+BuildRequires:  libwebsockets-devel
+BuildRequires:  ninja-build
+BuildRequires:  pkgconf
+BuildRequires:  zlib-devel
+
+%description
+ttyd is a simple command-line tool for sharing terminal over the web, inspired
+by GoTTY.
+
+%prep
+%autosetup
+
+%build
+%cmake
+%cmake_build
+
+%install
+%cmake_install
+
+%files
+%{_bindir}/ttyd
+%{_mandir}/man1/ttyd.1.*
+%license LICENSE
+
+%changelog
+%autochangelog

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-11  2:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-11  2:28 [rpms/ttyd] rawhide: Unretirement request: https://forge.fedoraproject.org/releng/fedora-scm-requests/issues/1808 releng-bot

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