%bcond_without kerberos # build without krb5 support
#
# TODO:
-# - stay with STABLE 2.5.04 line as soon as it becomes stable
+# - commit -r BRANCH is rejected (contrary to manual)
+# you can commit new file to branch with this technique:
+# cvs add file.patch
+# cvs up -r BRANCH file.patch
+# cvs ci -m '- bleh' file.patch
+# or just install cvs client from cvsnt package.
+# - the newline auto translation on text files should be disabled on .patch files (better for any!)
# - check server mode and default config
# - unpackaged:
# /usr/lib/libcvsapi.la
Summary: Concurrent Versioning System
Summary(pl.UTF-8): Concurrent Versioning System
Name: cvsnt
-Version: 2.5.04.3125
+# 2.5.04 is current stable series (2.5.05 is not)
+Version: 2.5.05.3240
Release: 1
License: GPL v2+/LGPL v2+
Group: Development/Version Control
# http://www.cvsnt.org/wiki/Download
Source0: http://www.cvsnt.org/archive/%{name}-%{version}.tar.gz
-# Source0-md5: b8aae9e50c3ef682a126a5d19c797558
+# Source0-md5: 474b57dcdd8da46f5eac47e6adbce068
Source1: %{name}.inetd
Source2: %{name}-cvslockd.init
Source3: %{name}.pam
Patch3: %{name}-system-ntlm.patch
Patch4: %{name}-crypt.patch
Patch5: %{name}-build.patch
+Patch6: %{name}-nospam.patch
+Patch7: %{name}-ipv6.patch
+Patch8: %{name}-ipvflags.patch
URL: http://www.cvsnt.org/
BuildRequires: autoconf >= 2.58
BuildRequires: automake >= 1:1.7.9
BuildRequires: libltdl-devel
BuildRequires: libntlm-devel >= 0.3.6
BuildRequires: libstdc++-devel
+BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: mysql-devel
BuildRequires: openssl-devel
%patch3 -p1
%patch4 -p0
%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
rm -rf pcre libltdl zlib protocols/ntlm