Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sergey1369:server
resetd
resetd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File resetd.spec of Package resetd
# # spec file for package resetd # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: resetd Version: 0.01 Release: 1.1 # %define pkg_name resetd # License: GPL Group: System/Daemons # BuildRoot: %{_tmppath}/%{name}-build Source: resetd.tar.gz # Summary: Reset daemon %description Waits for http connection on 666. Asks & verify password. Resets machine if valid. Need this due to some strange reiserfs problems on older servers. Authors: -------- Sergey %prep %setup -c -n %{pkg_name}-%{version} %build cc -O2 -o resetd resetd.c %install %{__install} -D -m 0500 resetd %{buildroot}/usr/sbin/resetd %{__install} -D -m 0500 rcresetd %{buildroot}/etc/init.d/resetd ln -sf ../../etc/init.d/resetd $RPM_BUILD_ROOT/%{_sbindir}/rcresetd %post %fillup_and_insserv %{pkg_name} %preun %stop_on_removal %{pkg_name} %postun %restart_on_update %{pkg_name} %{insserv_cleanup} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) /usr/sbin/resetd /etc/init.d/resetd /usr/sbin/rcresetd %changelog * Tue Sep 22 2009 sergey1369@gmail.com - initial version
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