Summary: A dhcp relay to implement dhcp over ipsec Name: dhcprelay Version: 0.3.1 Release: 1mdk URL: https://www.strongsec.com/freeswan/dhcprelay/index.htm Source0: dhcprelay-%{version}.tar.bz2 License: GPL Group: System/Servers BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: gmp-devel PreReq: rpm-helper %description This DHCP-Relay forwards any DHCP packet out of a list of given ipsec devices to the DHCP server of a network and returns the response. If no DHCP server is given the packets are sent by broadcast. %prep %setup -q %build %configure %make %install rm -rf $RPM_BUILD_ROOT #%makeinstall_std install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d,/usr/sbin} install -m 755 src/dhcprelay $RPM_BUILD_ROOT/usr/sbin install -m 755 init.d/dhcprelay $RPM_BUILD_ROOT/etc/rc.d/init.d install -m 644 etc/dhcprelay.conf $RPM_BUILD_ROOT/etc %clean rm -rf $RPM_BUILD_ROOT %post %_post_service dhcprelay %preun %_preun_service dhcprelay %files %defattr(-,root,root,755) %config(noreplace) %{_sysconfdir}/dhcprelay.conf %config(noreplace) %{_initrddir}/dhcprelay %{_sbindir}/dhcprelay %doc AUTHORS README INSTALL COPYING ChangeLog howto/* %changelog * Tue Oct 26 2004 Florin <florin@mandrakesoft.com> 0.3.1-1mdk - first Mandrake release * Mon Sep 15 2002 Ralf Spenneberg <ralf@spenneberg.de> - First Release