- rebuild for MySQL 4
- switched over to installed libtool
This commit is contained in:
Thomas Woerner 2004-11-19 15:47:28 +00:00
parent e6f237ae08
commit c2530c055a

View File

@ -1,7 +1,7 @@
Summary: High-performance and highly configurable free RADIUS server. Summary: High-performance and highly configurable free RADIUS server.
Name: freeradius Name: freeradius
Version: 1.0.1 Version: 1.0.1
Release: 2 Release: 3
License: GPL License: GPL
Group: System Environment/Daemons Group: System Environment/Daemons
URL: http://www.freeradius.org/ URL: http://www.freeradius.org/
@ -20,6 +20,7 @@ Patch7: freeradius-1.0.0-sasl2.patch
Patch8: freeradius-1.0.0-samba3.patch Patch8: freeradius-1.0.0-samba3.patch
Patch9: freeradius-1.0.1-radrelay.patch Patch9: freeradius-1.0.1-radrelay.patch
Patch10: freeradius-1.0.1-build.patch Patch10: freeradius-1.0.1-build.patch
Patch11: freeradius-1.0.1-lib64.patch
%description %description
The FreeRADIUS Server Project is a high performance and highly configurable The FreeRADIUS Server Project is a high performance and highly configurable
@ -113,6 +114,7 @@ done when adding or deleting new users.
%patch9 -p1 -b .radrelay %patch9 -p1 -b .radrelay
%patch10 -p1 -b .build %patch10 -p1 -b .build
%build %build
%ifarch s390 s390x %ifarch s390 s390x
export CFLAGS="$RPM_OPT_FLAGS -fPIC" export CFLAGS="$RPM_OPT_FLAGS -fPIC"
@ -120,16 +122,20 @@ export CFLAGS="$RPM_OPT_FLAGS -fPIC"
export CFLAGS="$RPM_OPT_FLAGS -fpic" export CFLAGS="$RPM_OPT_FLAGS -fpic"
%endif %endif
%configure \ %configure \
--disable-static \ --enable-shared --disable-static \
--with-gnu-ld \ --with-gnu-ld \
--with-threads \ --with-threads \
--with-thread-pool \ --with-thread-pool \
--disable-ltdl-install \ --disable-ltdl-install --with-system-libtool \
--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql \ --with-rlm-sql_postgresql-include-dir=/usr/include/pgsql \
--with-rlm-sql_mysql-include-dir=/usr/include/mysql \ --with-rlm-sql_mysql-include-dir=/usr/include/mysql \
--with-mysql-lib-dir=%{_libdir}/mysql \ --with-mysql-lib-dir=%{_libdir}/mysql \
--with-rlm-dbm-lib-dir=%{_libdir} \ --with-rlm-dbm-lib-dir=%{_libdir} \
--with-rlm-krb5-include-dir=/usr/kerberos/include --with-rlm-krb5-include-dir=/usr/kerberos/include
%if "%{_lib}" == "lib64"
perl -pi -e 's:sys_lib_search_path_spec=.*:sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64":' libtool
%endif
make make
@ -235,6 +241,10 @@ fi
%changelog %changelog
* Fri Nov 19 2004 Thomas Woerner <twoerner@redhat.com> 1.0.1-3
- rebuild for MySQL 4
- switched over to installed libtool
* Fri Nov 5 2004 Thomas Woerner <twoerner@redhat.com> 1.0.1-2 * Fri Nov 5 2004 Thomas Woerner <twoerner@redhat.com> 1.0.1-2
- Fixed install problem of radeapclient (#138069) - Fixed install problem of radeapclient (#138069)