bapt
392403b5c9
Fix build with recent binutils
...
Recent binutils considered the .gnu.warning.symbol section as a fatal error when
run with --fatal-warnings which makes any users of "insecure" functions from
libc failing to build with recent binutils.
Introduce a new macro: LD_FATAL_WARNINGS=no to run ld(1) with
--no-fatal-warnings for the users of "insecure" functions
Differential Revision: https://reviews.freebsd.org/D1320
2014-12-23 10:43:35 +00:00
bapt
6adce30d28
Convert libraries to use LIBADD
...
While here reduce a bit overlinking
2014-11-25 11:07:26 +00:00
imp
2118f42afd
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
antoine
388760425c
Add missing DPADD
2013-01-01 18:29:25 +00:00
kib
0807f5f44f
Bump shared libraries version numbers in preparation for 9.0.
...
This time, only libraries which ABI has been changed compared to
stable/8, are bumped.
ABI analysis done by: Gleb Kurtsou
Approved by: re (kensmith)
2011-08-28 09:26:48 +00:00
syrinx
3830b0c9c7
Unbreak the build by temprorarily not using include directives in
...
bsnmpd(1)' def files, until bsd.snmpmod.mk & Makefiles are fixed to
pass proper include path flags to gensnmptree.
2010-12-20 22:56:50 +00:00
syrinx
cdf73327e5
Bring in a SNMP module that allows configuration of SNMPv3 Notification targets.
...
Sponsored by: The FreeBSD Foundation
Reviewed by: philip
Approved by: philip
2010-12-20 17:13:14 +00:00
syrinx
ed79f703fb
In bsnmpd(1) add support for SNMPv3 message processing model, including message authentication, packet encryption & view-based access control (RFC 3412, 3414, 3415).
...
Sponsored by: The FreeBSD Foundation
Reviewed by: philip@ (mostly)
Approved by: philip@
2010-12-08 13:51:38 +00:00
uqs
f8d1dd7a4e
Always assign WARNS using ?=
...
- fix some nearby style bugs
- include Makefile.inc where it makes sense and reduces duplication
Approved by: ed (co-mentor)
2010-03-02 16:58:04 +00:00
kensmith
9c2c634ee9
Bump the version of all non-symbol-versioned shared libraries in
...
preparation for 8.0-RELEASE. Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.
Reviewed by: kib
Approved by: re (rwatson)
2009-07-19 17:25:24 +00:00
rafan
5fd49d94d5
- Bump share library version which were missed in last bump
...
Reported by: jhb
Discussed with: deischen, des, doubg, harti
Approved by: re (kensmith)
2007-06-18 18:47:54 +00:00
harti
c4dcdd04d2
Catch up with the import of bsnmp-1.11. Add a couple of new
...
configuration flags to CFLAGS and set the WARNS level to 6.
2005-10-04 15:02:07 +00:00
kensmith
f97f77429f
Bump the shared library version number of all libraries that have not
...
been bumped since RELENG_5.
Reviewed by: ru
Approved by: re (not needed for commit check but in principle...)
2005-07-22 17:19:05 +00:00
harti
c7663fe856
Finish repo-copy of lib/libbsnmp/modules to usr.sbin/bsnmpd/modules.
...
These modules are modules for the daemon, not for the library so
they should be where the daemon is.
2005-03-14 17:32:16 +00:00
ru
6f67e58f8d
who's -> whose
2005-02-13 23:23:30 +00:00
ru
b8a9faaaa3
Fixed punctuation in xrefs.
2005-01-21 20:48:00 +00:00
ru
3b01b84505
NOATM -> NO_ATM
2004-12-21 09:08:06 +00:00
ru
5db2b9d5b3
For variables that are only checked with defined(), don't provide
...
any fake value.
2004-10-24 15:33:08 +00:00
keramida
65c5851ae2
Delete a .Fn that had no argument and
...
properly terminate a .Bl with a matching .El
MFC after: 3 days
2004-10-09 04:03:08 +00:00
harti
f9ec393252
Link to the build again. The problem was that we need a new
...
gensnmptree for the .def file to parse. This was fixed in
Makefile.inc1.
2004-08-11 16:47:12 +00:00
harti
3d30ca08e0
Again something bad is happening so comment out the ATM module.
2004-08-11 16:01:46 +00:00
harti
90c7ff416f
Now, after the import of NgATM-1.1, re-enable the atm module.
2004-08-11 12:27:31 +00:00
scottl
5de16095d4
Disable the snmp_atm module until the source gets fixed. This will unbreak
...
this portion of the build.
2004-08-10 04:56:39 +00:00
harti
f9e42a4d23
Link the snmp_atm module to the build unless NOATM is defined.
2004-08-09 16:40:39 +00:00
harti
bcd06af9f6
Now that gensnmptree can read and merge more than one tree make
...
the rule so that the tree .c and .h files can be produced from several
trees.
2004-08-09 16:37:25 +00:00
harti
a150b8c437
A module for bsnmpd(1) that exports a MIB that contains information about
...
the local ATM interfaces and allows to change some parameters via SNMP.
2004-08-09 16:36:04 +00:00
harti
e05bb45866
Add the right CFLAGS to show that we have err.h, getaddrinfo and strlcpy.
...
Add support.c to the list of source files.
2004-08-06 13:43:29 +00:00
harti
b1d0efad03
Move libbsnmp.so to /lib so that it is available to atmconfig.
...
At the moment the only dependency on this library is bsnmpd.
Approved by: silence on re@
2004-08-04 06:46:02 +00:00
ru
6651f20e0d
Sort SEE ALSO references (in dictionary order, ignoring case).
2004-07-04 20:55:50 +00:00
ru
01548ace15
Mechanically kill hard sentence breaks.
2004-07-02 23:52:20 +00:00
harti
376040b33f
Use a MANFILTER to patch the man pages to point to the right path.
...
Noted by: phk
2004-04-14 16:31:54 +00:00
harti
9baa54d87a
Bump the shared library version number for the bsnmp v1.6 import
...
because of incompatible interface changes.
2004-04-14 16:29:46 +00:00
harti
c9204f6495
Put the name of the module first in the list of all .Nm calls with
...
argument. This makes the output of calling .Nm without an argument
more senseful later on.
2004-04-14 16:11:05 +00:00
harti
48c5eee60f
Compare with 0 if comparing an integer, not with NULL.
2004-04-14 16:09:20 +00:00
harti
7d1905e15b
Move the SNMP MIBs and tree definitions from /usr/share/bsnmp to
...
/usr/share/snmp. This mirrors the use of /usr/local/share/snmp and
makes also more sense when non-bsnmp-specific MIBs go in.
2004-04-14 16:06:19 +00:00
markm
0b0ae8e16e
Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)
...
that this provokes. "Wherever possible" means "In the kernel OR NOT
C++" (implying C).
There are places where (void *) pointers are not valid, such as for
function pointers, but in the special case of (void *)0, agreement
settles on it being OK.
Most of the fixes were NULL where an integer zero was needed; many
of the fixes were NULL where ascii <nul> ('\0') was needed, and a
few were just "other".
Tested on: i386 sparc64
2004-03-05 08:10:19 +00:00
harti
1a1e1de6a0
Rename the MIBS makefile variable to BMIBS so that it does not conflict
...
with the environment variable MIBS that is used by net-snmp.
2004-01-24 20:12:30 +00:00
harti
9576ee9b99
Create the OID and tree files while building the modules and the daemon
...
instead of creating them by hand and storing them in the CVS tree. Add
gensnmptree to the bootstrap tools (it is used to generated these files).
This simplifies the update procedure.
Submitted by: ru
2004-01-23 16:22:49 +00:00
harti
72a445939b
Style: remove an empty line.
2004-01-23 11:01:57 +00:00
ru
420b17a9ff
Clean up makefiles.
...
Reviewed by: harti
2004-01-19 19:26:02 +00:00
ru
8a660e9607
Fixed the fatal bug: CFLAGS should be added to, not overridden.
...
This prevented CPU and optimization flags to be added here.
2004-01-17 02:27:55 +00:00
harti
91fb8e3f9c
Replace all uses of the old netgraph constants NG_*LEN by the new
...
constants NG_*SIZ that include the trailing NUL byte. This change
is mostly mechanical except for the replacement of a couple of snprintf()
and sprintf() calls with strlcpy.
2003-11-15 15:26:35 +00:00
harti
a13d5675bc
Add an empty definition of the MIBS variable so that the makefile does
...
not try to use a MIBS definition from the environment.
Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
2003-11-13 10:18:16 +00:00
harti
336e573a13
The snmp_netgraph module depends on libnetgraph. So add a dependency and
...
add libnetgraph to the list of prebuilt libraries in the main Makefile.
Reviewed by: ru
2003-11-12 17:09:13 +00:00
harti
944e5099fb
Fix the build by adjusting the include directives. The problem was
...
that the sources use "..." includes to get at include files that
later on reside in an include sub-directory.
2003-11-10 13:43:26 +00:00
harti
7b57d9c631
Add build infrastructure for libbsnmp and the modules. Add the
...
netgraph module for the SNMP daemon.
2003-11-10 09:17:34 +00:00