SHA256
1
0
forked from pool/dhcp

Updating link to change in openSUSE:Factory/dhcp revision 29.0

OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=d9d45b1374eb0345c1355a2525581ad3
This commit is contained in:
OBS User buildservice-autocommit 2010-01-14 15:36:26 +00:00 committed by Git OBS Bridge
parent afa459761a
commit dd38cc0c12
2 changed files with 16 additions and 10 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 7 20:41:13 CET 2010 - jengelh@medozas.de
- Enable parallel building
- Use large PIE model on all SPARC flavors
-------------------------------------------------------------------
Mon Dec 14 22:39:01 CET 2009 - mt@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package dhcp (Version 3.1.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -27,11 +27,11 @@ Name: dhcp
BuildRequires: CASA-devel
%endif
BuildRequires: dos2unix openldap2-devel
License: BSD3c
License: BSD3c(or similar)
Group: Productivity/Networking/Boot/Servers
AutoReqProv: on
Version: 3.1.3
Release: 1
Release: 2
Summary: Common Files Used by ISC DHCP Software
Url: http://www.isc.org/isc/dhcp.html
Source0: dhcp-%{version}.tar.bz2
@ -88,7 +88,7 @@ PreReq: /bin/touch /sbin/chkconfig sysconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package server
License: BSD3c
License: BSD3c(or similar)
Summary: ISC DHCP Server
Group: Productivity/Networking/Boot/Servers
Requires: net-tools dhcp
@ -97,7 +97,7 @@ Provides: dhcp_server dhcp:/usr/sbin/dhcpd
AutoReqProv: on
%package client
License: BSD3c
License: BSD3c(or similar)
Summary: ISC DHCP Client
Group: Productivity/Networking/Boot/Clients
Requires: net-tools dhcp /usr/bin/host
@ -107,7 +107,7 @@ Obsoletes: dhclient
AutoReqProv: on
%package relay
License: BSD3c ; "http://www.isc.org/products/DHCP/dhcp-copyright.html: ..."
License: BSD3c(or similar)
Summary: DHCP Relay Agent
Group: Productivity/Networking/Boot/Servers
Requires: net-tools dhcp
@ -117,7 +117,7 @@ Obsoletes: dhcrelay
AutoReqProv: on
%package devel
License: BSD3c ; "http://www.isc.org/products/DHCP/dhcp-copyright.html: ..."
License: BSD3c(or similar)
Summary: Header Files and Libraries for dhcpctl API
Group: Development/Libraries/C and C++
Requires: dhcp = %{version}
@ -235,7 +235,7 @@ CFLAGS="$RPM_OPT_FLAGS -W -Wall -fno-strict-aliasing -Wno-unused -DLDAP_DEPRECAT
CFLAGS="$CFLAGS -fsigned-char"
%endif
%if %{?suse_version:%suse_version}%{?!suse_version:99999} > 930
%ifarch ia64 sparc64 alpha s390x ppc64 x86_64
%ifarch ia64 %sparc alpha s390x ppc64 x86_64
CFLAGS="$CFLAGS -fPIE"
%else
CFLAGS="$CFLAGS -fpie"
@ -246,12 +246,12 @@ export DEBUG_FLAGS=$CFLAGS
# first, build binaries which use bsd sockets instead of lpf
cp includes/site.h includes/site.h.save.lpf
echo "#define USE_SOCKETS" >> includes/site.h
make DEBUG="$DEBUG_FLAGS -W" all
make %{?_smp_mflags} DEBUG="$DEBUG_FLAGS -W" all
cp -p work.linux-2.2/server/dhcpd work.linux-2.2/server/dhcpd.bsd
make clean
# then, build the normal binaries using lpf
mv includes/site.h.save.lpf includes/site.h
make DEBUG="$DEBUG_FLAGS -W" all
make %{?_smp_mflags} DEBUG="$DEBUG_FLAGS -W" all
# with a minimal config, see if it runs
echo "ddns-update-style interim;" > testconf
work.linux-2.2/server/dhcpd -t -cf testconf || exit 1