literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
propogated by copy and paste.
1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).
No PORTREVISION bumps because all of these changes are noops.
- Added OPTIONS knob for enabling srvrsnpp.c patch from ports/123437 (felt it
was better to make the patch optional)
- Added more knobs for compile-time options: daemon user, syslog facility
- Changed ${INSTALL_SCRIPT} to ${INSTALL_DATA} in post-install target
- Removed old maintainer e-mail address from pkg-descr
PR: 128318
Submitted by: maintainer
The comms/qpage port has a few minor problems. A default installation gives
the following errors when the /usr/local/etc/rc.d/qpage.sh script is
execute:
qpage[68438]: cannot open /etc/qpage.cf: No such file or directory
qpage[68438]: cannot access LockDir(/var/spool/lock): Permission denied
qpage[68438]: cannot access QueueDir(/var/spool/qpage): No such file or directory
qpage[68438]: cannot chdir to QueueDir(/var/spool/qpage): No such file or directory
In short:
1) qpage looks for its configuration file in /etc instead of /usr/local/etc
2) It setuid()'s to a user (daemon) without permission to access /var/spool/lock
but does not document this anywhere outside of the source.
3) It's queue directory is not created by installing the port.
PR: ports/48059
Submitted by: Kirk Strauser <kirk@strauser.com>
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.
The (42 or so) ports that already DTRT before are unchanged.
the import message used when it was imported to ports/misc:
New port, qpage:
QuickPage sends messages to a paging terminal using the SNPP and IXO
(also known as TAP) protocols. It is normally used with no options
other than a recipient and the message text, in which case the message
is sent to the SNPP server where it is submitted to a page queue to be
sent by a separate daemon process.
PR: 4224
Submitted by: Joe Stein <joes@seaport.net>