pkgsrc/net/lldpd/Makefile

61 lines
1.8 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.16 2016/03/05 11:29:07 jperkin Exp $
(pkgsrc) - Add TEST_TARGET= check, but still all the numbers are zero. (upstream) - Update to 0.7.15 ---------------- 0.7.15 [2015-05-21 08:45:55 +0200]: - [b6371c9f6664] lib: don't use priority with constructor (Vincent Bernat) - [441d53f9ae8e] redhat: don't build with JSON by default (Vincent Bernat) - [f42b82148976] build: only uses -pie when linking programs (Vincent Bernat) - [84942a4aeb58] build: when checking for additional flags, be fatal on errors (Vincent Bernat) - [1cce9f1a07c7] lldp: do appropriate cleanup when unable to allocate memory (Vincent Bernat) - [151ed0cd9708] travis: don't install libtool/autoconf/automake (Vincent Bernat) - [a53e59f264aa] tests: document the suppression file for valgrind (Vincent Bernat) - [3db3d0633eee] build: don't use -Wl,-pie (Vincent Bernat) - [2216fdf1ef0f] redhat: fix dates in .spec (Vincent Bernat) - [f4a0a3fc7b19] build: require json-c >= 0.10 (Vincent Bernat) - [36d72b11b57f] redhat: fix a typo in conditional JSON support (Vincent Bernat) - [5592bec999ab] redhat: provide a simpler buildroot (Vincent Bernat) - [b896513bc25e] release: prepare new version (Vincent Bernat) - [39a39abf7c9c] lldpcli: fix another memory leak when querying statistics (Vincent Bernat) - [d68bcbe9653a] lldpcli: fix a memory leak when querying custom TLVs (Vincent Bernat) - [74d82c9dfac6] build: rename valgrind suppression file to match the right tool (Vincent Bernat) - [38d74e8a04e1] ctl: don't use C99 designated initializer for structs to travel on a socket (Vincent Bernat) - [389ac8bd97cd] tests: provide a complete test file for lldpcli (Vincent Bernat) - [a6509ccc4ea6] lib: use ssize_t to store result from write() (Vincent Bernat) - [26498cf46f10] doc: fix example of "configure dot3 power" command (Vincent Bernat) - [120c071a0365] doc: fix example of "configure med location address" command (Vincent Bernat) - [4edc4960671f] doc: fix documentation of "configure lldp portidsubtype" (Vincent Bernat) - [a52e464f4582] tests: remove old reference to ifdump.txt (Vincent Bernat) - [24133f559158] doc: add an entry for setting custom TLV in lldpcli manual page (Vincent Bernat) - [d0e76b5f6e42] doc: add a NEWS entry for custom/unknown TLV (Vincent Bernat) - [11f906138450] Merge pull request #109 from commodo/add-custom-tlvs (Vincent Bernat) - [5666332755c8] build: compile libevent with -fPIC (Vincent Bernat) - [d24247edcbe2] build: try -Wl,-pie before trying -pie for clang (Vincent Bernat) - [1aa3748ca854] build: don't enable PIE when using embedded libevent (Vincent Bernat) - [c4edeadc8b08] build: also try to build a PIE when hardening is not disabled. (Vincent Bernat) - [8738a36d30e2] build: add a switch to disable hardening functions (Vincent Bernat) - [8caf43416452] lldpd: convert 'oui_info' member to dynamic array (Alexandru Ardelean) - [fb1b78bb7611] lldpd: make custom TLV code optional (Alexandru Ardelean) - [26331a26d551] client: display custom TLVs when lldpctl is called (Alexandru Ardelean) - [41cb778179b2] client: implement client interface for custom TLVs (Alexandru Ardelean) - [6cff1e665e72] daemon: implement client interface for custom TLVs (Alexandru Ardelean) - [c576fd21a416] lib: add custom TLV + list atom(s) (Alexandru Ardelean) - [cd5de7a2ea13] daemon: add basic custom TLV send & receive (Alexandru Ardelean) - [9c242613cd7b] daemon: reduce log_info() to log_debug() for unknown TLV types (Alexandru Ardelean) - [86f4c1ef8be4] lib: move lldpd-structs.h include into atom.h (Alexandru Ardelean) - [e7113d69b9cb] lib: add null check to lldpctl_atom_inc_ref() (Alexandru Ardelean) - [b1bebd3f2550] lldpd: move LLDP_TLV_ORG to lldp-const.h (Alexandru Ardelean) - [2389d2ccf7be] lib: enable ability to change log level on-the-fly (Vincent Bernat) - [082c03a94583] lldpcli: ensure we also display logs from liblldpctl (Vincent Bernat) - [c11e6765727b] tests: fix typo in SNMP checks with protocol identity (Vincent Bernat) - [63e52965607e] frame: change checksum function (Vincent Bernat) - [6d3c1ce032f8] tests: fix SNMP tests (Vincent Bernat) - [d99c23687985] tests: fix signed/unsigned discrepancy (Vincent Bernat) - [8d92800b8801] build: cleaner way to not alter CFLAGS/CPPFLAGS/LDFLAGS (Vincent Bernat) - [dd8c9fe3b168] build: enable JSON/XML support automatically by default (Vincent Bernat) - [3250e17b3649] redhat: enable JSON support if recent enough (Vincent Bernat) - [ec6a8dcffbc9] debian: enable JSON support (Vincent Bernat) - [fa9b12c57b7a] build: automatic detection of optional features (Vincent Bernat) - [3fa294062b97] client: only output supported formats (Vincent Bernat) - [a742670827b8] client: complain if the provided format is not supported (Vincent Bernat) - [bacc4a6ad3c4] client: fix a trivial typo (Vincent Bernat) - [e613fdaa7f8a] Merge pull request #106 from commodo/make-some-tlvs-optional (Vincent Bernat) - [e119d5ddf364] client: add some log_debug() messages (Alexandru Ardelean) - [1d7c86b56ce0] tests/check_lldp: add global config object for testing (Alexandru Ardelean) - [1c2217aa0df9] lldpd: make management addresses advertisement optional (Alexandru Ardelean) - [ca838758db3c] lldpd: make chassis capabilities advertisement optional (Alexandru Ardelean) - [8262175deca8] daemon/lldpd.c: free() cfg at end of main function (Alexandru Ardelean) - [7d67839872b3] daemon/protocols/lldp.c: do not send system capabilities if none available (Alexandru Ardelean) - [ef8140572e04] lib: don't define __constructor__ twice (Vincent Bernat) - [e8d465451a3b] Merge pull request #105 from commodo/cleanup (Vincent Bernat) - [9e2db64f1cce] daemon: move protocol files into subfolder (Alexandru Ardelean) - [4b2ee1a0a9de] lib/atom.c: move here remaining code from atom-private.c (Alexandru Ardelean) - [a5f987172cbe] lib/private.h: rename to atom.h (Alexandru Ardelean) - [94c9815776cc] lib/atom-private.c: break it into smaller modules (Alexandru Ardelean) - [9bec20443e7e] lib/atom-private.c: move 'struct atom-builder' to private.h (Alexandru Ardelean) - [84b41218830f] configure.ac: add 'subdir-objects' option (Alexandru Ardelean)
2015-05-23 10:24:07 +02:00
DISTNAME= lldpd-0.7.15
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://media.luffy.cx/files/lldpd/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://vincentbernat.github.com/lldpd/
COMMENT= 802.1ab (LLDP) implementation
LICENSE= isc
# `lldpcli` will be linked to GNU Readline (which is GPL licensed)
# if available. To avoid this, use `--without-readline` as a configure
# option.
Bump 0.7.6 to 0.7.9 (pkgsrc) - Add following line to find -lperl LDFLAGS+= -L${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/CORE - Drop NetBSD-5, net/agr/if_agrioctl.h is missing - Add options.mk and support json, snmp, xml selection, those were missing in configured list - Now includes readline.buildlink3.mk (upstream) lldpd (0.7.9) * Changes: + Default location for chroot, socket and PID are now configurable in `./configure`. The default location is based on the value of `runstatedir` which in turn may be based on the value of `localstatedir` which defaults to `/usr/local/var`. Therefore, to get the previous locations, lldpd should be configured with `./configure --localstatedir=/var`. * Fixes: + Fix `configure system bond-slave-src-mac-type local`. Also use it as default. * Features: + Add support for shutdown LLDPU. + Ability to configure IP management pattern from lldpcli. + Ability to choose what port ID should be (MAC or interface name). lldpd (0.7.8) * Fixes: + Don't hard-code default values for system name, system description and port description. When the field is not present, just don't display it. + Fix lldpcli behaviour when suid. + On OSX, don't use p2p0 interfaces: it would break WLAN. + Fix SNMP support on RHEL. * Features: + Android support + Add the possibility to disable privilege separation (lower memory consumption, lower security, don't do it). + Interfaces can now be whitelisted. For example, *,!eth*,!!eth1 is a valid pattern for all interfaces except eth ones, except eth1. Moreover, on exact match, an matching interface circumvents most sanity checks (like VLAN handling). + Ability to override the hostname. lldpd (0.7.7) * Features: + Use a locally administered MAC address or an arbitrary one instead of null MAC address for bond devices on Linux. This is configurable through `lldpcli`. + Add support for "team" driver (alternative to bond devices). + Preliminary support for DTrace/systemtap. + Preliminary support for seccomp (for monitor process). + Setup chroot inside lldpd instead of relying on init script. * Fixes: + Various bugs related to fixed point number handling (for coordinates in LLDP-MED) + Fix a regression in how MAC address of an enslaved device is retrieved.
2014-06-13 05:06:09 +02:00
# interfaces-bsd.c:45:34: error: net/agr/if_agrioctl.h: No such file or directory
NOT_FOR_PLATFORM= NetBSD-5*-*
USE_LIBTOOL= yes
Bump 0.7.6 to 0.7.9 (pkgsrc) - Add following line to find -lperl LDFLAGS+= -L${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/CORE - Drop NetBSD-5, net/agr/if_agrioctl.h is missing - Add options.mk and support json, snmp, xml selection, those were missing in configured list - Now includes readline.buildlink3.mk (upstream) lldpd (0.7.9) * Changes: + Default location for chroot, socket and PID are now configurable in `./configure`. The default location is based on the value of `runstatedir` which in turn may be based on the value of `localstatedir` which defaults to `/usr/local/var`. Therefore, to get the previous locations, lldpd should be configured with `./configure --localstatedir=/var`. * Fixes: + Fix `configure system bond-slave-src-mac-type local`. Also use it as default. * Features: + Add support for shutdown LLDPU. + Ability to configure IP management pattern from lldpcli. + Ability to choose what port ID should be (MAC or interface name). lldpd (0.7.8) * Fixes: + Don't hard-code default values for system name, system description and port description. When the field is not present, just don't display it. + Fix lldpcli behaviour when suid. + On OSX, don't use p2p0 interfaces: it would break WLAN. + Fix SNMP support on RHEL. * Features: + Android support + Add the possibility to disable privilege separation (lower memory consumption, lower security, don't do it). + Interfaces can now be whitelisted. For example, *,!eth*,!!eth1 is a valid pattern for all interfaces except eth ones, except eth1. Moreover, on exact match, an matching interface circumvents most sanity checks (like VLAN handling). + Ability to override the hostname. lldpd (0.7.7) * Features: + Use a locally administered MAC address or an arbitrary one instead of null MAC address for bond devices on Linux. This is configurable through `lldpcli`. + Add support for "team" driver (alternative to bond devices). + Preliminary support for DTrace/systemtap. + Preliminary support for seccomp (for monitor process). + Setup chroot inside lldpd instead of relying on init script. * Fixes: + Various bugs related to fixed point number handling (for coordinates in LLDP-MED) + Fix a regression in how MAC address of an enslaved device is retrieved.
2014-06-13 05:06:09 +02:00
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-privsep-chroot=${PKG_HOME._lldpd}
Bump 0.7.6 to 0.7.9 (pkgsrc) - Add following line to find -lperl LDFLAGS+= -L${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/CORE - Drop NetBSD-5, net/agr/if_agrioctl.h is missing - Add options.mk and support json, snmp, xml selection, those were missing in configured list - Now includes readline.buildlink3.mk (upstream) lldpd (0.7.9) * Changes: + Default location for chroot, socket and PID are now configurable in `./configure`. The default location is based on the value of `runstatedir` which in turn may be based on the value of `localstatedir` which defaults to `/usr/local/var`. Therefore, to get the previous locations, lldpd should be configured with `./configure --localstatedir=/var`. * Fixes: + Fix `configure system bond-slave-src-mac-type local`. Also use it as default. * Features: + Add support for shutdown LLDPU. + Ability to configure IP management pattern from lldpcli. + Ability to choose what port ID should be (MAC or interface name). lldpd (0.7.8) * Fixes: + Don't hard-code default values for system name, system description and port description. When the field is not present, just don't display it. + Fix lldpcli behaviour when suid. + On OSX, don't use p2p0 interfaces: it would break WLAN. + Fix SNMP support on RHEL. * Features: + Android support + Add the possibility to disable privilege separation (lower memory consumption, lower security, don't do it). + Interfaces can now be whitelisted. For example, *,!eth*,!!eth1 is a valid pattern for all interfaces except eth ones, except eth1. Moreover, on exact match, an matching interface circumvents most sanity checks (like VLAN handling). + Ability to override the hostname. lldpd (0.7.7) * Features: + Use a locally administered MAC address or an arbitrary one instead of null MAC address for bond devices on Linux. This is configurable through `lldpcli`. + Add support for "team" driver (alternative to bond devices). + Preliminary support for DTrace/systemtap. + Preliminary support for seccomp (for monitor process). + Setup chroot inside lldpd instead of relying on init script. * Fixes: + Various bugs related to fixed point number handling (for coordinates in LLDP-MED) + Fix a regression in how MAC address of an enslaved device is retrieved.
2014-06-13 05:06:09 +02:00
# run/lldpd.socket is created under this directory
# (the default is ${PRERIX}/var, changed since 0.7.9)
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
pkgsrc: Bump 0.7.2 to 0.7.5 Following line in Makefile removed. NOT_FOR_PLATFORM= DragonFly-*-* Following line in Makefile Added. BUILD_DEFS+= VARBASE All the patches (for trying to add DragonFly) are removed, now DragonFly is supported. ChangeLog of upstream: 0.7.5 [2013-06-22 13:57:31 +0200]: - [2169efb] tokenizer: input buffer was too small (Vincent Bernat) - [6712d3e] packaging: update packaging (Vincent Bernat) 0.7.4 [2013-06-22 12:15:47 +0200]: - [1381217] bpf: on OpenBSD, invert the filter direction (Vincent Bernat) - [96b97fa] NEWS: add an entry for the use of `setproctitle()` (Vincent Bernat) - [f0d2157] compat: declare `setproctitle()` as a printf function (Vincent Bernat) - [19ce813] debian: build-depends on libbssd-dev (Vincent Bernat) - [e7103af] lldpd: when no `setproctitle()` available, don't count neighbors (Vincent Bernat) - [480f1c6] lldpd: count number of chassis to get number of neighbors (Vincent Bernat) - [25eb187] lldpd: don't call `lldpd_count_neighbors()` too many times (Vincent Bernat) - [66879d4] build: use libbsd if available, also use `setproctitle()` (Vincent Bernat) - [3f70e11] lldpcli: `configure system platform` to override platform description (Vincent Bernat) - [decaec0] lldpcli: `configure system description` to override chassis description (Vincent Bernat) - [994b337] lldpcli: split `conf.c` into `conf-system.c` and `conf-lldp.c`. (Vincent Bernat) - [48d0a4b] lldpcli: `configure system interface pattern` instead of `configure lldp iface-pattern` (Vincent Bernat) - [a3e0896] libevent: use GitHub git tree (Vincent Bernat) - [c11e397] debian: sync packaging with official Debian package (Vincent Bernat) - [e39f079] libevent: switch to patches-2.0 branch to get the appropriate automake fix (Vincent Bernat) - [8677ddc] git: ignore test-driver, generated by recent automake versions (Vincent Bernat) - [bea0d76] Fixed some boundary conditions in code that cleans remote ports on ttl expiry. (Roopa Prabhu) - [5aeda65] liblldpctl: fix infinite loop when user is reading fixed chunks (Pradosh Mohapatra) - [d823429] marshal: fix alignment issue when unserializing (Vincent Bernat) - [bea7031] log: fix memory leak when using a log handler (Vincent Bernat) - [a8da186] marshal: don't declare serialize/unserialize helper for string (Vincent Bernat) - [02cf035] lldpd: fix an alignment (non-)issue (Vincent Bernat) - [bd8a886] lldpcli: don't use an hack to pass the writer to watch callback (Vincent Bernat) - [985a4cb] marshal: provide type-specific serialization/unserialization functions (Vincent Bernat) - [aba549a] client: fix a memory leak when changing lldpd configuration (Vincent Bernat) - [93afd29] ctl: fix a memory leak when cleaning control socket (Vincent Bernat) - [e681c85] client: trigger interface refresh when updating interface pattern (Vincent Bernat) - [e26a25c] lib: fix a memory leak when modifying interface pattern (Vincent Bernat) - [0093777] lldpcli: document "configure lldp iface-pattern" in manual page (Vincent Bernat) - [7e516f1] lldpctl.h: document possibility to write iface-pattern (Vincent Bernat) - [346a0f6] lldpcli: Add support to set iface-pattern (roopa) - [0728cb8] sonmp: allow SONMP unittests to work without a global config (Vincent Bernat) - [ea481e3] man: document tx-hold (Vincent Bernat) - [cb5f739] man: tx-interval cannot be set per port (Vincent Bernat) - [c10302a] lldpd: Add tx_hold (roopa) - [5920dbf] lldpcli: don't rely on `fgetln()` providing a NULL-terminated string (Vincent Bernat) - [655145c] lldpcli: don't free input line (Vincent Bernat) - [d1dc456] lib: keep space for new values in `lldpctl_key_t` (Vincent Bernat) - [40116b4] debian: synchronize packaging with Debian (Vincent Bernat) - [e91ca9d] release: prepare 0.7.3 (Vincent Bernat) 0.7.3 [2013-05-09 00:05:36 +0200]: - [a1728b7] NEWS: add a word about Solaris support (Vincent Bernat) - [b1a8985] solaris: less intrusive way to get CMSG_* macros (Vincent Bernat) - [815b799] solaris: assume that IP forwarding is disabled (Vincent Bernat) - [c3e340b] solaris: preliminary support (Vincent Bernat) - [d0787f4] NEWS: add an entry about LLDP-MED fast start. (Vincent Bernat) - [486a613] lldpcli: allow to enable/disable fast-start and set delay (Vincent Bernat) - [d6d42d5] lldpd: enable fast start by default (Vincent Bernat) - [be511d0] lldpd: make fast start work only when receiving LLDP-MED LLDPDU (Vincent Bernat) - [b9de0ca] lldpd: fast start support (roopa) - [7ba4a18] configure: use `AC_PROG_EGREP` to find a suitable `grep -E` (Vincent Bernat) - [ae5cae0] lib: use uint8_t instead of u_int8_t (Vincent Bernat) - [91e0280] configure: display configured OS (Vincent Bernat) - [885aa4f] lldpcli: complete the manual page with the syntax of "show statistics" (Vincent Bernat) - [d947819] lldpcli: summary of statistics is done on provided ports only (Vincent Bernat) - [048ed9d] lldpcli: fix two warnings introduced by the previous commit (Vincent Bernat) - [adcb76f] NEWS: add an entry for "show statistics summary" command (Vincent Bernat) - [5331eb2] lldpcli: global stats command (roopa) - [1b3eea3] os: add support for DragonFly BSD (Vincent Bernat) - [de461f1] netlink: fix IP address discovery (Vincent Bernat) - [3fc1a10] lldpcli: fix typo in the man page for setting altitude (Vincent Bernat) - [45a83f3] bsd: don't report a warning when no media information is present (Vincent Bernat)
2013-07-02 18:35:13 +02:00
BUILD_DEFS+= VARBASE
CONF_FILES= ${EXAMPLE_DIR}/README.conf etc/lldpd.d/README.conf
CONF_FILES+= ${EXAMPLE_DIR}/lldpcli.bash-completion \
etc/bash_completion.d/lldpcli.bash-completion
EXAMPLE_DIR= ${PREFIX}/share/${PKGBASE}/conf
Bump 0.7.6 to 0.7.9 (pkgsrc) - Add following line to find -lperl LDFLAGS+= -L${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/CORE - Drop NetBSD-5, net/agr/if_agrioctl.h is missing - Add options.mk and support json, snmp, xml selection, those were missing in configured list - Now includes readline.buildlink3.mk (upstream) lldpd (0.7.9) * Changes: + Default location for chroot, socket and PID are now configurable in `./configure`. The default location is based on the value of `runstatedir` which in turn may be based on the value of `localstatedir` which defaults to `/usr/local/var`. Therefore, to get the previous locations, lldpd should be configured with `./configure --localstatedir=/var`. * Fixes: + Fix `configure system bond-slave-src-mac-type local`. Also use it as default. * Features: + Add support for shutdown LLDPU. + Ability to configure IP management pattern from lldpcli. + Ability to choose what port ID should be (MAC or interface name). lldpd (0.7.8) * Fixes: + Don't hard-code default values for system name, system description and port description. When the field is not present, just don't display it. + Fix lldpcli behaviour when suid. + On OSX, don't use p2p0 interfaces: it would break WLAN. + Fix SNMP support on RHEL. * Features: + Android support + Add the possibility to disable privilege separation (lower memory consumption, lower security, don't do it). + Interfaces can now be whitelisted. For example, *,!eth*,!!eth1 is a valid pattern for all interfaces except eth ones, except eth1. Moreover, on exact match, an matching interface circumvents most sanity checks (like VLAN handling). + Ability to override the hostname. lldpd (0.7.7) * Features: + Use a locally administered MAC address or an arbitrary one instead of null MAC address for bond devices on Linux. This is configurable through `lldpcli`. + Add support for "team" driver (alternative to bond devices). + Preliminary support for DTrace/systemtap. + Preliminary support for seccomp (for monitor process). + Setup chroot inside lldpd instead of relying on init script. * Fixes: + Various bugs related to fixed point number handling (for coordinates in LLDP-MED) + Fix a regression in how MAC address of an enslaved device is retrieved.
2014-06-13 05:06:09 +02:00
# CCLD lldpd
# ld: cannot find -lperl
LDFLAGS+= -L${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/CORE
RCD_SCRIPTS= lldpd
PKG_GROUPS= _lldpd
PKG_USERS= _lldpd:_lldpd
PKG_HOME._lldpd= ${VARBASE}/chroot/lldpd
OWN_DIRS= ${VARBASE}/chroot/lldpd
AUTO_MKDIRS= yes
(pkgsrc) - Add TEST_TARGET= check, but still all the numbers are zero. (upstream) - Update to 0.7.15 ---------------- 0.7.15 [2015-05-21 08:45:55 +0200]: - [b6371c9f6664] lib: don't use priority with constructor (Vincent Bernat) - [441d53f9ae8e] redhat: don't build with JSON by default (Vincent Bernat) - [f42b82148976] build: only uses -pie when linking programs (Vincent Bernat) - [84942a4aeb58] build: when checking for additional flags, be fatal on errors (Vincent Bernat) - [1cce9f1a07c7] lldp: do appropriate cleanup when unable to allocate memory (Vincent Bernat) - [151ed0cd9708] travis: don't install libtool/autoconf/automake (Vincent Bernat) - [a53e59f264aa] tests: document the suppression file for valgrind (Vincent Bernat) - [3db3d0633eee] build: don't use -Wl,-pie (Vincent Bernat) - [2216fdf1ef0f] redhat: fix dates in .spec (Vincent Bernat) - [f4a0a3fc7b19] build: require json-c >= 0.10 (Vincent Bernat) - [36d72b11b57f] redhat: fix a typo in conditional JSON support (Vincent Bernat) - [5592bec999ab] redhat: provide a simpler buildroot (Vincent Bernat) - [b896513bc25e] release: prepare new version (Vincent Bernat) - [39a39abf7c9c] lldpcli: fix another memory leak when querying statistics (Vincent Bernat) - [d68bcbe9653a] lldpcli: fix a memory leak when querying custom TLVs (Vincent Bernat) - [74d82c9dfac6] build: rename valgrind suppression file to match the right tool (Vincent Bernat) - [38d74e8a04e1] ctl: don't use C99 designated initializer for structs to travel on a socket (Vincent Bernat) - [389ac8bd97cd] tests: provide a complete test file for lldpcli (Vincent Bernat) - [a6509ccc4ea6] lib: use ssize_t to store result from write() (Vincent Bernat) - [26498cf46f10] doc: fix example of "configure dot3 power" command (Vincent Bernat) - [120c071a0365] doc: fix example of "configure med location address" command (Vincent Bernat) - [4edc4960671f] doc: fix documentation of "configure lldp portidsubtype" (Vincent Bernat) - [a52e464f4582] tests: remove old reference to ifdump.txt (Vincent Bernat) - [24133f559158] doc: add an entry for setting custom TLV in lldpcli manual page (Vincent Bernat) - [d0e76b5f6e42] doc: add a NEWS entry for custom/unknown TLV (Vincent Bernat) - [11f906138450] Merge pull request #109 from commodo/add-custom-tlvs (Vincent Bernat) - [5666332755c8] build: compile libevent with -fPIC (Vincent Bernat) - [d24247edcbe2] build: try -Wl,-pie before trying -pie for clang (Vincent Bernat) - [1aa3748ca854] build: don't enable PIE when using embedded libevent (Vincent Bernat) - [c4edeadc8b08] build: also try to build a PIE when hardening is not disabled. (Vincent Bernat) - [8738a36d30e2] build: add a switch to disable hardening functions (Vincent Bernat) - [8caf43416452] lldpd: convert 'oui_info' member to dynamic array (Alexandru Ardelean) - [fb1b78bb7611] lldpd: make custom TLV code optional (Alexandru Ardelean) - [26331a26d551] client: display custom TLVs when lldpctl is called (Alexandru Ardelean) - [41cb778179b2] client: implement client interface for custom TLVs (Alexandru Ardelean) - [6cff1e665e72] daemon: implement client interface for custom TLVs (Alexandru Ardelean) - [c576fd21a416] lib: add custom TLV + list atom(s) (Alexandru Ardelean) - [cd5de7a2ea13] daemon: add basic custom TLV send & receive (Alexandru Ardelean) - [9c242613cd7b] daemon: reduce log_info() to log_debug() for unknown TLV types (Alexandru Ardelean) - [86f4c1ef8be4] lib: move lldpd-structs.h include into atom.h (Alexandru Ardelean) - [e7113d69b9cb] lib: add null check to lldpctl_atom_inc_ref() (Alexandru Ardelean) - [b1bebd3f2550] lldpd: move LLDP_TLV_ORG to lldp-const.h (Alexandru Ardelean) - [2389d2ccf7be] lib: enable ability to change log level on-the-fly (Vincent Bernat) - [082c03a94583] lldpcli: ensure we also display logs from liblldpctl (Vincent Bernat) - [c11e6765727b] tests: fix typo in SNMP checks with protocol identity (Vincent Bernat) - [63e52965607e] frame: change checksum function (Vincent Bernat) - [6d3c1ce032f8] tests: fix SNMP tests (Vincent Bernat) - [d99c23687985] tests: fix signed/unsigned discrepancy (Vincent Bernat) - [8d92800b8801] build: cleaner way to not alter CFLAGS/CPPFLAGS/LDFLAGS (Vincent Bernat) - [dd8c9fe3b168] build: enable JSON/XML support automatically by default (Vincent Bernat) - [3250e17b3649] redhat: enable JSON support if recent enough (Vincent Bernat) - [ec6a8dcffbc9] debian: enable JSON support (Vincent Bernat) - [fa9b12c57b7a] build: automatic detection of optional features (Vincent Bernat) - [3fa294062b97] client: only output supported formats (Vincent Bernat) - [a742670827b8] client: complain if the provided format is not supported (Vincent Bernat) - [bacc4a6ad3c4] client: fix a trivial typo (Vincent Bernat) - [e613fdaa7f8a] Merge pull request #106 from commodo/make-some-tlvs-optional (Vincent Bernat) - [e119d5ddf364] client: add some log_debug() messages (Alexandru Ardelean) - [1d7c86b56ce0] tests/check_lldp: add global config object for testing (Alexandru Ardelean) - [1c2217aa0df9] lldpd: make management addresses advertisement optional (Alexandru Ardelean) - [ca838758db3c] lldpd: make chassis capabilities advertisement optional (Alexandru Ardelean) - [8262175deca8] daemon/lldpd.c: free() cfg at end of main function (Alexandru Ardelean) - [7d67839872b3] daemon/protocols/lldp.c: do not send system capabilities if none available (Alexandru Ardelean) - [ef8140572e04] lib: don't define __constructor__ twice (Vincent Bernat) - [e8d465451a3b] Merge pull request #105 from commodo/cleanup (Vincent Bernat) - [9e2db64f1cce] daemon: move protocol files into subfolder (Alexandru Ardelean) - [4b2ee1a0a9de] lib/atom.c: move here remaining code from atom-private.c (Alexandru Ardelean) - [a5f987172cbe] lib/private.h: rename to atom.h (Alexandru Ardelean) - [94c9815776cc] lib/atom-private.c: break it into smaller modules (Alexandru Ardelean) - [9bec20443e7e] lib/atom-private.c: move 'struct atom-builder' to private.h (Alexandru Ardelean) - [84b41218830f] configure.ac: add 'subdir-objects' option (Alexandru Ardelean)
2015-05-23 10:24:07 +02:00
TEST_TARGET= check
INSTALLATION_DIRS+= sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8
INSTALLATION_DIRS+= share/${PKGBASE}/conf
Bump 0.7.6 to 0.7.9 (pkgsrc) - Add following line to find -lperl LDFLAGS+= -L${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/CORE - Drop NetBSD-5, net/agr/if_agrioctl.h is missing - Add options.mk and support json, snmp, xml selection, those were missing in configured list - Now includes readline.buildlink3.mk (upstream) lldpd (0.7.9) * Changes: + Default location for chroot, socket and PID are now configurable in `./configure`. The default location is based on the value of `runstatedir` which in turn may be based on the value of `localstatedir` which defaults to `/usr/local/var`. Therefore, to get the previous locations, lldpd should be configured with `./configure --localstatedir=/var`. * Fixes: + Fix `configure system bond-slave-src-mac-type local`. Also use it as default. * Features: + Add support for shutdown LLDPU. + Ability to configure IP management pattern from lldpcli. + Ability to choose what port ID should be (MAC or interface name). lldpd (0.7.8) * Fixes: + Don't hard-code default values for system name, system description and port description. When the field is not present, just don't display it. + Fix lldpcli behaviour when suid. + On OSX, don't use p2p0 interfaces: it would break WLAN. + Fix SNMP support on RHEL. * Features: + Android support + Add the possibility to disable privilege separation (lower memory consumption, lower security, don't do it). + Interfaces can now be whitelisted. For example, *,!eth*,!!eth1 is a valid pattern for all interfaces except eth ones, except eth1. Moreover, on exact match, an matching interface circumvents most sanity checks (like VLAN handling). + Ability to override the hostname. lldpd (0.7.7) * Features: + Use a locally administered MAC address or an arbitrary one instead of null MAC address for bond devices on Linux. This is configurable through `lldpcli`. + Add support for "team" driver (alternative to bond devices). + Preliminary support for DTrace/systemtap. + Preliminary support for seccomp (for monitor process). + Setup chroot inside lldpd instead of relying on init script. * Fixes: + Various bugs related to fixed point number handling (for coordinates in LLDP-MED) + Fix a regression in how MAC address of an enslaved device is retrieved.
2014-06-13 05:06:09 +02:00
.include "options.mk"
post-install:
.for i in etc/lldpd.d/README.conf etc/bash_completion.d/lldpcli.bash-completion
${MV} ${DESTDIR}${PREFIX}/${i} ${DESTDIR}${EXAMPLE_DIR}
.endfor
BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.5
.include "../../devel/libevent/buildlink3.mk"
Bump 0.7.6 to 0.7.9 (pkgsrc) - Add following line to find -lperl LDFLAGS+= -L${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/CORE - Drop NetBSD-5, net/agr/if_agrioctl.h is missing - Add options.mk and support json, snmp, xml selection, those were missing in configured list - Now includes readline.buildlink3.mk (upstream) lldpd (0.7.9) * Changes: + Default location for chroot, socket and PID are now configurable in `./configure`. The default location is based on the value of `runstatedir` which in turn may be based on the value of `localstatedir` which defaults to `/usr/local/var`. Therefore, to get the previous locations, lldpd should be configured with `./configure --localstatedir=/var`. * Fixes: + Fix `configure system bond-slave-src-mac-type local`. Also use it as default. * Features: + Add support for shutdown LLDPU. + Ability to configure IP management pattern from lldpcli. + Ability to choose what port ID should be (MAC or interface name). lldpd (0.7.8) * Fixes: + Don't hard-code default values for system name, system description and port description. When the field is not present, just don't display it. + Fix lldpcli behaviour when suid. + On OSX, don't use p2p0 interfaces: it would break WLAN. + Fix SNMP support on RHEL. * Features: + Android support + Add the possibility to disable privilege separation (lower memory consumption, lower security, don't do it). + Interfaces can now be whitelisted. For example, *,!eth*,!!eth1 is a valid pattern for all interfaces except eth ones, except eth1. Moreover, on exact match, an matching interface circumvents most sanity checks (like VLAN handling). + Ability to override the hostname. lldpd (0.7.7) * Features: + Use a locally administered MAC address or an arbitrary one instead of null MAC address for bond devices on Linux. This is configurable through `lldpcli`. + Add support for "team" driver (alternative to bond devices). + Preliminary support for DTrace/systemtap. + Preliminary support for seccomp (for monitor process). + Setup chroot inside lldpd instead of relying on init script. * Fixes: + Various bugs related to fixed point number handling (for coordinates in LLDP-MED) + Fix a regression in how MAC address of an enslaved device is retrieved.
2014-06-13 05:06:09 +02:00
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"