skoro juz sie wprowadza bconda na krb5 w openssh, to i tu tez powinno sie.
--
The only thing necessary for the triumph of evil
is for good men to do nothing.
- Edmund Burke
--- cvs.spec.orig 2003-11-13 21:06:13.000000000 +0100
+++ cvs.spec 2003-11-13 23:20:24.000000000 +0100
@@ -1,4 +1,8 @@
# $Revision: 1.112 $, $Date: 2003/10/15 17:34:56 $
+#
+# Conditional build:
+%bcond_without kerberos5 # disable kerberos5 support
+
Summary: Concurrent Versioning System
Summary(de): Concurrent-Versioning-System
Summary(es): Control de versiones en modo concurrente
@@ -31,7 +35,7 @@
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: zlib-devel
-BuildRequires: heimdal-devel
+%{?with_kerberos5:BuildRequires: heimdal-devel}
Obsoletes: cvs-nserver-client
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
--- postgresql.spec.orig 2003-11-13 21:16:22.000000000 +0100
+++ postgresql.spec 2003-11-13 23:18:05.000000000 +0100
@@ -12,6 +12,7 @@
%bcond_with jdbc # enable JDBC driver
%bcond_with absolute_dbpaths # enable absolute paths to create database
# (disabled by default because it is a security risk)
+%bcond_without kerberos5 # disable kerberos5 support
%include /usr/lib/rpm/macros.python
@@ -52,7 +53,7 @@
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison >= 1.875
-BuildRequires: heimdal-devel
+%{?with_kerberos5:BuildRequires: heimdal-devel}
BuildRequires: ncurses-devel >= 5.0
BuildRequires: openssl-devel >= 0.9.7c
BuildRequires: pam-devel
@@ -776,7 +777,7 @@
%{?with_tcl:--with-tk} \
--with-perl \
--with-python \
- --with-krb5=%{_prefix} \
+ %{?with_kerberos5:--with-krb5=%{_prefix}} \
--with-openssl \
--with-x \
%{?_with_jdbc: --with-java}
__________________________________________________________
nie pytaj co inni zrobili dla pld, pomysl ile sam zrobiles