rpms/daemonize/F-11 daemonize.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
giesen
giesen at fedoraproject.org
Thu Jul 9 00:42:37 UTC 2009
- Previous message (by thread): rpms/daemonize/devel daemonize.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/daemonize/F-10 daemonize.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: giesen
Update of /cvs/pkgs/rpms/daemonize/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30884/F-11
Modified Files:
.cvsignore sources
Added Files:
daemonize.spec import.log
Log Message:
Initial import to CVS.
--- NEW FILE daemonize.spec ---
Name: daemonize
Version: 1.5.6
Release: 1%{?dist}
Summary: Run a command as a Unix daemon
Group: Applications/Internet
License: BSD
URL: http://www.clapper.org/software/daemonize/
Source0: http://www.clapper.org/software/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
daemonize runs a command as a Unix daemon. As defined in W. Richard Stevens'
1990 book, Unix Network Programming (Addison-Wesley, 1990), a daemon is "a
process that executes 'in the background' (i.e., without an associated
terminal or login shell) either waiting for some event to occur, or waiting
to perform some specified task on a periodic basis." Upon startup, a typical
daemon program will:
- Close all open file descriptors (especially standard input, standard output
and standard error)
- Change its working directory to the root filesystem, to ensure that it
doesnât tie up another filesystem and prevent it from being unmounted
- Reset its umask value
- Run in the background (i.e., fork)
- Disassociate from its process group (usually a shell), to insulate itself
from signals (such as HUP) sent to the process group
- Ignore all terminal I/O signals
- Disassociate from the control terminal (and take steps not to reacquire one)
- Handle any SIGCLD signals
Most programs that are designed to be run as daemons do that work for
themselves. However, youâll occasionally run across one that does not.
When you must run a daemon program that does not properly make itself into a
true Unix daemon, you can use daemonize to force it to run as a true daemon.
%prep
%setup0 -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} INSTALL="install -p" install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc CHANGELOG LICENSE README
%{_sbindir}/daemonize
%{_mandir}/man1/daemonize.1.gz
%changelog
* Mon Jul 06 2009 Gary T. Giesen <giesen at snickers.org> 1.5.6-1
- New upstream version, incorporates previous Makefile patch
* Sun Jul 05 2009 Gary T. Giesen <giesen at snickers.org> 1.5.4-5
- Changed spec file to preserve timestamp on files for make install
* Sun Jul 05 2009 Gary T. Giesen <giesen at snickers.org> 1.5.4-4
- Fixed missed line in patch for compiler flags
* Sun Jul 05 2009 Gary T. Giesen <giesen at snickers.org> 1.5.4-3
- Further spec file cleanup
- New Makefile patch to make build respect compiler flags and
install man pages
* Sun Jul 05 2009 Gary T. Giesen <giesen at snickers.org> 1.5.4-2
- Spec file cleanup for consistency with Fedora Packaging Guidelines
- Added install for man pages (it's not installed by 'make install')
* Sat Jul 04 2009 Gary T. Giesen <giesen at snickers.org> 1.5.4-1
- Initial Spec file creation for Fedora
--- NEW FILE import.log ---
daemonize-1_5_6-1_fc11:F-11:daemonize-1.5.6-1.fc11.src.rpm:1247085677
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/daemonize/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 8 Jul 2009 16:32:45 -0000 1.1
+++ .cvsignore 9 Jul 2009 00:42:07 -0000 1.2
@@ -0,0 +1 @@
+daemonize-1.5.6.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/daemonize/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 8 Jul 2009 16:32:45 -0000 1.1
+++ sources 9 Jul 2009 00:42:07 -0000 1.2
@@ -0,0 +1 @@
+2f5fbb8788ebe803ccaff3cd4b5c3188 daemonize-1.5.6.tar.gz
- Previous message (by thread): rpms/daemonize/devel daemonize.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/daemonize/F-10 daemonize.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list