8dd3095
%define _hardened_build 1
Michael Thomas eaf8f5f
%define selinux_variants mls strict targeted
Michael Thomas 652e219
%global selinux_policyver %(%{__sed} -e 's,.*selinux-policy-\\([^/]*\\)/.*,\\1,' /usr/share/selinux/devel/policyhelp || echo 0.0.0)
Michael Thomas 86051f6
Michael Thomas eaf8f5f
Michael Thomas 75390c7
%define logwatch_root %{_datadir}/logwatch
Michael Thomas 75390c7
%define logwatch_conf %{logwatch_root}/dist.conf
Michael Thomas 75390c7
%define logwatch_scripts %{logwatch_root}/scripts
Michael Thomas 75390c7
Michael Thomas 402821e
Name: crossfire
92f24f9
Version: 1.70.0
4d150bc
Release: 11%{?dist}
Michael Thomas 402821e
Summary: Server for hosting crossfire games
Michael Thomas 402821e
Group: Amusements/Games
Michael Thomas 94fea0c
# All files GPLv2+ except server/daemon.c which also has MIT attributions
Michael Thomas 94fea0c
License: GPLv2+ and MIT
Michael Thomas 402821e
URL: http://crossfire.real-time.com
Michael Thomas 75390c7
Source0: http://downloads.sourceforge.net/crossfire/%{name}-%{version}.tar.gz
Michael Thomas 75390c7
Source1: http://downloads.sourceforge.net/crossfire/%{name}-%{version}.arch.tar.gz
0bbb12e
Source2: crossfire.service
Michael Thomas 402821e
Source3: crossfire.sysconfig
Michael Thomas 402821e
Source4: crossfire.logrotate
Michael Thomas eaf8f5f
Source5: crossfire.te
Michael Thomas eaf8f5f
Source6: crossfire.fc
Michael Thomas eaf8f5f
Source7: crossfire.if
Michael Thomas 75390c7
Source8: logwatch.logconf.crossfire
Michael Thomas 75390c7
Source9: logwatch.script.crossfire
Michael Thomas 75390c7
Source10: logwatch.serviceconf.crossfire
77fe687
#Patch0:  crossfire-1.10.0-log-login.patch
92f24f9
#Patch1:  crossfire-1.11.0-curl.patch
Michael Thomas 402821e
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Michael Thomas 402821e
Requires:       crossfire-maps
Michael Thomas eaf8f5f
BuildRequires:  checkpolicy selinux-policy-devel hardlink
Michael Thomas 402821e
BuildRequires:  libXt-devel
Michael Thomas 402821e
BuildRequires:  libXext-devel
Michael Thomas 402821e
BuildRequires:  libXaw-devel
Michael Thomas eaf8f5f
BuildRequires:  python-devel
Michael Thomas 75390c7
Requires: %{name}-plugins
Michael Thomas 402821e
0bbb12e
#Requires(post): /sbin/chkconfig
0bbb12e
#Requires(post): /sbin/service
0bbb12e
#Requires(preun): /sbin/chkconfig
0bbb12e
#Requires(preun): /sbin/service
0bbb12e
#Requires(postun): /sbin/service
0bbb12e
Requires(post): systemd-units
0bbb12e
Requires(preun): systemd-units
0bbb12e
Requires(postun): systemd-units
0bbb12e
Requires(post): systemd-sysv
0bbb12e
Michael Thomas 402821e
Michael Thomas 402821e
%description
Michael Thomas 402821e
Crossfire is a highly graphical role-playing adventure game with
Michael Thomas 402821e
characteristics reminiscent of rogue, nethack, omega, and gauntlet. 
Michael Thomas 402821e
It has multiplayer capability and presently runs under X11.
Michael Thomas 402821e
Michael Thomas 402821e
This package contains the server for hosting crossfire games over a
Michael Thomas 402821e
public or private network.
Michael Thomas 402821e
Michael Thomas 402821e
%package doc
Michael Thomas 402821e
Summary: Documentation files for Crossfire
Michael Thomas 402821e
Group: Documentation
Michael Thomas 402821e
# Don't require the base package.  The docs can be used without the
Michael Thomas 402821e
# base package, and in fact include docs for both the client and
Michael Thomas 402821e
# server packages.
Michael Thomas 402821e
%description doc
Michael Thomas 402821e
Documentation files for the crossfire game.
Michael Thomas 402821e
Michael Thomas 402821e
%package devel
Michael Thomas 402821e
Summary: Development files for writing crossfire plugins
Michael Thomas 402821e
Group: Development/Libraries
Michael Thomas 7d398f8
Requires: %{name} = %{version}-%{release}
Michael Thomas 402821e
%description devel
Michael Thomas 402821e
Development files for writing crossfire plugins.
Michael Thomas 402821e
Michael Thomas 402821e
%package plugins
Michael Thomas 402821e
Summary: Plugin modules for the crossfire game server
Michael Thomas 402821e
Group: Amusements/Games
Michael Thomas 7d398f8
Requires: %{name} = %{version}-%{release}
Michael Thomas 402821e
%description plugins
Michael Thomas 402821e
Plugin modules for the crossfire game server.
Michael Thomas 402821e
Michael Thomas 402821e
%package client-images
Michael Thomas 402821e
Summary: Image cache for crossfire clients
Michael Thomas 402821e
Group: Amusements/Games
Michael Thomas 402821e
# No version dependency for the client since the images are pretty
Michael Thomas 402821e
# ignorant of the client version.
Michael Thomas 402821e
Requires: crossfire-client
Michael Thomas 402821e
%description client-images
Michael Thomas 402821e
Image files that can be used with the crossfire clients so that they
Michael Thomas 402821e
don't have to be downloaded from the server.
Michael Thomas 402821e
Michael Thomas eaf8f5f
%package selinux
Michael Thomas eaf8f5f
Summary: SELinux policy files for crossfire
Michael Thomas eaf8f5f
Group: Amusements/Games
Michael Thomas eaf8f5f
Requires: %{name} = %{version}-%{release}
Michael Thomas 75390c7
Requires:       selinux-policy >= %{selinux_policyver}
Michael Thomas eaf8f5f
Requires(post):         /usr/sbin/semodule /usr/sbin/semanage /sbin/fixfiles
Michael Thomas 6bd651a
Requires(preun):        /sbin/service /usr/sbin/semodule /usr/sbin/semanage /sbin/fixfiles
Michael Thomas eaf8f5f
Requires(postun):       /usr/sbin/semodule
Michael Thomas eaf8f5f
%description selinux
Michael Thomas eaf8f5f
selinux policy files for the Crossfire game server
Michael Thomas eaf8f5f
Michael Thomas 75390c7
%package logwatch
Michael Thomas 75390c7
Summary: logwatch scripts for the Crossfire game server
Michael Thomas 75390c7
Group: Amusements/Games
Michael Thomas 75390c7
Requires: %{name} = %{version}-%{release} logwatch
Michael Thomas 75390c7
%description logwatch
Michael Thomas 75390c7
logwatch scripts for the Crossfire game server
Michael Thomas 75390c7
Michael Thomas 402821e
%prep
Michael Thomas 402821e
%setup -q
Michael Thomas 402821e
%setup -q -a 1
0bbb12e
#%%patch0 -p0
92f24f9
#%patch1 -p0
Michael Thomas eaf8f5f
mkdir SELinux
Michael Thomas eaf8f5f
cp  %{SOURCE5} %{SOURCE6} %{SOURCE7} SELinux
Michael Thomas eaf8f5f
Michael Thomas 402821e
mv arch/ lib/
Michael Thomas 402821e
Michael Thomas 402821e
%{__sed} -i 's#\r##' utils/player_dl.pl.in
Michael Thomas 402821e
# Don't use a hardcoded /tmp directory for building the image archive
Michael Thomas 402821e
%{__sed} -i "s#^\$TMPDIR=.*#\$TMPDIR=\"`pwd`\";#" lib/adm/collect_images.pl
Michael Thomas 402821e
# Don't map stdio streams to /
Michael Thomas 7d398f8
# This is fixed in CVS, but didn't make it into the 1.9.1 release.
Michael Thomas 402821e
%{__sed} -i 's#    (void) open ("/", O_RDONLY);#    (void) open ("/var/log/crossfire/crossfire.log", O_RDONLY);#' server/daemon.c
Michael Thomas 402821e
Michael Thomas eaf8f5f
# Change the location of the tmp directory
Michael Thomas eaf8f5f
%{__sed} -i "s@^#define TMPDIR \"/tmp\"@#define TMPDIR \"%{_var}/games/%{name}/tmp\"@" include/config.h
Michael Thomas eaf8f5f
Michael Thomas 402821e
%build
Michael Thomas 402821e
# Change the localstatedir so that the variable data files are
Michael Thomas 402821e
# put in /var/games/crossfire instead of /var/crossfire.  This is
Michael Thomas 402821e
# in agreement with the FHS.
Michael Thomas 402821e
%configure --localstatedir=%{_var}/games --disable-static
Michael Thomas 7d398f8
Michael Thomas 402821e
make %{?_smp_mflags}
Michael Thomas 402821e
Michael Thomas eaf8f5f
# Build the selinux policy file
Michael Thomas eaf8f5f
pushd SELinux
Michael Thomas eaf8f5f
for variant in %{selinux_variants}
Michael Thomas eaf8f5f
do
Michael Thomas eaf8f5f
    make NAME=${variant} -f %{_datadir}/selinux/devel/Makefile
Michael Thomas eaf8f5f
    mv %{name}.pp %{name}.pp.${variant}
Michael Thomas eaf8f5f
    make NAME=${variant} -f %{_datadir}/selinux/devel/Makefile clean
Michael Thomas eaf8f5f
done
Michael Thomas eaf8f5f
popd
Michael Thomas eaf8f5f
Michael Thomas 402821e
# This will create a tarball of the images for the client.
Michael Thomas 402821e
cd lib && adm/collect_images.pl -archive
Michael Thomas 402821e
Michael Thomas 402821e
%install
Michael Thomas 402821e
rm -rf $RPM_BUILD_ROOT
Michael Thomas 402821e
Michael Thomas 402821e
make DESTDIR=$RPM_BUILD_ROOT install
Michael Thomas 402821e
Michael Thomas 402821e
# Install the client images
Michael Thomas 6bd651a
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}-client
Michael Thomas 6bd651a
tar xf %{name}-images.tar -C $RPM_BUILD_ROOT/%{_datadir}/%{name}-client
Michael Thomas 402821e
# Nuke the installation instructions for the image archive.
Michael Thomas 6bd651a
rm $RPM_BUILD_ROOT/%{_datadir}/%{name}-client/README
Michael Thomas 402821e
0bbb12e
#install -pD -m 0755 %%{SOURCE2} $RPM_BUILD_ROOT%%{_initrddir}/crossfire
0bbb12e
install -pD -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_unitdir}/crossfire.service
Michael Thomas 402821e
Michael Thomas 402821e
# Move some rarely-used binaries out of /usr/bin and into a
Michael Thomas 402821e
# tools directory.
Michael Thomas 402821e
mkdir $RPM_BUILD_ROOT%{_datadir}/%{name}/tools
Michael Thomas 402821e
Michael Thomas 402821e
# This utility restarts crossfire at periodic intervals.
Michael Thomas 402821e
mv $RPM_BUILD_ROOT%{_bindir}/crossloop.pl $RPM_BUILD_ROOT%{_datadir}/%{name}/tools
Michael Thomas 402821e
Michael Thomas 402821e
# This submits core files to the developers.
Michael Thomas 402821e
mv $RPM_BUILD_ROOT%{_bindir}/crossloop.web $RPM_BUILD_ROOT%{_datadir}/%{name}/tools
Michael Thomas 402821e
Michael Thomas 402821e
# Allows players to download their player files from a web
Michael Thomas 402821e
# server. This feature relies on a properly configured web server
Michael Thomas 402821e
# which is not handled by this rpm release.
Michael Thomas 402821e
mv $RPM_BUILD_ROOT%{_bindir}/player_dl.pl $RPM_BUILD_ROOT%{_datadir}/%{name}/tools
Michael Thomas 402821e
Michael Thomas 402821e
# Binary for running a crossfire metaserver.  Requires interaction with
Michael Thomas 402821e
# a web server, so we disable this for now.
92f24f9
#rm $RPM_BUILD_ROOT%{_libdir}/%{name}/metaserver.pl
Michael Thomas 402821e
Michael Thomas 402821e
# I have no idea what this is for.
92f24f9
#mv $RPM_BUILD_ROOT%{_libdir}/%{name}/mktable.script $RPM_BUILD_ROOT%{_datadir}/%{name}/tools
Michael Thomas 402821e
Michael Thomas 402821e
# This is not needed anymore based on comments at the top of
Michael Thomas 402821e
# the file itself.
92f24f9
#rm $RPM_BUILD_ROOT%{_libdir}/%{name}/add_throw.perl
Michael Thomas 402821e
Michael Thomas 402821e
# /usr/bin is a better place for the standalone random map generator
92f24f9
#mv $RPM_BUILD_ROOT/usr/libexec/crossfire/random_map $RPM_BUILD_ROOT%{_bindir}/cross_random_map
Michael Thomas 402821e
Michael Thomas 402821e
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.la
Michael Thomas 402821e
Michael Thomas 402821e
# Create the log directory
Michael Thomas 402821e
mkdir -p $RPM_BUILD_ROOT%{_var}/log/%{name}
Michael Thomas 402821e
Michael Thomas 402821e
install -p -D -m 644 %{SOURCE3} \
Michael Thomas 402821e
    $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/%{name}
Michael Thomas 402821e
Michael Thomas 402821e
install -p -D -m 644 %{SOURCE4} \
Michael Thomas 402821e
    $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/%{name}
Michael Thomas 402821e
Michael Thomas eaf8f5f
mkdir $RPM_BUILD_ROOT%{_var}/games/%{name}/tmp
Michael Thomas eaf8f5f
Michael Thomas eaf8f5f
# Install selinux policies
Michael Thomas eaf8f5f
pushd SELinux
Michael Thomas eaf8f5f
for variant in %{selinux_variants}
Michael Thomas eaf8f5f
do
Michael Thomas 75390c7
    install -d $RPM_BUILD_ROOT%{_datadir}/selinux/${variant}
Michael Thomas eaf8f5f
    install -p -m 644 %{name}.pp.${variant} \
Michael Thomas 75390c7
           $RPM_BUILD_ROOT%{_datadir}/selinux/${variant}/%{name}.pp
Michael Thomas eaf8f5f
done
Michael Thomas eaf8f5f
popd
Michael Thomas eaf8f5f
# Hardlink identical policy module packages together
Michael Thomas 75390c7
/usr/sbin/hardlink -cv $RPM_BUILD_ROOT%{_datadir}/selinux
Michael Thomas 75390c7
Michael Thomas 75390c7
# Install logwatch files
Michael Thomas 75390c7
install -pD -m 0644 %{SOURCE8} $RPM_BUILD_ROOT%{logwatch_conf}/logfiles/%{name}.conf
Michael Thomas 75390c7
install -pD -m 0755 %{SOURCE9} $RPM_BUILD_ROOT%{logwatch_scripts}/services/%{name}
Michael Thomas 75390c7
install -pD -m 0644 %{SOURCE10} $RPM_BUILD_ROOT%{logwatch_conf}/services/%{name}.conf
Michael Thomas eaf8f5f
Michael Thomas eaf8f5f
Michael Thomas 402821e
%pre
Michael Thomas 94fea0c
getent group crossfire >/dev/null || groupadd -r crossfire
Michael Thomas 94fea0c
getent passwd crossfire >/dev/null || \
Michael Thomas 94fea0c
useradd -r -g crossfire -d %{_datadir}/%{name} -s /sbin/nologin \
Michael Thomas dcceee3
    -c "Daemon account for the crossfire server" crossfire
Michael Thomas 94fea0c
exit 0
Michael Thomas 402821e
Michael Thomas 402821e
%post
0bbb12e
#/sbin/chkconfig --add crossfire
0bbb12e
if [ $1 -eq 1 ] ; then 
0bbb12e
    # Initial installation 
0bbb12e
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
0bbb12e
fi
0bbb12e
Michael Thomas 402821e
Michael Thomas eaf8f5f
%post selinux
Michael Thomas eaf8f5f
# Install SELinux policy modules
Michael Thomas eaf8f5f
for selinuxvariant in %{selinux_variants}
Michael Thomas eaf8f5f
do
Michael Thomas eaf8f5f
  /usr/sbin/semodule -s ${selinuxvariant} -i \
Michael Thomas eaf8f5f
    %{_datadir}/selinux/${selinuxvariant}/%{name}.pp &> /dev/null || :
Michael Thomas eaf8f5f
done
Michael Thomas 6bd651a
/usr/sbin/semanage port -a -t %{name}_port_t -p tcp 13327 > /dev/null 2>&1 || :
Michael Thomas eaf8f5f
/sbin/fixfiles -R %{name} restore || :
Michael Thomas eaf8f5f
/sbin/service %{name} condrestart > /dev/null 2>&1 || :
Michael Thomas eaf8f5f
Michael Thomas 402821e
%preun
0bbb12e
#if [ "$1" -le "0" ]; then
0bbb12e
#    /sbin/service crossfire stop > /dev/null 2>&1
0bbb12e
#    /sbin/chkconfig --del crossfire
0bbb12e
#fi
0bbb12e
if [ $1 -eq 0 ] ; then
0bbb12e
    # Package removal, not upgrade
0bbb12e
    /bin/systemctl --no-reload disable crossfire.service > /dev/null 2>&1 || :
0bbb12e
    /bin/systemctl stop crossfire.service > /dev/null 2>&1 || :
Michael Thomas 402821e
fi
Michael Thomas 402821e
0bbb12e
Michael Thomas eaf8f5f
%preun selinux
Michael Thomas eaf8f5f
if [ "$1" -lt "1" ] ; then
Michael Thomas eaf8f5f
    # Disable the policy and restart the daemon
Michael Thomas eaf8f5f
    /sbin/service %{name} condrestart > /dev/null 2>&1 || :
Michael Thomas eaf8f5f
    # Unload the module
Michael Thomas 6bd651a
    /usr/sbin/semanage port -d -t %{name}_port_t -p tcp 13327 >/dev/null 2>&1 || :
Michael Thomas eaf8f5f
    for variant in %{selinux_variants} ; do
Michael Thomas eaf8f5f
        /usr/sbin/semodule -s ${variant} -r %{name} &> /dev/null || :
Michael Thomas eaf8f5f
    done
Michael Thomas eaf8f5f
    # Set the context back
Michael Thomas eaf8f5f
    /sbin/fixfiles -R %{name} restore || :
Michael Thomas eaf8f5f
fi
Michael Thomas eaf8f5f
Michael Thomas 402821e
%postun
0bbb12e
#if [ "$1" -ge "1" ]; then
0bbb12e
#    /sbin/service crossfire condrestart >/dev/null 2>&1
0bbb12e
#fi
0bbb12e
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
0bbb12e
if [ $1 -ge 1 ] ; then
0bbb12e
    # Package upgrade, not uninstall
0bbb12e
    /bin/systemctl try-restart crossfire.service >/dev/null 2>&1 || :
Michael Thomas 402821e
fi
Michael Thomas 402821e
0bbb12e
Michael Thomas eaf8f5f
%postun selinux
Michael Thomas eaf8f5f
if [ "$1" -ge "1" ] ; then
Michael Thomas eaf8f5f
    # Replace the module if it is already loaded. semodule -u also
Michael Thomas eaf8f5f
    # checks the module version
Michael Thomas eaf8f5f
    for variant in %{selinux_variants} ; do
Michael Thomas eaf8f5f
        /usr/sbin/semodule -u %{_datadir}/selinux/${variant}/%{name}.pp || :
Michael Thomas eaf8f5f
    done
Michael Thomas eaf8f5f
fi
Michael Thomas eaf8f5f
0bbb12e
%triggerun -- crossfire < 1.60.0-2
0bbb12e
# Save the current service runlevel info
0bbb12e
# User must manually run systemd-sysv-convert --apply crossfire
0bbb12e
# to migrate them to systemd targets
0bbb12e
/usr/bin/systemd-sysv-convert --save crossfire >/dev/null 2>&1 ||:
0bbb12e
0bbb12e
# Run these because the SysV package being removed won't do them
0bbb12e
/sbin/chkconfig --del crossfire >/dev/null 2>&1 || :
0bbb12e
/bin/systemctl try-restart crossfire.service >/dev/null 2>&1 || :
0bbb12e
Michael Thomas eaf8f5f
Michael Thomas 402821e
Michael Thomas 402821e
%clean
Michael Thomas 402821e
rm -rf $RPM_BUILD_ROOT
Michael Thomas 402821e
Michael Thomas 402821e
Michael Thomas 402821e
%files
Michael Thomas 402821e
%defattr(-,root,root,-)
77fe687
#%%{_bindir}/crossedit
77fe687
#%%{_bindir}/crossfire
77fe687
%{_bindir}/crossfire-server
Michael Thomas 402821e
%{_bindir}/crossloop
Michael Thomas 402821e
%{_datadir}/%{name}
Michael Thomas 402821e
%dir %{_libdir}/%{name}
Michael Thomas 402821e
%dir %{_sysconfdir}/%{name}
92f24f9
%dir %{_libexecdir}/%{name}
92f24f9
%{_libexecdir}/%{name}/*
Michael Thomas 402821e
%config(noreplace) %{_sysconfdir}/%{name}/ban_file
Michael Thomas 402821e
%config(noreplace) %{_sysconfdir}/%{name}/dm_file
Michael Thomas 402821e
%config(noreplace) %{_sysconfdir}/%{name}/exp_table
Michael Thomas 402821e
%config(noreplace) %{_sysconfdir}/%{name}/forbid
Michael Thomas 402821e
%config(noreplace) %{_sysconfdir}/%{name}/motd
Michael Thomas 402821e
%config(noreplace) %{_sysconfdir}/%{name}/news
Michael Thomas 402821e
%config(noreplace) %{_sysconfdir}/%{name}/rules
Michael Thomas 402821e
%config(noreplace) %{_sysconfdir}/%{name}/settings
Michael Thomas 3c14446
%config(noreplace) %{_sysconfdir}/%{name}/metaserver2
92f24f9
%config(noreplace) %{_sysconfdir}/%{name}/stat_bonus
Michael Thomas 402821e
%attr(-,crossfire,root) %{_var}/games/%{name}
Michael Thomas 402821e
%attr(-,crossfire,root) %{_var}/log/%{name}
Michael Thomas 402821e
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
Michael Thomas 402821e
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
Michael Thomas 402821e
%{_mandir}/man6/*
0bbb12e
#%%{_initrddir}/%%{name}
0bbb12e
%{_unitdir}/%{name}.service
Michael Thomas 402821e
%doc README NEWS DEVELOPERS AUTHORS COPYING
Michael Thomas 402821e
Michael Thomas 402821e
%files doc
Michael Thomas 402821e
%defattr(-,root,root,-)
Michael Thomas 402821e
%doc doc/*.doc doc/*.ps doc/SurvivalGuide
Michael Thomas 402821e
%doc doc/PlayerStats doc/RunTimeCommands doc/spellcasters_guide_to_runes
Michael Thomas 402821e
Michael Thomas 402821e
%files devel
Michael Thomas 402821e
%defattr(-,root,root,-)
Michael Thomas 402821e
%{_bindir}/crossfire-config
Michael Thomas 402821e
%doc doc/plugins
Michael Thomas 402821e
Michael Thomas 402821e
%files plugins
Michael Thomas 402821e
%defattr(-,root,root,-)
Michael Thomas 402821e
%{_libdir}/%{name}/plugins
Michael Thomas 402821e
Michael Thomas 402821e
%files client-images
Michael Thomas 402821e
%defattr(-,root,root,-)
Michael Thomas 6bd651a
%{_datadir}/%{name}-client
Michael Thomas 402821e
Michael Thomas eaf8f5f
%files selinux
Michael Thomas eaf8f5f
%defattr(-,root,root,-)
Michael Thomas eaf8f5f
%doc SELinux/*.??
Michael Thomas eaf8f5f
%{_datadir}/selinux/*/%{name}.pp
Michael Thomas eaf8f5f
Michael Thomas 75390c7
%files logwatch
Michael Thomas 75390c7
%defattr(-,root,root,-)
Michael Thomas 75390c7
%{logwatch_conf}/logfiles/%{name}.conf
Michael Thomas 75390c7
%{logwatch_conf}/services/%{name}.conf
Michael Thomas 75390c7
%{logwatch_scripts}/services/%{name}
Michael Thomas 75390c7
Michael Thomas 402821e
Michael Thomas 402821e
%changelog
4d150bc
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.70.0-11
4d150bc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4d150bc
bc03047
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.70.0-10
bc03047
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bc03047
6651064
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.70.0-9
6651064
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
6651064
0adc1eb
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.70.0-8
0adc1eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0adc1eb
ea254c5
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.70.0-7
ea254c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ea254c5
dcb2a5a
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.70.0-6
dcb2a5a
- Perl 5.18 rebuild
dcb2a5a
1d15069
* Thu Jun 06 2013 Jon Ciesla <limburgher@gmail.com> - 1.70.0-5
1d15069
- Fix unit file, BZ 971088.
1d15069
b267053
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.70.0-4
b267053
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b267053
3ad21c7
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.70.0-3
3ad21c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3ad21c7
8dd3095
* Fri Apr 13 2012 Jon Ciesla <limburgher@gmail.com> - 1.70.0-2
8dd3095
- Add hardened build.
8dd3095
92f24f9
* Tue Mar 27 2012 Jon Ciesla <limburgher@gmail.com> - 1.70.0-1
92f24f9
- New upstream.
92f24f9
- Curl patch upstreamed.
92f24f9
0bbb12e
* Tue Jan 31 2012 Jon Ciesla <limburgher@gmail.com> - 1.60.0-2
0bbb12e
- Migrate to systemd, BZ 771752.
0bbb12e
77fe687
* Wed Jan 11 2012 Jon Ciesla <limburgher@gmail.com> - 1.60.0-1
77fe687
- New upstream.
77fe687
07d4bff
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11.0-5
07d4bff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
07d4bff
e122d54
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11.0-4
e122d54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e122d54
1dc8cb4
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11.0-3
1dc8cb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1dc8cb4
9317027
* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.11.0-2
9317027
- Rebuild for Python 2.6
9317027
Michael Thomas 3c14446
* Thu Jul 24 2008 Wart <wart@kobold.org> 1.11.0-1
Michael Thomas 3c14446
- Update to 1.11.0
Michael Thomas 3c14446
Michael Thomas 86051f6
* Tue Jul 22 2008 Wart <wart@kobold.org> 1.10.0-6
Michael Thomas 86051f6
- Fix selinux policy with regard to sock_file
Michael Thomas 86051f6
Michael Thomas dcceee3
* Wed Jun 18 2008 Wart <wart@kobold.org> 1.10.0-5
Michael Thomas dcceee3
- Fix creation of the crossfire user (BZ #442384)
Michael Thomas dcceee3
Michael Thomas 57fd425
* Sat Feb 9 2008 Wart <wart@kobold.org> 1.10.0-4
Michael Thomas 57fd425
- Rebuild for gcc 4.3
Michael Thomas 57fd425
Michael Thomas 94fea0c
* Fri Aug 17 2007 Wart <wart@kobold.org> 1.10.0-3
Michael Thomas 94fea0c
- License tag clarification
Michael Thomas 94fea0c
- Update user creation to conform to recently modified guidelines
Michael Thomas 94fea0c
Michael Thomas 6bd651a
* Thu Jul 12 2007 Wart <wart@kobold.org> 1.10.0-2
Michael Thomas 6bd651a
- Move client images outside of the server data directory.
Michael Thomas 6bd651a
- Update selinux policy
Michael Thomas 6bd651a
Michael Thomas 75390c7
* Tue May 22 2007 Wart <wart@kobold.org> 1.10.0-1
Michael Thomas 75390c7
- Update to 1.10.0
Michael Thomas 75390c7
- Drop patch that was accepted upstream
Michael Thomas 75390c7
- Add logwatch subpackage
Michael Thomas 75390c7
Michael Thomas a8f3b27
* Fri Dec 8 2006 Wart <wart@kobold.org> 1.9.1-3
Michael Thomas a8f3b27
- Rebuild for new python 2.5
Michael Thomas a8f3b27
Michael Thomas a8f3b27
* Thu Aug 31 2006 Wart <wart@kobold.org> 1.9.1-2
Michael Thomas eaf8f5f
- Added upstream patch to fix configure bug.
Michael Thomas eaf8f5f
- Added selinux security policy
Michael Thomas eaf8f5f
- Don't use /tmp for the map file cache
Michael Thomas eaf8f5f
Michael Thomas 7d398f8
* Thu Jul 6 2006 Wart <wart@kobold.org> 1.9.1-1
Michael Thomas 7d398f8
- Update to 1.9.1
Michael Thomas 7d398f8
Michael Thomas 402821e
* Tue May 16 2006 Wart <wart@kobold.org> 1.9.0-4
Michael Thomas 402821e
- Added -doc subpackage
Michael Thomas 402821e
- Own /etc/crossfire
Michael Thomas 402821e
- Add crossfire-client dependency for crossfire-client-images
Michael Thomas 402821e
Michael Thomas 402821e
* Tue May 16 2006 Wart <wart@kobold.org> 1.9.0-3
Michael Thomas 402821e
- Added patch to fix missing stdout problem with python plugin.
Michael Thomas 402821e
Michael Thomas 402821e
* Mon May 15 2006 Wart <wart@kobold.org> 1.9.0-2
Michael Thomas 402821e
- Generate the -client-images subpackage here instead of relying
Michael Thomas 402821e
  on upstream's missing -client-images tarball.
Michael Thomas 402821e
Michael Thomas 402821e
* Thu Mar 9 2006 Wart <wart@kobold.org> 1.9.0-1
Michael Thomas 402821e
- Initial spec file following Fedora Extras conventions