Accepting request 853293 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/853293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/memcached?expand=0&rev=50
This commit is contained in:
Dominique Leuenberger 2020-12-08 12:23:49 +00:00 committed by Git OBS Bridge
commit 88ba8021fe
4 changed files with 29 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7bbdac9b031d8cfca4a1207f28df598b90ee2e9b44667f7eabd0fe1a59ca5173
size 547791

3
memcached-1.6.9.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5a62ce377314dbffdb37c4467e7763e3abae376a16171e613cbe69956f092d1
size 556137

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Nov 26 18:44:34 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 1.6.9:
* arm64: Re-add arm crc32c hw acceleration for extstore
* restart mode: expose memory_file path in stats settings
* 'shutdown graceful' command for raising SIGUSR1
* Introduce NAPI ID based worker thread selection (see doc/napi_ids.txt)
* item crawler hash table walk mode
* bugfixes
-------------------------------------------------------------------
Tue Oct 13 10:08:57 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Trim history lesson from description.
- Do not suppress errors from useradd.
- Reduce hard dependency on systemd.
-------------------------------------------------------------------
Mon Sep 28 20:29:25 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@ -28,7 +28,7 @@
%endif
Name: memcached
Version: 1.6.7
Version: 1.6.9
Release: 0
Summary: A high-performance, distributed memory object caching system
License: BSD-3-Clause
@ -46,6 +46,7 @@ BuildRequires: libevent-devel >= 2.0
BuildRequires: libtool
%if %{with tls}
BuildRequires: openssl-devel >= 1.1.0
BuildRequires: perl
BuildRequires: perl-IO-Socket-SSL
BuildRequires: perl-Net-SSLeay
%endif
@ -56,7 +57,7 @@ Requires(pre): %{_sbindir}/useradd
Conflicts: memcached-unstable
%if 0%{?suse_version} > 1210
BuildRequires: systemd-rpm-macros
%{?systemd_requires}
%{?systemd_ordering}
%else
Requires(pre): %insserv_prereq
%endif
@ -66,14 +67,6 @@ Memcached is a high-performance, distributed memory object caching
system, generic in nature, but intended for use in speeding up dynamic
web applications by alleviating database load.
Danga Interactive developed memcached to enhance the speed of
LiveJournal.com, a site which was already doing 20 million+ dynamic
page views per day for 1 million users with a bunch of webservers and a
bunch of database servers. memcached dropped the database load to
almost nothing, yielding faster page load times for users, better
resource utilization, and faster access to the databases on a memcache
miss.
%package devel
Summary: Files needed for development using memcached protocol
Group: Development/Libraries/C and C++
@ -123,8 +116,11 @@ ln -s ../..%{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
make %{?_smp_mflags} test
%pre
%{_sbindir}/groupadd -r %{name} >/dev/null 2>&1 || :
%{_sbindir}/useradd -g %{name} -s /bin/false -r -c "user for %{name}" -d %{_localstatedir}/lib/%{name} %{name} >/dev/null 2>&1 || :
getent group %{name} >/dev/null || \
%{_sbindir}/groupadd -r %{name}
getent passwd %{name} >/dev/null || \
%{_sbindir}/useradd -g %{name} -s /bin/false -r \
-c "user for %{name}" -d %{_localstatedir}/lib/%{name} %{name}
%if 0%{?suse_version} > 1210
%service_add_pre %{name}.service
%endif