Blame SPECS/memcached.spec

c51c5e
%define username   memcached
c51c5e
%define groupname  memcached
c51c5e
%bcond_without sasl
c51c5e
%bcond_with seccomp
c51c5e
%bcond_with tests
c51c5e
c51c5e
Name:           memcached
c51c5e
Version:        1.5.9
0876ac
Release:        3%{?dist}
c51c5e
Epoch:          0
c51c5e
Summary:        High Performance, Distributed Memory Object Cache
c51c5e
c51c5e
Group:          System Environment/Daemons
c51c5e
License:        BSD
c51c5e
URL:            https://www.memcached.org/
c51c5e
Source0:        https://www.memcached.org/files/%{name}-%{version}.tar.gz
c51c5e
Source1:        memcached.sysconfig
c51c5e
c51c5e
Patch1:         memcached-unit.patch
c51c5e
Patch2:         memcached-vaend.patch
c51c5e
Patch3:         memcached-lrutest.patch
0876ac
Patch4:         memcached-CVE-2019-11596.patch
c51c5e
c51c5e
BuildRequires:  gcc libevent-devel systemd
c51c5e
BuildRequires:  perl-generators
c51c5e
BuildRequires:  perl(Test::More), perl(Test::Harness)
c51c5e
%{?with_sasl:BuildRequires: cyrus-sasl-devel}
c51c5e
%{?with_seccomp:BuildRequires: libseccomp-devel}
c51c5e
c51c5e
Requires(pre):  shadow-utils
c51c5e
%{?systemd_requires}
c51c5e
c51c5e
%description
c51c5e
memcached is a high-performance, distributed memory object caching
c51c5e
system, generic in nature, but intended for use in speeding up dynamic
c51c5e
web applications by alleviating database load.
c51c5e
c51c5e
%package devel
c51c5e
Summary: Files needed for development using memcached protocol
c51c5e
Group: Development/Libraries
c51c5e
Requires: %{name} = %{epoch}:%{version}-%{release}
c51c5e
c51c5e
%description devel
c51c5e
Install memcached-devel if you are developing C/C++ applications that require
c51c5e
access to the memcached binary include files.
c51c5e
c51c5e
%prep
c51c5e
%setup -q
c51c5e
%patch1 -p1 -b .unit
c51c5e
%patch2 -p1 -b .vaend
c51c5e
%patch3 -p1 -b .lrutest
0876ac
# #1709408 - CVE-2019-11596
0876ac
# memcached: null-pointer dereference in "lru mode" and "lru temp_ttl" causing denial of service
0876ac
%patch4 -p1 -b .lru_segfault
c51c5e
c51c5e
%build
c51c5e
# compile with full RELRO
c51c5e
export CFLAGS="%{optflags} -pie -fpie"
c51c5e
export LDFLAGS="-Wl,-z,relro,-z,now"
c51c5e
c51c5e
%configure \
c51c5e
  %{?with_sasl: --enable-sasl} \
c51c5e
  %{?with_seccomp: --enable-seccomp}
c51c5e
c51c5e
make %{?_smp_mflags}
c51c5e
c51c5e
%check
c51c5e
# tests are disabled by default as they are unreliable on build systems
c51c5e
%{!?with_tests: exit 0}
c51c5e
c51c5e
# whitespace tests fail locally on fedpkg systems now that they use git
c51c5e
rm -f t/whitespace.t
c51c5e
c51c5e
# Parts of the test suite only succeed as non-root.
c51c5e
if [ `id -u` -ne 0 ]; then
c51c5e
  # remove failing test that doesn't work in
c51c5e
  # build systems
c51c5e
  rm -f t/daemonize.t t/watcher.t t/expirations.t
c51c5e
fi
c51c5e
make test
c51c5e
c51c5e
%install
c51c5e
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
c51c5e
# remove memcached-debug
c51c5e
rm -f %{buildroot}/%{_bindir}/memcached-debug
c51c5e
c51c5e
# Perl script for monitoring memcached
c51c5e
install -Dp -m0755 scripts/memcached-tool %{buildroot}%{_bindir}/memcached-tool
c51c5e
install -Dp -m0644 scripts/memcached-tool.1 \
c51c5e
        %{buildroot}%{_mandir}/man1/memcached-tool.1
c51c5e
c51c5e
# Unit file
c51c5e
install -Dp -m0644 scripts/memcached.service \
c51c5e
        %{buildroot}%{_unitdir}/memcached.service
c51c5e
c51c5e
# Default configs
c51c5e
install -Dp -m0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/sysconfig/%{name}
c51c5e
c51c5e
c51c5e
%pre
c51c5e
getent group %{groupname} >/dev/null || groupadd -r %{groupname}
c51c5e
getent passwd %{username} >/dev/null || \
c51c5e
useradd -r -g %{groupname} -d /run/memcached \
c51c5e
    -s /sbin/nologin -c "Memcached daemon" %{username}
c51c5e
exit 0
c51c5e
c51c5e
c51c5e
%post
c51c5e
%systemd_post memcached.service
c51c5e
c51c5e
c51c5e
%preun
c51c5e
%systemd_preun memcached.service
c51c5e
c51c5e
c51c5e
%postun
c51c5e
%systemd_postun_with_restart memcached.service
c51c5e
c51c5e
c51c5e
%files
c51c5e
%doc AUTHORS ChangeLog COPYING NEWS README.md doc/CONTRIBUTORS doc/*.txt
c51c5e
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
c51c5e
%{_bindir}/memcached-tool
c51c5e
%{_bindir}/memcached
c51c5e
%{_mandir}/man1/memcached-tool.1*
c51c5e
%{_mandir}/man1/memcached.1*
c51c5e
%{_unitdir}/memcached.service
c51c5e
c51c5e
c51c5e
%files devel
c51c5e
%{_includedir}/memcached/*
c51c5e
c51c5e
%changelog
0876ac
* Mon Sep 30 2019 Tomas Korbar <tkorbar@redhat.com> - 0:1.5.9-3
0876ac
- fix null-pointer dereference in "lru mode" and "lru temp_ttl" (#1709408)
0876ac
- CVE-2019-11596
0876ac
c51c5e
* Fri Feb 08 2019 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.5.9-2
c51c5e
- fix lru-maintainer test (#1671666)
c51c5e
c51c5e
* Wed Aug 08 2018 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.5.9-1
c51c5e
- update to 1.5.9 (#1613690)
c51c5e
c51c5e
* Wed Aug 01 2018 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.5.7-3
c51c5e
- disable tests in check stage by default (#1610006)
c51c5e
c51c5e
* Tue Jul 24 2018 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.5.7-2
c51c5e
- add missing va_end() call (#1602616)
c51c5e
- enable tests in check stage again
c51c5e
c51c5e
* Thu Mar 29 2018 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.5.7-1
c51c5e
- update to 1.5.7
c51c5e
- use https URLs in spec
c51c5e
c51c5e
* Thu Mar 01 2018 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.5.6-1
c51c5e
- update to 1.5.6 (UDP port disabled by default)
c51c5e
- add gcc to build requirements
c51c5e
c51c5e
* Thu Feb 15 2018 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.5.5-2
c51c5e
- rebuild for new libevent
c51c5e
c51c5e
* Tue Feb 13 2018 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.5.5-1
c51c5e
- update to 1.5.5
c51c5e
c51c5e
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.5.4-3
c51c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c51c5e
c51c5e
* Tue Jan 30 2018 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.5.4-2
c51c5e
- fix building with new gcc
c51c5e
- use macro for systemd scriptlet dependencies
c51c5e
c51c5e
* Thu Jan 04 2018 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.5.4-1
c51c5e
- update to 1.5.4
c51c5e
c51c5e
* Mon Nov 06 2017 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.5.3-1
c51c5e
- update to 1.5.3
c51c5e
- add build condition for seccomp support
c51c5e
c51c5e
* Mon Oct 02 2017 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.5.2-1
c51c5e
- update to 1.5.2
c51c5e
c51c5e
* Fri Aug 25 2017 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.5.1-1
c51c5e
- update to 1.5.1
c51c5e
c51c5e
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.5.0-3
c51c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c51c5e
c51c5e
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.5.0-2
c51c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c51c5e
c51c5e
* Mon Jul 24 2017 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.5.0-1
c51c5e
- update to 1.5.0
c51c5e
c51c5e
* Tue Jul 11 2017 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.39-1
c51c5e
- update to 1.4.39 (CVE-2017-9951)
c51c5e
c51c5e
* Tue Jun 27 2017 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.38-1
c51c5e
- update to 1.4.38
c51c5e
c51c5e
* Fri Jun 09 2017 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.37-1
c51c5e
- update to 1.4.37
c51c5e
c51c5e
* Wed Mar 22 2017 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.36-1
c51c5e
- update to 1.4.36
c51c5e
c51c5e
* Mon Feb 27 2017 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.35-1
c51c5e
- update to 1.4.35
c51c5e
c51c5e
* Wed Feb 15 2017 Joe Orton <jorton@redhat.com> - 0:1.4.34-3
c51c5e
- fix gcc 7 format-truncation error (#1423934)
c51c5e
c51c5e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.4.34-2
c51c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c51c5e
c51c5e
* Mon Jan 16 2017 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.34-1
c51c5e
- update to 1.4.34
c51c5e
c51c5e
* Tue Nov 01 2016 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.33-1
c51c5e
- update to 1.4.33 (CVE-2016-8704, CVE-2016-8705, CVE-2016-8706)
c51c5e
c51c5e
* Thu Oct 13 2016 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.32-1
c51c5e
- update to 1.4.32
c51c5e
c51c5e
* Wed Sep 07 2016 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.31-1
c51c5e
- update to 1.4.31
c51c5e
- disable testing for now
c51c5e
c51c5e
* Fri Aug 12 2016 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.30-1
c51c5e
- update to 1.4.30
c51c5e
c51c5e
* Thu Jul 14 2016 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.29-1
c51c5e
- update to 1.4.29
c51c5e
c51c5e
* Tue Jul 12 2016 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.28-1
c51c5e
- update to 1.4.28
c51c5e
- listen only on loopback interface by default (#1182542)
c51c5e
- use upstream unit file (#1350939)
c51c5e
- remove obsolete macros and scriptlet
c51c5e
c51c5e
* Tue Jun 21 2016 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.26-1
c51c5e
- update to 1.4.26
c51c5e
c51c5e
* Tue Feb 23 2016 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.25-1
c51c5e
- update to 1.4.25
c51c5e
- enable SASL support (#815050)
c51c5e
- remove obsolete macros
c51c5e
c51c5e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.4.17-5
c51c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c51c5e
c51c5e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.4.17-4
c51c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c51c5e
c51c5e
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.4.17-3
c51c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c51c5e
c51c5e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.4.17-2
c51c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c51c5e
c51c5e
* Wed Jan 15 2014 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.17-1
c51c5e
- update to 1.4.17
c51c5e
- fix building with -Werror=format-security in CFLAGS
c51c5e
c51c5e
* Wed Aug 07 2013 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.15-7
c51c5e
- buildrequire systemd-units (#992221)
c51c5e
- update memcached man page
c51c5e
- add memcached-tool man page
c51c5e
c51c5e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.4.15-6
c51c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c51c5e
c51c5e
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0:1.4.15-5
c51c5e
- Perl 5.18 rebuild
c51c5e
c51c5e
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.4.15-4
c51c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c51c5e
c51c5e
* Thu Dec 20 2012 Miroslav Lichvar <mlichvar@redhat.com> - 0:1.4.15-3
c51c5e
- compile with full RELRO
c51c5e
c51c5e
* Tue Nov 20 2012 Joe Orton <jorton@redhat.com> - 0:1.4.15-2
c51c5e
- BR perl(Test::Harness)
c51c5e
c51c5e
* Tue Nov 20 2012 Joe Orton <jorton@redhat.com> - 0:1.4.15-1
c51c5e
- update to 1.4.15 (#782395)
c51c5e
- switch to simple systemd service (#878198)
c51c5e
- use systemd scriptlet macros (Václav Pavlín, #850204)
c51c5e
c51c5e
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.4.13-3
c51c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c51c5e
c51c5e
* Fri May 04 2012 Jon Ciesla <limburgher@gmail.com> - 0:1.4.13-2
c51c5e
- Migrate to systemd, 783112.
c51c5e
c51c5e
* Tue Feb  7 2012 Paul Lindner <lindner@mirth.inuus.com> - 0:1.4.13-1
c51c5e
- Upgrade to memcached 1.4.13
c51c5e
- http://code.google.com/p/memcached/wiki/ReleaseNotes1413
c51c5e
- http://code.google.com/p/memcached/wiki/ReleaseNotes1412
c51c5e
- http://code.google.com/p/memcached/wiki/ReleaseNotes1411
c51c5e
c51c5e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.4.10-2
c51c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c51c5e
c51c5e
* Wed Nov  9 2011 Paul Lindner <lindner@mirth.inuus.com> - 0:1.4.10-1
c51c5e
- Upgrade to memcached 1.4.10 (http://code.google.com/p/memcached/wiki/ReleaseNotes1410)
c51c5e
c51c5e
* Tue Aug 16 2011 Paul Lindner <lindner@inuus.com> - 0:1.4.7-1
c51c5e
- Upgrade to memcached 1.4.7 (http://code.google.com/p/memcached/wiki/ReleaseNotes147)
c51c5e
- Fix some rpmlint errors/warnings.
c51c5e
c51c5e
* Tue Aug  2 2011 Paul Lindner <lindner@inuus.com> - 0:1.4.6-1
c51c5e
- Upgrade to memcached-1.4.6
c51c5e
c51c5e
* Wed Feb 16 2011 Joe Orton <jorton@redhat.com> - 0:1.4.5-7
c51c5e
- fix build
c51c5e
c51c5e
* Mon Feb 14 2011 Paul Lindner <lindner@inuus.com> - 0:1.4.5-6
c51c5e
- Rebuild for updated libevent
c51c5e
c51c5e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.4.5-5
c51c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c51c5e
c51c5e
* Sun Nov 28 2010 Paul Lindner <lindner@inuus.com> - 0:1.4.5-4
c51c5e
- Add code to deal with /var/run/memcached on tmpfs
c51c5e
c51c5e
* Wed Sep  8 2010 Paul Lindner <lindner@inuus.com> - 0:1.4.5-3
c51c5e
- Apply patch from memcached issue #60, solves Bugzilla 631051
c51c5e
c51c5e
* Wed May 26 2010 Joe Orton <jorton@redhat.com> - 0:1.4.5-2
c51c5e
- LSB compliance fixes for init script
c51c5e
- don't run the test suite as root
c51c5e
- ensure a constant timestamp on the sysconfig file
c51c5e
c51c5e
* Sun Apr  4 2010 Paul Lindner <lindner@inuus.com> - 0:1.4.5-1
c51c5e
- Upgrade to upstream memcached-1.4.5 (http://code.google.com/p/memcached/wiki/ReleaseNotes145)
c51c5e
c51c5e
* Wed Jan 20 2010 Paul Lindner <lindner@inuus.com> - 0:1.4.4-2
c51c5e
- Remove SELinux policies fixes Bugzilla 557073
c51c5e
c51c5e
* Sat Nov 28 2009 Paul Lindner <lindner@inuus.com> - 0:1.4.4-1
c51c5e
- Upgraded to upstream memcached-1.4.4 (http://code.google.com/p/memcached/wiki/ReleaseNotes144)
c51c5e
- Add explicit Epoch to fix issue with broken devel dependencies (resolves 542001)
c51c5e
c51c5e
* Thu Nov 12 2009 Paul Lindner <lindner@inuus.com> - 1.4.3-1
c51c5e
- Add explicit require on memcached for memcached-devel (resolves 537046)
c51c5e
- enable-threads option no longer needed
c51c5e
- Update web site address
c51c5e
c51c5e
* Wed Nov 11 2009 Paul Lindner <lindner@inuus.com> - 1.4.3-1
c51c5e
- Upgrade to memcached-1.4.3
c51c5e
c51c5e
* Mon Oct 12 2009 Paul Lindner <lindner@inuus.com> - 1.4.2-1
c51c5e
- Upgrade to memcached-1.4.2
c51c5e
- Addresses CVE-2009-2415
c51c5e
c51c5e
* Sat Aug 29 2009 Paul Lindner <lindner@inuus.com> - 1.4.1-1
c51c5e
- Upgrade to 1.4.1
c51c5e
- http://code.google.com/p/memcached/wiki/ReleaseNotes141
c51c5e
c51c5e
* Wed Apr 29 2009 Paul Lindner <lindner@inuus.com> - 1.2.8-1
c51c5e
- Upgrade to memcached-1.2.8
c51c5e
- Addresses CVE-2009-1255
c51c5e
c51c5e
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.6-2
c51c5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c51c5e
c51c5e
* Tue Jul 29 2008 Paul Lindner <lindner@inuus.com> - 1.2.6-1
c51c5e
- Upgrade to memcached-1.2.6
c51c5e
c51c5e
* Tue Mar  4 2008 Paul Lindner <lindner@inuus.com> - 1.2.5-1
c51c5e
- Upgrade to memcached-1.2.5
c51c5e
c51c5e
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.4-4
c51c5e
- Autorebuild for GCC 4.3
c51c5e
c51c5e
* Sun Jan 27 2008 Paul Lindner <lindner@inuus.com> - 1.2.4-3
c51c5e
- Adjust libevent dependencies
c51c5e
c51c5e
* Sat Dec 22 2007 Paul Lindner <lindner@inuus.com> - 1.2.4-2
c51c5e
- Upgrade to memcached-1.2.4
c51c5e
c51c5e
* Fri Sep 07 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.2.3-8
c51c5e
- Add selinux policies
c51c5e
- Create our own system user
c51c5e
c51c5e
* Mon Aug  6 2007 Paul Lindner <lindner@inuus.com> - 1.2.3-7
c51c5e
- Fix problem with -P and -d flag combo on x86_64
c51c5e
- Fix init script for FC-6
c51c5e
c51c5e
* Fri Jul 13 2007 Paul Lindner <lindner@inuus.com> - 1.2.3-4
c51c5e
- Remove test that fails in fedora build system on ppc64
c51c5e
c51c5e
* Sat Jul  7 2007 root <lindner@inuus.com> - 1.2.3-2
c51c5e
- Upgrade to 1.2.3 upstream
c51c5e
- Adjust make install to preserve man page timestamp
c51c5e
- Conform with LSB init scripts standards, add force-reload
c51c5e
c51c5e
* Wed Jul  4 2007 Paul Lindner <lindner@inuus.com> - 1.2.2-5
c51c5e
- Use /var/run/memcached/ directory to hold PID file
c51c5e
c51c5e
* Sat May 12 2007 Paul Lindner <lindner@inuus.com> - 1.2.2-4
c51c5e
- Remove tabs from spec file, rpmlint reports no more errors
c51c5e
c51c5e
* Thu May 10 2007 Paul Lindner <lindner@inuus.com> - 1.2.2-3
c51c5e
- Enable build-time regression tests
c51c5e
- add dependency on initscripts
c51c5e
- remove memcached-debug (not needed in dist)
c51c5e
- above suggestions from Bernard Johnson
c51c5e
c51c5e
* Mon May  7 2007 Paul Lindner <lindner@inuus.com> - 1.2.2-2
c51c5e
- Tidyness improvements suggested by Ruben Kerkhof in bugzilla #238994
c51c5e
c51c5e
* Fri May  4 2007 Paul Lindner <lindner@inuus.com> - 1.2.2-1
c51c5e
- Initial spec file created via rpmdev-newspec