Sync from SUSE:SLFO:Main memcached revision 679a7be58363c49181bf1127d4f5e920
This commit is contained in:
parent
a179712ff1
commit
55f949f05b
BIN
memcached-1.6.23.tar.gz
(Stored with Git LFS)
BIN
memcached-1.6.23.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
memcached-1.6.29.tar.gz
(Stored with Git LFS)
Normal file
BIN
memcached-1.6.29.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
addFilter("incoherent-init-script-name")
|
|
1
memcached-sysusers.conf
Normal file
1
memcached-sysusers.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
u memcached - "user for memcached" /var/lib/memcached -
|
1
memcached-tmpfiles.conf
Normal file
1
memcached-tmpfiles.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
D /run/memcached 0750 memcached memcached
|
@ -1,3 +1,67 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 10 16:59:23 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
|
||||||
|
|
||||||
|
- update to 1.6.29:
|
||||||
|
* Speeds up displaying stats proxy when many user defined counters are used.
|
||||||
|
* If a user counter changes name, it will be reset to zero.
|
||||||
|
* Allows overriding commands either by key prefix or specific command.
|
||||||
|
* see details at https://github.com/memcached/memcached/wiki/ReleaseNotes1629
|
||||||
|
- update to 1.6.28:
|
||||||
|
* Fixes unfortunate potentially critical use-after-free bug in the proxy mode
|
||||||
|
that was introduced in 1.6.27. The bug is difficult to trigger but if you
|
||||||
|
are on 1.6.27 upgrading is strongly recommended.
|
||||||
|
* Also adds experimental support for TLS to proxy backends. Please let us know
|
||||||
|
if you intend to use this feature as it has only received limited testing;
|
||||||
|
we will prioritize further work if folks are interested in using it.
|
||||||
|
* memcached-tool: add -u flag to unescape special chars in keys names
|
||||||
|
* proxy: add counters for VM memory and GC runs
|
||||||
|
* see details at https://github.com/memcached/memcached/wiki/ReleaseNotes1628
|
||||||
|
- update to 1.6.27:
|
||||||
|
* Many proxy updates, including a critical stability fix for users of the newer
|
||||||
|
style request API.
|
||||||
|
* Adds new meta protocol extensions:
|
||||||
|
+ Ecas: If specified and request succeeds, uses supplied number for the CAS
|
||||||
|
value of the item. This allows using external versioning for cache data
|
||||||
|
(ie; row versions, crc's, etc).
|
||||||
|
+ x flag for md: This flag causes md to atomically replace the value with the
|
||||||
|
same meta data, but 0 byte value. Can be combined with I to make an empty
|
||||||
|
item that is marked stale.
|
||||||
|
* see details at https://github.com/memcached/memcached/wiki/ReleaseNotes1627
|
||||||
|
- update to 1.6.26:
|
||||||
|
* Fixes a crash when lru_crawler metadump is used and the client connection
|
||||||
|
is closed early. Requires closing the client exactly before the last few
|
||||||
|
kilobytes of a dump are about to be flushed.
|
||||||
|
* Also improves the ergonomics of proxy configurations via start arguments.
|
||||||
|
* see details at https://github.com/memcached/memcached/wiki/ReleaseNotes1626
|
||||||
|
|
||||||
|
- update to 1.6.25:
|
||||||
|
* Main focus of this release is an overhaul of extstore's space compaction system,
|
||||||
|
and addition of disk specialization and basic tiering support.
|
||||||
|
This optimization can greatly reduce write amplification and improve general performance.
|
||||||
|
* see details at https://github.com/memcached/memcached/wiki/ReleaseNotes1625
|
||||||
|
|
||||||
|
- update to 1.6.24:
|
||||||
|
* Mostly fixes from the fix backlog and proxy updates.
|
||||||
|
* see details at https://github.com/memcached/memcached/wiki/ReleaseNotes1624
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 23 10:22:55 UTC 2024 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- Use %autosetup macro. Allows to eliminate the usage of deprecated
|
||||||
|
%patchN
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 19 01:06:31 UTC 2024 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
|
||||||
|
|
||||||
|
- Drop obsolete rpmlint filter
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 19 00:10:25 UTC 2024 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
|
||||||
|
|
||||||
|
- Create /run/memcached as a location for sockets
|
||||||
|
- Use conditionals for sysusers/tmpfiles
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 29 14:22:08 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Mon Jan 29 14:22:08 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -25,8 +25,15 @@
|
|||||||
%else
|
%else
|
||||||
%bcond_with tls
|
%bcond_with tls
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?suse_version} >= 1500
|
||||||
|
%bcond_without sysusers
|
||||||
|
%bcond_without tmpfiles
|
||||||
|
%else
|
||||||
|
%bcond_with sysusers
|
||||||
|
%bcond_with tmpfiles
|
||||||
|
%endif
|
||||||
Name: memcached
|
Name: memcached
|
||||||
Version: 1.6.23
|
Version: 1.6.29
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A high-performance, distributed memory object caching system
|
Summary: A high-performance, distributed memory object caching system
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -34,9 +41,9 @@ Group: Productivity/Networking/Other
|
|||||||
URL: https://memcached.org/
|
URL: https://memcached.org/
|
||||||
Source: https://www.memcached.org/files/%{name}-%{version}.tar.gz
|
Source: https://www.memcached.org/files/%{name}-%{version}.tar.gz
|
||||||
Source2: %{name}.sysconfig
|
Source2: %{name}.sysconfig
|
||||||
Source3: memcached-rpmlintrc
|
|
||||||
Source4: memcached.service
|
Source4: memcached.service
|
||||||
Source5: system-user-memcached.conf
|
Source5: %{name}-sysusers.conf
|
||||||
|
Source6: %{name}-tmpfiles.conf
|
||||||
Patch0: harden_memcached.service.patch
|
Patch0: harden_memcached.service.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -52,7 +59,7 @@ BuildRequires: perl
|
|||||||
BuildRequires: perl-IO-Socket-SSL
|
BuildRequires: perl-IO-Socket-SSL
|
||||||
BuildRequires: perl-Net-SSLeay
|
BuildRequires: perl-Net-SSLeay
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} >= 1500
|
%if %{with sysusers}
|
||||||
BuildRequires: sysuser-tools
|
BuildRequires: sysuser-tools
|
||||||
%sysusers_requires
|
%sysusers_requires
|
||||||
%else
|
%else
|
||||||
@ -84,8 +91,7 @@ web applications by alleviating database load.
|
|||||||
This package contains development files
|
This package contains development files
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
@ -102,8 +108,8 @@ autoreconf -fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
%if 0%{?suse_version} >= 1500
|
%if %{with sysusers}
|
||||||
%sysusers_generate_pre %{SOURCE5} memcached system-user-memcached.conf
|
%sysusers_generate_pre %{SOURCE5} %{name} %{name}-user.conf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -114,15 +120,17 @@ install -D -m 0644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
|||||||
install -d -m 755 %{buildroot}%{_sbindir}
|
install -d -m 755 %{buildroot}%{_sbindir}
|
||||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
||||||
install -D -m 0644 %{SOURCE4} %{buildroot}%{_unitdir}/%{name}.service
|
install -D -m 0644 %{SOURCE4} %{buildroot}%{_unitdir}/%{name}.service
|
||||||
%if 0%{?suse_version} >= 1500
|
%if %{with sysusers}
|
||||||
mkdir -p %{buildroot}%{_sysusersdir}
|
install -D -m 0644 %{SOURCE5} %{buildroot}%{_sysusersdir}/%{name}-user.conf
|
||||||
install -m 0644 %{SOURCE5} %{buildroot}%{_sysusersdir}/
|
%endif
|
||||||
|
%if %{with tmpfiles}
|
||||||
|
install -D -m 0644 %{SOURCE6} %{buildroot}%{_tmpfilesdir}/%{name}.conf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%make_build test
|
%make_build test
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1500
|
%if %{with sysusers}
|
||||||
%pre -f memcached.pre
|
%pre -f memcached.pre
|
||||||
%else
|
%else
|
||||||
|
|
||||||
@ -138,6 +146,9 @@ getent passwd %{name} >/dev/null || \
|
|||||||
%post
|
%post
|
||||||
%service_add_post %{name}.service
|
%service_add_post %{name}.service
|
||||||
%fillup_only %{name}
|
%fillup_only %{name}
|
||||||
|
%if %{with tmpfiles}
|
||||||
|
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
|
||||||
|
%endif
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%service_del_preun %{name}.service
|
%service_del_preun %{name}.service
|
||||||
@ -155,8 +166,12 @@ getent passwd %{name} >/dev/null || \
|
|||||||
%{_unitdir}/%{name}.service
|
%{_unitdir}/%{name}.service
|
||||||
%{_fillupdir}/sysconfig.%{name}
|
%{_fillupdir}/sysconfig.%{name}
|
||||||
%dir %attr(751,root,root) %{_localstatedir}/lib/%{name}
|
%dir %attr(751,root,root) %{_localstatedir}/lib/%{name}
|
||||||
%if 0%{?suse_version} >= 1500
|
%if %{with sysusers}
|
||||||
%{_sysusersdir}/system-user-memcached.conf
|
%{_sysusersdir}/%{name}-user.conf
|
||||||
|
%endif
|
||||||
|
%if %{with tmpfiles}
|
||||||
|
%{_tmpfilesdir}/%{name}.conf
|
||||||
|
%dir %ghost %{_rundir}/%{name}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
#Type Name ID GECOS Home directory Shell
|
|
||||||
u memcached - "user for memcached" /var/lib/memcached -
|
|
Loading…
Reference in New Issue
Block a user