| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: perl-Net-Daemon | Distribution: openSUSE Tumbleweed |
| Version: 0.520.0 | Vendor: openSUSE |
| Release: 1.3 | Build date: Thu Apr 9 13:56:30 2026 |
| Group: Unspecified | Build host: reproducible |
| Size: 112926 | Source RPM: perl-Net-Daemon-0.520.0-1.3.src.rpm |
| Packager: http://bugs.opensuse.org | |
| Url: https://metacpan.org/release/Net-Daemon | |
| Summary: Perl extension for portable daemons | |
Net::Daemon is an abstract base class for implementing portable server applications in a very simple way. The module is designed for Perl 5.006 and ithreads, but can work with fork() as well. The Net::Daemon class offers methods for the most common tasks a daemon needs: Starting up, logging, accepting clients, authorization, restricting its own environment for security and doing the true work. You only have to override those methods that aren't appropriate for you, but typically inheriting will safe you a lot of work anyways.
Artistic-1.0 OR GPL-1.0-or-later
* Thu Apr 09 2026 Tina Müller <timueller+perl@suse.de>
- updated to 0.520.0 (0.52)
see /usr/share/doc/packages/perl-Net-Daemon/ChangeLog
2026-04-05 Todd Rinaldo <toddr@cpan.org> (0.52)
Bug fixes:
* Fix dead $RegExpLock that was never acquired in ithreads mode.
The lock variable existed but was never actually locked before
regexp compilation, leaving ithreads unprotected. Also fix
share() call to pass explicit ref for runtime-loaded prototype.
PR #33
* Fix ithreads auto-detection to gate on Perl 5.10+ and exclude
Windows. On Perl 5.8.x threads::shared is never loaded, making
lock() a no-op. On Windows, DuplicateHandle() corrupts Winsock
sockets — WSADuplicateSocket() is required instead.
GH #19, GH #30, GH #34, PR #35, PR #50
* Correct $eventId hash key typo in Log.pm that prevented event
IDs from being logged. PR #36
* Fix Done() call in test server Loop method — was called without
arguments, preventing proper server shutdown. PR #38
* Clean up stale test artifacts (log, ndtest.cnt). PR #40
* Harden ReadConfigFile against $@ contamination and $! errors.
PR #44
* Skip pidfile write when pidfile option is not set, preventing
spurious empty pidfile creation. PR #45
* Close cloned listening socket in ithreads handler threads.
Perl ithreads dup every open handle into new threads; on
Windows closing these at thread exit invalidated the parent's
handle. Also re-add Windows skip with root-cause documentation.
GH #19, GH #30, PR #46
* Address CPAN testers failures in t/reap.t and t/fork.t. PR #48
* Skip ithread-detach.t on Perl < 5.10. PR #49
* Verify privilege drop succeeded in Bind(). Assigning to $>/$)
silently fails without permission — the daemon would continue
running as root. PR #51
* Use POSIX::setuid/setgid for permanent privilege drop in
Bind(). The previous $< = ($> = $user) left saved-set-user-ID
as root, allowing a compromised process to regain privileges.
PR #55
Improvements:
* Modernize open() calls to 3-arg form with lexical filehandles
throughout the codebase. PR #41
Maintenance:
* Fix POD typos and remove outdated alpha warning. PR #37
* Fix stale --mode=threads references and config example syntax
in documentation. PR #39
* Update ancient FSF address in Net::Daemon::Test copyright.
PR #35
* Convert server tests from raw TAP to Test::More. PR #42
* Convert ithreads tests to Test::More and fix Test.pm fd leak.
PR #43
* Convert remaining tests (loop.t, loop-child.t, unix_clients.t,
forkm.t) to Test::More. PR #47
2026-03-22 Todd Rinaldo <toddr@cpan.org> (0.51)
Bug fixes:
* Fix Socket::INADDR_ANY constant for unix socket client auth.
GH #1, PR #27
* Fix post_clone() hook - Clone() never called new(), so the
$self->{'parent'} check in new() was dead code. Added post_clone()
method that Clone() calls after creating the new object.
GH #2, PR #26
* Open logfile when filename string is provided via --logfile.
OpenLog() previously returned the logfile value as-is when it was
a defined string, causing Log() to fall through to STDERR.
GH #3, PR #25 (rt.cpan.org #76133)
* Reap forked child processes to prevent zombie accumulation.
SigChildHandler now uses a proper waitpid reaper instead of
returning 'IGNORE', fixing zombie buildup on Windows/Strawberry
Perl after ~64 connections.
GH #5, PR #23
* Fix ReadConfigFile implementation traversing @INC.
GH #8 (rt.cpan.org #123213)
* Detach threads in ChildFunc to prevent memory leaks. Thread
objects were never joined or detached, causing leftover thread
mappings to accumulate.
GH #12, PR #22
* Only load threads if forks hasn't already been loaded and
threads exists. GH #16
Improvements:
* Add post_clone() hook for per-connection initialization.
Subclasses can override to perform per-connection setup.
GH #2, PR #26
* Add --listen option to Options() to allow overriding the
default listen backlog of 10. GH #4, PR #24
Maintenance:
* Modernize Makefile.PL metadata: add LICENSE, MIN_PERL_VERSION,
TEST_REQUIRES, upgrade META_MERGE to meta-spec v2, update
GitHub URLs. PR #28
* Modernize CI workflow: upgrade actions/checkout to v4, use
perldocker/perl-tester images, dynamic Perl version matrix
covering 5.8 through devel, add disttest job. PR #29
* Disable t/ithreadm.t for Windows. GH #19
* Improve skip messages and detection of ithreads/forks in tests.
* Convert t/base.t to Test::More.
* Apply consistent perltidy formatting.
* Add strict/warnings, replace 'use vars' with 'our'.
* Remove perl 4-ish subroutine calls.
* Wed Sep 30 2020 Tina Müller <tina.mueller@suse.com>
- Add manual license
* Sat Sep 26 2020 Tina Müller <timueller+perl@suse.de>
- updated to 0.49
see /usr/share/doc/packages/perl-Net-Daemon/ChangeLog
2020-09-22 Todd Rinaldo <toddr@cpan.org> (0.49)
* Perl 5.6 is the minimum required version now.
* RIP Thread.pm it has not been relevant since 5.6
* Now using github CI to monitor the major platforms.
* .gitignore for better management
* Update the MANIFEST
* Perltidy the code base.
* use strict, warnings, no vars, our
* Remove perl 4-ish subroutine calls
* Require Sys::Syslog 0.29 to function properly.
* t/base.t -> Test::More
* Improve skipall messages and detection of ithreads/forks
* Disable t/ithreadm.t for Windows See https://github.com/toddr/Net-Daemon/issues/19
* Only load threads if forks hasn't already been loaded and threads exist.
* Update tracker location to github
* Fix ReadConfigFile implementation traversing @INC
* Tue Dec 13 2011 coolo@suse.com
- license is "as perl"
* Thu Mar 31 2011 coolo@novell.com
- update to 0.48
* t/forkm.t Patched perl Leon Timmermans
http://rt.perl.org/rt3/Public/Bug/Display.html?id=83646
* lib/Net/Daemon.pm Patched per bug 32887
"ithreads not detected due to a typo"
* lib/Net/Daemon.pm Fixed "Subroutine import redefined" problem
that perl 5.8.8 CPAN testers was getting. It was due to
more than one "require threads" being run.
* lib/Net/Daemon.pm Used "make dist" to create the uploaded
* lib/Net/Daemon.pm Added ServClose patch by Gaspar Chilingarov
* t/thread.t Added patches by Daniel Macks and Joe McMahon,
and added Test::More and skip_all for Windows < 5.10
* Added necessary thread sharing to work with 5.10
threads model: regexp-threads,
* Tue Nov 30 2010 coolo@novell.com
- switch to perl_requires macro
* Mon Nov 29 2010 coolo@novell.com
- remove /var/adm/perl-modules
* Tue Oct 19 2010 coolo@novell.com
- add perl as explicit buildrequire
* Sun Jan 10 2010 jengelh@medozas.de
- enable parallel build
* Mon Jul 16 2007 ug@suse.de
- update to version 0.43
- lib/Net/Daemon.pm Needed to up the VERSION number
- t/forkm.t: Added a wait so that the parent will not loop
around and make another child until the previous child has
been destroyed.
- t/forkm.t: When all ten childs are exited,
sub CatchChild will now exit.
- t/threadm.t: The tests are now skipped with a
passing indication when usethreads is defined, which
would mean that the ithreadm tests are the ones that
matter.
Test.pm: A patch from todd.e.rinaldo was used. I do
not remember what the issues were.
/usr/lib/perl5/vendor_perl/5.44.0/Net /usr/lib/perl5/vendor_perl/5.44.0/Net/Daemon /usr/lib/perl5/vendor_perl/5.44.0/Net/Daemon.pm /usr/lib/perl5/vendor_perl/5.44.0/Net/Daemon/Log.pm /usr/lib/perl5/vendor_perl/5.44.0/Net/Daemon/Test.pm /usr/share/doc/packages/perl-Net-Daemon /usr/share/doc/packages/perl-Net-Daemon/AI_POLICY.md /usr/share/doc/packages/perl-Net-Daemon/ChangeLog /usr/share/doc/packages/perl-Net-Daemon/README.md /usr/share/man/man3/Net::Daemon.3pm.gz /usr/share/man/man3/Net::Daemon::Log.3pm.gz /usr/share/man/man3/Net::Daemon::Test.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Aug 2 03:14:27 2026