Hello community, here is the log from the commit of package freeradius-server checked in at Tue May 6 01:17:29 CEST 2008. -------- --- freeradius-server/freeradius-server.changes 2008-03-19 17:26:00.000000000 +0100 +++ /mounts/work_src_done/STABLE/freeradius-server/freeradius-server.changes 2008-05-05 15:03:30.000000000 +0200 @@ -1,0 +2,5 @@ +Mon May 5 15:02:10 CEST 2008 - pth@suse.de + +- Fix coding errors that made the package fail to build. + +------------------------------------------------------------------- New: ---- freeradius-server-2.0.3-codecleanup.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ freeradius-server.spec ++++++ --- /var/tmp/diff_new_pack.J30746/_old 2008-05-06 01:17:02.000000000 +0200 +++ /var/tmp/diff_new_pack.J30746/_new 2008-05-06 01:17:02.000000000 +0200 @@ -12,7 +12,7 @@ Name: freeradius-server Version: 2.0.3 -Release: 1 +Release: 15 License: GPL v2 only; LGPL v2.1 only Group: Productivity/Networking/Radius/Servers Provides: radiusd @@ -26,6 +26,7 @@ Patch1: %{name}-%{version}-dialup_admin.patch Patch2: %{name}-%{version}-rcradiusd.patch Patch3: %{name}-%{version}-raddb.patch +Patch4: %{name}-%{version}-codecleanup.patch PreReq: %{_sbindir}/useradd %{_sbindir}/groupadd PreReq: perl PreReq: %insserv_prereq %fillup_prereq @@ -68,6 +69,7 @@ %if %_oracle_support == 1 %package oracle + BuildRequires: oracle-instantclient-basic oracle-instantclient-devel Group: Productivity/Networking/Radius/Servers Summary: FreeRADIUS Oracle database support @@ -86,6 +88,7 @@ %endif %package libs +License: GPL v2 only; LGPL v2.1 only Group: Productivity/Networking/Radius/Servers Summary: FreeRADIUS shared library @@ -103,6 +106,7 @@ various other people %package utils +License: GPL v2 only; LGPL v2.1 only Group: Productivity/Networking/Radius/Servers Summary: FreeRADIUS Clients Requires: %{name}-libs = %{version} @@ -133,6 +137,7 @@ various other people %package dialupadmin +License: GPL v2 only; LGPL v2.1 only Group: Productivity/Networking/Radius/Servers Summary: Web management for FreeRADIUS Requires: http_daemon mod_php_any php @@ -154,6 +159,7 @@ Thanasis Duitsis <aduitsis at noc.ntua.gr> %package devel +License: GPL v2 only; LGPL v2.1 only Group: Development/Libraries/C and C++ Summary: FreeRADIUS Development Files (static libs) Requires: %{name}-libs = %{version} @@ -172,6 +178,7 @@ various other people %package doc +License: GPL v2 only; LGPL v2.1 only Group: Productivity/Networking/Radius/Servers Summary: FreeRADIUS Documentation Requires: %{name} @@ -195,9 +202,11 @@ %patch1 %patch2 %patch3 +%patch4 %build -export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DLDAP_DEPRECATED -fstack-protector" +#export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DLDAP_DEPRECATED -fstack-protector" +export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED -fstack-protector" %ifarch x86_64 ppc ppc64 s390 s390x export CFLAGS="$CFLAGS -fPIC -DPIC" %endif @@ -413,6 +422,8 @@ %attr(644,root,root) %{_includedir}/freeradius/*.h %changelog +* Mon May 05 2008 pth@suse.de +- Fix coding errors that made the package fail to build. * Wed Mar 19 2008 prusnak@suse.cz - updated to 2.0.3 Feature improvements @@ -635,7 +646,7 @@ * More dictionary updates * Security and portability fixes to rlm_otp * Miscellaneous bug fixes -* Mon Jun 05 2006 stark@suse.de +* Tue Jun 06 2006 stark@suse.de - update to version 1.1.2 * Allow tagged VSA's for Juniper. * Allow Ascend "abinary" format to be specified as octets, @@ -667,7 +678,7 @@ - changed php requires to generic ones (for php5) * Sat Jan 14 2006 stark@suse.de - use --with-udpfromto useful for systems with multiple addresses -* Thu Jan 12 2006 stark@suse.de +* Fri Jan 13 2006 stark@suse.de - update to version 1.1.0 * Wed Jan 11 2006 stark@suse.de - adding stack-protector to CFLAGS ++++++ freeradius-server-2.0.3-codecleanup.patch ++++++ --- src/modules/rlm_smb/rfcnb-util.c +++ src/modules/rlm_smb/rfcnb-util.c @@ -208,7 +208,7 @@ /* Free up a packet */ -int RFCNB_Free_Pkt(struct RFCNB_Pkt *pkt) +void RFCNB_Free_Pkt(struct RFCNB_Pkt *pkt) { struct RFCNB_Pkt *pkt_next; char *data_ptr; --- src/modules/rlm_smb/rfcnb-util.h +++ src/modules/rlm_smb/rfcnb-util.h @@ -52,3 +52,4 @@ struct in_addr *Dest_IP, int * port); +void RFCNB_Free_Pkt(struct RFCNB_Pkt *pkt); --- src/modules/rlm_smb/session.c +++ src/modules/rlm_smb/session.c @@ -41,6 +41,7 @@ #include "rfcnb-priv.h" #include "rfcnb-util.h" +#include "rfcnb-io.h" int RFCNB_Stats[RFCNB_MAX_STATS]; @@ -315,7 +316,7 @@ void *RFCNB_Listen() { - + return NULL; } /* Pick up the last error response as a string, hmmm, this routine should */ @@ -357,7 +358,7 @@ /* Pick up the last error response and return in string ... */ -int RFCNB_Get_Error_Msg(int code, char *msg_buf, int len) +void RFCNB_Get_Error_Msg(int code, char *msg_buf, int len) { --- src/modules/rlm_smb/smbencrypt.c +++ src/modules/rlm_smb/smbencrypt.c @@ -25,6 +25,7 @@ RCSID("$Id: smbencrypt.c,v 1.7 2007/04/02 14:48:35 nbk Exp $") #include <string.h> +#include <ctype.h> #ifdef HAVE_SYS_VFS_H #include <sys/vfs.h> #endif --- src/modules/rlm_sql/drivers/rlm_sql_sqlite/sql_sqlite.c +++ src/modules/rlm_sql/drivers/rlm_sql_sqlite/sql_sqlite.c @@ -63,7 +63,7 @@ snprintf(buffer, sizeof(buffer), "%s/sqlite_radius_client_database", radius_dir); radlog(L_INFO, "rlm_sql_sqlite: Opening sqlite database %s for #%d", - sqlsocket->id); + buffer, sqlsocket->id); status = sqlite3_open(buffer, &sqlite_sock->pDb); radlog(L_INFO, "rlm_sql_sqlite: sqlite3_open() = %d\n", status); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org