Net::Server is an extensible, generic Perl server engine. Net::Server combines
the good properties from Net::Daemon (0.34), NetServer::Generic (1.03), and
Net::FTPServer (1.0), and also from various concepts in the Apache Webserver.
Net::Server attempts to be a generic server as in Net::Daemon and
NetServer::Generic. It includes with it the ability to run as an inetd process
(Net::Server::INET), a single connection server (Net::Server or
Net::Server::Single), a forking server (Net::Server::Fork), or as a preforking
server (Net::Server::PreFork). In all but the inetd type, the server provides
the ability to connect to one or to multiple server ports.
===> The following configuration options are available for p5-Net-Server-2.014:
IPV6=on: IPv6 protocol support
===> Use 'make config' to modify these settings
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except
for where it resulted in a change in output from build-depends-list or
run-depends-list.
Approved by: portmgr (adamw)
Fix comparing versions.
In Perl, versions are not numbers. While they may look like numbers,
they are not, they are kind of special strings and should be treated as
such.
Reported by: bjornr isnic is
Sponsored by: Absolight
Make it so that the default Perl is always called perl5.
- Move Perl's man1 files along with its man3 files.
- Move where Perl installs its modules man1 pages.
- Convert the ports installing man1 pages.
- Make different Perl versions installable at the same time.
Though you should note that only the default version can be used to
install Perl modules, and the non default Perl versions cannot use the
modules installed via ports if they contain .so as they are installed
in a version specific directory.
Reviewed by: bapt (the Mk bits)
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3542
Clean up the rest of the perl@ Makefiles a bit.
- Remove dependencies on modules distributed as part of perl core
- Remove references to FreeBSD < 8 and perl < 5.16
- Ensure that DOCS and EXAMPLES options exist for ports installing
PORTDOCS or PORTEXAMPLES
- Reduce unnecessary inclusions of bsd.port.options.mk by using
OPTIONS helpers and the like
- Fix some cases where dependencies were only assigned to BUILD_DEPENDS
- Fix a few of the cases where dependencies were only assigned to RUN_DEPENDS.
This one happens in many, many ports. I only applied it in cases where
it interfered with 'make test' but it should maybe be done more generally.
- Mute ${MKDIR} in installation
- Parethesize compound commands
- In www/p5-URI-Fetch, remove the ZLIB option that wasn't used
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above )
- Update to 2.004
- Remove MAKE_JOBS_UNSAFE
- Add CPAN as primary WWW
Note that the upcoming release 2.005 will change the default ipv value to *
meaning it will attempt to bind IPv4 and IPv6 if they are available when you
pass a hostname.
Changes: http://search.cpan.org/dist/Net-Server/Changes
- Add BUILD_DEPENDS
- Cleanup .orig files when WITH_IPV6 is set
- Fix PLIST: these directories are also used by p5-Net-Server-* ports
Feature safe: yes
- Take advantage of CPAN macro from bsd.sites.mk, change
${MASTER_SITE_PERL_CPAN} to CPAN.
PR: ports/122674
Submitted by: Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by: araujo (myself)
Approved by: portmgr (pav)
net/p5-Net-Server requires dependency on p5-IO-Multiplex
When use Net::Server::Multiplex, IO::Multiplex is required:
[~/postgresql-postfix] edwin@k7>./test.pl
Module IO::Multiplex is required for Multiplex. at
/usr/local/lib/perl5/site_perl/5.8.8/Net/Server/Multiplex.pm line 32.
PR: ports/96175
Fix a bug which causes Net::Server based programs to break when restarted
with the HUP signal.
Submitter sent a patch upstream as rt.cpan.org ticket 14155
PR: ports/84904
Submitted by: Lupe Christoph <lupe@lupe-christoph.de>
(maintainer of munin-node, which is affected by this bug)
In Net::Server::Daemonize::set_uid(), call POSIX::setuid() when
"$< = $> = $uid" fails, not when it succeeds (it's a fallback in the
former case, a no-op in the latter)
Similar fix for Net::Server::Daemonize::set_gid().