Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:michals
dhcpcd
dhcpcd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dhcpcd.spec of Package dhcpcd
# # spec file for package dhcpcd # # Copyright (c) 2018 SUSE LINUX 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://roy.marples.name/projects/dhcpcd/index #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 Patch24: dhcpcd-unused.patch Requires: net-tools # FIXME: use proper Requires(pre/post/preun/...) PreReq: %{_bindir}/perl PreReq: sysconfig Provides: dhcp_client %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 -q -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 %patch17 %patch18 %patch19 %patch20 %patch21 %patch22 %patch23 -p2 %patch24 -p1 cp %{SOURCE1} . cp %{SOURCE3} . %build make %{?_smp_mflags} CFLAGS="%{optflags} -O2 -pipe -fpie -DENABLE_SYSV=1 -UENABLE_DUID" LDFLAGS="-pie" %install make install DESTDIR=%{buildroot} BINDIR=%{_sbindir} install -D %{SOURCE2} %{buildroot}/%{_sbindir}/dhcpcd-test #UsrMerge mkdir %{buildroot}/sbin ln -sf %{_sbindir}/dhcpcd %{buildroot}/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/' %{_sysconfdir}/sysconfig/network/dhcp perl -i -pe 's/^(DHCLIENT_ADDITIONAL_OPTIONS=.*)-S(.*)/$1$2/' %{_sysconfdir}/sysconfig/network/dhcp perl -i -pe 's/^(DHCLIENT_ADDITIONAL_OPTIONS=.*)-z \d+(.*)/$1$2/' %{_sysconfdir}/sysconfig/network/dhcp perl -i -pe 's/^(DHCLIENT_ADDITIONAL_OPTIONS=.*)-w \d+(.*)/$1$2/' %{_sysconfdir}/sysconfig/network/dhcp %files %doc README dhcpcd-1-vs-3 README.SUSE %{_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