]> git.pld-linux.org Git - packages/dhcpcd.git/commitdiff
almost raw
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 19 Aug 1999 20:07:25 +0000 (20:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dhcpcd.spec -> 1.1

dhcpcd.spec [new file with mode: 0644]

diff --git a/dhcpcd.spec b/dhcpcd.spec
new file mode 100644 (file)
index 0000000..fa330e7
--- /dev/null
@@ -0,0 +1,51 @@
+Summary: DHCPC Daemon
+Name: dhcpcd
+%define        version 1.3.17pl2
+Version: %{version}
+Release: 1
+Copyright: GPL
+Group: System Environment/Daemons
+Source: ftp://sunsite.unc.edu/pub/Linux/system/network/daemons/dhcpcd-1.3.17-pl2.tar.gz
+Patch: dhcpcd-1.3.17-misc.patch
+#Patch1: dhcpcd-0.65-glibc.patch
+#Patch2: dhcpcd-0.65-buffer.patch
+#Patch3: dhcpcd-0.65-align.patch
+Patch4: dhcpcd-0.70-rtup.patch
+BuildRoot: /var/tmp/%{name}-root
+
+%description
+dhcpcd is an implementation of the DHCP  client  specified in
+draft-ietf-dhc-dhcp-09  (when  -r option is not speci- fied) and RFC1541
+(when -r option is specified).
+
+It gets the host information (IP address, netmask,  broad- cast  address,
+etc.) from a DHCP server and configures the network interface of the
+machine on which it  is  running.  It also tries to renew the lease time
+according to RFC1541 or draft-ietf-dhc-dhcp-09.
+
+%prep
+%setup -q -n dhcpcd-1.3.17-pl2
+%patch0 -p1 -b .misc
+#%patch1 -p1 -b .glibc
+#%patch2 -p1 -b .buffer
+#%patch3 -p1 -b .align
+#%patch4 -p1 -b .rtup 
+
+%build
+make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/sbin $RPM_BUILD_ROOT/usr/man/man8
+
+install -s -m 755 dhcpcd $RPM_BUILD_ROOT/sbin/dhcpcd
+install -m 644 dhcpcd.8 $RPM_BUILD_ROOT/usr/man/man8/dhcpcd.8
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc README
+/sbin/dhcpcd
+/usr/man/man8/dhcpcd.8
This page took 0.030115 seconds and 4 git commands to generate.