History log of /freebsd-current/usr.sbin/bsnmpd/bsnmpd/Makefile
Revision Date Author Comments
# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# af5e4077 19-Jun-2021 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Put the mibs and defs in the bnsmp package

Differential Revision: https://reviews.freebsd.org/D30756
Sponsored by: Diablotin Systems


# 04d17814 01-Apr-2019 Andrey V. Elsukov <ae@FreeBSD.org>

Add IPv6 transport for bsnmp.

This patch adds a new table begemotSnmpdTransInetTable that uses the
InetAddressType textual convention and can be used to create listening
ports for IPv4, IPv6, zoned IPv6 and based on DNS names. It also supports
future extension beyond UDP by adding a protocol identifier to the table
index. In order to support this gensnmptree had to be modified.

Submitted by: harti
MFC after: 1 month
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D16654


# c2d948fa 11-Aug-2018 Brad Davis <brd@FreeBSD.org>

Move snmpd.config to usr.sbin/bsnmpd/bsnmpd/

This helps with pkgbase as this config file will now be tagged as a config
file

Approved by: allanjude (mentor)
Sponsored by: Essen Hackathon
Differential Revision: https://reviews.freebsd.org/D16674


# 8e9b3e70 03-Jul-2018 Hartmut Brandt <harti@FreeBSD.org>

Update bsnmp to version 1.13. This does not bring user-visible changes.
For developers gensnmptree can now generate functions for enums to convert
between enums and strings and to check the validity of a value.
The sources in FreeBSD are now in sync with the upstream which allows to
bring in IPv6 modifications.


# 64a0982b 04-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible

This simplifies make logic/output

MFC after: 1 month
Sponsored by: Dell EMC Isilon


# 53c167f9 28-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Don't explicitly build tcp wrappers support into bsnmpd; make it conditional
on MK_TCP_WRAPPERS != "no"

This likely fixes an issue seen where some of the USE_TCPWRAPPERS code didn't
work as advertised

MFC after: 1 week


# f66b889d 27-Dec-2016 Enji Cooper <ngie@FreeBSD.org>

Install snmpmod.3 as all of the bsnmpd APIs it documents

MFC after: 3 days


# 92edc966 03-Jun-2016 Bryan Drewery <bdrewery@FreeBSD.org>

WITH_META_MODE: Don't expect meta files for side-effect generated files.

The first file in these lists will generate everything else so only
it should be getting a .meta file. With bmake's missing=yes meta
feature these would otherwise cause a rebuild without the
.NOMETA hint.

Sponsored by: EMC / Isilon Storage Division


# 9aa87499 18-May-2016 Gleb Smirnoff <glebius@FreeBSD.org>

Revert r299830, it has couple of fatal errors.

The CMSG_ family of macros take care of alignment, so we don't need r299830
at all, even if it was correct. Put NO_WCAST_ALIGN into Makefile.

Together with: peter


# 471761b8 14-May-2016 Enji Cooper <ngie@FreeBSD.org>

Remove NO_WERROR and add WARNS?= 6

This now compiles cleanly on all architectures

MFC after: 1 month
Tested with: clang 3.8, gcc 4.2.1, gcc 4.5, make tinderbox
Sponsored by: EMC / Isilon Storage Division


# d208c8fa 14-May-2016 Enji Cooper <ngie@FreeBSD.org>

Replace QUADFMT with %ju and QUADXFMT with %jx and cast values with uintmax_t

This will cure some -Wformat warnings

MFC after: 1 week
Reported by: clang, gcc
Sponsored by: EMC / Isilon Storage Division


# c6db8143 25-Nov-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Convert usr.sbin to LIBADD
Reduce overlinking


# c6063d0d 05-May-2014 Warner Losh <imp@FreeBSD.org>

Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.


# 72cd7a52 20-Dec-2010 Shteryana Shopova <syrinx@FreeBSD.org>

Bring in a SNMP module that allows configuration of SNMPv3 Notification targets.

Sponsored by: The FreeBSD Foundation
Reviewed by: philip
Approved by: philip


# 1c706be0 16-Dec-2010 Shteryana Shopova <syrinx@FreeBSD.org>

Pass proper -Wl,-export-dynamic to ld. Thus bsnmpd(1) compiled with clang
properly exports its symbols to the modules.

Submitted by: dim


# 135f7de5 08-Dec-2010 Shteryana Shopova <syrinx@FreeBSD.org>

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@


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 71ccf092 02-Jan-2010 Ed Schouten <ed@FreeBSD.org>

The last big commit: let usr.sbin/ use WARNS=6 by default.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 1e1c4c13 08-Nov-2006 Hartmut Brandt <harti@FreeBSD.org>

Make the generated oid.h dependend on the Makefile. The Makefile defines
the symbols to be extracted from the MIB and if that list of symbols is
changed, oid.h should be re-generated.


# 99eebd2a 31-Oct-2006 Gleb Smirnoff <glebius@FreeBSD.org>

Fix buildworld.


# e4a92744 12-Apr-2006 Ruslan Ermilov <ru@FreeBSD.org>

Add missing library dependencies.


# 7a775b30 13-Mar-2006 Hartmut Brandt <harti@FreeBSD.org>

Silence some warnings by defining configuration preprocessor symbols.


# 3f9b405c 04-Oct-2005 Hartmut Brandt <harti@FreeBSD.org>

Catch up with the import of bsnmp-1.11. Add a couple of new
configuration flags to CFLAGS.


# 8bacf1a6 26-Apr-2005 Hartmut Brandt <harti@FreeBSD.org>

Enable tcp-wrapper support in the SNMP daemon.

Submitted by: glebius


# a35d8893 24-Oct-2004 Ruslan Ermilov <ru@FreeBSD.org>

For variables that are only checked with defined(), don't provide
any fake value.


# 5f892a7f 24-Sep-2004 Tom Rhodes <trhodes@FreeBSD.org>

Fix build in the !NOATM case by using the begemot library in place of
using libisc which was a part of BIND8.

Discussed with: des, re, dougb
Submitted by: harti (one part)
Reviewed by: harti (previous version)


# a0f13910 15-Apr-2004 Hartmut Brandt <harti@FreeBSD.org>

Install the MIBs and the definition file to the new location under
/usr/share/snmp.

Noted by: bmah


# 16b2454c 14-Apr-2004 Hartmut Brandt <harti@FreeBSD.org>

Use a MANFILTER to patch the man pages to point to the right path.

Noted by: phk


# 16fc3635 05-Mar-2004 Mark Murray <markm@FreeBSD.org>

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


# 92ba581c 24-Jan-2004 Hartmut Brandt <harti@FreeBSD.org>

Rename the makefile variable MIBS to BMIBS so that it does not
conflict with the environment variable MIBS that is used by net-snmp.


# b6a6dd18 23-Jan-2004 Hartmut Brandt <harti@FreeBSD.org>

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


# ec8a2cd9 23-Jan-2004 Hartmut Brandt <harti@FreeBSD.org>

Catch up with import of version 1.5a of bsnmp.


# 723d6e64 10-Nov-2003 Hartmut Brandt <harti@FreeBSD.org>

Correct the include path so that the include files are found
with include "...".


# 91a2f929 10-Nov-2003 Hartmut Brandt <harti@FreeBSD.org>

Add the build infrastructure for the SNMP daemon that is the base
for the NgATM ILMI daemon and for the tree parsing helper program.