Compare commits

...

107 commits

Author SHA1 Message Date
Fedora Release Engineering
42b5c0bf10 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 03:45:47 +00:00
Jonathan Wakely
e659aebf6b Rebuilt for Boost 1.90 2026-01-12 17:11:49 +00:00
Fedora Release Engineering
1b249ca594 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 17:04:30 +00:00
Alexander Boström
11206c2e5c Whitespace cleanup 2025-04-25 20:46:15 +02:00
Alexander Boström
de643ba967 Whitespace cleanup 2025-04-25 20:45:57 +02:00
Alexander Boström
889fc7bc01 https for URL 2025-04-25 20:43:39 +02:00
Alexander Boström
f5a3939ef0 Use _rundir macro 2025-04-25 20:43:26 +02:00
Alexander Boström
f77fe4991a Remove upstreamed compiler flag 2025-04-25 20:43:26 +02:00
Alexander Boström
8dfc65b35c Backport upstream changes 2025-04-25 20:43:26 +02:00
Alexander Boström
c53d306ecb Use name macro more 2025-04-25 20:43:11 +02:00
Alexander Boström
1b35f1de9f Preserve timestamp for web files 2025-04-25 19:43:44 +02:00
Alexander Boström
5986e55c65 Do not create /run directory in buildroot 2025-04-25 19:27:52 +02:00
Alexander Boström
1d0be52116 Move tmpfiles conf to a source file 2025-04-25 19:22:31 +02:00
Alexander Boström
dae44c450a Preserve timestamp for sysusers conf 2025-04-25 19:17:53 +02:00
Alexander Boström
84035cb85f Use sysusers scriptlet 2025-04-25 19:16:51 +02:00
Alexander Boström
b6b929a0ab Move sysusers conf to a source file 2025-04-25 18:57:29 +02:00
Alexander Boström
a0d6ccb5cc Remove obsolete cleanup code 2025-04-25 18:25:41 +02:00
Alexander Boström
ba0aa0615a Move tmpfiles config to /usr 2025-04-25 18:25:41 +02:00
Alexander Boström
0d68e0f9cc Change /var/run to /run (fixes bug #2269930) 2025-04-25 18:25:41 +02:00
Alexander Boström
61de037bba Whitespace cleanup 2025-04-25 18:25:36 +02:00
Alexander Boström
452e411cb3 Verified and removed license format conversion comments 2025-04-25 16:48:25 +02:00
Alexander Boström
e80d9c9256 Convert to %autorelease and %autochangelog
[skip changelog]
2025-04-25 16:42:31 +02:00
Zbigniew Jędrzejewski-Szmek
1d6a3a530f Add sysusers.d config file to allow rpm to create users/groups automatically
See https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers.
2025-02-11 14:36:18 +01:00
Fedora Release Engineering
b808a77247 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 11:13:00 +00:00
Miroslav Suchý
af03fbb1dc convert GPLv2+ license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-25 22:56:52 +02:00
Fedora Release Engineering
5064f6c783 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 17:08:36 +00:00
Software Management Team
a8dc34fcc4 Eliminate use of obsolete %patchN syntax (#2283636) 2024-05-30 12:46:46 +02:00
Fedora Release Engineering
b51c65b0ac Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 23:11:25 +00:00
Fedora Release Engineering
b16eb5a51a Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 13:08:47 +00:00
Jonathan Wakely
2ae423ebb1 Rebuilt for Boost 1.83 2024-01-17 19:32:22 +00:00
Fedora Release Engineering
6c54e0c5ac Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 13:26:01 +00:00
Jonathan Wakely
957f640afd Rebuilt for Boost 1.81 2023-02-20 21:46:15 +00:00
Fedora Release Engineering
6737620320 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 21:52:00 +00:00
Fedora Release Engineering
44d81a8ea1 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 20:56:58 +00:00
Thomas Rodgers
d5329549cd Rebuilt for Boost 1.78 2022-05-04 11:37:27 +02:00
Fedora Release Engineering
3c32487d39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 21:22:41 +00:00
Jonathan Wakely
9fd03393f6 Rebuilt for Boost 1.76 2021-08-06 22:07:21 +01:00
Fedora Release Engineering
84b821eb51 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 17:40:49 +00:00
Fedora Release Engineering
fe9049c8b8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 12:44:53 +00:00
Zbigniew Jędrzejewski-Szmek
01cdb94474 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:14:13 +01:00
Fedora Release Engineering
28e893f45e - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 00:11:59 +00:00
Jonathan Wakely
eedb32ba20 Rebuilt for Boost 1.75 2021-01-22 16:34:27 +00:00
Tom Stellard
7ede259dbc Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-16 23:30:59 +00:00
Fedora Release Engineering
7c8bf64275 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 00:00:36 +00:00
Fedora Release Engineering
0a70f5a521 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 12:08:07 +00:00
Jonathan Wakely
c8c39da853 Rebuilt for Boost 1.73 2020-05-28 19:27:56 +01:00
Fedora Release Engineering
3898713623 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 11:41:01 +00:00
Alexander Boström
d4c69fcda2 update to anyterm-1.2.3 2019-11-17 15:56:19 +01:00
Fedora Release Engineering
8c2e6c33ce - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 18:00:01 +00:00
Fedora Release Engineering
8247caa307 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 13:24:19 +00:00
Igor Gnatenko
ef8760f48e Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:23:55 +01:00
Jonathan Wakely
bb7744af64 Rebuilt for Boost 1.69 2019-01-24 21:09:43 +00:00
Igor Gnatenko
e4d9501f14 add BuildRequires: gcc-c++
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-19 20:56:42 +02:00
Fedora Release Engineering
a579327186 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 20:16:58 +00:00
Fedora Release Engineering
cf38b24b58 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 02:23:25 +00:00
Jonathan Wakely
60d0371368 Rebuilt for Boost 1.66 2018-01-23 00:33:01 +00:00
Fedora Release Engineering
e104e22acf - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 17:37:04 +00:00
Fedora Release Engineering
e5c5d02299 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 02:56:30 +00:00
Jonathan Wakely
ff3264e8ce Rebuilt for s390x binutils bug 2017-07-19 16:20:07 +01:00
Jonathan Wakely
c376fb0eda Rebuilt for Boost 1.64 2017-07-03 16:26:27 +01:00
Fedora Release Engineering
22dde4aef5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 06:02:10 +00:00
Yaakov Selkowitz
e2419ed134 Specify C++98 usage (#1307317) 2016-02-23 15:49:18 -06:00
Dennis Gilmore
f90c86fb37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 16:15:01 +00:00
Jonathan Wakely
8a282433c7 Rebuilt for Boost 1.60 2016-01-14 02:03:32 +00:00
Jonathan Wakely
29a049b590 Rebuilt for Boost 1.59 2015-08-28 17:07:43 +01:00
Jonathan Wakely
2efff3ead6 Rebuilt for Boost 1.58 2015-08-05 19:42:45 +01:00
Alexander Boström
db832e7135 fix build without prelink 2015-08-01 10:28:41 +02:00
Alexander Boström
df3ab72c89 remove prelink buildreq 2015-08-01 10:21:53 +02:00
Dennis Gilmore
a502c8df0e - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 2015-07-29 11:57:30 -05:00
David Tardon
281d246857 rebuild for Boost 1.58 2015-07-22 18:04:17 +02:00
Dennis Gilmore
6b8ac7c7e3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-16 23:59:26 +00:00
Kalev Lember
d41ef1da89 Rebuilt for GCC 5 C++11 ABI change 2015-05-02 12:32:26 +02:00
Petr Machata
cbf177c099 Rebuild for boost 1.57.0 2015-01-27 01:14:25 +01:00
Peter Robinson
e7a4191beb - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-15 20:39:58 +00:00
Peter Robinson
f5731d9c42 No prelink on aarch64 ppc64le, Cleanup spec and update systemd scriptlets 2014-06-30 14:53:46 +01:00
Dennis Gilmore
8d572aabe5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-06 19:49:43 -05:00
Petr Machata
2d37fc02dd Rebuild for boost 1.55.0 2014-05-22 21:53:36 +02:00
Dennis Gilmore
214e379941 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-02 19:55:32 -05:00
Petr Machata
757c3cfc6f Rebuild for boost 1.54.0 2013-07-30 13:37:33 +02:00
Alexander Boström
5867d55706 Add patch to build with boost 1.53 (rhbz #913877) 2013-02-23 18:08:59 +01:00
Dennis Gilmore
ffefab6b7a - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 10:37:01 -06:00
Dennis Gilmore
b45b2e99aa - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-18 11:09:03 -05:00
Alexander Boström
9d1cf7c1d9 changelog, rebuild 2012-06-02 12:30:07 +02:00
Alexander Boström
960cf2505f really really create the home directory 2012-06-02 12:28:51 +02:00
Alexander Boström
d40c514520 make anyterm-cmd safer 2012-06-02 12:28:15 +02:00
Alexander Boström
de39fa7681 Actually create the home directory on first install. 2012-06-02 01:23:55 +02:00
Alexander Boström
314deb896a fix known_hosts creation 2012-06-02 00:08:33 +02:00
Alexander Boström
e43be79dce silence usermod 2012-06-01 23:55:46 +02:00
Alexander Boström
86c7303399 not buildroot in pre script 2012-06-01 23:42:07 +02:00
Alexander Boström
72c5f5798c fix home directory creation when user exists 2012-06-01 23:35:58 +02:00
Alexander Boström
d50c766510 add missing file 2012-06-01 23:14:22 +02:00
Alexander Boström
e68149e355 create intermediate directories in buildroot 2012-06-01 23:07:49 +02:00
Alexander Boström
6f0026aec1 Fix spec file typo. Create a home directory for the Anyterm user. 2012-06-01 22:54:53 +02:00
Alexander Boström
adba8f0129 spec file changelog 2012-06-01 22:31:51 +02:00
Alexander Boström
bbe2516dc7 add missing fi 2012-06-01 22:29:43 +02:00
Alexander Boström
e62ba41186 anyterm-cmd: Fix indentation. 2012-05-22 13:20:22 +02:00
Alexander Boström
f804745f1b update changelog 2012-05-22 12:29:02 +02:00
Alexander Boström
53e4e66d0b anyterm-cmd: Use localdomain. 2012-05-22 12:27:48 +02:00
Alexander Boström
5a7b652e2d anyterm-cmd: Exit loop on empty username. 2012-05-22 12:26:59 +02:00
Alexander Boström
12cda7f4bb anyterm-cmd: Don't ignore errors. 2012-05-22 12:25:46 +02:00
Alexander Boström
ecfcfd7776 Fix regexp match. 2012-05-22 12:23:16 +02:00
Alexander Boström
5c6cb80047 Oh, loopback in PrivateNetwork is private. 2012-05-22 12:09:38 +02:00
Alexander Boström
313c7954de Remove SysV script, add systemd service file. 2012-05-22 11:31:58 +02:00
Dennis Gilmore
e9f1133021 - Rebuilt for c++ ABI breakage 2012-02-28 11:44:37 -06:00
Dennis Gilmore
ca78e1e689 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 15:20:07 -06:00
Dennis Gilmore
1b57692eb3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 19:21:55 -06:00
Fedora Release Engineering
0b576513ae dist-git conversion 2010-07-28 10:03:28 +00:00
14 changed files with 415 additions and 122 deletions

View file

@ -1 +0,0 @@
anyterm-1.1.29.tbz2

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/anyterm-1.2.3.tar.xz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: anyterm
# $Id: Makefile,v 1.1 2009/07/28 04:32:11 kevin Exp $
NAME := anyterm
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -0,0 +1,58 @@
diff -ur anyterm-1.1.29/libpbe/src/parse_http_request.cc anyterm-1.1.29.boostclassic/libpbe/src/parse_http_request.cc
--- anyterm-1.1.29/libpbe/src/parse_http_request.cc 2008-11-09 15:18:30.000000000 +0100
+++ anyterm-1.1.29.boostclassic/libpbe/src/parse_http_request.cc 2013-02-23 18:00:30.599265737 +0100
@@ -18,11 +18,11 @@
#include "parse_http_request.hh"
-#include <boost/spirit.hpp>
-#include <boost/spirit/actor/insert_at_actor.hpp>
-#include <boost/spirit/dynamic/if.hpp>
-#include <boost/spirit/utility/loops.hpp>
-#include <boost/spirit/iterator/multi_pass.hpp>
+#include <boost/spirit/include/classic.hpp>
+#include <boost/spirit/include/classic_insert_at_actor.hpp>
+#include <boost/spirit/include/classic_if.hpp>
+#include <boost/spirit/include/classic_loops.hpp>
+#include <boost/spirit/include/classic_multi_pass.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/scoped_array.hpp>
@@ -31,7 +31,7 @@
using namespace std;
-using namespace boost::spirit;
+using namespace boost::spirit::classic;
namespace pbe {
diff -ur anyterm-1.1.29/libpbe/src/URI.cc anyterm-1.1.29.boostclassic/libpbe/src/URI.cc
--- anyterm-1.1.29/libpbe/src/URI.cc 2008-11-09 15:16:16.000000000 +0100
+++ anyterm-1.1.29.boostclassic/libpbe/src/URI.cc 2013-02-23 18:00:22.860322952 +0100
@@ -18,11 +18,11 @@
#include "URI.hh"
-#include <boost/spirit.hpp>
-#include <boost/spirit/actor/insert_at_actor.hpp>
-#include <boost/spirit/dynamic/if.hpp>
-#include <boost/spirit/utility/loops.hpp>
-#include <boost/spirit/iterator/multi_pass.hpp>
+#include <boost/spirit/include/classic.hpp>
+#include <boost/spirit/include/classic_insert_at_actor.hpp>
+#include <boost/spirit/include/classic_if.hpp>
+#include <boost/spirit/include/classic_loops.hpp>
+#include <boost/spirit/include/classic_multi_pass.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/scoped_array.hpp>
@@ -30,7 +30,7 @@
#include <map>
using namespace std;
-using namespace boost::spirit;
+using namespace boost::spirit::classic;
namespace pbe {

View file

@ -0,0 +1,11 @@
--- common.mk~ 2015-08-28 17:05:37.271247678 +0100
+++ common.mk 2015-08-28 17:05:15.254181357 +0100
@@ -49,7 +49,7 @@
CC_COMPILE_FLAGS=$(COMPILE_FLAGS)
LINK_FLAGS=${GCC_FLAGS} ${DEBUG_FLAGS} \
- -lutil
+ -lutil -lboost_system
ifeq (${UNAME_S},OpenBSD)
LINK_FLAGS+=-liconv

View file

@ -3,14 +3,32 @@
# Simply prompt the user for a username and # Simply prompt the user for a username and
# ssh locally as that user # ssh locally as that user
set -eo pipefail
while : ; do while : ; do
echo -n "Username: " echo -n "Username: "
read U read U
if [[ -z "$U" ]]; then
echo "Disconnecting."
exit
fi
# Make sure it does not start with a "-" and only contains valid # Make sure it does not start with a "-" and only contains valid
# username characters. # username characters.
if [[ "$U" =~ "^[A-Za-z0-9_][A-Za-z0-9_-]*\$" ]]; then if [[ "$U" =~ ^[A-Za-z0-9_][A-Za-z0-9_-]*$ ]]; then
ssh "$U@localhost" cd ~
if [[ ! -e .ssh/known_hosts ]]; then
mkdir -p --mode=700 .ssh
for k in /etc/ssh/ssh_host_{rsa,dsa}_key.pub; do
if [[ -r "$k" ]]; then
echo -n "localhost.localdomain "
cat "$k"
fi
done >.ssh/known_hosts
fi
ssh -l "$U" localhost.localdomain" || :
else else
echo "Bad username." echo "Bad username."
fi fi
done done

View file

@ -0,0 +1,28 @@
Index: src/SubProcess.cc
===================================================================
diff --git a/anyterm/trunk/src/SubProcess.cc b/anyterm/trunk/src/SubProcess.cc
--- a/anyterm/trunk/src/SubProcess.cc (revision 13873)
+++ b/anyterm/trunk/src/SubProcess.cc (revision 18810)
@@ -141,7 +141,7 @@
onOutput(s);
}
} RETHROW_MISC_EXCEPTIONS }
- catch (pbe::IOError) {
+ catch (pbe::IOError&) {
onError("Subprocess terminated");
return;
}
Index: common.mk
===================================================================
diff --git a/anyterm/trunk/common.mk b/anyterm/trunk/common.mk
--- a/anyterm/trunk/common.mk (revision 13873)
+++ b/anyterm/trunk/common.mk (revision 18810)
@@ -42,7 +42,7 @@
# If you need to add additional include directories, e.g. if your Boost libraries
# are somewhere unexpected, add them to CPP_FLAGS below e.g. CPP_FLAGS=-I/path/to/boost
-CPP_FLAGS=--std=c++14
+CPP_FLAGS=--std=c++17
ifeq (${UNAME_S},SunOS)
GCC_FLAGS=-D_REENTRANT

13
anyterm.service Normal file
View file

@ -0,0 +1,13 @@
[Unit]
Description=Anyterm Web Based Terminal Emulator
After=network.target
[Service]
Type=forking
PIDFile=/var/run/anytermd.pid
ExecStart=/usr/sbin/anytermd -c /usr/libexec/anyterm/anyterm-cmd -s UTF8 --user anyterm --port 81 --local-only
RemainAfterExit=yes
PrivateTmp=true
[Install]
WantedBy=multi-user.target

View file

@ -1,38 +1,42 @@
Name: anyterm Name: anyterm
Version: 1.1.29 Version: 1.2.3
Release: 8%{?dist} Release: %autorelease
Summary: A web-based terminal emulator Summary: A web-based terminal emulator
Group: Applications/Internet License: GPL-2.0-or-later
License: GPLv2+ URL: https://anyterm.org
URL: http://anyterm.org
Source0: http://anyterm.org/download/anyterm-1.1.29.tbz2 # The source for this package was pulled from upstream's vcs. Use the
# following commands to generate the tarball:
# svn export http://svn.anyterm.org/anyterm/tags/releases/1.2/1.2.3 anyterm-1.2.3
# tar -jcf anyterm-1.2.3.tar.xz anyterm-1.2.3
Source0: anyterm-1.2.3.tar.xz
Source1: anyterm-cmd Source1: anyterm-cmd
Source2: anytermd.init
Source3: anytermd.sysconfig
Source4: anyterm.conf Source4: anyterm.conf
Source5: anyterm.service
Source6: anyterm.sysusers.conf
Source7: anyterm.tmpfiles.conf
# http://anyterm.org/1.1/install.html#secid2252601 # http://anyterm.org/1.1/install.html#secid2252601
Patch0: anyterm-change-url-prefix.patch Patch0: anyterm-change-url-prefix.patch
# svn diff --git -r 13873:18810
Patch1: anyterm-upstream-fixes-r18810.patch
# http://anyterm.org/forums/viewtopic.php?id=581 BuildRequires: gcc-c++
Patch1: anyterm-libpbe-fix.patch BuildRequires: boost-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: boost-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: prelink BuildRequires: systemd
Requires(pre): shadow-utils BuildRequires: make
Requires(post): chkconfig BuildRequires: systemd-rpm-macros
Requires(preun): chkconfig Requires(post): systemd
Requires(preun): initscripts Requires(preun): systemd
Requires(postun): initscripts Requires(postun): systemd
%{?sysusers_requires_compat}
%package httpd %package httpd
Summary: Httpd proxy configuration for anyterm Summary: Httpd proxy configuration for anyterm
Group: Applications/Internet License: GPL-2.0-or-later
License: GPLv2+
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: httpd Requires: httpd
@ -40,7 +44,7 @@ Requires: httpd
%description %description
The Anyterm web-based terminal emulator, permits terminal and/or arbitrary The Anyterm web-based terminal emulator, permits terminal and/or arbitrary
command access via http. The anyterm daemon can be configured to run any command access via http. The anyterm daemon can be configured to run any
arbitrary command, redirecting all standard input / output / error to arbitrary command, redirecting all standard input / output / error to
and from any javascript-enabled web browser in real time. and from any javascript-enabled web browser in real time.
%description httpd %description httpd
@ -48,99 +52,57 @@ The httpd configuration necessary to proxy anyterm.
%prep %prep
%setup -q %setup -q
%patch0 -p0 %patch -P0 -p0
cd libpbe/ %patch -P1 -p3
%patch1 -p0
%build %build
export CFLAGS="$RPM_OPT_FLAGS" export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS"
%{__make} %{?_smp_mflags} CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" make %{?_smp_mflags} CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" OPTIMISE_FLAGS="$CXXFLAGS"
%{__gzip} anytermd.1 gzip anytermd.1
execstack -c anytermd
%install %install
%{__rm} -rf %{buildroot} install -Dp -m0755 anytermd %{buildroot}%{_sbindir}/anytermd
install -Dp -m0644 anytermd.1.gz %{buildroot}%{_mandir}/man1/anytermd.1.gz
%{__install} -Dp -m0755 anytermd %{buildroot}%{_sbindir}/anytermd install -Dp -m0755 %{SOURCE1} %{buildroot}%{_libexecdir}/%{name}/anyterm-cmd
%{__install} -Dp -m0644 anytermd.1.gz %{buildroot}%{_mandir}/man1/anytermd.1.gz install -Dp -m0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/httpd/conf.d/anyterm.conf
%{__install} -Dp -m0755 %{SOURCE1} %{buildroot}%{_libexecdir}/%{name}/anyterm-cmd install -Dp -m0644 %{SOURCE5} %{buildroot}%{_unitdir}/%{name}.service
%{__install} -Dp -m0755 %{SOURCE2} %{buildroot}%{_initrddir}/anyterm install -Dp -m0644 %{SOURCE6} %{buildroot}%{_sysusersdir}/%{name}.conf
%{__install} -Dp -m0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/anyterm install -Dp -m0644 %{SOURCE7} %{buildroot}%{_tmpfilesdir}/%{name}.conf
%{__install} -Dp -m0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/httpd/conf.d/anyterm.conf install -Dp -m0644 browser/anyterm.css %{buildroot}%{_datadir}/%{name}/anyterm.css
install -Dp -m0644 browser/anyterm.html %{buildroot}%{_datadir}/%{name}/anyterm.html
%{__mkdir} -p %{buildroot}%{_datadir}/anyterm/ install -Dp -m0644 browser/anyterm.js %{buildroot}%{_datadir}/%{name}/anyterm.js
for f in browser/*.{html,css,js,png,gif}; do install -Dp -m0644 browser/copy.gif %{buildroot}%{_datadir}/%{name}/copy.gif
%{__install} -m644 "$f" %{buildroot}%{_datadir}/anyterm/ install -Dp -m0644 browser/copy.png %{buildroot}%{_datadir}/%{name}/copy.png
done install -Dp -m0644 browser/paste.gif %{buildroot}%{_datadir}/%{name}/paste.gif
install -Dp -m0644 browser/paste.png %{buildroot}%{_datadir}/%{name}/paste.png
install -Dp -m0644 browser/resizer.png %{buildroot}%{_datadir}/%{name}/resizer.png
%clean
rm -rf %{buildroot}
%pre %pre
# create anyterm group / user %sysusers_create_compat %{SOURCE6}
getent group anyterm >/dev/null || \
/usr/sbin/groupadd -r anyterm
getent passwd anyterm > /dev/null || \
/usr/sbin/useradd -r -s /sbin/nologin -d /dev/null \
-M -c 'Anyterm user' -g anyterm anyterm
exit 0
%post %post
# adds the proper /etc/rc*.d links for the script %systemd_post %{name}.service
/sbin/chkconfig --add anyterm
%preun %preun
if [ $1 = 0 ] ; then %systemd_preun %{name}.service
/sbin/service anyterm stop >/dev/null 2>&1
/sbin/chkconfig --del anyterm %postun
fi %systemd_postun_with_restart %{name}.service
%files %files
%defattr(-,root,root,-)
%{_sbindir}/anytermd %{_sbindir}/anytermd
%{_libexecdir}/anyterm/ %{_libexecdir}/anyterm/
%{_mandir}/man1/anytermd.1.gz %{_mandir}/man1/anytermd.1.gz
%{_initrddir}/anyterm %{_datadir}/%{name}/
%{_datadir}/anyterm/ %{_unitdir}/%{name}.service
%config(noreplace) %{_sysconfdir}/sysconfig/anyterm %ghost %attr(0755,%{name},%{name}) %dir %{_rundir}/%{name}
%{_tmpfilesdir}/%{name}.conf
%doc LICENSE %doc LICENSE
%{_sysusersdir}/%{name}.conf
%files httpd %files httpd
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/httpd/conf.d/anyterm.conf %config(noreplace) %{_sysconfdir}/httpd/conf.d/anyterm.conf
%changelog %changelog
* Wed Jul 15 2009 <mmorsi@redhat.com> - 1.1.29-8 %autochangelog
- correct anyterm dependency for anyterm-httpd subpkg
- removed useradd/group add stdout redirection
- def attr for anyterm-httpd subpkg
- slight rewording and other trivial tasks
* Tue Jul 14 2009 <mmorsi@redhat.com> - 1.1.29-7
- removed useradd/group add stderr redirection
- used all macros where i could
- create httpd subpackage for anyterm/httpd integration
* Mon Jul 13 2009 <mmorsi@redhat.com> - 1.1.29-6
- fixed location of %%doc macro, and resolved other
macro issues
- moved anyterm-cmd from bindir to libexecdir/anyterm
* Thu Jul 09 2009 <mmorsi@redhat.com> - 1.1.29-5
- added CFLAGS / CXXFLAGS to pick up RPM_OPT_FLAGS
* Tue Jul 07 2009 <mmorsi@redhat.com> - 1.1.29-4
- removed pbuild
- removed executable stack (requires prelink/execstack)
* Thu Apr 09 2009 <mmorsi@redhat.com> - 1.1.29-3
- updated spec / init based on rpmlint output
* Wed Apr 08 2009 <mmorsi@redhat.com> - 1.1.29-2
- Serve static content via apache
- Use 1.1.29 release and newly added patches
* Mon Mar 16 2009 <mmorsi@redhat.com> - 1.1.29-1
- Initial checkout and build.

1
anyterm.sysusers.conf Normal file
View file

@ -0,0 +1 @@
u anyterm - 'Anyterm service' /run/anyterm -

1
anyterm.tmpfiles.conf Normal file
View file

@ -0,0 +1 @@
d /run/anyterm 0755 root anyterm

223
changelog Normal file
View file

@ -0,0 +1,223 @@
* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.3-23
- Add sysusers.d config file to allow rpm to create users/groups automatically
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Jul 25 2024 Miroslav Suchý <msuchy@redhat.com> - 1.2.3-21
- convert license to SPDX
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jan 17 2024 Jonathan Wakely <jwakely@redhat.com> - 1.2.3-17
- Rebuilt for Boost 1.83
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Feb 20 2023 Jonathan Wakely <jwakely@redhat.com> - 1.2.3-15
- Rebuilt for Boost 1.81
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed May 04 2022 Thomas Rodgers <trodgers@redhat.com> - 1.2.3-12
- Rebuilt for Boost 1.78
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Aug 06 2021 Jonathan Wakely <jwakely@redhat.com> - 1.2.3-10
- Rebuilt for Boost 1.76
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.3-8
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 1.2.3-6
- Rebuilt for Boost 1.75
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-5
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu May 28 2020 Jonathan Wakely <jwakely@redhat.com> - 1.2.3-3
- Rebuilt for Boost 1.73
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Nov 17 2019 Alexander Boström <abo@root.snowtree.se> - 1.2.3-1
- upgrade to 1.2.3
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.29-47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.29-46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jan 24 2019 Jonathan Wakely <jwakely@redhat.com> - 1.1.29-45
- Rebuilt for Boost 1.69
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.29-44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.29-43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 1.1.29-42
- Rebuilt for Boost 1.66
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.29-41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.29-40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed Jul 19 2017 Jonathan Wakely <jwakely@redhat.com> - 1.1.29-39
- Rebuilt for s390x binutils bug
* Mon Jul 03 2017 Jonathan Wakely <jwakely@redhat.com> - 1.1.29-38
- Rebuilt for Boost 1.64
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.29-37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Feb 23 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 1.1.29-36
- Specify C++98 usage (#1307317)
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.29-35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jan 14 2016 Jonathan Wakely <jwakely@redhat.com> - 1.1.29-34
- Rebuilt for Boost 1.60
* Fri Aug 28 2015 Jonathan Wakely <jwakely@redhat.com> 1.1.29-33
- Patched and rebuilt for Boost 1.59
* Wed Aug 05 2015 Jonathan Wakely <jwakely@redhat.com> 1.1.29-32
- Rebuilt for Boost 1.58
* Sat Aug 01 2015 Alexander Boström <abo@root.snowtree.se> - 1.1.29-31
- fix build without prelink
* Sat Aug 01 2015 Alexander Boström <abo@root.snowtree.se> - 1.1.29-30
- remove prelink buildreq
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.29-29
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1.1.29-28
- rebuild for Boost 1.58
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.29-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.1.29-26
- Rebuilt for GCC 5 C++11 ABI change
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 1.1.29-25
- Rebuild for boost 1.57.0
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.29-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Mon Jun 30 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.29-23
- No prelink on aarch64 ppc64le
- Cleanup spec and update systemd scriptlets
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.29-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu May 22 2014 Petr Machata <pmachata@redhat.com> - 1.1.29-21
- Rebuild for boost 1.55.0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.29-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 1.1.29-19
- Rebuild for boost 1.54.0
* Sat Feb 23 2013 Alexander Boström <abo@root.snowtree.se> - 1.1.29-18
- Add patch to build with boost 1.53 (rhbz #913877)
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.29-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.29-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jun 2 2012 Alexander Boström <abo@root.snowtree.se> - 1.1.29-15
- Really create the home directory.
* Fri Jun 1 2012 Alexander Boström <abo@root.snowtree.se> - 1.1.29-14
- Actually create the home directory on first install.
* Fri Jun 1 2012 Alexander Boström <abo@root.snowtree.se> - 1.1.29-13
- Fix spec file typo.
- Create a home directory for the Anyterm user.
* Tue May 22 2012 Alexander Boström <abo@root.snowtree.se> - 1.1.29-12
- Remove SysV script, add systemd service file.
- Fix anyterm-cmd.
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.29-11
- Rebuilt for c++ ABI breakage
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.29-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.29-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Jul 15 2009 <mmorsi@redhat.com> - 1.1.29-8
- correct anyterm dependency for anyterm-httpd subpkg
- removed useradd/group add stdout redirection
- def attr for anyterm-httpd subpkg
- slight rewording and other trivial tasks
* Tue Jul 14 2009 <mmorsi@redhat.com> - 1.1.29-7
- removed useradd/group add stderr redirection
- used all macros where i could
- create httpd subpackage for anyterm/httpd integration
* Mon Jul 13 2009 <mmorsi@redhat.com> - 1.1.29-6
- fixed location of %%doc macro, and resolved other
macro issues
- moved anyterm-cmd from bindir to libexecdir/anyterm
* Thu Jul 09 2009 <mmorsi@redhat.com> - 1.1.29-5
- added CFLAGS / CXXFLAGS to pick up RPM_OPT_FLAGS
* Tue Jul 07 2009 <mmorsi@redhat.com> - 1.1.29-4
- removed pbuild
- removed executable stack (requires prelink/execstack)
* Thu Apr 09 2009 <mmorsi@redhat.com> - 1.1.29-3
- updated spec / init based on rpmlint output
* Wed Apr 08 2009 <mmorsi@redhat.com> - 1.1.29-2
- Serve static content via apache
- Use 1.1.29 release and newly added patches
* Mon Mar 16 2009 <mmorsi@redhat.com> - 1.1.29-1
- Initial checkout and build.

View file

@ -1 +0,0 @@
anyterm-1_1_29-8_fc10:HEAD:anyterm-1.1.29-8.fc10.src.rpm:1248795041

View file

@ -1 +1 @@
84fe7f3b4f516815901d1f545e79f13d anyterm-1.1.29.tbz2 SHA512 (anyterm-1.2.3.tar.xz) = 640e6993d6f1171a1f52e2a253e5791ed21b07dbfabc405443d516e92eef6cfc9248ce09f2f882d099429311821bd908dec40b06db5582c7277e8ca80ad66501