Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xfs.17464 for 
openSUSE:Leap:15.3:Update checked in at 2022-04-25 12:01:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.3:Update/xfs.17464 (Old)
 and      /work/SRC/openSUSE:Leap:15.3:Update/.xfs.17464.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xfs.17464"

Mon Apr 25 12:01:06 2022 rev:1 rq:972030 version:1.2.0

Changes:
--------
New Changes file:

--- /dev/null   2022-04-21 01:28:04.620089996 +0200
+++ /work/SRC/openSUSE:Leap:15.3:Update/.xfs.17464.new.1538/xfs.changes 
2022-04-25 12:01:06.934618274 +0200
@@ -0,0 +1,119 @@
+-------------------------------------------------------------------
+Mon Jan 10 11:57:51 UTC 2022 - Johannes Segitz <jseg...@suse.com>
+
+- Added hardening to systemd service(s) (bsc#1181400). Modified:
+  * xfs.service
+
+-------------------------------------------------------------------
+Tue Jul 13 09:19:42 UTC 2021 - Stefan Dirsch <sndir...@suse.com>
+
+- fixed build against latest gcc check changes
+
+-------------------------------------------------------------------
+Tue Nov  3 15:17:06 UTC 2020 - Franck Bui <f...@suse.com>
+
+- Drop '-f' option with %service_del_preun/%service_del_postun
+
+  With %service_del_preun, the option is already ignored with as
+  support for DISABLE_STOP_ON_REMOVAL has been dropped.
+
+  With %service_del_postun, this option shouldn't be needed besides
+  very few special cases. But this package doesn't seem to belong to
+  this category.
+
+-------------------------------------------------------------------
+Mon Jul 27 15:30:53 UTC 2020 - Stefan Dirsch <sndir...@suse.com>
+
+- moved config file to /usr/etc/X11/fs (boo#1173050)
+
+-------------------------------------------------------------------
+Sun Jan  5 21:17:26 UTC 2020 - Stefan Dirsch <sndir...@suse.com>
+
+- dropped /tmp/.font-unix deletion/creation from the init script 
+  (boo#1159121)
+
+-------------------------------------------------------------------
+Thu Nov 15 11:40:11 UTC 2018 - sndir...@suse.com
+
+- switched from init.d script to a native systemd service 
+  (boo#1116053)
+- cleanup in specfile
+
+-------------------------------------------------------------------
+Thu Feb  8 14:28:46 UTC 2018 - sndir...@suse.com
+
+- fixed build (looks like a manual page has been dropped)
+
+-------------------------------------------------------------------
+Tue Nov 28 19:30:37 UTC 2017 - sndir...@suse.com
+
+- xfs 1.2.0
+  * This release ports the X Font Server to libXfont 2.x. 
+    Distributions may now drop libXfont 1.x at their convenience.
+    This conversion has been lightly tested but some issues may
+    remain; please report any new issues to xorg-de...@lists.x.org.
+
+-------------------------------------------------------------------
+Tue May 30 09:50:45 UTC 2017 - sndir...@suse.com
+
+- includes everything needed for missing sle issue entries:
+  fate #320388 (bsc#1041620) 
+
+-------------------------------------------------------------------
+Mon Aug 25 10:00:08 UTC 2014 - sndir...@suse.com
+
+- xfs 1.1.4
+  * This release improves compatibility with libXfont 1.5 and
+    cleans up many compiler warnings and chunks of dead code.
+  * supersedes U_Only-call-SnfSetFormat-if-libXfont-is-built-with-SNF.patch
+
+-------------------------------------------------------------------
+Tue Jul 15 13:18:29 UTC 2014 - sndir...@suse.com
+
+- U_Only-call-SnfSetFormat-if-libXfont-is-built-with-SNF.patch
+  * needed after switching to libXfont 1.8, which now disables
+    support for SNF font format by default
+
+-------------------------------------------------------------------
+Wed Mar 19 11:48:06 UTC 2014 - sndir...@suse.com
+
+- udpated to current git id 2c79452 in order to fix build for
+  latest libXfont
+
+-------------------------------------------------------------------
+Wed Jun 12 13:52:13 UTC 2013 - cfarr...@suse.com
+
+- license update: HPND
+  This is HPND, not MIT (absence of express sublicensing permission etc)
+
+-------------------------------------------------------------------
+Tue May  7 11:33:31 UTC 2013 - sndir...@suse.com
+
+- xfs 1.1.3
+  * This release contains a number of code cleanups and other
+    minor fixes. 
+
+-------------------------------------------------------------------
+Fri May 11 13:06:05 UTC 2012 - sndir...@suse.com
+
+- make use of %verfiy(not md5 size mtime) for /etc/X11/fs/config
+  (bnc#761824)
+
+-------------------------------------------------------------------
+Fri Apr 13 16:33:10 UTC 2012 - vu...@opensuse.org
+
+- Update to version 1.1.2:
+  + Fix issues found by static analysis and compiler warnings
+  + Code & doc cleanups
+  + Build configuration improvements
+- Add pkgconfig(xproto) BuildRequires: new upstream dependency.
+- Remove pkgconfig(libfs) BuildRequires: dependency has been
+  removed.
+- Call %restart_on_update for xfs in %postun, as recommended by
+  packaging guidelines.
+
+-------------------------------------------------------------------
+Fri Apr 13 08:46:08 UTC 2012 - vu...@opensuse.org
+
+- Split xfs from xorg-x11. Initial version: 1.1.1.
+

New:
----
  xfs-1.2.0.tar.bz2
  xfs.changes
  xfs.config
  xfs.init.d
  xfs.service
  xfs.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xfs.spec ++++++
#
# spec file for package xfs
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%if 0%{?suse_version} < 1550
  %define _distconfdir /usr/etc
%endif

Name:           xfs
Version:        1.2.0
Release:        0
Summary:        X font server
License:        HPND
Group:          System/X11/Utilities
URL:            http://xorg.freedesktop.org/
# http://xorg.freedesktop.org/releases/individual/app/
Source0:        %{name}-%{version}.tar.bz2
Source1:        xfs.config
Source2:        xfs.init.d
Source3:        xfs.service
BuildRequires:  font-util >= 1.1
BuildRequires:  pkg-config
BuildRequires:  systemd-rpm-macros
BuildRequires:  pkgconfig(xfont2)
BuildRequires:  pkgconfig(xorg-macros) >= 1.10
BuildRequires:  pkgconfig(xproto) >= 7.0.17
BuildRequires:  pkgconfig(xtrans)
PreReq:         %fillup_prereq
# This was part of the xorg-x11 package up to version 7.6
Conflicts:      xorg-x11 <= 7.6
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
xfs is the X Window System font server. It supplies fonts to X Window
System display servers.

%prep
%setup -q

%build
%configure 
--with-default-config-file=%{_sysconfdir}/X11/fs/config,%{_distconfdir}/X11/fs/config
 CFLAGS="$RPM_OPT_FLAGS -Wno-error=array-bounds"
make %{?_smp_mflags}

%install
%make_install
mkdir -p %{buildroot}%{_sbindir} \
         %{buildroot}%{_unitdir}
rm -f %{buildroot}%{_sysconfdir}/X11/fs/config
install -D -m 0644 %{SOURCE1} %{buildroot}%{_distconfdir}/X11/fs/config
install -D -m 0444 %{SOURCE3} %{buildroot}%{_unitdir}/xfs.service
install -D -m 0755 %{SOURCE2} %{buildroot}%{_sbindir}/rcxfs

%pre
%service_add_pre xfs.service

%post
%service_add_post xfs.service

%preun
%service_del_preun xfs.service

%postun
%service_del_postun xfs.service

%files
%defattr(-,root,root)
%doc ChangeLog COPYING README
%dir %{_distconfdir}
%dir %{_distconfdir}/X11
%dir %{_distconfdir}/X11/fs
%{_distconfdir}/X11/fs/config
%{_unitdir}/xfs.service
%{_sbindir}/rcxfs
%{_bindir}/xfs
%{_mandir}/man1/xfs.1%{?ext_man}

%changelog

++++++ xfs.config ++++++
# Xfs font server configuration file
#
# Wed Feb  7 17:41:22 2001  Mike Fabian  <mfab...@suse.de>

# Xfs is the X Window System font server.  It supplies fonts to X Window
# System display servers.
# 
# This font server works for CID-keyed fonts and TrueType fonts as well.
# 
# For TrueType fonts it uses the same syntax in the fonts.dir files as
# the "freetype" modul, it does *not* understand the TTCap syntax
# extensions to fonts.dir used by the "xtt" module.
# 
# To use this fontserver, add
#
#     FontPath   "unix/:7100"
# 
# into the Section "Files" of /etc/X11/xorg.conf, above all other
# FontPath entries. You may also remove or comment out all other
# FontPath entries if you want to use all fonts via the Fontserver
#
# Note that using this fontserver may be a security risk. Don't
# use it on systems aiming for maximum security.
# 
# It may also cause stability problems for the X-Window system.
# If you encounter frequent crashes, stop using it. 

# if you omit "no-listen = tcp" you can use xfs over the network
# if you add entries like
#     FontPath   "tcp/hostname:7100"
# into /etc/X11/xorg.conf. Increases the security risk!

no-listen = tcp
port = 7100
client-limit = 10
clone-self = on
use-syslog = on
deferglyphs = 16

catalogue = /usr/share/fonts/misc:unscaled,
            /usr/share/fonts/75dpi:unscaled,
            /usr/share/fonts/100dpi:unscaled,
            /usr/share/fonts/japanese:unscaled,
            /usr/share/fonts/baekmuk:unscaled,
            /usr/share/fonts/Type1,
            /usr/share/fonts/URW,
            /usr/share/fonts/Speedo,
            /usr/share/fonts/CID,
            /usr/share/fonts/PEX,
            /usr/share/fonts/cyrillic,
            /usr/share/fonts/latin2/misc,
            /usr/share/fonts/latin2/75dpi,
            /usr/share/fonts/latin2/100dpi,
            /usr/share/fonts/latin2/Type1,
            /usr/share/fonts/latin7/75dpi,
            /usr/share/fonts/kwintv,
            /usr/share/fonts/truetype,
            /usr/share/fonts/uni,
            /usr/share/fonts/ucs/misc,
            /usr/share/fonts/ucs/75dpi,
            /usr/share/fonts/ucs/100dpi,
            /usr/share/fonts/hellas/misc,
            /usr/share/fonts/hellas/75dpi,
            /usr/share/fonts/hellas/100dpi,
            /usr/share/fonts/hellas/Type1

# in decipoints
default-point-size = 120
default-resolutions = 75,75,100,100

++++++ xfs.init.d ++++++
#!/bin/sh
# Copyright (c) 1996, 2000 S.u.S.E. GmbH Fuerth, Germany.  All rights reserved.
#
#         Mike Fabian <mfab...@suse.de>, 2001
#
# /usr/sbin/rcxfs
#
### BEGIN INIT INFO
# Provides:       xfs
# Required-Start: $network $named $remote_fs
# Required-Stop:  $network $named $remote_fs
# Default-Start:  3 5
# Default-Stop:
# Description:    X Font Server
# Short-Description:    X Font Server
### END INIT INFO

. /etc/rc.status

XFS_BIN=/usr/bin/xfs
test -x $XFS_BIN || exit 5

# First reset status of this service
rc_reset

if [ ! -f /etc/X11/fs/config ] ; then
    if [ ! -f /usr/etc/X11/fs/config ] ; then
        echo "can't find neither /etc/X11/fs/config nor /usr/etc/X11/fs/config"
        # program is not configured
        exit 6
    fi
fi

case "$1" in
    start)
        echo -n "Starting X Font Server"
        if checkproc $XFS_BIN; then
                echo -n "X Font Server is already running."
                rc_status -v
                exit
        fi
        /sbin/conf.d/SuSEconfig.fonts > /dev/null
        startproc -l /var/log/fs-errors $XFS_BIN -nodaemon -user nobody -port 
7100
        rc_status -v
        ;;
    stop)
        echo -n "Shutting down X Font Server"
        killproc -TERM $XFS_BIN > /dev/null
        rc_status -v
        ;;
    try-restart)
        $0 status >/dev/null && $0 restart
        rc_status
        ;;
    restart)
        $0 stop
        $0 start
        rc_status
        ;;
    reload|force-reload)
        if checkproc $XFS_BIN ; then
            # create new fonts.dir files if necessary
            /sbin/conf.d/SuSEconfig.fonts > /dev/null
            echo -n "Reloading config file of X Font Server"
            killproc $XFS_BIN -USR1  # re-read config file
            rc_status -v
        else
            $0 start
        fi
        echo
        ;;
    status)
        echo -n "Checking for X Font Server: "
        checkproc $XFS_BIN
        rc_status -v
        ;;
    *)
        echo "Usage: $0 
{start|stop|try-restart|restart|reload|force-reload|status}"
        exit 1
        ;;
esac

rc_exit

++++++ xfs.service ++++++
[Unit]
Documentation=man:xfs(1)
SourcePath=/usr/sbin/rcxfs
Description=LSB: X Font Server
After=network-online.target
After=nss-lookup.target
After=remote-fs.target
Wants=network-online.target
Wants=nss-lookup.target
Wants=remote-fs.target

[Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=read-only
PrivateDevices=true
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions 
Type=forking
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
SuccessExitStatus=5 6
ExecStart=/usr/sbin/rcxfs start
ExecStop=/usr/sbin/rcxfs stop
ExecReload=/usr/sbin/rcxfs reload

Reply via email to