Enji Cooper
836229c3cf
Move _bsnmptools_debug extern from bsnmpmap.c to bsnmptools.h
...
It was used in bsnmpmap.c but was stored in bsnmptools.c; moving the extern
to the header allows us to cover all of our bases for the variable, and allows
_bsnmptools_debug to be used in the future elsewhere -- not just bsnmpmap.c.
MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division
2016-05-13 21:26:12 +00:00
Don Lewis
7a7c07ef51
Properly compute the size argument to pass to malloc().
...
Reported by: Coverity
CID: 1198856
MFC after: 1 week
2016-05-13 06:45:16 +00:00
Enji Cooper
a08b636a9d
Use a better idiom for finding UTC prefixed timezones
...
Instead of copy-pasting the string literal for "UTC" 3 times and using
strlen, use a static char[3] buffer and sizeof(..).
MFC after: 3 days
X-MFC with: r298507
Submitted by: kib
Sponsored by: EMC / Isilon Storage Division
2016-04-28 17:57:17 +00:00
Enji Cooper
62bc9ed546
Fix looking for "UTC" at start of ptr by using strnmp instead of improperly
...
unrolled equivalent
CID: 1347118
MFC after: 1 week
Reported by: Coverity
Sponsored by: EMC / Isilon Storage Division
2016-04-23 08:10:04 +00:00
Enji Cooper
9899399c06
Don't try to free string
(stack allocated char[])
...
Fix minor style with warnx call while in the neighborhood
MFC after: 1 week
CID: 1009683
Reported by: Coverity, gcc 5.x
Sponsored by: EMC / Isilon Storage Division
2016-04-22 06:01:11 +00:00
Enji Cooper
81b3868083
Don't use entry
after free in the "already in lists" case
...
Return with 0 as it isn't an error.
MFC after: 1 week
CID: 1006085
Reported by: Coverity
Obtained from: Isilon OneFS (part of r493633)
Submitted by: Thor Steingrimsson <thor.steingrimsson@isilon.com>
Sponsored by: EMC / Isilon Storage Division
2016-04-22 05:52:40 +00:00
Glen Barber
b626f5a73a
MFH r289384-r293170
...
Sponsored by: The FreeBSD Foundation
2016-01-04 19:19:48 +00:00
Bryan Drewery
7b3ea376a2
META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.
...
This both avoids some dependencies on xinstall.host and allows
bootstrapping on older releases to work due to lack of at least 'install -l'
support.
Sponsored by: EMC / Isilon Storage Division
2015-11-25 19:10:28 +00:00
Baptiste Daroussin
dad2fb7ece
Merge from head
2015-06-15 10:56:01 +00:00
Simon J. Gerraty
ccfb965433
Add META_MODE support.
...
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
2015-06-13 19:20:56 +00:00
Simon J. Gerraty
44d314f704
dirdeps.mk now sets DEP_RELDIR
2015-06-08 23:35:17 +00:00
Simon J. Gerraty
98e0ffaefb
Merge sync of head
2015-05-27 01:19:58 +00:00
Baptiste Daroussin
7757a1b4dc
Merge from head
2015-05-03 19:30:11 +00:00
Baptiste Daroussin
f2800dd40f
bsnmptools does not depends on libcrypto
2015-04-09 21:05:48 +00:00
Baptiste Daroussin
9f4256d525
Add a bsnmp package
2015-03-18 13:01:09 +00:00
Baptiste Daroussin
c6db8143ed
Convert usr.sbin to LIBADD
...
Reduce overlinking
2014-11-25 16:57:27 +00:00
Simon J. Gerraty
ee7b0571c2
Merge head from 7/28
2014-08-19 06:50:54 +00:00
Baptiste Daroussin
01c2b8ac0d
use .Mt to mark up email addresses consistently (part2)
...
PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>
2014-06-20 09:57:27 +00:00
Simon J. Gerraty
fae50821ae
Updated dependencies
2014-05-16 14:09:51 +00:00
Simon J. Gerraty
cc3f4b9965
Merge from head
2014-05-08 23:54:15 +00:00
Warner Losh
c6063d0da8
Use src.opts.mk in preference to bsd.own.mk except where we need stuff
...
from the latter.
2014-05-06 04:22:01 +00:00
Simon J. Gerraty
3b8f084595
Merge head
2014-04-28 07:50:45 +00:00
Christian Brueffer
550c00ac6c
Rough cleanup (new sentence -> new line, grammar, spelling, mdoc).
...
This could use more work.
PR: 187035 (in part)
Submitted by: Bjorn Heidotting
MFC after: 1 week
2014-02-25 21:01:55 +00:00
Simon J. Gerraty
69e6d7b75e
sync from head
2013-04-12 20:48:55 +00:00
Joel Dahl
2063b2c09b
Minor spelling and grammar fixes.
2013-04-11 19:05:24 +00:00
Simon J. Gerraty
7cf3a1c6b2
Updated dependencies
2013-03-11 17:21:52 +00:00
Simon J. Gerraty
f5f7c05209
Updated dependencies
2013-02-16 01:23:54 +00:00
David E. O'Brien
d9a447559b
Sync with HEAD.
2013-02-08 16:10:16 +00:00
Pedro F. Giffuni
646a7fea0c
Clean some 'svn:executable' properties in the tree.
...
Submitted by: Christoph Mallon
MFC after: 3 days
2013-01-26 22:08:21 +00:00
Simon J. Gerraty
7cd2dcf076
Updated/new Makefile.depend
2012-11-08 21:24:17 +00:00
Marcel Moolenaar
7750ad47a9
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
...
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
Eitan Adler
50d675f7a9
Remove trailing whitespace per mdoc lint warning
...
Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days
2012-03-29 05:02:12 +00:00
Joel Dahl
c0cbd1c6f1
Remove superfluous paragraph macro.
2012-03-25 09:18:34 +00:00
Shteryana Shopova
b9288caaf6
Implement an option to execute SNMP walks using GETBULK requests in bsnmpwalk(1)
...
retrieving multiple values with a Single PDU.
Reviewed by: philip@
Tested by: tsanand129 (at) gmail (dot) com
2012-01-10 15:29:03 +00:00
Ed Schouten
b589816c74
Fix subtle typo: compare against idx -- not index.
...
In this contest, index refers to the index(3) function. In this case it
doesn't really harm, as this function is never called with idx == NULL.
MFC after: 2 weeks
2012-01-03 11:10:15 +00:00
Ulrich Spörlein
3df5ecac8c
Spelling fixes for usr.sbin/
2011-12-30 10:58:14 +00:00
Ulrich Spörlein
f0720ed5f8
Fix broken mdoc.
...
Found by: manlint
Approved by: re (kib)
2011-08-01 22:21:18 +00:00
Shteryana Shopova
695239e2c7
Remove unnecessary debug/error CFLAGS.
...
Reported by : pawel.worach (at) gmail (dot) com
2010-12-11 13:24:01 +00:00
Shteryana Shopova
836993f5cf
Unbreak "make installworld" w/ DESTDIR specified
...
PR : kern/152939
2010-12-09 12:25:45 +00:00
Shteryana Shopova
a739872374
Add bsnmpd(1)'s SNMP client tools (including SNMPv3 support) to the base system.
...
Sponsored by: The FreeBSD Foundation (the SNMPv3 bits), Google Summer of Code 2005
Reviewed by: philip@ (mostly), bz@ (earlier version based on p4 ch124545)
Approved by: philip@
2010-12-08 14:30:25 +00:00