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:
parent
afa459761a
commit
dd38cc0c12
@ -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
|
Mon Dec 14 22:39:01 CET 2009 - mt@suse.de
|
||||||
|
|
||||||
|
20
dhcp.spec
20
dhcp.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dhcp (Version 3.1.3)
|
# 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
|
# 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
|
||||||
@ -27,11 +27,11 @@ Name: dhcp
|
|||||||
BuildRequires: CASA-devel
|
BuildRequires: CASA-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: dos2unix openldap2-devel
|
BuildRequires: dos2unix openldap2-devel
|
||||||
License: BSD3c
|
License: BSD3c(or similar)
|
||||||
Group: Productivity/Networking/Boot/Servers
|
Group: Productivity/Networking/Boot/Servers
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 3.1.3
|
Version: 3.1.3
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Common Files Used by ISC DHCP Software
|
Summary: Common Files Used by ISC DHCP Software
|
||||||
Url: http://www.isc.org/isc/dhcp.html
|
Url: http://www.isc.org/isc/dhcp.html
|
||||||
Source0: dhcp-%{version}.tar.bz2
|
Source0: dhcp-%{version}.tar.bz2
|
||||||
@ -88,7 +88,7 @@ PreReq: /bin/touch /sbin/chkconfig sysconfig
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%package server
|
%package server
|
||||||
License: BSD3c
|
License: BSD3c(or similar)
|
||||||
Summary: ISC DHCP Server
|
Summary: ISC DHCP Server
|
||||||
Group: Productivity/Networking/Boot/Servers
|
Group: Productivity/Networking/Boot/Servers
|
||||||
Requires: net-tools dhcp
|
Requires: net-tools dhcp
|
||||||
@ -97,7 +97,7 @@ Provides: dhcp_server dhcp:/usr/sbin/dhcpd
|
|||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
|
|
||||||
%package client
|
%package client
|
||||||
License: BSD3c
|
License: BSD3c(or similar)
|
||||||
Summary: ISC DHCP Client
|
Summary: ISC DHCP Client
|
||||||
Group: Productivity/Networking/Boot/Clients
|
Group: Productivity/Networking/Boot/Clients
|
||||||
Requires: net-tools dhcp /usr/bin/host
|
Requires: net-tools dhcp /usr/bin/host
|
||||||
@ -107,7 +107,7 @@ Obsoletes: dhclient
|
|||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
|
|
||||||
%package relay
|
%package relay
|
||||||
License: BSD3c ; "http://www.isc.org/products/DHCP/dhcp-copyright.html: ..."
|
License: BSD3c(or similar)
|
||||||
Summary: DHCP Relay Agent
|
Summary: DHCP Relay Agent
|
||||||
Group: Productivity/Networking/Boot/Servers
|
Group: Productivity/Networking/Boot/Servers
|
||||||
Requires: net-tools dhcp
|
Requires: net-tools dhcp
|
||||||
@ -117,7 +117,7 @@ Obsoletes: dhcrelay
|
|||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
|
|
||||||
%package devel
|
%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
|
Summary: Header Files and Libraries for dhcpctl API
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: dhcp = %{version}
|
Requires: dhcp = %{version}
|
||||||
@ -235,7 +235,7 @@ CFLAGS="$RPM_OPT_FLAGS -W -Wall -fno-strict-aliasing -Wno-unused -DLDAP_DEPRECAT
|
|||||||
CFLAGS="$CFLAGS -fsigned-char"
|
CFLAGS="$CFLAGS -fsigned-char"
|
||||||
%endif
|
%endif
|
||||||
%if %{?suse_version:%suse_version}%{?!suse_version:99999} > 930
|
%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"
|
CFLAGS="$CFLAGS -fPIE"
|
||||||
%else
|
%else
|
||||||
CFLAGS="$CFLAGS -fpie"
|
CFLAGS="$CFLAGS -fpie"
|
||||||
@ -246,12 +246,12 @@ export DEBUG_FLAGS=$CFLAGS
|
|||||||
# first, build binaries which use bsd sockets instead of lpf
|
# first, build binaries which use bsd sockets instead of lpf
|
||||||
cp includes/site.h includes/site.h.save.lpf
|
cp includes/site.h includes/site.h.save.lpf
|
||||||
echo "#define USE_SOCKETS" >> includes/site.h
|
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
|
cp -p work.linux-2.2/server/dhcpd work.linux-2.2/server/dhcpd.bsd
|
||||||
make clean
|
make clean
|
||||||
# then, build the normal binaries using lpf
|
# then, build the normal binaries using lpf
|
||||||
mv includes/site.h.save.lpf includes/site.h
|
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
|
# with a minimal config, see if it runs
|
||||||
echo "ddns-update-style interim;" > testconf
|
echo "ddns-update-style interim;" > testconf
|
||||||
work.linux-2.2/server/dhcpd -t -cf testconf || exit 1
|
work.linux-2.2/server/dhcpd -t -cf testconf || exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user