Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ahasenack
portreserve
portreserve.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File portreserve.spec of Package portreserve
Summary: TCP port reservation utility Name: portreserve Version: 0.0.0 Release: 0.1 License: GPL Group: System Environment/Daemons URL: http://cyberelk.net/tim/portreserve/ Source0: http://cyberelk.net/tim/data/portreserve/stable/%{name}-%{version}.tar.bz2 Source1: portreserve.init BuildRequires: xmlto BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot %description The portreserve program aims to help services with well-known ports that lie in the portmap range. It prevents portmap from a real service's port by occupying it itself, until the real service tells it to release the port (generally in the init script). %prep %setup -q %build %configure --sbindir=/sbin make make check %install rm -rf %{buildroot} make DESTDIR=%{buildroot} sbindir=/sbin install mkdir -p %{buildroot}/var/run/portreserve mkdir -p %{buildroot}/etc/init.d install -m755 %{_sourcedir}/portreserve.init %{buildroot}/etc/init.d/portreserve mkdir -p %{buildroot}/etc/portreserve %clean rm -rf %{buildroot} %post if [ "$1" = 1 ]; then /sbin/chkconfig --add portreserve /sbin/chkconfig portreserve on fi %preun if [ "$1" = 0 ]; then /sbin/service portreserve stop >/dev/null 2>&1 /sbin/chkconfig --del portreserve fi %postun if [ "$1" -ge "1" ]; then /sbin/service portreserve condrestart >/dev/null 2>&1 fi %files %defattr(-,root,root) %doc ChangeLog README COPYING NEWS %dir %attr(700,root,root) %{_localstatedir}/run/portreserve %dir %attr(700,root,root) /etc/portreserve %attr(755,root,root) %config /etc/init.d/portreserve /sbin/* %{_mandir}/*/* %changelog * Thu Jan 31 2008 Andreas Hasenack <andreas@mandriva.com> - packaged for SLES10 * Wed Sep 3 2003 Tim Waugh <twaugh@redhat.com> - Initial spec file.
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