Skip site navigation (1)Skip section navigation (2)

CVS log for ports/net-mgmt/net-snmp/files/snmpd.sh.in

[BACK] Up to [FreeBSD] / ports / net-mgmt / net-snmp / files

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jan 14 08:56:38 2012 UTC (4 weeks ago) by dougb
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
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.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Mar 27 00:14:24 2010 UTC (22 months, 2 weeks ago) by dougb
Branches: MAIN
CVS tags: RELEASE_9_0_0, RELEASE_8_2_0, RELEASE_8_1_0, RELEASE_7_4_0, RELEASE_6_EOL
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jul 15 16:55:58 2009 UTC (2 years, 6 months ago) by dougb
Branches: MAIN
CVS tags: RELEASE_8_0_0, RELEASE_7_3_0
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
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.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Oct 27 07:20:34 2007 UTC (4 years, 3 months ago) by kuriyama
Branches: MAIN
CVS tags: RELEASE_7_2_0, RELEASE_7_1_0, RELEASE_7_0_0, RELEASE_6_4_0, RELEASE_6_3_0, RELEASE_5_EOL
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +16 -3 lines
- Support multiple files in ${snmp_conffile} variable (1).
- Update pkg-message to reflect recent rc.conf variable usage.

PR:		ports/112766 (1)
Submitted by:	Royce Williams<royce@alaska.net> (1)

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Mar 25 12:35:45 2007 UTC (4 years, 10 months ago) by kuriyama
Branches: MAIN
CVS tags: PRE_XORG_7
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -2 lines
- Remove "sig_stop=KILL" in snmpd.sh.in.  This was introduced when
  PR ports/63759 was committed (3 years ago).  Try to use normal TERM
  signal for graceful termination [1].
- Increase /bin/ps cache size from 16KB to 120KB.  This should fix
  process counter (ex prCount.1) on the server which has large number
  of processes [2].

PR:		ports/103811 [1], ports/110498 [2]
Reported by:	Yuri Arabadji <yuri@deepunix.net> [1],
		Mike Andrews <mandrews@bit0.com> [2]

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Feb 28 01:17:16 2007 UTC (4 years, 11 months ago) by kuriyama
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +9 -1 lines
- Upgrade to 5.3.1 [1].
- Add $snmpd_flush_cache knob [2].
- Add conflict with net-snmp-4.* [3].

PR:	ports/97673 [1] (but mostly rewritten), ports/106036 [2],
	ports/103462 [3]
Submitted by:	Rick van der Zwet <rick@wzoeterwoude.net> [1],
	"Brian A. Seklecki"<bseklecki@collaborativefusion.com> [2],
	Mykola Dzham <freebsd@levsha.org.ua> [3]

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Sep 23 15:03:36 2006 UTC (5 years, 4 months ago) by nork
Branches: MAIN
CVS tags: RELEASE_6_2_0, RELEASE_4_EOL
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Fix -z bug.

Pointed out by:	ume
Approved by:	kuriyama (implicitly)

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Sep 23 11:31:09 2006 UTC (5 years, 4 months ago) by nork
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +28 -3 lines
Add support snmpd_pidfile and snmpd_conffile on rcNG script.

Requested by:	nyan, TAKANO Yuji <takachan@running-dog.net>
Approved by:	kuriyama

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jul 19 16:18:40 2006 UTC (5 years, 6 months ago) by dougb
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Clean up sig_stop values. In most cases this means removing a leading -,
since rc.subr adds that already. In 3 cases it meant removing a wrongly
specified TERM, since that is the default.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon May 8 05:00:27 2006 UTC (5 years, 9 months ago) by clsung
Branches: MAIN
- USE_RC_SUBR= filename instead of "yes", this simplies Makefile
  (bump PORTREVISION)
- remove USE_REINPLACE
- rename files/*.sh.sample to files/*.sh.in

PR:		ports/95851
Submitted by:	Rong-En Fan

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options