Commit Graph

17 Commits

Author SHA1 Message Date
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
Erwin Lansing
d96f66200f Don't overlook the n in ifndef and restore the original meaning
for NO_PACKAGE, and add a separate IGNORE for pointyhat.

Noticed by:	Eugene Kazarinov <kamuzon@milshop.ru>
2008-08-07 09:49:55 +00:00
Erwin Lansing
2e80e2c548 To avoid this port building on pointyhat, use IGNORE and not NO_PACKAGE 2008-08-05 07:19:31 +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
Mark Linimon
8c91d898a6 Populate the 'kld' virtual category, for ports that install Kernel Loadable
modules.

Hat:		portmgr
2007-06-29 09:16:42 +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
Kris Kennaway
5b1eaf29ac BROKEN: Unfetchable 2006-09-03 00:36:51 +00:00
Edwin Groothuis
c8276f2dd3 SHA256ify
Approved by: krion@
2006-01-23 23:49:42 +00:00
Edwin Groothuis
508b8d82f4 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 03:01:03 +00:00
Sergey Skvortsov
e379a58825 Update to 20050731:
* fix build for 6.0
* support NGGIF data-link type
2005-08-01 07:59:53 +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