SHA256
1
0
forked from pool/x3270
Commit Graph

72 Commits

Author SHA256 Message Date
Ana Guerrero
5f69245cd2 Accepting request 1199645 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1199645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=50
2024-09-09 12:45:39 +00:00
Nikolay Gueorguiev
0b8c33b6bb - Upgrade x3270 to version 4.3.ga9 ( bsc#1230046(CVE-2024-45490),
bsc#1230047(CVE-2024-45491), 
                                     bsc#1230048(CVE-2024-45492) )
- Release Notes/suite3270/4.3ga9
  * https://x3270.miraheze.org/wiki/Release_Notes/suite3270/4.3ga9 
- Requires expat version 2.6.3
- Use %patch -P N instead of deprecated %patchN.
- Upgrade to version 4.3ga4 (jsc#PED-3355)
  * Added support for minimum and maximum TLS protocol versions, via the tlsMinProtocol resource, 
    tlsMaxProtocol resource, -tlsminprotocol command-line option and -tlsmaxprotocol command-line option.
  * Added support for miscellaneous IND$FILE options via the otherOptions keyword of the Transfer() action, 
    the ftOtherOptions resource, and extensions to the x3270 file transfer dialog and the c3270 interactive 
    Transfer() action.
  * Extended the cancel keyword of the Transfer() action so it will interrupt the initial wait for an 
    acknowledgement from the host IND$FILE command.
  * The Transfer() action now returns a summary on success or a meaningful error message on failure.
  * Added the Echo() action.
  * Added support for the NEW-ENVRONMENT variables needed by the IBM Express Logon Feature. (Feature request)
- Bug fixes
  * When a font is specified in the wc3270 Session Wizard, it is now actually updated in the desktop shortcut.
  * Multiple invocations of the Script() or Prompt() actions no longer lead to environment corruption.
  * When command-line options are given to the Transfer() action at the c3270> prompt, the host session is 
    now resumed so the progress of the transfer can be monitored.
  * Several missing actions were added to c3270 help.
- Upgrade to version 4.3ga (jsc#PED-3355)
  * Improvements
  * 4.3beta2
  - Builds now work on MSYS2 MinGW.
  - The ibm_hosts file is now case-insensitive. (Request from Drew Derbyshire)
  - The underscoreBlankFill resource can now be set to false to prevent trailing 
  underscore characters in a field from being treated like blanks when inserting 
  in blank fill mode.
  - Changed the keymap for Alt-q in x3270, c3270 and wc3270 to exit the emulator 
  unconditionally, using Quit(-force).
  * 4.3alpha1
  - The x3270 Color scheme menu option has been renamed 3279 color scheme, since 
  it only applies to 3279 mode. The green-screen color scheme option has been removed, 
  though the resource behind it (x3270.colorScheme.GreenScreen) remains. 
  The default 3279 color scheme now has a grey10 background to make it easier to see 
  with minimal window frames.
  - The confDir resource, where the ibm_hosts file is found, can now be displayed by the 
  Set() action.
  - Added Alt-e to the default wc3270 keymap and Ctrl-a, f to the c3270 default keymap for 
  the EraseEOF() action. This is needed because Windows no longer passes the END key to 
  console applications.
  - Added the ability to save printer output to a file in a particular directory, 
  either by specifying the directory path as the printer name (on Windows) or 
  by specifying the new prtodir command as the printing command (on POSIX).
  - Added support for growing or shrinking the x3270 emulator font using Ctrl-+ and Ctrl--.
  - Added the IBM 3270 fonts from Ricardo Bánffy to the wc3270 installation and added the 
  ability to specify fonts in the wc3270 Session Wizard.
  - Changed the default behavior of the terminal type reported in TN3270 mode for 
  3279 models 4 and 5. Previous versions reported these as IBM-3279-4-E and 
  IBM-3279-5-E respectively; now they are reported as IBM-3278-4-E and 
  IBM-3278-5-E because the other names are often not recognized by hosts. 
  To restore the previous behavior, set the wrongTerminalName resource to true. 
  (Note that the model resource still refers to these models as 3279-4-E and 3279-5-E; 
  this only changes what is reported to the host.)
  - Changed the default library for TLS on macOS to OpenSSL.
  - Added a summary of warnings to the end of the output from the ./configure script.
  - Added a Python-based test target (documentation coming soon).
  - Added a BUILDCC variable to the ./configure script, to facilitate cross-compilation. 
  (Original suggested patch by Thorsten Otto.)
  - The code can now be built on POSIX without the <langinfo.h> header file or the 
  nl_langinfo() library function being present. It will guess the codeset (encoding) 
  from the LC_CTYPE or LANG environment variable if present, or default to ASCII if 
  neither is present or the value is not defined as locale.encoding. 
  (Original suggested patch by Thorsten Otto.)
  * Bug fixes
  * 4.3ga3
  - When there is an error making a connection in s3270, the error message is 
  no longer output on two lines. (Bug report)
  * 4.3beta2
  - When using a printer session and TLS, the printer session no longer 
  fails with a host certificate validation error.
  - When inserting in blank fill mode, trailing underscores are no longer consumed, 
  unless they are at the end of the field. (Bug report) 
- Upgrade to version 4.2ga10 (jsc#PED-3355)
- Bug fixes
  * 4.2ga10
    - TN3270E NVT mode now works properly.
    - TN3270E SSCP-LU mode now works even if BIND-IMAGE has not been 
      negotiated by the host.
    - When TN3270E is turned off and back on within a session, 
      x3270 now renegotiates functions properly.
  * 4.2ga9
    - x3270 mouse selections are much more predictable. 
    - Double- and triple-clicks no longer move the cursor.
    - x3270 no longer crashes when it is reconfigured 
      (model, font, etc.) while the floating pop-up keypad is visible.
    - The security indicator in x3270 no longer disappears when it is 
      indicating unverified state and the window is reconfigured.
    - The ./configure option to give an alternate location for the 
      OpenSSL library (--with-openssl=) works correctly again.
  * 4.2ga8
    - When pasting in NVT mode and the text wraps to the next line, 
      the cursor no longer ends up in the wrong location.
    - The x3270a script no longer causes a spurious Invalid (empty) 
      hostname error pop-up when the display's DPI is other than 96.
  * 4.2ga7
    - The wc3270 Session Wizard no longer exits silently when 
      it encounters an error.
    - x3270 will no longer change fonts unnecessarily when the 
      host code page is changed. (bug report)
    - The background color is now propagated correctly by the RA order.
    - In a resource file, a resource value can now end with a 
      properly-quoted backslash, without the backslash being interpreted 
      as a line continuation.
    - The Transfer() action, when invoked from within a file read by the 
      Source() action, now blocks properly -- it returns once the 
      file transfer is complete.
    - If the Source() action is aborted, it will no longer leave the 
      keyboard locked.
    - Typeahead is now processed correctly when the host has 
      negotiated TN3270E Contention Resolution and the unlockDelay 
      resource is set to false. 
- x3270 4.2ga6:
  * many improvements, bug fixes and feature extensions
  * pr3287 now supports -tracefile
  * pr3287 can now try more than one address for a host
  * hostname lookups can now be limited to IPv4/IPv6
- Update to current stable release 4.1 ga13:
  * Added a macros menu to c3270 and wc3270.
  * Corrected support for the macros resource without a qualifying host name.
  * The entire list of command-line options is now displayed only
    with the --help command-line option, not for every unknown option.
  * Changed the default for unlockDelay in all emulators from
    true to false. This is a very significant change.
  * When input from the String() action overflows a field,
    the cursor now lands in the correct location.
  * When a host has multiple addresses, the emulators (except pr3287)
    will now reliably try up to four of them.
  * Errors from the OpenSSL library are now displayed correctly.
  * When a connection fails to a TLS-tunnel host (one specified with
    the L: prefix), the correct error message is now displayed.
  * Fixed a c3270 crash when a connection is opened from a remote
    source (HTTP server or script port) while at the c3270> prompt.
  * Fixed a c3270 crash when the -secure and -trace command-line
    options are used together.
  * A key typed into a full field in insert mode no longer overwrites
    the character under the cursor.
- Drop upstream resolved patches:
  * x3270-missing-file.patch
  * x3270-missing-include.patch
- Use https for URL and Source
- Update to ga14 of 4.0 series:
  * The scripting infrastructure has been rewritten and renamed to
    task engine. 
    * No artificial dependencies between actions initiated by
     different sources.
    * Accidental blocking behavior has been eliminated.
    * Unrelated operations are now properly concurrent
  * A new emulator has been created, b3270, as a common back-end
    process that handles the 3270 protocol and host interactions,
    using a simple XML-based protocol.
  * The c3270 prompt has been generalized and is available to all
    of the 3270 emulators as the x3270 prompt.
    * The prompt now uses color to distinguish error messages.
  * APL keyboard operation on x3270 has changed, fixed APL keymap
    was removed in favor of key combination Shift-Escape toggling
    a new APL mode
  * Many other bug fixes and features
- Removed x3270-handle-missing-font.patch, mkversion.patch, and
  reproducible.patch, merged upstream.
- Expat added as its BuildRequires
- Added x3270-handle-missing-font.patch (bsc#1177104)
  In some cases when fonts are present locally but are not present
  in the fontpath, x3270 can crash due to a segfault caused by
  XLoadQueryFont() returning NULL in lff_single().
- Add reproducible.patch to override build date (boo#1047218)
- x3270 3.r6ga12:
  * Potentially incompatible changes:
    + Removed explicit support for self-signed host certificates.
    + To allow self-signed certificates, disable verification.
    + Switched to verifying host certficates by default. This can
      be disabled by using the -noverifycert opton or by setting
      the verifyHostCert resource to false.
  * Many bug fixes and minor feature additions
- drop reproducible.patch, x3270-fix-build.patch, upstreamed
- x3270-fix-build.patch: fixed a bug triggered by LTO, commented
  out incompat definition.
- Add mkversion.patch to have fixed timestamps (boo#1047218)
- Add reproducible.patch to not add timestamps in .gz header
- Update to ga9 of 3.5 series:
  * [x3270] Fixed the toggle names saved with the File->Save
    Changed Options menu option and when processing the
    WM_SAVE_YOURSELF message.
  * [x3270] Explicitly test for X11, Xt, Xmu and Xaw header files
    and libraries in the configure script.
  * [x3270] Put the dryrun script in the object directory.
  * [wc3270] Allow Windows VKey codes to be specified in wc3270
    keymaps in hexadecimal with the syntax VKEY-0xnn. This allows
    unknown VKeys to be specified. The same syntax is used in
    traces.
  * [x3270] Fixed an issue where parameters beyond the second were
    ignored in many keymap actions.
  * [all] Fixed an issue with the Abort action called from scripts.
  * [all Windows] Always find root_certs.txt in the same directory
    as the executable, if not installed.
  * [all] Validate the parameters to the Transfer() action better.
  * [pr3287] Fix the configure script so it properly detects
    missing OpenSSL header files, even if the OpenSSL library is
    present.
  * [all] Limit DFT buffer size to 32767. 32768 causes the host to
    send 0-byte buffers.
  * [x3270] Dropped support for xmkmf and imake. x3270 builds and
    installs only using autoconf paths now.
  * see http://x3270.bgp.nu/documentation-relnotes.html for more
    detailed list of changes
- Drop no longer needed pr3270-memleak.patch
- Cleanup spec file with spec-cleaner
- Make sure that optflags are used in building
- added desktop file
- split up font reconfigure macro into the pieces so we can add the
  desktop file macros too
- Version update to ga10 of 3.4 series:
  * [x3270] Fixed a crash in the Configure Idle Command pop-up.
  * [x3270] Fixed an issue with overwriting local files in file transfers.
  * [s3270] Fixed an x3270if build problem when libiconv is needed.
  * [all] Fixed a problem with truncating the list of LUs when connecting to a
    host.
  * [all] Fixed a crash when too many parameters are passed to an action in a macro
    or script.
  * [c3270, wc3270] Fixed binary file transfer bug.
  * [x3270] Fixed missing 'Not Connected' message when disconnecting from a host.
  * [all] Fixed trace display of incoming IPv6 connections and the parsing of the
    x3270 -scriptport option.
  * [tcl3270] Added tcl3270 support for Tcl 8.6.
  * [all] Renamed $INSTALL variable in the top-level configure script (bugs:15).
- Version bump to 3.4:
  * Recreated tarball and build approach so adapt our system
  * Fixed a number of warnings found by the MacOS C compiler, which turned out
    to be real issues.
  * [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
    like Ascii and Ebcdic.
  * [all] Fixed an NVT-mode emulation problem.
  * [all] Fixed a synchronization issue with scripts and file transfers.
  * [c3270, wc3270] Fixed a crash when the Transfer action was called from a
    script.
  * [x3270] Fixed a crash when visible control characters are turned on in
    3278 mode.
  * [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
  * [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
    to get rid of compiler warnings with newer versions of glibc (bugs:#12).
  * [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
  * [c3270, wc3270] Made the help for file-transfer reflect the current
    defaults. Added help for Keymap.
  * [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
    of the console window correctly.
  * [pr3287, wpr3287] Fixed a problem with printer session start-up when both
    a specific printer LU and an SSL tunnel (L:) are specified.
  * [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
    The semantics are the same as the x3270 action of the same name.
  * [all] Made the parameter to ResumeScript optional, and relaxed the
    restrictions on when PauseScript can be used, so it can now be used from
    macros and command files read with the Source action.
  * [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
    file transfer dialog.
  * [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.
  * [x3270] Fixed an issue where the terminal type would not be reported to the
    host as IBM-DYNAMIC if the screen was put into oversize mode via a menu
    selection (it was correct if oversize came from a resource). Also made sure
    that the 'About->Configuration' display of the terminal type is always
    correct.
  * [all] Added resources to define the default values for each of the IND$FILE
    file transfer parameters. The resources have the same names as the Transfer
    action keywords, with ft prepended. E.g., the Mode default is controlled by
    the ftMode resource. For consistency, deprecated dftBufferSize and
    ftCodePage in favor of ftBufferSize and ftWindowsCodePage (the old
    resources are still available).
  * [all] Added missing functionality to specify the size for avblock TSO file
    allocations in IND$FILE file transfers.
  * [x3270] Added an aplCircledAlpha resource to allow x3270 to properly
    display APL underscored uppercase letters with the APL385 font, by
    translating them to the (nonstandard) Unicode circled-alphabetic range
    U+24B6 to U+25CF.
  * [x3270, c3270, wc3270] Overhauled visible control characters so that field
    attributes are completely decoded. Field attributes are now in underlined
    yellow in x3270. Added visible control character support to c3270 (also
    underlined yellow) and wc3270 (reverse-video yellow), with a menu option.
  * [all] Overhauled the build structure. Now there are libraries for common
    functions.
  * [wc3270] Mapped Alt-left-click onto a lightpen select operation. Added a
    lightPenPrimary resource to switch this, so that an unmodified left-click
    is a lightpen select and Alt-left-click is a cursor move or copy/paste
    highlight.
  * [all] Added a B: prefix option to hostnames to disable the automatic
    keyboard unlock when a BIND-IMAGE is received.
  * [all] Added an -nvt option and an nvtMode resource to force NVT mode as
    soon as a session is connected. This overrides the usual behavior of
    locking the keyboard and waiting for the host to send NVT-mode data or
    negotiate 3270 mode before unlocking. This option also changes the default
    terminal type to xterm.
  * [c3270] Added a mapping from the Escape key to the Escape() action
    (breaking to the c3270> prompt).
  * [x3270] Added a maxRecent resource to control the maximum size of the
    recent host list in the Connect menu.
  * [all] Allow the -scriptport option to specify an address to listen on.
  * [all] Added webserver support. The -httpd option starts a webserver
    listening on the specified port. The webserver supports a REST API and
    some basic HTML objects.
  * [all] Removed configurability of tracing, NVT mode, TN3270E support,
    scripting, menus file transfer, the x3270 pop-up keypad and printer
    sessions (they're always enabled now).
  * [x3270, wc3270] Added an overlayPaste toggle. When set, pasting over a
    protected field will simply increment the cursor position instead of
    locking the keyboard. This allows forms to be copied and pasted with the
    protected fields included. Setting this toggle also implicitly sets the
    marginedPaste toggle.
  * [x3270] Changed the selection logic so that a rectangular selection
    (the default for 3270 mode) never ends with a newline character.
- Refresh patches:
  * mknod.patch
  * pr3270-memleak.patch
  * usr_local_bin.patch
- Add new patch to fix missing include:
  * x3270-missing-include.patch
- Add new patch to fix missed file from tarball, taken from older version:
  * x3270-missing-file.patch
- Only BuildRequire the needed packages, not legacy 
  metapackage xorg-x11-devel.
- Update to 3.3.14
  * [x3270, wc3270] Improved paste behavior. Patch courtesy of 
    Máximo Castañeda.
  * [all] Added append and replace keywords to the PrintText 
    action to control how existing files are handled.
  * [all] Made Wait(Output) work in NVT mode.
  * [x3270] Fixed security holes in the Print Window Bitmap menu 
    item and the PrintWindow action.
  * [wc3270] Fixed multiple GDI printing problems: captions 
    mis-centered, page overflow with multiple screens per page, 
    "save screens to printer" not working at all.
- Version bump to 3.3.14 and update x026 to 1.2:
  * For full change list read:
    http://x3270.bgp.nu/documentation-relnotes.html
- Remove suse readme which is totally pointless
- Clean spec with spec-cleaner
- Remove unused patch gcc4.diff
- Removed %attr stanza from %files section as it was causing rpmlint
  failure, and is not neccessary
- Added fdupes to BuildRequires and to %install section to clear rpmlint
  warning about duplicate files 
- Renamed README.SuSE to README.SUSE to comply with file name
  policy (bnc#888998)
- Fix building with new rpm and just use the macros availiable in
  place of current hardcoded stuff. Passing of arguments to cp in
  %doc macro seem not to be possible anymore.
- New upstream release, fixes SSL verification problems (bnc#807424)
  - Changes in version 3.3.12ga13, 2. May 2013
    - [c3270, wc3270] Fixed a start-up crash when the tracing is
      enabled and the menu bar is disasbled.
    - [all] Added support for the LF (X'25') format control order.
    - [all] Fixed a number of buffer overflow crashes.
  - Changes in version 3.3.12ga12, 20. March 2013
    - [All] Added logic to verify the name in the host certificate.
    - [All] Pass all SSL-related parameters to the pr3287 session.
    - [x3270] On the *Connect* menu, made the recent host list a
      pull-right sub-menu, if there is an ibm_hosts file in use.
    - [x3270] The *-trace* option now implies event tracing as well.
    - [x3270] Spaces are now allowed in the file transfer dialog
      local file name.
    - [all] Corrected issues when invalid Unicode characters are
      encountered during a file transfer.
    - [x3270, wc3270] Corrected a crash when tracing without a file,
      when the monitor window was closed.
    - [ws3270] Corrected the behavior of stdin processing, so ws3270
      is not blocked trying to read stdin most of the time. Also
      fixed an issue where the scripting prompt would start with *E*
      when the keyboard was in inhibit mode.
    - [wc3270] Removed a duplicated rule in Msc/Makefile.
    - [all] Changed the CGCSGID for cp930 (Japanese) 0x080b012c
      (2059, 300) to 0x0172012c (370, 300).
    - [wc3270, c3270] Corrected the behavior of the Menu option in
      the Session Wizard and the *menuBar* resource, neither of
      which worked correctly.
- Added BuildRequires: bdftopcf for bnc#809972
- New upstream release, fixes SSL problems
  - Changes in version 3.3.12ga11, 23. July 2012
    * [all] Corrected a problem with not sending the TELNET TERMINAL TYPE when the TELNET NEW ENVIRONMENT option had been negotiated.
    * [x3270, c3270] Corrected issues with manual page warnings.
  - Changes in version 3.3.12ga10, 8. July 2012
    * [all] Turned off SSL host cerfication and Added a verifyHostCert resource and -verifycert option to enable it.
    * [wc3270] Improved behavior when SSL negotiation fails.
    * [x3270, c3270, wc3270] Changed the 'secure' icon to green when SSL/TLS is active and the host is verified, and yellow when SSL/TLS is active but the host is unverified.
    * [c3270] Added a defaultFgBg resource and -defaultfgbg option to use the terminal's default foreground and background colors in place of the curses colors white and black respectively -- if the ncurses library, terminal and termcap/terminfo entry support default color. It is automatically set for gnome-terminal.
  - Changes in version 3.3.12beta9, 13. February 2012
    * [all] Added a selfSignedOk resource to allow SSL authentication with hosts that use self-signed certificates.
- prepare spec file for dropping SuSEconfig.fonts (openFATE#313536)
- add autoconf as buildrequire to avoid implicit dependency
- remove call to suse_update_config
- Update to version 3.3.12ga7
  - lots of bug fixes
  - for a complete list, see http://x3270.bgp.nu/documentation-relnotes.html
- remove unneeded patches 
  - tcl8.4.patch
  - gcc-322.diff 
- use combined tar ball from upstream
- enable SSL feature
- remove support for pre-9.1
- refresh patches with fuzz=0
- Fixed build for Tcl 8.5.
- added ncurses-devel to buildreq 
- add run_suseconfig_fonts to %post and %postun
- fixing wrong permissions of man pages
- move fonts, binaries, man-pages to the new paths used by
  X11R7 (fixes build in STABLE).
- use RPM_OPT_FLAGS
- fix directory permissions 
- converted neededforbuild to BuildRequires
- fixed patch to apply 
- update sources to version 3.3.4 
- fix compilation
- Do not call mkfontsdir to avoid dependency problems (#40318).
- Fix memleak in pr3270 (#39528).
- Update to 3.3.2p1.
- fix to build as user
- updated neededforbuild
- Fixed ppc64 build problems.
- Fixed gcc-3.3 compilation warnings.
- Added freetype2 to prerequisites.
- Fix filelist
- Remove unwanted files from BuildRoot.
- updated to 3.2.20 bug fix only drop which incoroprates all
  the patches we had on top of 3.2.19
- added patch x3270-3.2.19.x86_64.diff to prevent segfaulting
  on x86_64
- removed bogus self-provides again (3rd time) 
- during installation with YaST, mkfontdir will be called by yast
  automatically.  thus added test to %-post* scripts to not
  run mkfontdir in case the package is installed from withing YaST.
  (#20127)
- drop use of chroot and relative paths in %post/%postun (#20011)
  and replace xf86 in PreReq by name of mkfontdir binary
- fix date in README.SuSE
- built tcl3270 without tclx 
- add pacthes for known bugs
  * R1: x3270 Not Recognizing crosshair Resource
  * R2: c3270 Goes Into Tight Loop on End-of-File
  * R3: Screen Resizing Broken (this one hit us)
  * R4: Keymap Saved as 'base'
- Add xf86 again
- fix neededforbuld and PreRequires
- Fixed tcl3270-3.2/configure.in for tcl8.4
- updated to current release 3.2.19
- added the state of the art IBM 026 keypunch emulator :)
- added most recent bugfixes from x3270 site
- switched to the new simpler all-in-one-tarball
- upgraded to current release 3.2.18 + current bugfixes
- there is no /usr/etc allowed in fhs 2.2
- added current patches from x3270 site:
  * fixed cut&paste if  selection is spanning several lines
  * keymap fix (C-u and C-w definitions had been hidden)
- use mode 644 for config file /usr/etc/x3270/ibm_hosts
- make ibm_hosts file noreplace(file format was not updated, old can be used)
- patched /usr/local/bin to /usr/bin in a new expect script below
  s3270/Examples/* and checked that no /usr/local are left :)
- patched away /usr/local/bin in a new shell script below
  x3270/Examples/*
- upgraded to current release 3.2.17 + current bugfixes
- use 'size_t' consistently instead of 'unsigned' to make pr3278 build
  on axp (use-size_t.diff)
- upgraded to current version 3.2.16
- added c3270, tcl3270, s3270 and made them coexist with each other
  (common config file, shared helpers)
- upgraded to current version 3.2.14
- adopted to current FHS
- introduced BuildRoot to clean up %files-section
- fixed calling of mkfontdir(needs chroot if no xshared in instsys) in
  %postun as well
- fixed calling of mkfontdir(needs chroot if no xshared in instsys) in
  %postin
- fixed path for mkfontdir 
- updated to new (alpha) version 3.2, some changes to spec file
  - pre- and postinstall scripts to rebuild fonts.dir
- ran old prepare_spec on spec file to switch to new prepare_spec.
- remove .orig with -f
- dont redeclare sys_errlist for glibc
- Check exit status of mknod in peer_script.(ba)sh
- changes /usr/local/bin/expect to /usr/bin/expect
  and /bin/ksh to /usr/bin/ksh 
---
- ready for autobuild
---
- removed usr/X11R6/lib/X11/fonts/misc/fonts.dir
-----------
Added the x3270 app-defaults file.
-----------
A new version 3.1.1.6
x3270 is an IBM 3278/3279 terminal emulator for X windows.

OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=70
2024-09-09 09:07:02 +00:00
Nikolay Gueorguiev
9bb3dc7f4d Accepting request 1198301 from home:ngueorguiev:branches:Base:System
- Upgrade x3270 to version 4.3.ga9 ( bsc#1230046(CVE-2024-45490), 
                                     bsc#1230047(CVE-2024-45491), 
                                     bsc#1230048(CVE-2024-45492) )
- Release Notes/suite3270/4.3ga9
  * https://x3270.miraheze.org/wiki/Release_Notes/suite3270/4.3ga9

OBS-URL: https://build.opensuse.org/request/show/1198301
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=69
2024-09-02 13:20:57 +00:00
Ana Guerrero
6514441658 Accepting request 1151325 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1151325
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=49
2024-02-26 18:46:59 +00:00
Nikolay Gueorguiev
341e593b0a Accepting request 1151266 from home:dimstar:rpm4.20:x
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1151266
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=67
2024-02-26 12:20:03 +00:00
Ana Guerrero
09f57a6f40 Accepting request 1118566 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1118566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=48
2023-10-18 19:26:21 +00:00
Nikolay Gueorguiev
0f0810edce Accepting request 1118565 from home:ngueorguiev:branches:Base:System
- Upgrade to version 4.3ga4 (jsc#PED-3355)
  * Added support for minimum and maximum TLS protocol versions, via the tlsMinProtocol resource, 
    tlsMaxProtocol resource, -tlsminprotocol command-line option and -tlsmaxprotocol command-line option.
  * Added support for miscellaneous IND$FILE options via the otherOptions keyword of the Transfer() action, 
    the ftOtherOptions resource, and extensions to the x3270 file transfer dialog and the c3270 interactive 
    Transfer() action.
  * Extended the cancel keyword of the Transfer() action so it will interrupt the initial wait for an 
    acknowledgement from the host IND$FILE command.
  * The Transfer() action now returns a summary on success or a meaningful error message on failure.
  * Added the Echo() action.
  * Added support for the NEW-ENVRONMENT variables needed by the IBM Express Logon Feature. (Feature request)
- Bug fixes
  * When a font is specified in the wc3270 Session Wizard, it is now actually updated in the desktop shortcut.
  * Multiple invocations of the Script() or Prompt() actions no longer lead to environment corruption.
  * When command-line options are given to the Transfer() action at the c3270> prompt, the host session is 
    now resumed so the progress of the transfer can be monitored.
  * Several missing actions were added to c3270 help.
- Upgrade to version 4.3ga (jsc#PED-3355)
  * Improvements
  * 4.3beta2
  - Builds now work on MSYS2 MinGW.
  - The ibm_hosts file is now case-insensitive. (Request from Drew Derbyshire)
  - The underscoreBlankFill resource can now be set to false to prevent trailing 
  underscore characters in a field from being treated like blanks when inserting 
  in blank fill mode.
  - Changed the keymap for Alt-q in x3270, c3270 and wc3270 to exit the emulator 
  unconditionally, using Quit(-force).
  * 4.3alpha1
  - The x3270 Color scheme menu option has been renamed 3279 color scheme, since 
  it only applies to 3279 mode. The green-screen color scheme option has been removed, 
  though the resource behind it (x3270.colorScheme.GreenScreen) remains. 
  The default 3279 color scheme now has a grey10 background to make it easier to see 
  with minimal window frames.
  - The confDir resource, where the ibm_hosts file is found, can now be displayed by the 
  Set() action.
  - Added Alt-e to the default wc3270 keymap and Ctrl-a, f to the c3270 default keymap for 
  the EraseEOF() action. This is needed because Windows no longer passes the END key to 
  console applications.
  - Added the ability to save printer output to a file in a particular directory, 
  either by specifying the directory path as the printer name (on Windows) or 
  by specifying the new prtodir command as the printing command (on POSIX).
  - Added support for growing or shrinking the x3270 emulator font using Ctrl-+ and Ctrl--.
  - Added the IBM 3270 fonts from Ricardo Bánffy to the wc3270 installation and added the 
  ability to specify fonts in the wc3270 Session Wizard.
  - Changed the default behavior of the terminal type reported in TN3270 mode for 
  3279 models 4 and 5. Previous versions reported these as IBM-3279-4-E and 
  IBM-3279-5-E respectively; now they are reported as IBM-3278-4-E and 
  IBM-3278-5-E because the other names are often not recognized by hosts. 
  To restore the previous behavior, set the wrongTerminalName resource to true. 
  (Note that the model resource still refers to these models as 3279-4-E and 3279-5-E; 
  this only changes what is reported to the host.)
  - Changed the default library for TLS on macOS to OpenSSL.
  - Added a summary of warnings to the end of the output from the ./configure script.
  - Added a Python-based test target (documentation coming soon).
  - Added a BUILDCC variable to the ./configure script, to facilitate cross-compilation. 
  (Original suggested patch by Thorsten Otto.)
  - The code can now be built on POSIX without the <langinfo.h> header file or the 
  nl_langinfo() library function being present. It will guess the codeset (encoding) 
  from the LC_CTYPE or LANG environment variable if present, or default to ASCII if 
  neither is present or the value is not defined as locale.encoding. 
  (Original suggested patch by Thorsten Otto.)
  * Bug fixes
  * 4.3ga3
  - When there is an error making a connection in s3270, the error message is 
  no longer output on two lines. (Bug report)
  * 4.3beta2
  - When using a printer session and TLS, the printer session no longer 
  fails with a host certificate validation error.
  - When inserting in blank fill mode, trailing underscores are no longer consumed, 
  unless they are at the end of the field. (Bug report) 
- Upgrade to version 4.2ga10 (jsc#PED-3355)
- Bug fixes
  * 4.2ga10
    - TN3270E NVT mode now works properly.
    - TN3270E SSCP-LU mode now works even if BIND-IMAGE has not been 
      negotiated by the host.
    - When TN3270E is turned off and back on within a session, 
      x3270 now renegotiates functions properly.
  * 4.2ga9
    - x3270 mouse selections are much more predictable. 
    - Double- and triple-clicks no longer move the cursor.
    - x3270 no longer crashes when it is reconfigured 
      (model, font, etc.) while the floating pop-up keypad is visible.
    - The security indicator in x3270 no longer disappears when it is 
      indicating unverified state and the window is reconfigured.
    - The ./configure option to give an alternate location for the 
      OpenSSL library (--with-openssl=) works correctly again.
  * 4.2ga8
    - When pasting in NVT mode and the text wraps to the next line, 
      the cursor no longer ends up in the wrong location.
    - The x3270a script no longer causes a spurious Invalid (empty) 
      hostname error pop-up when the display's DPI is other than 96.
  * 4.2ga7
    - The wc3270 Session Wizard no longer exits silently when 
      it encounters an error.
    - x3270 will no longer change fonts unnecessarily when the 
      host code page is changed. (bug report)
    - The background color is now propagated correctly by the RA order.
    - In a resource file, a resource value can now end with a 
      properly-quoted backslash, without the backslash being interpreted 
      as a line continuation.
    - The Transfer() action, when invoked from within a file read by the 
      Source() action, now blocks properly -- it returns once the 
      file transfer is complete.
    - If the Source() action is aborted, it will no longer leave the 
      keyboard locked.
    - Typeahead is now processed correctly when the host has 
      negotiated TN3270E Contention Resolution and the unlockDelay 
      resource is set to false. 
- x3270 4.2ga6:
  * many improvements, bug fixes and feature extensions
  * pr3287 now supports -tracefile
  * pr3287 can now try more than one address for a host
  * hostname lookups can now be limited to IPv4/IPv6
- Update to current stable release 4.1 ga13:
  * Added a macros menu to c3270 and wc3270.
  * Corrected support for the macros resource without a qualifying host name.
  * The entire list of command-line options is now displayed only
    with the --help command-line option, not for every unknown option.
  * Changed the default for unlockDelay in all emulators from
    true to false. This is a very significant change.
  * When input from the String() action overflows a field,
    the cursor now lands in the correct location.
  * When a host has multiple addresses, the emulators (except pr3287)
    will now reliably try up to four of them.
  * Errors from the OpenSSL library are now displayed correctly.
  * When a connection fails to a TLS-tunnel host (one specified with
    the L: prefix), the correct error message is now displayed.
  * Fixed a c3270 crash when a connection is opened from a remote
    source (HTTP server or script port) while at the c3270> prompt.
  * Fixed a c3270 crash when the -secure and -trace command-line
    options are used together.
  * A key typed into a full field in insert mode no longer overwrites
    the character under the cursor.
- Drop upstream resolved patches:
  * x3270-missing-file.patch
  * x3270-missing-include.patch
- Use https for URL and Source
- Update to ga14 of 4.0 series:
  * The scripting infrastructure has been rewritten and renamed to
    task engine. 
    * No artificial dependencies between actions initiated by
     different sources.
    * Accidental blocking behavior has been eliminated.
    * Unrelated operations are now properly concurrent
  * A new emulator has been created, b3270, as a common back-end
    process that handles the 3270 protocol and host interactions,
    using a simple XML-based protocol.
  * The c3270 prompt has been generalized and is available to all
    of the 3270 emulators as the x3270 prompt.
    * The prompt now uses color to distinguish error messages.
  * APL keyboard operation on x3270 has changed, fixed APL keymap
    was removed in favor of key combination Shift-Escape toggling
    a new APL mode
  * Many other bug fixes and features
- Removed x3270-handle-missing-font.patch, mkversion.patch, and
  reproducible.patch, merged upstream.
- Expat added as its BuildRequires
- Added x3270-handle-missing-font.patch (bsc#1177104)
  In some cases when fonts are present locally but are not present
  in the fontpath, x3270 can crash due to a segfault caused by
  XLoadQueryFont() returning NULL in lff_single().
- Add reproducible.patch to override build date (boo#1047218)
- x3270 3.r6ga12:
  * Potentially incompatible changes:
    + Removed explicit support for self-signed host certificates.
    + To allow self-signed certificates, disable verification.
    + Switched to verifying host certficates by default. This can
      be disabled by using the -noverifycert opton or by setting
      the verifyHostCert resource to false.
  * Many bug fixes and minor feature additions
- drop reproducible.patch, x3270-fix-build.patch, upstreamed
- x3270-fix-build.patch: fixed a bug triggered by LTO, commented
  out incompat definition.
- Add mkversion.patch to have fixed timestamps (boo#1047218)
- Add reproducible.patch to not add timestamps in .gz header
- Update to ga9 of 3.5 series:
  * [x3270] Fixed the toggle names saved with the File->Save
    Changed Options menu option and when processing the
    WM_SAVE_YOURSELF message.
  * [x3270] Explicitly test for X11, Xt, Xmu and Xaw header files
    and libraries in the configure script.
  * [x3270] Put the dryrun script in the object directory.
  * [wc3270] Allow Windows VKey codes to be specified in wc3270
    keymaps in hexadecimal with the syntax VKEY-0xnn. This allows
    unknown VKeys to be specified. The same syntax is used in
    traces.
  * [x3270] Fixed an issue where parameters beyond the second were
    ignored in many keymap actions.
  * [all] Fixed an issue with the Abort action called from scripts.
  * [all Windows] Always find root_certs.txt in the same directory
    as the executable, if not installed.
  * [all] Validate the parameters to the Transfer() action better.
  * [pr3287] Fix the configure script so it properly detects
    missing OpenSSL header files, even if the OpenSSL library is
    present.
  * [all] Limit DFT buffer size to 32767. 32768 causes the host to
    send 0-byte buffers.
  * [x3270] Dropped support for xmkmf and imake. x3270 builds and
    installs only using autoconf paths now.
  * see http://x3270.bgp.nu/documentation-relnotes.html for more
    detailed list of changes
- Drop no longer needed pr3270-memleak.patch
- Cleanup spec file with spec-cleaner
- Make sure that optflags are used in building
- added desktop file
- split up font reconfigure macro into the pieces so we can add the
  desktop file macros too
- Version update to ga10 of 3.4 series:
  * [x3270] Fixed a crash in the Configure Idle Command pop-up.
  * [x3270] Fixed an issue with overwriting local files in file transfers.
  * [s3270] Fixed an x3270if build problem when libiconv is needed.
  * [all] Fixed a problem with truncating the list of LUs when connecting to a
    host.
  * [all] Fixed a crash when too many parameters are passed to an action in a macro
    or script.
  * [c3270, wc3270] Fixed binary file transfer bug.
  * [x3270] Fixed missing 'Not Connected' message when disconnecting from a host.
  * [all] Fixed trace display of incoming IPv6 connections and the parsing of the
    x3270 -scriptport option.
  * [tcl3270] Added tcl3270 support for Tcl 8.6.
  * [all] Renamed $INSTALL variable in the top-level configure script (bugs:15).
- Version bump to 3.4:
  * Recreated tarball and build approach so adapt our system
  * Fixed a number of warnings found by the MacOS C compiler, which turned out
    to be real issues.
  * [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
    like Ascii and Ebcdic.
  * [all] Fixed an NVT-mode emulation problem.
  * [all] Fixed a synchronization issue with scripts and file transfers.
  * [c3270, wc3270] Fixed a crash when the Transfer action was called from a
    script.
  * [x3270] Fixed a crash when visible control characters are turned on in
    3278 mode.
  * [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
  * [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
    to get rid of compiler warnings with newer versions of glibc (bugs:#12).
  * [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
  * [c3270, wc3270] Made the help for file-transfer reflect the current
    defaults. Added help for Keymap.
  * [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
    of the console window correctly.
  * [pr3287, wpr3287] Fixed a problem with printer session start-up when both
    a specific printer LU and an SSL tunnel (L:) are specified.
  * [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
    The semantics are the same as the x3270 action of the same name.
  * [all] Made the parameter to ResumeScript optional, and relaxed the
    restrictions on when PauseScript can be used, so it can now be used from
    macros and command files read with the Source action.
  * [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
    file transfer dialog.
  * [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.
  * [x3270] Fixed an issue where the terminal type would not be reported to the
    host as IBM-DYNAMIC if the screen was put into oversize mode via a menu
    selection (it was correct if oversize came from a resource). Also made sure
    that the 'About->Configuration' display of the terminal type is always
    correct.
  * [all] Added resources to define the default values for each of the IND$FILE
    file transfer parameters. The resources have the same names as the Transfer
    action keywords, with ft prepended. E.g., the Mode default is controlled by
    the ftMode resource. For consistency, deprecated dftBufferSize and
    ftCodePage in favor of ftBufferSize and ftWindowsCodePage (the old
    resources are still available).
  * [all] Added missing functionality to specify the size for avblock TSO file
    allocations in IND$FILE file transfers.
  * [x3270] Added an aplCircledAlpha resource to allow x3270 to properly
    display APL underscored uppercase letters with the APL385 font, by
    translating them to the (nonstandard) Unicode circled-alphabetic range
    U+24B6 to U+25CF.
  * [x3270, c3270, wc3270] Overhauled visible control characters so that field
    attributes are completely decoded. Field attributes are now in underlined
    yellow in x3270. Added visible control character support to c3270 (also
    underlined yellow) and wc3270 (reverse-video yellow), with a menu option.
  * [all] Overhauled the build structure. Now there are libraries for common
    functions.
  * [wc3270] Mapped Alt-left-click onto a lightpen select operation. Added a
    lightPenPrimary resource to switch this, so that an unmodified left-click
    is a lightpen select and Alt-left-click is a cursor move or copy/paste
    highlight.
  * [all] Added a B: prefix option to hostnames to disable the automatic
    keyboard unlock when a BIND-IMAGE is received.
  * [all] Added an -nvt option and an nvtMode resource to force NVT mode as
    soon as a session is connected. This overrides the usual behavior of
    locking the keyboard and waiting for the host to send NVT-mode data or
    negotiate 3270 mode before unlocking. This option also changes the default
    terminal type to xterm.
  * [c3270] Added a mapping from the Escape key to the Escape() action
    (breaking to the c3270> prompt).
  * [x3270] Added a maxRecent resource to control the maximum size of the
    recent host list in the Connect menu.
  * [all] Allow the -scriptport option to specify an address to listen on.
  * [all] Added webserver support. The -httpd option starts a webserver
    listening on the specified port. The webserver supports a REST API and
    some basic HTML objects.
  * [all] Removed configurability of tracing, NVT mode, TN3270E support,
    scripting, menus file transfer, the x3270 pop-up keypad and printer
    sessions (they're always enabled now).
  * [x3270, wc3270] Added an overlayPaste toggle. When set, pasting over a
    protected field will simply increment the cursor position instead of
    locking the keyboard. This allows forms to be copied and pasted with the
    protected fields included. Setting this toggle also implicitly sets the
    marginedPaste toggle.
  * [x3270] Changed the selection logic so that a rectangular selection
    (the default for 3270 mode) never ends with a newline character.
- Refresh patches:
  * mknod.patch
  * pr3270-memleak.patch
  * usr_local_bin.patch
- Add new patch to fix missing include:
  * x3270-missing-include.patch
- Add new patch to fix missed file from tarball, taken from older version:
  * x3270-missing-file.patch
- Only BuildRequire the needed packages, not legacy 
  metapackage xorg-x11-devel.
- Update to 3.3.14
  * [x3270, wc3270] Improved paste behavior. Patch courtesy of 
    Máximo Castañeda.
  * [all] Added append and replace keywords to the PrintText 
    action to control how existing files are handled.
  * [all] Made Wait(Output) work in NVT mode.
  * [x3270] Fixed security holes in the Print Window Bitmap menu 
    item and the PrintWindow action.
  * [wc3270] Fixed multiple GDI printing problems: captions 
    mis-centered, page overflow with multiple screens per page, 
    "save screens to printer" not working at all.
- Version bump to 3.3.14 and update x026 to 1.2:
  * For full change list read:
    http://x3270.bgp.nu/documentation-relnotes.html
- Remove suse readme which is totally pointless
- Clean spec with spec-cleaner
- Remove unused patch gcc4.diff
- Removed %attr stanza from %files section as it was causing rpmlint
  failure, and is not neccessary
- Added fdupes to BuildRequires and to %install section to clear rpmlint
  warning about duplicate files 
- Renamed README.SuSE to README.SUSE to comply with file name
  policy (bnc#888998)
- Fix building with new rpm and just use the macros availiable in
  place of current hardcoded stuff. Passing of arguments to cp in
  %doc macro seem not to be possible anymore.
- New upstream release, fixes SSL verification problems (bnc#807424)
  - Changes in version 3.3.12ga13, 2. May 2013
    - [c3270, wc3270] Fixed a start-up crash when the tracing is
      enabled and the menu bar is disasbled.
    - [all] Added support for the LF (X'25') format control order.
    - [all] Fixed a number of buffer overflow crashes.
  - Changes in version 3.3.12ga12, 20. March 2013
    - [All] Added logic to verify the name in the host certificate.
    - [All] Pass all SSL-related parameters to the pr3287 session.
    - [x3270] On the *Connect* menu, made the recent host list a
      pull-right sub-menu, if there is an ibm_hosts file in use.
    - [x3270] The *-trace* option now implies event tracing as well.
    - [x3270] Spaces are now allowed in the file transfer dialog
      local file name.
    - [all] Corrected issues when invalid Unicode characters are
      encountered during a file transfer.
    - [x3270, wc3270] Corrected a crash when tracing without a file,
      when the monitor window was closed.
    - [ws3270] Corrected the behavior of stdin processing, so ws3270
      is not blocked trying to read stdin most of the time. Also
      fixed an issue where the scripting prompt would start with *E*
      when the keyboard was in inhibit mode.
    - [wc3270] Removed a duplicated rule in Msc/Makefile.
    - [all] Changed the CGCSGID for cp930 (Japanese) 0x080b012c
      (2059, 300) to 0x0172012c (370, 300).
    - [wc3270, c3270] Corrected the behavior of the Menu option in
      the Session Wizard and the *menuBar* resource, neither of
      which worked correctly.
- Added BuildRequires: bdftopcf for bnc#809972
- New upstream release, fixes SSL problems
  - Changes in version 3.3.12ga11, 23. July 2012
    * [all] Corrected a problem with not sending the TELNET TERMINAL TYPE when the TELNET NEW ENVIRONMENT option had been negotiated.
    * [x3270, c3270] Corrected issues with manual page warnings.
  - Changes in version 3.3.12ga10, 8. July 2012
    * [all] Turned off SSL host cerfication and Added a verifyHostCert resource and -verifycert option to enable it.
    * [wc3270] Improved behavior when SSL negotiation fails.
    * [x3270, c3270, wc3270] Changed the 'secure' icon to green when SSL/TLS is active and the host is verified, and yellow when SSL/TLS is active but the host is unverified.
    * [c3270] Added a defaultFgBg resource and -defaultfgbg option to use the terminal's default foreground and background colors in place of the curses colors white and black respectively -- if the ncurses library, terminal and termcap/terminfo entry support default color. It is automatically set for gnome-terminal.
  - Changes in version 3.3.12beta9, 13. February 2012
    * [all] Added a selfSignedOk resource to allow SSL authentication with hosts that use self-signed certificates.
- prepare spec file for dropping SuSEconfig.fonts (openFATE#313536)
- add autoconf as buildrequire to avoid implicit dependency
- remove call to suse_update_config
- Update to version 3.3.12ga7
  - lots of bug fixes
  - for a complete list, see http://x3270.bgp.nu/documentation-relnotes.html
- remove unneeded patches 
  - tcl8.4.patch
  - gcc-322.diff 
- use combined tar ball from upstream
- enable SSL feature
- remove support for pre-9.1
- refresh patches with fuzz=0
- Fixed build for Tcl 8.5.
- added ncurses-devel to buildreq 
- add run_suseconfig_fonts to %post and %postun
- fixing wrong permissions of man pages
- move fonts, binaries, man-pages to the new paths used by
  X11R7 (fixes build in STABLE).
- use RPM_OPT_FLAGS
- fix directory permissions 
- converted neededforbuild to BuildRequires
- fixed patch to apply 
- update sources to version 3.3.4 
- fix compilation
- Do not call mkfontsdir to avoid dependency problems (#40318).
- Fix memleak in pr3270 (#39528).
- Update to 3.3.2p1.
- fix to build as user
- updated neededforbuild
- Fixed ppc64 build problems.
- Fixed gcc-3.3 compilation warnings.
- Added freetype2 to prerequisites.
- Fix filelist
- Remove unwanted files from BuildRoot.
- updated to 3.2.20 bug fix only drop which incoroprates all
  the patches we had on top of 3.2.19
- added patch x3270-3.2.19.x86_64.diff to prevent segfaulting
  on x86_64
- removed bogus self-provides again (3rd time) 
- during installation with YaST, mkfontdir will be called by yast
  automatically.  thus added test to %-post* scripts to not
  run mkfontdir in case the package is installed from withing YaST.
  (#20127)
- drop use of chroot and relative paths in %post/%postun (#20011)
  and replace xf86 in PreReq by name of mkfontdir binary
- fix date in README.SuSE
- built tcl3270 without tclx 
- add pacthes for known bugs
  * R1: x3270 Not Recognizing crosshair Resource
  * R2: c3270 Goes Into Tight Loop on End-of-File
  * R3: Screen Resizing Broken (this one hit us)
  * R4: Keymap Saved as 'base'
- Add xf86 again
- fix neededforbuld and PreRequires
- Fixed tcl3270-3.2/configure.in for tcl8.4
- updated to current release 3.2.19
- added the state of the art IBM 026 keypunch emulator :)
- added most recent bugfixes from x3270 site
- switched to the new simpler all-in-one-tarball
- upgraded to current release 3.2.18 + current bugfixes
- there is no /usr/etc allowed in fhs 2.2
- added current patches from x3270 site:
  * fixed cut&paste if  selection is spanning several lines
  * keymap fix (C-u and C-w definitions had been hidden)
- use mode 644 for config file /usr/etc/x3270/ibm_hosts
- make ibm_hosts file noreplace(file format was not updated, old can be used)
- patched /usr/local/bin to /usr/bin in a new expect script below
  s3270/Examples/* and checked that no /usr/local are left :)
- patched away /usr/local/bin in a new shell script below
  x3270/Examples/*
- upgraded to current release 3.2.17 + current bugfixes
- use 'size_t' consistently instead of 'unsigned' to make pr3278 build
  on axp (use-size_t.diff)
- upgraded to current version 3.2.16
- added c3270, tcl3270, s3270 and made them coexist with each other
  (common config file, shared helpers)
- upgraded to current version 3.2.14
- adopted to current FHS
- introduced BuildRoot to clean up %files-section
- fixed calling of mkfontdir(needs chroot if no xshared in instsys) in
  %postun as well
- fixed calling of mkfontdir(needs chroot if no xshared in instsys) in
  %postin
- fixed path for mkfontdir 
- updated to new (alpha) version 3.2, some changes to spec file
  - pre- and postinstall scripts to rebuild fonts.dir
- ran old prepare_spec on spec file to switch to new prepare_spec.
- remove .orig with -f
- dont redeclare sys_errlist for glibc
- Check exit status of mknod in peer_script.(ba)sh
- changes /usr/local/bin/expect to /usr/bin/expect
  and /bin/ksh to /usr/bin/ksh 
---
- ready for autobuild
---
- removed usr/X11R6/lib/X11/fonts/misc/fonts.dir
-----------
Added the x3270 app-defaults file.
-----------
A new version 3.1.1.6
x3270 is an IBM 3278/3279 terminal emulator for X windows.

OBS-URL: https://build.opensuse.org/request/show/1118565
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=65
2023-10-18 11:16:11 +00:00
Ana Guerrero
c565f64b41 Accepting request 1110815 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1110815
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=47
2023-09-13 18:45:26 +00:00
Nikolay Gueorguiev
cc34eac212 Accepting request 1110814 from home:ngueorguiev:branches:Base:System
- Upgrade to version 4.3ga (jsc#PED-3355)
* Improvements
* 4.3beta2
  - Builds now work on MSYS2 MinGW.
  - The ibm_hosts file is now case-insensitive. (Request from Drew Derbyshire)
  - The underscoreBlankFill resource can now be set to false to prevent trailing 
  underscore characters in a field from being treated like blanks when inserting 
  in blank fill mode.
  - Changed the keymap for Alt-q in x3270, c3270 and wc3270 to exit the emulator 
  unconditionally, using Quit(-force).
* 4.3alpha1
  - The x3270 Color scheme menu option has been renamed 3279 color scheme, since 
  it only applies to 3279 mode. The green-screen color scheme option has been removed, 
  though the resource behind it (x3270.colorScheme.GreenScreen) remains. 
  The default 3279 color scheme now has a grey10 background to make it easier to see 
  with minimal window frames.
  - The confDir resource, where the ibm_hosts file is found, can now be displayed by the 
  Set() action.
  - Added Alt-e to the default wc3270 keymap and Ctrl-a, f to the c3270 default keymap for 
  the EraseEOF() action. This is needed because Windows no longer passes the END key to 
  console applications.
  - Added the ability to save printer output to a file in a particular directory, 
  either by specifying the directory path as the printer name (on Windows) or 
  by specifying the new prtodir command as the printing command (on POSIX).
  - Added support for growing or shrinking the x3270 emulator font using Ctrl-+ and Ctrl--.
  - Added the IBM 3270 fonts from Ricardo Bánffy to the wc3270 installation and added the 
  ability to specify fonts in the wc3270 Session Wizard.
  - Changed the default behavior of the terminal type reported in TN3270 mode for 
  3279 models 4 and 5. Previous versions reported these as IBM-3279-4-E and 
  IBM-3279-5-E respectively; now they are reported as IBM-3278-4-E and 
  IBM-3278-5-E because the other names are often not recognized by hosts. 
  To restore the previous behavior, set the wrongTerminalName resource to true. 
  (Note that the model resource still refers to these models as 3279-4-E and 3279-5-E; 
  this only changes what is reported to the host.)
  - Changed the default library for TLS on macOS to OpenSSL.
  - Added a summary of warnings to the end of the output from the ./configure script.
  - Added a Python-based test target (documentation coming soon).
  - Added a BUILDCC variable to the ./configure script, to facilitate cross-compilation. 
  (Original suggested patch by Thorsten Otto.)
  - The code can now be built on POSIX without the <langinfo.h> header file or the 
  nl_langinfo() library function being present. It will guess the codeset (encoding) 
  from the LC_CTYPE or LANG environment variable if present, or default to ASCII if 
  neither is present or the value is not defined as locale.encoding. 
  (Original suggested patch by Thorsten Otto.)
* Bug fixes
* 4.3ga3
  - When there is an error making a connection in s3270, the error message is 
  no longer output on two lines. (Bug report)
* 4.3beta2
  - When using a printer session and TLS, the printer session no longer 
  fails with a host certificate validation error.
  - When inserting in blank fill mode, trailing underscores are no longer consumed, 
  unless they are at the end of the field. (Bug report)

OBS-URL: https://build.opensuse.org/request/show/1110814
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=63
2023-09-13 06:50:04 +00:00
Dominique Leuenberger
e0c03e3f53 Accepting request 1090018 from Base:System
Upgrade to version 4.2ga10 (jsc#PED-3355)

OBS-URL: https://build.opensuse.org/request/show/1090018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=46
2023-05-31 19:55:14 +00:00
Nikolay Gueorguiev
010624f98d Accepting request 1090007 from home:ngueorguiev:branches:Base:System
- Upgrade to version 4.2ga10 (jsc#PED-3355)
- Bug fixes
  * 4.2ga10
    - TN3270E NVT mode now works properly.
    - TN3270E SSCP-LU mode now works even if BIND-IMAGE has not been 
      negotiated by the host.
    - When TN3270E is turned off and back on within a session, 
      x3270 now renegotiates functions properly.
  * 4.2ga9
    - x3270 mouse selections are much more predictable. 
    - Double- and triple-clicks no longer move the cursor.
    - x3270 no longer crashes when it is reconfigured 
      (model, font, etc.) while the floating pop-up keypad is visible.
    - The security indicator in x3270 no longer disappears when it is 
      indicating unverified state and the window is reconfigured.
    - The ./configure option to give an alternate location for the 
      OpenSSL library (--with-openssl=) works correctly again.
  * 4.2ga8
    - When pasting in NVT mode and the text wraps to the next line, 
      the cursor no longer ends up in the wrong location.
    - The x3270a script no longer causes a spurious Invalid (empty) 
      hostname error pop-up when the display's DPI is other than 96.
  * 4.2ga7
    - The wc3270 Session Wizard no longer exits silently when 
      it encounters an error.
    - x3270 will no longer change fonts unnecessarily when the 
      host code page is changed. (bug report)
    - The background color is now propagated correctly by the RA order.
    - In a resource file, a resource value can now end with a 
      properly-quoted backslash, without the backslash being interpreted 
      as a line continuation.
    - The Transfer() action, when invoked from within a file read by the 
      Source() action, now blocks properly -- it returns once the 
      file transfer is complete.
    - If the Source() action is aborted, it will no longer leave the 
      keyboard locked.
    - Typeahead is now processed correctly when the host has 
      negotiated TN3270E Contention Resolution and the unlockDelay 
      resource is set to false.

OBS-URL: https://build.opensuse.org/request/show/1090007
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=61
2023-05-31 12:14:57 +00:00
Dominique Leuenberger
1966072f77 Accepting request 1029605 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1029605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=45
2022-10-18 10:45:21 +00:00
Mark Post
edd97ee30e Accepting request 1009172 from home:AndreasStieger:branches:Base:System
x3270 4.2ga6

OBS-URL: https://build.opensuse.org/request/show/1009172
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=59
2022-10-17 19:27:50 +00:00
Dominique Leuenberger
a7176aa1e0 Accepting request 975628 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/975628
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=44
2022-05-09 16:43:45 +00:00
Mark Post
e425c74340 Accepting request 974182 from home:susnux:branches:Base:System
Update to current stable release 4.1 ga13

OBS-URL: https://build.opensuse.org/request/show/974182
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=57
2022-05-04 19:53:18 +00:00
Dominique Leuenberger
2aa9a96139 Accepting request 905252 from Base:System
- Use https for URL and Source
- Update to ga14 of 4.0 series (forwarded request 897582 from susnux)

OBS-URL: https://build.opensuse.org/request/show/905252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=43
2021-07-10 20:54:28 +00:00
Dr. Werner Fink
2632340bd3 Accepting request 897582 from home:susnux:branches:Base:System
- Use https for URL and Source
- Update to ga14 of 4.0 series

OBS-URL: https://build.opensuse.org/request/show/897582
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=56
2021-07-09 11:52:45 +00:00
Dominique Leuenberger
b3b1225d69 Accepting request 871353 from Base:System
OBS-URL: https://build.opensuse.org/request/show/871353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=42
2021-02-15 22:15:58 +00:00
Mark Post
e199036ed3 Accepting request 871352 from home:markkp:branches:Base:System
- Added x3270-handle-missing-font.patch (bsc#1177104)
  In some cases when fonts are present locally but are not present
  in the fontpath, x3270 can crash due to a segfault caused by
  XLoadQueryFont() returning NULL in lff_single().

OBS-URL: https://build.opensuse.org/request/show/871352
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=54
2021-02-12 06:57:25 +00:00
Dominique Leuenberger
f0de1bd56e Accepting request 847546 from Base:System
OBS-URL: https://build.opensuse.org/request/show/847546
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=41
2020-11-11 19:46:22 +00:00
Mark Post
e11330ae68 Accepting request 847053 from home:bmwiedemann:branches:Base:System
Add reproducible.patch to override build date (boo#1047218)

note: There is also a 4.0ga12 upstream release that might include this patch

OBS-URL: https://build.opensuse.org/request/show/847053
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=52
2020-11-10 16:33:18 +00:00
Dominique Leuenberger
ad8f4c714c Accepting request 795515 from Base:System
OBS-URL: https://build.opensuse.org/request/show/795515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=40
2020-04-21 11:11:50 +00:00
d0f55ec8e4 Accepting request 794978 from home:AndreasStieger:branches:Base:System
x3270 3.r6ga12

OBS-URL: https://build.opensuse.org/request/show/794978
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=50
2020-04-19 12:55:28 +00:00
Dominique Leuenberger
903b2f239a Accepting request 728485 from Base:System
- x3270-fix-build.patch: fixed a bug triggered by LTO, commented
  out incompat definition.

OBS-URL: https://build.opensuse.org/request/show/728485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=39
2019-09-07 09:50:14 +00:00
34fa8511ba - x3270-fix-build.patch: fixed a bug triggered by LTO, commented
out incompat definition.

OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=48
2019-09-05 12:00:12 +00:00
95d7544c26 OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=47 2019-09-05 11:36:44 +00:00
Dominique Leuenberger
06d8a92fb4 Accepting request 627661 from Base:System
OBS-URL: https://build.opensuse.org/request/show/627661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=38
2018-08-07 07:43:09 +00:00
1db3184ca0 Accepting request 622825 from home:bmwiedemann:branches:Base:System
- Add mkversion.patch to have fixed timestamps (boo#1047218)
- Add reproducible.patch to not add timestamps in .gz header
 https://sourceforge.net/p/x3270/code/merge-requests/1/ gzip -n   also via git send-email
 https://sourceforge.net/p/x3270/code/merge-requests/2/ date=>SDE

OBS-URL: https://build.opensuse.org/request/show/622825
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=45
2018-08-06 12:05:25 +00:00
Dominique Leuenberger
b6393ac68f Accepting request 448450 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/448450
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=37
2017-01-09 10:54:29 +00:00
54c3e9240b Accepting request 447968 from home:pluskalm:branches:Base:System
- Update to ga9 of 3.5 series:

OBS-URL: https://build.opensuse.org/request/show/447968
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=43
2017-01-02 08:52:32 +00:00
Dominique Leuenberger
fce80bb75e Accepting request 358495 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/358495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=36
2016-02-11 11:37:49 +00:00
5c6bab1bb5 Accepting request 358486 from home:darix:branches:Base:System
- added desktop file
- split up font reconfigure macro into the pieces so we can add the
  desktop file macros too

OBS-URL: https://build.opensuse.org/request/show/358486
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=41
2016-02-09 10:35:39 +00:00
Dominique Leuenberger
58009994fb Accepting request 355248 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/355248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=35
2016-01-23 00:16:44 +00:00
416bde79a5 Accepting request 354924 from home:scarabeus_iv:branches:Base:System
- Version update to ga10 of 3.4 series:
  * [x3270] Fixed a crash in the Configure Idle Command pop-up.
  * [x3270] Fixed an issue with overwriting local files in file transfers.
  * [s3270] Fixed an x3270if build problem when libiconv is needed.
  * [all] Fixed a problem with truncating the list of LUs when connecting to a
    host.
  * [all] Fixed a crash when too many parameters are passed to an action in a macro
    or script.
  * [c3270, wc3270] Fixed binary file transfer bug.
  * [x3270] Fixed missing 'Not Connected' message when disconnecting from a host.
  * [all] Fixed trace display of incoming IPv6 connections and the parsing of the
    x3270 -scriptport option.
  * [tcl3270] Added tcl3270 support for Tcl 8.6.
  * [all] Renamed $INSTALL variable in the top-level configure script (bugs:15).

OBS-URL: https://build.opensuse.org/request/show/354924
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=39
2016-01-21 13:00:30 +00:00
Stephan Kulow
5feebd71f2 Accepting request 332068 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/332068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=34
2015-09-24 04:14:29 +00:00
082c71362e Accepting request 329516 from home:scarabeus_iv:branches:Base:System
- Version bump to 3.4:
  * Recreated tarball and build approach so adapt our system
  * Fixed a number of warnings found by the MacOS C compiler, which turned out
    to be real issues.
  * [all] Synchronize the ReadBuffer action with the Wait(Output) action, just
    like Ascii and Ebcdic.
  * [all] Fixed an NVT-mode emulation problem.
  * [all] Fixed a synchronization issue with scripts and file transfers.
  * [c3270, wc3270] Fixed a crash when the Transfer action was called from a
    script.
  * [x3270] Fixed a crash when visible control characters are turned on in
    3278 mode.
  * [pr3287] Changed the pr3287 Makefile to use $INSTALL_DATA (bugs:#13).
  * [All Unix] Added -D_DEFAULT_SOURCE wherever a Makefile used -D_BSD_SOURCE,
    to get rid of compiler warnings with newer versions of glibc (bugs:#12).
  * [x3270, c3270, wc3270] Corrected the OIA display of save-to-printer pages.
  * [c3270, wc3270] Made the help for file-transfer reflect the current
    defaults. Added help for Keymap.
  * [wc3270] Fixed the pager at the wc3270> prompt. Now it adapts to the size
    of the console window correctly.
  * [pr3287, wpr3287] Fixed a problem with printer session start-up when both
    a specific printer LU and an SSL tunnel (L:) are specified.
  * [c3270, wc3270] Added a Keymap action to add or remove temporary keymaps.
    The semantics are the same as the x3270 action of the same name.
  * [all] Made the parameter to ResumeScript optional, and relaxed the
    restrictions on when PauseScript can be used, so it can now be used from
    macros and command files read with the Source action.
  * [c3270, wc3270] Allow the DFT buffer size to be changed in the c3270/wc3270
    file transfer dialog.
  * [c3270, wc3270] Allow file transfers to be interrupted with Ctrl-C.

OBS-URL: https://build.opensuse.org/request/show/329516
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=36
2015-09-17 12:56:07 +00:00
Dominique Leuenberger
bba0101c7e Accepting request 304122 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/304122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=33
2015-04-27 11:05:23 +00:00
Stephan Kulow
92920e5512 Accepting request 304094 from home:elvigia:branches:Base:System
- Only BuildRequire the needed packages, not legacy 
  metapackage xorg-x11-devel.

OBS-URL: https://build.opensuse.org/request/show/304094
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=34
2015-04-27 05:43:30 +00:00
Dominique Leuenberger
46483421a8 Accepting request 298557 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/298557
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=32
2015-04-23 06:04:44 +00:00
194b28c379 Accepting request 298193 from home:pluskalm:branches:Base:System
- Update to 3.3.14

OBS-URL: https://build.opensuse.org/request/show/298193
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=32
2015-04-22 11:24:03 +00:00
Stephan Kulow
82469f7201 Accepting request 252172 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/252172
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=31
2014-09-26 08:52:09 +00:00
966e143cbe Accepting request 251788 from home:scarabeus_iv:branches:Base:System
- Version bump to 3.3.14 and update x026 to 1.2:
  * For full change list read:
    http://x3270.bgp.nu/documentation-relnotes.html
- Remove suse readme which is totally pointless
- Clean spec with spec-cleaner
- Remove unused patch gcc4.diff

OBS-URL: https://build.opensuse.org/request/show/251788
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=30
2014-09-25 08:25:58 +00:00
Stephan Kulow
63b9c70f36 Accepting request 250255 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/250255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=30
2014-09-22 07:21:41 +00:00
Stephan Kulow
5eed399807 Accepting request 250161 from home:sfalken:branches:Base:System
- Removed %attr stanza from %files section as it was causing rpmlint
  failure, and is not neccessary
- Added fdupes to BuildRequires and to %install section to clear rpmlint
  warning about duplicate files

OBS-URL: https://build.opensuse.org/request/show/250161
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=28
2014-09-19 15:42:47 +00:00
f120cd1611 Accepting request 244173 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/244173
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=28
2014-08-13 06:48:51 +00:00
Tomáš Chvátal
35b9bcbf86 Accepting request 243609 from home:jjolly:branches:Base:System
Renamed README.SuSE to README.SUSE

OBS-URL: https://build.opensuse.org/request/show/243609
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=26
2014-08-11 09:16:54 +00:00
Stephan Kulow
88313cffb6 Accepting request 184169 from Base:System
- Fix building with new rpm and just use the macros availiable in
  place of current hardcoded stuff. Passing of arguments to cp in
  %doc macro seem not to be possible anymore.

OBS-URL: https://build.opensuse.org/request/show/184169
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=26
2013-07-24 13:32:22 +00:00
Tomáš Chvátal
d62485013e - Fix building with new rpm and just use the macros availiable in
place of current hardcoded stuff. Passing of arguments to cp in
  %doc macro seem not to be possible anymore.

OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=24
2013-07-24 09:01:25 +00:00
Stephan Kulow
de1b373bf4 Accepting request 178854 from Base:System
New package from upstream. Fixes bnc#807424 (forwarded request 178817 from jjolly)

OBS-URL: https://build.opensuse.org/request/show/178854
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/x3270?expand=0&rev=25
2013-06-13 20:48:49 +00:00
9d51591fdd Accepting request 178817 from home:jjolly:branches:Base:System
New package from upstream. Fixes bnc#807424

OBS-URL: https://build.opensuse.org/request/show/178817
OBS-URL: https://build.opensuse.org/package/show/Base:System/x3270?expand=0&rev=22
2013-06-13 09:01:21 +00:00