Commit graph

18 commits

Author SHA1 Message Date
Vsevolod Stakhov
16505777b4 - Fix build on 8.4.
- Do not bump portrevision: package is unchanged

Submitted by:	Eugene Grossbein via IRC
2015-03-16 10:52:46 +00:00
Vsevolod Stakhov
5afb323def - Use github for port fetching
- Remove included patches
- Add patch to lock pcbinfo hash [1]
- Update version to 20150304

Submitted by:	Eugene Grossbein via IRC [1]
2015-03-04 10:33:32 +00:00
Vsevolod Stakhov
002cc97663 - Fix build on systems without /usr/share/mk/bsd.compat.mk 2013-12-20 18:22:32 +00:00
Vsevolod Stakhov
46dc67cb00 * Improve locking for ipacct hash table by converting from a global
mutex to a set of fine-grained rmlocks per hash buckets.
* Increase hash buckets from 256 to 512.
* Remove obsoleted master site and added local one.
* Stylefix for the ignore message.
* Bump portrevision.
* Take ownership.
2013-09-13 15:16:52 +00:00
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +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
Sergey Skvortsov
1edf8fc564 Unbreak build for RELENG_8 and later.
PR:		ports/145176
Submitted by:	Eugene Grosbein <eugen@grosbein.pp.ru>
2010-06-07 15:46:28 +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
Sergey Skvortsov
1d8c397905 Unbreak build on 7.1
Submitted by:	pluknet <pluknet xxx gmail.com>
2008-09-28 17:43:12 +00:00
Sergey Skvortsov
e49535ea7a Fix typo & encoding. 2008-06-03 10:40:16 +00:00
Sergey Skvortsov
db26f4a06d * add new example to ng_ipacct.conf [1]
* skip NO_PACKAGE if PACKAGE_BUILDING is defined [1]
* minor clean

PR:		ports/105597
Submitted by:	Eugene Grosbein <eugen xx kuzbass.ru>
2008-06-02 16:27:40 +00:00
Sergey Skvortsov
1dd4882c4b Update to 20061223 2006-12-25 10:38:10 +00:00
Sergey Skvortsov
c4203a8dce * Add amd64 patches
* Install "etc/ng_ipacct.conf.sample" only.
2006-09-14 16:40:18 +00:00
Sergey Skvortsov
073078f05a Add support for ng_bpf to example scripts.
PR:		ports/102742
Submitted by:	Eugene Grosbein <eugen xx grosbein.pp.ru>
2006-09-03 19:41:45 +00:00
Sergey Skvortsov
fb211568de Minor typo: "divert" => "tee" 2005-04-12 18:17:46 +00:00
Sergey Skvortsov
6a88c3bb5d * fix "missed DLT initialization" issue
* add "ng_ipacct_%%iface%%_checkpoint_script" feature
  (and target "checkpoint" for rc.d/ng_ipacct.sh)

* add example "PPTP (via mpd), divert traffic to ng_ksocket"
2005-04-02 16:34:45 +00:00
Sergey Skvortsov
acde01090d Add ng_ipacct 20050228, Netgraph IP accounting. 2005-02-28 12:34:58 +00:00