ce4cd97403
Changes since 0.03: 0.14 Fri Jun 03 2011 - The filename memory is now a part of the object (not a package variable any more). This was a bug. - Since <fork> is not performed on Windows OS as on Linux, I removed the <eval> and <warn> from 0.13 and add an INFO to the documentation. - Updated the documentation. 0.13 Wed Jun 01 2011 - Add ability to define the user identifier for the daemon if you want to run it under other user then the parent (request from Holger Gläss). - Add <eval> and <warn> for OS not supporting POSIX::setsid (e.g. Windows). - Updated the documentation. 0.12 Tue Mai 24 2011 - Init() did not close all filehandles reliably in some cases. Thanks again to Rob Brown for reporting. - Text improvement in the documentation. 0.11 Mon Mai 23 2011 - Init() didn't close all filehandles reliably (see also bug report at http://rt.perl.org/rt3/Ticket/Display.html?id=72526). Thanks to Rob Brown for reporting and offering a patch. - Attributes 'dont_close_fh' AND 'dont_close_fd' added so we can define file handles and descriptors that must be preserved from the parent into the child (daemon). - Updated the documentation. - In some environment it is not allowed to open anonymous files. In this case now a 'pid_file' must be defined. Thanks to Holger Gläss for reporting. 0.10 Fri Apr 01 2011 - Improvement how Init() determines whether it was passed a blessed object 0.09 Tue Mar 15 2011 - Fix for a possibly not reseted numbered match variable ($1). - Typo fix and text improvement in the documentation. 0.08 Sun Mar 13 2011 - The <open> Mode of the daemon file handles STDIN, STDOUT, STDERR can be specified now. The default Mode values are the same as before. - Updated the documentation. 0.07 Thu Feb 17 2011 - Add signal processing to Kill_Daemon(). - Updated the documentation. 0.06 Mon Jan 17 2011 - A lot of documentation was add to the source code. - Daemon STDIN was fixed to "read" now instead of "write". - Replaced global filehandles with scalars. - Add a <die> if <chdir> fails. - Updated the documentation and add a note to the documentation about the behavior of process-group Signals. 0.05 Thu Okt 28 2010 - Fixed a problem when using the old method of calling Proc::Daemon::Init without object (reported by Alex Samorukov). The parent process didn't exit. - Fixed a problem with Proc::ProcessTable 0.44: Under some conditions 'cmndline' retruns with space and/or other characters at the end. - Update and small fixes in the documentation. 0.04 Sun Okt 24 2010 - Added functions: new(), adjust_settings(), fix_filename(), Status(), Kill_Daemon(), get_pid() and get_pid_by_proc_table_attr(). - Init() now returns the PID of the daemon. - Fork() now allways returns values like Perls built-in 'fork' does. - Description was rewritten, extended and moved to the new Daemon.pod file. - Additional test are done at installation. - $SIG{'HUP'} was set to be valid only 'local' (bug report). - POSIX::EAGAIN() was added to Fork() (bug report).
20 lines
550 B
Makefile
20 lines
550 B
Makefile
# $NetBSD: Makefile,v 1.14 2011/07/29 15:21:11 bouyer Exp $
|
|
#
|
|
|
|
DISTNAME= Proc-Daemon-0.14
|
|
PKGNAME= p5-${DISTNAME}
|
|
SVR4_PKGNAME= p5prd
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Proc/}
|
|
|
|
MAINTAINER= sketch@NetBSD.org
|
|
HOMEPAGE= http://www.mhonarc.org/~ehood/earlsperls.html
|
|
COMMENT= Provide capability for a Perl program to run as a daemon
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
PERL5_PACKLIST= auto/Proc/Daemon/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|