Commit Graph

8 Commits

Author SHA1 Message Date
Tijl Coosemans
5b6c7671ef Create a subdirectory of /var/run that is writeable by the bopm user and
put the pidfile there.

Tested by:	Michael D <me@md-5.net>
2014-11-22 20:04:49 +00:00
Tijl Coosemans
3a740b3d95 - Convert to USES=libtool and add INSTALL_TARGET=install-strip
- Store pid file under /var/run instead of /var/log
- Add patch to fix DESTDIR problems
- Use @sample
- Replace pkg-deinstall and @exec with @dirrmtry
2014-09-08 18:10:14 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
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.
2012-01-14 08:57:23 +00:00
Baptiste Daroussin
e736e2808f - switch to USERS/GROUPS macro
- bump portrevision
2011-06-08 17:08:47 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
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.
2009-07-15 16:56:10 +00:00
Pav Lucistnik
1af9d66933 - Update to rc_subr startup script
- Clean up REINPLACE_CMD usage
- Use SUB_FILES
- Deal with bopm.conf properly
- Now uses /var/log/bopm for pid and logs, and more

PR:		ports/103555
Submitted by:	Jeremy Chadwick <freebsd@jdc.parodius.com>
Approved by:	maintainer timeout (1 month)
2006-10-31 12:00:37 +00:00
Kirill Ponomarev
d46c5b1fc5 Add bopm 3.1.2,
bopm is an open-source open proxy monitor, designed for use
with hybrid-based ircds, although it can be used with slight
modification on any server which has +c to show connects to
opers and that supports KLINEs in order to K-LINE incoming
connects from open proxies.

PR:		ports/70065
Submitted by:	Evgueni V. Gavrilov <aquatique@rusunix.org>
2004-08-06 07:46:51 +00:00