Author: glen                         Date: Wed Mar 12 11:36:18 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- enable snmp suppport (patch by Ilja Bobkevič <ilja.bobkevic at delfi.lt>)

---- Files affected:
SPECS:
   freeradius.spec (1.81.2.1 -> 1.81.2.2) 

---- Diffs:

================================================================
Index: SPECS/freeradius.spec
diff -u SPECS/freeradius.spec:1.81.2.1 SPECS/freeradius.spec:1.81.2.2
--- SPECS/freeradius.spec:1.81.2.1      Wed Mar  5 12:31:38 2008
+++ SPECS/freeradius.spec       Wed Mar 12 12:36:13 2008
@@ -1,5 +1,8 @@
 # $Revision$, $Date$
 #
+# Conditional build:
+%bcond_with    snmp        # build with snmp support
+#
 %include       /usr/lib/rpm/macros.perl
 # FIXME:
 # - won't be good to include these contrib examples?
@@ -9,7 +12,7 @@
 Summary(pl.UTF-8):     Szybki i wysoce konfigurowalny serwer RADIUS
 Name:          freeradius
 Version:       1.1.7
-Release:       1
+Release:       2
 License:       GPL
 Group:         Networking/Daemons
 Source0:       ftp://ftp.freeradius.org/pub/radius/%{name}-%{version}.tar.gz
@@ -30,6 +33,7 @@
 BuildRequires: libltdl-devel
 BuildRequires: libtool
 BuildRequires: mysql-devel
+%{?with_snmp:BuildRequires:    net-snmp-compat-devel}
 BuildRequires: net-snmp-devel
 BuildRequires: openldap-devel >= 2.3.0
 BuildRequires: openssl-devel >= 0.9.7d
@@ -116,7 +120,8 @@
        --with-ltdl-lib=%{_libdir} \
        --disable-ltdl-install \
        --without-rlm_krb5 \
-       --without-rlm_dbm
+       --without-rlm_dbm \
+       --with%{!?with_snmp:out}-snmp
 %{__make} -j1 \
        LIBTOOL="`pwd`/libtool --tag=CC"
 
@@ -206,6 +211,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.81.2.2  2008-03-12 11:36:13  glen
+- enable snmp suppport (patch by Ilja Bobkevič <ilja.bobkevic at delfi.lt>)
+
 Revision 1.81.2.1  2008-03-05 11:31:38  glen
 - merged 1.1.7 update from HEAD to AC-branch
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/freeradius.spec?r1=1.81.2.1&r2=1.81.2.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to