Accepting request 120999 from home:worldcitizen:branches:network

Enable the same CFLAGS as for other hardware

OBS-URL: https://build.opensuse.org/request/show/120999
OBS-URL: https://build.opensuse.org/package/show/network/freeradius-server?expand=0&rev=39
This commit is contained in:
Marcus Meissner 2012-05-16 22:31:35 +00:00 committed by Git OBS Bridge
parent 4e890a35c8
commit 69864838c9
2 changed files with 11 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 14 21:47:20 UTC 2012 - joop.boonen@opensuse.org
- Enable the same CFLAGS as for other hardware
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 19 13:55:27 UTC 2011 - vcizek@suse.com Wed Oct 19 13:55:27 UTC 2011 - vcizek@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package freeradius-server # spec file for package freeradius-server
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,14 +16,13 @@
# #
Name: freeradius-server Name: freeradius-server
Version: 2.1.12 Version: 2.1.12
Release: 1 Release: 0
License: GPL-2.0 ; LGPL-2.1
Summary: Very Highly Configurable Radius Server Summary: Very Highly Configurable Radius Server
Url: http://www.freeradius.org/ License: GPL-2.0 ; LGPL-2.1
Group: Productivity/Networking/Radius/Servers Group: Productivity/Networking/Radius/Servers
Url: http://www.freeradius.org/
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Patch1: freeradius-server-2.1.6-dialup_admin.patch Patch1: freeradius-server-2.1.6-dialup_admin.patch
Patch2: freeradius-server-2.1.6-rcradiusd.patch Patch2: freeradius-server-2.1.6-rcradiusd.patch
@ -70,8 +69,8 @@ PreReq: pwdutils
Requires: %{name}-libs = %{version} Requires: %{name}-libs = %{version}
Requires: python Requires: python
Recommends: logrotate Recommends: logrotate
Provides: radiusd
Provides: freeradius = %{version} Provides: freeradius = %{version}
Provides: radiusd
Obsoletes: freeradius < %{version} Obsoletes: freeradius < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Conflicts: radiusd-livingston radiusd-cistron icradius Conflicts: radiusd-livingston radiusd-cistron icradius
@ -114,7 +113,6 @@ attributes Selecting a particular configuration Authentication methods
%endif %endif
%package libs %package libs
License: GPL-2.0 ; LGPL-2.1
Summary: FreeRADIUS shared library Summary: FreeRADIUS shared library
Group: Productivity/Networking/Radius/Servers Group: Productivity/Networking/Radius/Servers
@ -122,7 +120,6 @@ Group: Productivity/Networking/Radius/Servers
The FreeRADIUS shared library The FreeRADIUS shared library
%package utils %package utils
License: GPL-2.0 ; LGPL-2.1
Summary: FreeRADIUS Clients Summary: FreeRADIUS Clients
Group: Productivity/Networking/Radius/Clients Group: Productivity/Networking/Radius/Clients
Requires: %{name}-libs = %{version} Requires: %{name}-libs = %{version}
@ -143,7 +140,6 @@ features are:
* Accounting methods * Accounting methods
%package dialupadmin %package dialupadmin
License: GPL-2.0 ; LGPL-2.1
Summary: Web management for FreeRADIUS Summary: Web management for FreeRADIUS
Group: Productivity/Networking/Radius/Servers Group: Productivity/Networking/Radius/Servers
Requires: http_daemon Requires: http_daemon
@ -161,7 +157,6 @@ supported) or in LDAP. Apart from the web pages, it also includes a
number of scripts to make the administrator's life a lot easier. number of scripts to make the administrator's life a lot easier.
%package devel %package devel
License: GPL-2.0 ; LGPL-2.1
Summary: FreeRADIUS Development Files (static libs) Summary: FreeRADIUS Development Files (static libs)
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{name}-libs = %{version} Requires: %{name}-libs = %{version}
@ -170,7 +165,6 @@ Requires: %{name}-libs = %{version}
These are the static libraries for the FreeRADIUS package. These are the static libraries for the FreeRADIUS package.
%package doc %package doc
License: GPL-2.0 ; LGPL-2.1
Summary: FreeRADIUS Documentation Summary: FreeRADIUS Documentation
Group: Productivity/Networking/Radius/Servers Group: Productivity/Networking/Radius/Servers
Requires: %{name} Requires: %{name}
@ -199,7 +193,7 @@ find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g
# So we disable it here, if you want to retest, just delete this comment and the line below. # So we disable it here, if you want to retest, just delete this comment and the line below.
export SUSE_ASNEEDED=0 export SUSE_ASNEEDED=0
export CFLAGS="%{optflags} -DLDAP_DEPRECATED -fstack-protector" export CFLAGS="%{optflags} -DLDAP_DEPRECATED -fstack-protector"
%ifarch x86_64 ppc ppc64 s390 s390x %ifarch x86_64 ppc ppc64 s390 s390x %arm
export CFLAGS="$CFLAGS -fPIC -DPIC" export CFLAGS="$CFLAGS -fPIC -DPIC"
%endif %endif
export LDFLAGS="-pie" export LDFLAGS="-pie"