# http://qa.mandriva.com/show_bug.cgi?id=31848 %define _fortify_cflags %{nil} %global __requires_exclude_from ^/usr/share/cvs/contrib/ Summary: A version control system Name: cvs Version: 1.12.13 Release: %mkrel 30 License: GPL Group: Development/Other URL: http://www.nongnu.org/cvs/ Source0: http://ftp.gnu.org/non-gnu/cvs/source/stable/%{version}/cvs-%{version}.tar.bz2 Source1: http://ftp.gnu.org/non-gnu/cvs/source/stable/%{version}/cvs-%{version}.tar.bz2.sig Source2: cvspserver Source3: cvs.conf Source4: cvs-xinetd Patch0: cvs-1.11.19-varargs.patch Patch2: cvs-1.12.13-errno.patch Patch4: cvs-1.11.1-newline.patch Patch5: cvs-1.11.4-first-login.patch Patch6: cvs-1.11.19-cvsbug.patch # Patch from cvs of cvs: # http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14840 Patch7: cvs-zlib-read.patch Patch8: cvs-1.12.13-format_not_a_string_literal_and_no_format_arguments.diff Patch9: cvs-1.12.13-CVE-2012-0804.diff Patch10: cvs-1.11.23-Fix-CVE-2017-12836.patch Requires: openssh-clients BuildRequires: autoconf2.5 BuildRequires: pkgconfig(krb5) BuildRequires: tcsh BuildRequires: texinfo-tex BuildRequires: pkgconfig(zlib) BuildRequires: tetex-latex BuildRequires: tetex-dvips BuildRequires: groff BuildRequires: vim-minimal BuildRequires: gettext-devel %description CVS means Concurrent Version System; it is a version control system which can record the history of your files (usually, but not always, source code). CVS only stores the differences between versions, instead of every version of every file you've ever created. CVS also keeps a log of who, when and why changes occurred, among other aspects. CVS is very helpful for managing releases and controlling the concurrent editing of source files among multiple authors. Instead of providing version control for a collection of files in a single directory, CVS provides version control for a hierarchical collection of directories consisting of revision controlled files. These directories and files can then be combined together to form a software release. Install the cvs package if you need to use a version control system. %prep %setup -q %patch0 -p1 -b .varargs %patch2 -p1 -b .errno %patch4 -p1 -b .newline %patch5 -p1 -b .first-login %patch6 -p1 -b .cvsbug %patch7 -p0 -b .zlib-read %patch8 -p1 -b .format_not_a_string_literal_and_no_format_arguments %patch9 -p0 -b .CVE-2012-0804 %patch10 -p1 # make autoreconf happy perl -p -i -e 's/AM_GNU_GETTEXT_VERSION.*/AM_GNU_GETTEXT_REQUIRE_VERSION(\[0.18.0\])/' configure.in perl -p -i -e 's/gl_AC_TYPE_LONG_LONG/AC_TYPE_LONG_LONG_INT/' m4/* configure.in %build # to recognize aarch64 autoreconf -vfi export SENDMAIL="%{_sbindir}/sendmail" %serverbuild export CXXFLAGS="${CFLAGS}" export CCFLAGS="${CFLAGS}" %configure2_5x \ --with-tmpdir=/tmp \ --with-external-zlib %make_build pushd doc make ps make info popd %install install -d %{buildroot}%{_sysconfdir}/xinetd.d install -d %{buildroot}%{_sysconfdir}/cvs install -d %{buildroot}%{_sbindir} %make_install install -m0755 %{SOURCE2} %{buildroot}%{_sbindir}/ install -m0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/cvs install -m0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/xinetd.d/%{name} bzip2 -f doc/*.ps # %check # Disabling currently # make check %files %doc BUGS FAQ MINOR-BUGS NEWS PROJECTS TODO README %doc doc/*.ps.bz2 %config(noreplace) %{_sysconfdir}/xinetd.d/%{name} %dir %{_sysconfdir}/cvs %config(noreplace) %{_sysconfdir}/cvs/cvs.conf %{_bindir}/cvs %{_bindir}/cvsbug %{_bindir}/rcs2log %{_sbindir}/cvspserver %{_infodir}/cvs* %{_datadir}/cvs %{_mandir}/man1/cvs.1* %{_mandir}/man5/cvs.5* %{_mandir}/man8/cvsbug.8* %changelog * Mon Oct 08 2018 pterjan <pterjan> 1.12.13-30.mga7 + Revision: 1318557 - Make autoreconf work again + umeabot <umeabot> - Mageia 7 Mass Rebuild + tv <tv> - rely on filetriggers for info system (mga#23482) * Tue Jun 05 2018 wally <wally> 1.12.13-28.mga7 + Revision: 1234793 - fix build on aarch64 * Wed Aug 16 2017 neoclust <neoclust> 1.12.13-27.mga7 + Revision: 1141229 - Add P10 - Fixes CVE-2017-12836 (mga#21504) * Tue Feb 02 2016 umeabot <umeabot> 1.12.13-26.mga6 + Revision: 932763 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 1.12.13-25.mga5 + Revision: 745215 - Second Mageia 5 Mass Rebuild * Wed Sep 17 2014 tv <tv> 1.12.13-24.mga5 + Revision: 693157 - really requires exception * Tue Sep 16 2014 umeabot <umeabot> 1.12.13-23.mga5 + Revision: 678647 - Mageia 5 Mass Rebuild + tv <tv> - use %%global for req/prov exclude - autoconvert to new prov/req excludes * Fri Oct 18 2013 umeabot <umeabot> 1.12.13-22.mga4 + Revision: 503782 - Mageia 4 Mass Rebuild * Fri Jan 11 2013 umeabot <umeabot> 1.12.13-21.mga3 + Revision: 348517 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Aug 06 2012 sander85 <sander85> 1.12.13-20.mga3 + Revision: 279436 - Fix BR for texi2dvi. * Thu Mar 29 2012 luigiwalser <luigiwalser> 1.12.13-19.mga2 + Revision: 227438 - BuildRequires vim-minimal to fix build error - build with system zlib to fix build error - add patch for CVE-2012-0804 (from redhat) * Tue Jan 11 2011 blino <blino> 1.12.13-18.mga1 + Revision: 5745 - update comment - imported package cvs