Compare commits

...

No commits in common. "c8" and "6f86422dc96d01c0b8c4b2ed53c8d163419bbfb2" have entirely different histories.

11 changed files with 142 additions and 34 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/suite3270-3.6ga5-src.tgz
/suite3270-4.0ga14-src.tgz
/x3270.png

View File

@ -1 +1 @@
0929da544bb8b5ef0ca2ae9278001b55895259d3 SOURCES/suite3270-3.6ga5-src.tgz
55ef897d10620c2e1ac3e469d8970dd78e43e876 suite3270-4.0ga14-src.tgz

Binary file not shown.

Before

Width:  |  Height:  |  Size: 280 B

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

16
rpminspect.yaml Normal file
View File

@ -0,0 +1,16 @@
# Configuration file for rpminspect
# Ignore false positives found by badfuncs.
#
# Forbidden function symbols found:
# gethostbyname
# inet_addr
# inet_ntoa
#
badfuncs:
ignore:
- /usr/bin/pr3287
- /usr/bin/s3270
- /usr/bin/c3270
- /usr/bin/x3270

2
sources Normal file
View File

@ -0,0 +1,2 @@
SHA512 (suite3270-4.0ga14-src.tgz) = 0c76946420bbc2a483ab321658350a5b3e1c03e66b65e99f1a8cb4d350e07eedd44f9f24671244f3c374f512e5d211304785b8e44ae125265ce8f71f0a9dcc65
SHA512 (x3270.png) = f8910b77da3e981140625972e5f3707b1ca6c3df37c8a6a7cbce78ab2e787a4d2c3f3262543fecb7d5aeec80147f13804bb47712483134bee74db902034141d6

16
tests/tests.yml Normal file
View File

@ -0,0 +1,16 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- x3270
- xorg-x11-server-Xvfb
tests:
- version_test:
dir: .
run: x3270 --version
- smoke_test:
dir: .
run: echo -e 'Wait(3, seconds)\nQuit()' | xvfb-run -s '-screen 0 640x480x8 -extension RANDR' x3270 -script

View File

@ -1,7 +1,7 @@
diff -up suite3270-3.5/c3270/c3270.man.ibmhosts suite3270-3.5/c3270/c3270.man
--- suite3270-3.5/c3270/c3270.man.ibmhosts 2016-05-16 10:54:55.000000000 +0200
+++ suite3270-3.5/c3270/c3270.man 2016-05-16 10:55:03.000000000 +0200
@@ -3403,7 +3403,7 @@ backslash character.
diff -up suite3270-4.0/c3270/c3270.man.ibmhosts suite3270-4.0/c3270/c3270.man
--- suite3270-4.0/c3270/c3270.man.ibmhosts 2020-05-25 22:09:07.000000000 +0200
+++ suite3270-4.0/c3270/c3270.man 2020-05-29 13:39:26.739201420 +0200
@@ -3432,7 +3432,7 @@ backslash character.
If more than one \fB\-xrm\fP option is given for the same resource,
the last one on the command line is used.
.SH "FILES"
@ -10,9 +10,9 @@ diff -up suite3270-3.5/c3270/c3270.man.ibmhosts suite3270-3.5/c3270/c3270.man
.br
$HOME/.c3270pro
diff -up suite3270-3.5/c3270/ibm_hosts.man.ibmhosts suite3270-3.5/c3270/ibm_hosts.man
--- suite3270-3.5/c3270/ibm_hosts.man.ibmhosts 2016-05-16 10:53:16.000000000 +0200
+++ suite3270-3.5/c3270/ibm_hosts.man 2016-05-16 10:53:38.000000000 +0200
diff -up suite3270-4.0/c3270/ibm_hosts.man.ibmhosts suite3270-4.0/c3270/ibm_hosts.man
--- suite3270-4.0/c3270/ibm_hosts.man.ibmhosts 2020-05-25 22:09:07.000000000 +0200
+++ suite3270-4.0/c3270/ibm_hosts.man 2020-05-29 13:39:26.739201420 +0200
@@ -3,7 +3,7 @@
.SH "NAME"
ibm_hosts \- host database for x3270 and c3270
@ -31,9 +31,9 @@ diff -up suite3270-3.5/c3270/ibm_hosts.man.ibmhosts suite3270-3.5/c3270/ibm_host
.SH "SEE ALSO"
x3270(1),
c3270(1)
diff -up suite3270-3.5/x3270/ibm_hosts.man.ibmhosts suite3270-3.5/x3270/ibm_hosts.man
--- suite3270-3.5/x3270/ibm_hosts.man.ibmhosts 2016-05-16 10:54:26.000000000 +0200
+++ suite3270-3.5/x3270/ibm_hosts.man 2016-05-16 10:54:40.000000000 +0200
diff -up suite3270-4.0/x3270/ibm_hosts.man.ibmhosts suite3270-4.0/x3270/ibm_hosts.man
--- suite3270-4.0/x3270/ibm_hosts.man.ibmhosts 2020-05-25 22:09:08.000000000 +0200
+++ suite3270-4.0/x3270/ibm_hosts.man 2020-05-29 13:39:26.739201420 +0200
@@ -3,7 +3,7 @@
.SH "NAME"
ibm_hosts \- host database for x3270 and c3270
@ -52,12 +52,12 @@ diff -up suite3270-3.5/x3270/ibm_hosts.man.ibmhosts suite3270-3.5/x3270/ibm_host
.SH "SEE ALSO"
x3270(1),
c3270(1)
diff -up suite3270-3.5/x3270/x3270.man.ibmhosts suite3270-3.5/x3270/x3270.man
--- suite3270-3.5/x3270/x3270.man.ibmhosts 2016-05-16 10:53:50.000000000 +0200
+++ suite3270-3.5/x3270/x3270.man 2016-05-16 10:54:00.000000000 +0200
@@ -5275,7 +5275,7 @@ T}
The special types \fBsocks4a\fP and \fBsocks5d\fP can also be used to force
the proxy server to do the hostname resolution for the SOCKS protocol.
diff -up suite3270-4.0/x3270/x3270.man.ibmhosts suite3270-4.0/x3270/x3270.man
--- suite3270-4.0/x3270/x3270.man.ibmhosts 2020-05-29 13:39:26.749200179 +0200
+++ suite3270-4.0/x3270/x3270.man 2020-05-29 13:40:09.573905725 +0200
@@ -5296,7 +5296,7 @@ the proxy server to do the hostname reso
Note that only the \fBhttp\fP and \fBsocks5\fP proxies support a username and
password.
.SH "FILES"
-/usr/lib/X11/x3270/ibm_hosts
+/etc/ibm_hosts

View File

@ -1,19 +1,19 @@
%global catalogue /etc/X11/fontpath.d
%global majorver 3.6
%global majorver 4.0
Summary: An X Window System based IBM 3278/3279 terminal emulator
Name: x3270
Version: 3.6ga5
Release: 1%{?dist}
Version: 4.0ga14
Release: 2%{?dist}
License: BSD
Group: Applications/Internet
URL: http://x3270.sourceforge.net/
URL: https://x3270.miraheze.org/wiki/Main_Page
Source0: http://downloads.sourceforge.net/%{name}/suite3270-%{version}-src.tgz
Source1: x3270.png
Source2: x3270.desktop
Patch0: x3270-3.5-paths.patch
Patch1: x3270-3.5-ibmhostpath.patch
Patch1: x3270-4.0-ibmhostpath.patch
BuildRequires: make
BuildRequires: ncurses-devel
BuildRequires: readline-devel
BuildRequires: openssl-devel
@ -23,17 +23,12 @@ BuildRequires: fontpackages-devel
%package x11
Summary: IBM 3278/3279 terminal emulator for the X Window System
Group: Applications/Internet
BuildRequires: imake
BuildRequires: xorg-x11-font-utils
BuildRequires: mkfontdir bdftopcf
BuildRequires: libXaw-devel
Requires: %{name} = %{version}
Requires(post): /usr/bin/mkfontdir
Requires(postun): /usr/bin/mkfontdir
%package text
Summary: IBM 3278/3279 terminal emulator for text mode
Group: Applications/Internet
Requires: %{name} = %{version}
@ -69,7 +64,7 @@ Install the %{name}-text package if you need to access IBM hosts using an IBM
for d in c3270 pr3287 s3270 x3270; do
for f in LICENSE README html; do
mv $d/$f $f.$d
mv $d/$f $f.$d
done
done
@ -101,9 +96,6 @@ desktop-file-install \
%{SOURCE2}
%post x11
cd %{_fontdir} && %{_prefix}/bin/mkfontdir
%files
%doc LICENSE.s3270 README.s3270 html.s3270
%doc LICENSE.pr3287 README.pr3287 html.pr3287
@ -122,6 +114,7 @@ cd %{_fontdir} && %{_prefix}/bin/mkfontdir
%files x11
%doc LICENSE.x3270 README.x3270 html.x3270
%{_bindir}/x3270
%{_bindir}/x3270a
%{_fontdir}/
%{catalogue}/x3270
%{_mandir}/man1/x3270.1*
@ -135,6 +128,79 @@ cd %{_fontdir} && %{_prefix}/bin/mkfontdir
%changelog
* Mon Mar 01 2021 Dan Horák <dan[at]danny.cz> - 4.0ga14-2
- update BRs (#1933647)
* Mon Feb 01 2021 Dan Horák <dan[at]danny.cz> - 4.0ga14-1
- updated to 4.0ga14 (#1922848)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0ga13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jan 04 2021 Dan Horák <dan[at]danny.cz> - 4.0ga13-1
- updated to 4.0ga13 (#1911117)
* Mon Sep 28 2020 Dan Horák <dan[at]danny.cz> - 4.0ga12-1
- updated to 4.0ga12 (#1882956)
* Tue Aug 18 2020 Dan Horák <dan[at]danny.cz> - 4.0ga11-1
- updated to 4.0ga11 (#1869461)
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.0ga10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Dan Horák <dan[at]danny.cz> - 4.0ga10-1
- updated to 4.0ga10 (#1860639)
* Fri May 29 2020 Dan Horák <dan[at]danny.cz> - 4.0ga9-1
- updated to 4.0ga9 (#1840492)
* Sat Apr 11 2020 Dan Horák <dan[at]danny.cz> - 3.6ga12-1
- updated to 3.6ga12 (#1823121)
* Tue Mar 17 2020 Dan Horák <dan[at]danny.cz> - 3.6ga11-1
- updated to 3.6ga11 (#1814079)
* Mon Feb 24 2020 Dan Horák <dan[at]danny.cz> - 3.6ga10-1
- updated to 3.6ga10 (#1806341)
* Fri Feb 21 2020 Dan Horák <dan[at]danny.cz> - 3.6ga9-1
- updated to 3.6ga9 (#1803972)
* Wed Feb 05 2020 Than Ngo <than@redhat.com> - 3.6ga8-5
- fixed FTBFS against gcc10
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6ga8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jan 17 2020 Jeff Law <law@redhat.com> - 3.6ga8-3
- Fix symbol with multiple incompatible definitions which triggers
an error with LTO
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6ga8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Jun 04 2019 Dan Horák <dan[at]danny.cz> - 3.6ga8-1
- updated to 3.6ga8 (#1716585)
* Tue Mar 26 2019 Dan Horák <dan[at]danny.cz> - 3.6ga6-1
- updated to 3.6ga6 (#1692775)
* Fri Mar 08 2019 Dan Horák <dan[at]danny.cz> - 3.6ga5-6
- drop scriptlets
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.6ga5-5
- Rebuild for readline 8.0
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6ga5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Aug 14 2018 Adam Jackson <ajax@redhat.com> - 3.6ga5-3
- Drop BuildRequires: imake, no longer needed
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6ga5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Feb 12 2018 Dan Horák <dan[at]danny.cz> - 3.6ga5-1
- updated to 3.6ga5 (#1544168)