Move to version 0.10.7
- Note the correct licence. - Handle malformed kernel status correctly. - Permit culling to be disabled on the command line with the -N flag. - Suspend culling when cache space is short and cache objects are pinned. - Call setgroups() before calling setuid() (caught by rpmlint).
This commit is contained in:
parent
7d2f7e6c2e
commit
c91df93eef
14
.gitignore
vendored
14
.gitignore
vendored
@ -1,13 +1 @@
|
|||||||
cachefilesd-0.1.tar.bz2
|
/cachefilesd-*.tar.bz2
|
||||||
cachefilesd-0.2.tar.bz2
|
|
||||||
cachefilesd-0.3.tar.bz2
|
|
||||||
cachefilesd-0.4.tar.bz2
|
|
||||||
cachefilesd-0.5.tar.bz2
|
|
||||||
cachefilesd-0.6.tar.bz2
|
|
||||||
cachefilesd-0.7.tar.bz2
|
|
||||||
cachefilesd-0.9.tar.bz2
|
|
||||||
cachefilesd-0.10.tar.bz2
|
|
||||||
cachefilesd-0.10.1.tar.bz2
|
|
||||||
/cachefilesd-0.10.3.tar.bz2
|
|
||||||
/cachefilesd-0.10.4.tar.bz2
|
|
||||||
/cachefilesd-0.10.5.tar.bz2
|
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
# % define buildid .local
|
# % define buildid .local
|
||||||
|
|
||||||
Name: cachefilesd
|
Name: cachefilesd
|
||||||
Version: 0.10.5
|
Version: 0.10.7
|
||||||
Release: 10%{?dist}%{?buildid}
|
Release: 1%{?dist}%{?buildid}
|
||||||
Summary: CacheFiles user-space management daemon
|
Summary: CacheFiles user-space management daemon
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
# TODO: source code and config file claim "GPLv2+"
|
License: GPLv2+
|
||||||
License: GPLv2
|
|
||||||
URL: http://people.redhat.com/~dhowells/fscache/
|
URL: http://people.redhat.com/~dhowells/fscache/
|
||||||
# TODO: it's not a bzip2 file!
|
|
||||||
Source0: http://people.redhat.com/dhowells/fscache/cachefilesd-%{version}.tar.bz2
|
Source0: http://people.redhat.com/dhowells/fscache/cachefilesd-%{version}.tar.bz2
|
||||||
|
|
||||||
BuildRequires: systemd-units
|
BuildRequires: systemd-units
|
||||||
@ -22,16 +20,11 @@ The cachefilesd daemon manages the caching files and directory that are that
|
|||||||
are used by network file systems such a AFS and NFS to do persistent caching to
|
are used by network file systems such a AFS and NFS to do persistent caching to
|
||||||
the local disk.
|
the local disk.
|
||||||
|
|
||||||
|
%global docdir %{_docdir}/cachefilesd
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
# these should be fixed upstream
|
|
||||||
%if 0%{?fedora} && 0%{?fedora} >= 20
|
|
||||||
sed -i 's!\(/usr/share/doc/cachefilesd\)-[0-9\.\*]*/!\1/!g' cachefilesd.8 cachefilesd.conf.5 howto.txt README selinux/move-cache.txt
|
|
||||||
%endif
|
|
||||||
# that package doesn't exist anymore
|
|
||||||
sed -i 's!cachefilesd-selinux!cachefilesd!g' selinux/move-cache.txt
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
PIE="-fPIE"
|
PIE="-fPIE"
|
||||||
@ -41,14 +34,22 @@ PIE="-fpie"
|
|||||||
export PIE
|
export PIE
|
||||||
CFLAGS="`echo $RPM_OPT_FLAGS $ARCH_OPT_FLAGS $PIE`"
|
CFLAGS="`echo $RPM_OPT_FLAGS $ARCH_OPT_FLAGS $PIE`"
|
||||||
|
|
||||||
make all CFLAGS="$CFLAGS"
|
make all \
|
||||||
|
ETCDIR=%{_sysconfdir} \
|
||||||
|
SBINDIR=%{_sbindir} \
|
||||||
|
MANDIR=%{_mandir} \
|
||||||
|
CFLAGS="-Wall $RPM_OPT_FLAGS -Werror"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}/sbin
|
mkdir -p %{buildroot}%{_sbindir}
|
||||||
mkdir -p %{buildroot}%{_unitdir}
|
mkdir -p %{buildroot}%{_unitdir}
|
||||||
mkdir -p %{buildroot}%{_mandir}/{man5,man8}
|
mkdir -p %{buildroot}%{_mandir}/{man5,man8}
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/cache/fscache
|
mkdir -p %{buildroot}%{_localstatedir}/cache/fscache
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} install \
|
||||||
|
ETCDIR=%{_sysconfdir} \
|
||||||
|
SBINDIR=%{_sbindir} \
|
||||||
|
MANDIR=%{_mandir} \
|
||||||
|
CFLAGS="-Wall $RPM_OPT_FLAGS -Werror"
|
||||||
|
|
||||||
install -m 644 cachefilesd.conf %{buildroot}%{_sysconfdir}
|
install -m 644 cachefilesd.conf %{buildroot}%{_sysconfdir}
|
||||||
install -m 644 cachefilesd.service %{buildroot}%{_unitdir}/cachefilesd.service
|
install -m 644 cachefilesd.service %{buildroot}%{_unitdir}/cachefilesd.service
|
||||||
@ -81,41 +82,20 @@ fi
|
|||||||
%doc selinux/*.if
|
%doc selinux/*.if
|
||||||
%doc selinux/*.te
|
%doc selinux/*.te
|
||||||
%config(noreplace) %{_sysconfdir}/cachefilesd.conf
|
%config(noreplace) %{_sysconfdir}/cachefilesd.conf
|
||||||
/sbin/*
|
%{_sbindir}/*
|
||||||
%{_unitdir}/*
|
%{_unitdir}/*
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%{_localstatedir}/cache/fscache
|
%{_localstatedir}/cache/fscache
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.5-10
|
* Wed Feb 3 2016 David Howells <dhowells@redhat.com> 0.10.7-1
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Call setgroups() before calling setuid() (caught by rpmlint).
|
||||||
|
|
||||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.5-9
|
* Wed Feb 3 2016 David Howells <dhowells@redhat.com> 0.10.6-1
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Note the correct licence.
|
||||||
|
- Handle malformed kernel status correctly.
|
||||||
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.5-8
|
- Permit culling to be disabled on the command line with the -N flag.
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
- Suspend culling when cache space is short and cache objects are pinned.
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.5-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Dec 22 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 0.10.5-6
|
|
||||||
- Fix package for FTBFS and F20 UnversionedDocDirs (#992036)
|
|
||||||
- Use sed in %%prep to substitute doc path references and to remove
|
|
||||||
the references to the old cachefilesd-selinux package
|
|
||||||
- Remove obsolete spec items (buildroot definition, cleaning, %%defattr)
|
|
||||||
|
|
||||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.5-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.5-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.5-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.5-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Dec 6 2011 David Howells <dhowells@redhat.com> 0.10.5-1
|
* Tue Dec 6 2011 David Howells <dhowells@redhat.com> 0.10.5-1
|
||||||
- Fix systemd service data according to review comments [RH BZ 754811].
|
- Fix systemd service data according to review comments [RH BZ 754811].
|
||||||
@ -162,13 +142,13 @@ fi
|
|||||||
* Mon Jul 2 2007 David Howells <dhowells@redhat.com> 0.8-16
|
* Mon Jul 2 2007 David Howells <dhowells@redhat.com> 0.8-16
|
||||||
- Use stat64/fstatat64 to avoid EOVERFLOW errors from the kernel on large files.
|
- Use stat64/fstatat64 to avoid EOVERFLOW errors from the kernel on large files.
|
||||||
|
|
||||||
* Wed Nov 15 2006 David Howells <dhowells@redhat.com> 0.8-15
|
* Tue Nov 14 2006 David Howells <dhowells@redhat.com> 0.8-15
|
||||||
- Made cachefilesd ask the kernel whether cullable objects are in use and omit
|
- Made cachefilesd ask the kernel whether cullable objects are in use and omit
|
||||||
them from the cull table if they are.
|
them from the cull table if they are.
|
||||||
- Made the size of cachefilesd's culling tables configurable.
|
- Made the size of cachefilesd's culling tables configurable.
|
||||||
- Updated the manual pages.
|
- Updated the manual pages.
|
||||||
|
|
||||||
* Tue Nov 14 2006 David Howells <dhowells@redhat.com> 0.8-14
|
* Mon Nov 13 2006 David Howells <dhowells@redhat.com> 0.8-14
|
||||||
- Documented SELinux interaction.
|
- Documented SELinux interaction.
|
||||||
|
|
||||||
* Fri Nov 10 2006 David Howells <dhowells@redhat.com> 0.8-11
|
* Fri Nov 10 2006 David Howells <dhowells@redhat.com> 0.8-11
|
||||||
@ -200,7 +180,7 @@ fi
|
|||||||
- Added postun and preun rules so cachefilesd is stopped
|
- Added postun and preun rules so cachefilesd is stopped
|
||||||
and started when the rpm is updated or removed.
|
and started when the rpm is updated or removed.
|
||||||
|
|
||||||
* Mon Aug 7 2006 Jesse Keating <jkeating@redhat.com> 0.4-2
|
* Tue Aug 8 2006 Jesse Keating <jkeating@redhat.com> 0.4-2
|
||||||
- require /sbin/chkconfig not /usr/bin/chkconfig
|
- require /sbin/chkconfig not /usr/bin/chkconfig
|
||||||
|
|
||||||
* Tue Aug 1 2006 David Howells <dhowells@redhat.com> 0.4-1
|
* Tue Aug 1 2006 David Howells <dhowells@redhat.com> 0.4-1
|
||||||
|
Loading…
Reference in New Issue
Block a user