automatic rebuild by autodist [release 0.3.2b-2mamba;Thu Sep 05 2013]

This commit is contained in:
Automatic Build System 2024-01-05 21:46:25 +01:00
parent bd580a06f7
commit 966f6cbdc5
2 changed files with 73 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# dhcprelay # dhcprelay
DHCP-over-IPsec support for Linux FreeS/WAN

71
dhcprelay.spec Normal file
View File

@ -0,0 +1,71 @@
Name: dhcprelay
Version: 0.3.2b
Release: 2mamba
Summary: DHCP-over-IPsec support for Linux FreeS/WAN
Group: Network/Security
Vendor: openmamba
Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it>
URL: http://www.strongsec.com/freeswan/dhcprelay/
Source0: http://www.strongsec.com/freeswan/dhcprelay/dhcprelay-%{version}.tar.gz
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
DHCP-over-IPsec support for Linux FreeS/WAN
%prep
test x"$RPM_BUILD_ROOT" != x/ && rm -rf "$RPM_BUILD_ROOT"
%setup -q
%build
./configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir}
%make
pushd init.d
sed -i "s|/etc|$RPM_BUILD_ROOT%{_sysconfdir}|" Makefile
sed -i "s|-o root -g root||" Makefile
%install
make install prefix=$RPM_BUILD_ROOT%{_prefix} sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir}
%clean
test x"$RPM_BUILD_ROOT" != x/ && rm -rf "$RPM_BUILD_ROOT"
%post
# new install
%preun
#erase
if [ $1 -eq 0 ]; then
%{_initrddir}/dhcprelay stop
chkconfig --del dhcprelay
fi
exit 0
%postun
# upgrade
if [ $1 -eq 1 ]; then
chkconfig dhcprelay
test $? -eq 0 && %{_initrddir}/dhcprelay restart
fi
exit 0
%files
%defattr(-,root,root)
%{_sysconfdir}/dhcprelay.conf
%{_sysconfdir}/init.d/dhcprelay
%{_sbindir}/dhcprelay
%changelog
* Thu Sep 05 2013 Automatic Build System <autodist@mambasoft.it> 0.3.2b-2mamba
- automatic rebuild by autodist
* Thu Jun 14 2007 Tiziana Ferro <tiziana.ferro@email.it> 0.3.2b-1mamba
- update to 0.3.2b
* Thu Apr 01 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.1-1qilnx
- first build