OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 01-Aug-2008 00:06:45 Branch: HEAD Handle: 2008073123064400 Modified files: openpkg-src/freeradius freeradius.spec Log: cleanup option processing Summary: Revision Changes Path 1.38 +18 -17 openpkg-src/freeradius/freeradius.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/freeradius/freeradius.spec ============================================================================ $ cvs diff -u -r1.37 -r1.38 freeradius.spec --- openpkg-src/freeradius/freeradius.spec 31 Jul 2008 12:55:31 -0000 1.37 +++ openpkg-src/freeradius/freeradius.spec 31 Jul 2008 22:06:44 -0000 1.38 @@ -35,7 +35,7 @@ Group: RADIUS License: GPL Version: 2.0.5 -Release: 20080731 +Release: 20080801 # package options %option with_mysql no @@ -124,13 +124,7 @@ --with-openssl-libraries=%{l_prefix}/lib/ \ %if "%{with_mysql}" == "yes" || "%{with_pgsql}" == "yes" --with-rlm_sql \ - --without-rlm_sql_db2 \ - --without-rlm_sql_firebird \ - --without-rlm_sql_freetds \ - --without-rlm_sql_iodbc \ - --without-rlm_sql_oracle \ - --without-rlm_sql_sybase \ - --without-rlm_sql_unixodbc \ + --with-rlm_sqlippool \ %else --without-rlm_sql \ --without-rlm_sqlippool \ @@ -140,21 +134,23 @@ %else --without-rlm_sql_mysql \ %endif -%if "%{with_openldap}" == "yes" - --with-rlm-ldap-include-dir=%{l_prefix}/include/ \ - --with-rlm-ldap-lib-dir=%{l_prefix}/lib/ \ -%else - --without-rlm-ldap \ -%endif %if "%{with_pgsql}" == "yes" --with-rlm_sql_postgresql \ %else --without-rlm_sql_postgresql \ %endif -%if "%{with_snmp}" == "yes" - --with-snmp \ + --without-rlm_sql_db2 \ + --without-rlm_sql_firebird \ + --without-rlm_sql_freetds \ + --without-rlm_sql_iodbc \ + --without-rlm_sql_oracle \ + --without-rlm_sql_sybase \ + --without-rlm_sql_unixodbc \ +%if "%{with_openldap}" == "yes" + --with-rlm-ldap-include-dir=%{l_prefix}/include/ \ + --with-rlm-ldap-lib-dir=%{l_prefix}/lib/ \ %else - --without-snmp \ + --without-rlm-ldap \ %endif --without-rlm_eap_ikev2 \ --without-rlm_eap_sim \ @@ -168,6 +164,11 @@ --without-rlm_pam \ --without-rlm_perl \ --without-rlm_python \ +%if "%{with_snmp}" == "yes" + --with-snmp \ +%else + --without-snmp \ +%endif --enable-strict-dependencies \ --with-ltdl-lib=%{l_prefix}/lib \ --with-ltdl-include=%{l_prefix}/include \ @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org