Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
dhcpcd
dhcpcd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dhcpcd.spec of Package dhcpcd
# # spec file for package dhcpcd # # Copyright (c) 2012 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: dhcpcd Version: 3.2.3 Release: 47.<RELEASE6> Summary: A DHCP Client Daemon License: GPL-2.0+ Group: Productivity/Networking/Boot/Clients Url: http://developer.berlios.de/projects/dhcpcd/ #Source: http://prdownload.berlios.de/dhcpcd/dhcpcd-3.2.3.tar.bz2 Source: dhcpcd-%{version}.tar.bz2 Source1: dhcpcd-1-vs-3 Source2: dhcpcd-test Source3: README.SUSE Patch1: dhcpcd-%{version}-suse.diff Patch2: dhcpcd-%{version}-more-params.diff Patch3: dhcpcd-%{version}-ntp-runtime-servers.diff Patch4: dhcpcd-%{version}-set-route.diff Patch5: dhcpcd-%{version}-clientid.diff Patch6: dhcpcd-%{version}-netconfig.diff Patch7: dhcpcd-%{version}-lastlease.diff Patch8: dhcpcd-%{version}-unaligned.diff Patch9: dhcpcd-%{version}-fiximplicit.diff Patch10: bnc#551350.diff Patch11: bnc#558744.diff Patch12: bnc#551376.diff Patch13: bnc#552916.diff Patch14: bnc#518219.diff Patch15: bnc#556613.diff Patch16: bnc#565030.diff Patch17: bnc#564441.diff Patch18: bnc#577402.diff Patch19: bnc#579438.diff Patch20: dhcpcd-3.2.3-renew-unicast.diff Patch21: dhcpcd-3.2.3-xen-checksum.diff Patch22: dhcpcd-3.2.3-option-checks.diff Patch23: N_When-getting-a-new-lease-send-the-serverID-and-lease-addr-in-a-DHCP_REQUEST-package.patch Provides: dhcp_client Requires: net-tools PreReq: sysconfig PreReq: /usr/bin/perl BuildRoot: %{_tmppath}/%{name}-%{version}-build %description dhcpcd gets an IP address and other information from a corresponding DHCP server, configures the network interface automatically, and tries to renew the lease time depending on the command line option. %prep %setup -n dhcpcd-%{version} %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 %patch6 -p1 %patch7 -p1 %patch8 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 %patch13 %patch14 -p1 %patch15 -p1 %patch16 -p0 %patch17 -p0 %patch18 -p0 %patch19 -p0 %patch20 -p0 %patch21 -p0 %patch22 -p0 %patch23 -p2 cp %{S:1} . cp %{S:3} . %build make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -O2 -pipe -fpie -DENABLE_SYSV=1 -UENABLE_DUID" LDFLAGS="-pie" %install make install DESTDIR="$RPM_BUILD_ROOT" BINDIR=%{_sbindir} install -D %{S:2} $RPM_BUILD_ROOT/%{_sbindir}/dhcpcd-test #UsrMerge mkdir $RPM_BUILD_ROOT/sbin ln -sf %{_sbindir}/dhcpcd $RPM_BUILD_ROOT/sbin #EndUserMerge %post #remove dhcpcd 1 parameters which are not implemented in dhcpcd 3.2.3 perl -i -pe 's/^(DHCLIENT_ADDITIONAL_OPTIONS=.*)-B(.*)/$1$2/' /etc/sysconfig/network/dhcp perl -i -pe 's/^(DHCLIENT_ADDITIONAL_OPTIONS=.*)-S(.*)/$1$2/' /etc/sysconfig/network/dhcp perl -i -pe 's/^(DHCLIENT_ADDITIONAL_OPTIONS=.*)-z \d+(.*)/$1$2/' /etc/sysconfig/network/dhcp perl -i -pe 's/^(DHCLIENT_ADDITIONAL_OPTIONS=.*)-w \d+(.*)/$1$2/' /etc/sysconfig/network/dhcp %postun %{insserv_cleanup} %files %defattr(-,root,root) %doc README dhcpcd-1-vs-3 README.SUSE %doc %{_mandir}/man8/dhcpcd.8* %defattr(0755,root,root) #UsrMerge /sbin/dhcpcd #EndUsrMerge %{_sbindir}/dhcpcd %{_sbindir}/dhcpcd-test %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor