packages: LPRng/LPRng.spec - added kerberos5 bcond - diabled kerbros5 suppo...

baggins baggins at pld-linux.org
Mon Jul 6 15:51:06 CEST 2009


Author: baggins                      Date: Mon Jul  6 13:51:06 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added kerberos5 bcond
- diabled kerbros5 support, the API used is so ancient there are even comments
  in the code that it needs rewriting or dropping

---- Files affected:
packages/LPRng:
   LPRng.spec (1.136 -> 1.137) 

---- Diffs:

================================================================
Index: packages/LPRng/LPRng.spec
diff -u packages/LPRng/LPRng.spec:1.136 packages/LPRng/LPRng.spec:1.137
--- packages/LPRng/LPRng.spec:1.136	Sat Jul  4 01:51:37 2009
+++ packages/LPRng/LPRng.spec	Mon Jul  6 15:51:00 2009
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	kerberos5	# build with kerberos5 support
+#
 Summary:	A next-generation printing system for UNIX
 Summary(pl.UTF-8):	System drukowania nowej generacji
 Summary(pt_BR.UTF-8):	Gerenciador de impressão para UNIX e NT
@@ -28,7 +32,7 @@
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	gettext-devel
-BuildRequires:	heimdal-devel
+%{?with_kerberos5:BuildRequires:	heimdal-devel}
 BuildRequires:	libtool
 BuildRequires:	libwrap-devel
 BuildRequires:	openssl-devel >= 0.9.7d
@@ -189,7 +193,8 @@
 	--with-lpd_perms_path=%{_sysconfdir}/lpd.perms \
 	--with-done_jobs=0 \
 	--disable-werror \
-	--enable-kerberos \
+	%{?with_kerberos5:--enable-kerberos} \
+	%{!?with_kerberos5:--disable-kerberos} \
 	--enable-tcpwrappers \
 	--enable-ssl
 
@@ -258,6 +263,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.137  2009/07/06 13:51:00  baggins
+- added kerberos5 bcond
+- diabled kerbros5 support, the API used is so ancient there are even comments
+  in the code that it needs rewriting or dropping
+
 Revision 1.136  2009/07/03 23:51:37  baggins
 - 3.8.33
 - removed obsolete DESTDIR patch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/LPRng/LPRng.spec?r1=1.136&r2=1.137&f=u



More information about the pld-cvs-commit mailing list