Licensing Information

Open Source Used In Cisco DSP IP Cameras 253
Net-SNMP is incomplete. The easiest way to fix this is to provide an
empty struct.h:
touch src/struct.h
lldpd uses privilege separation to increase its security. Two
processes, one running as root and doing minimal stuff and the other
running as an unprivileged user into a chroot doing most of the stuff,
are cooperating. You need to create a user called '_lldpd' in a group
'_lldpd' (this can be change with './configure'). You also need to
create an empty directory '/var/run/lldpd' (it needs to be owned by
root, not '_lldpd'!). If you get fuzzy timestamps from syslog, copy
'/etc/locatime' into the chroot.
'lldpcli' lets one query information collected through the command
line. If you don't want to run it as root, just install it setuid or
setgid '_lldpd'.
Installation (Mac OS X)
-----------------------
The same procedure as above applies for Mac OS X. However, there are
simpler alternatives:
1. Use [Homebrew](http://mxcl.github.io/homebrew/):
brew install lldpd
# Or, for the latest version:
brew install https://raw.github.com/vincentbernat/lldpd/master/osx/lldpd.rb
2. Build an OSX installer package which should work on the same
version of OS X (it is important to use a separate build
directory):
mkdir build && cd build
../configure --prefix=/usr --sysconfdir=/etc --with-embedded-libevent
make -C osx pkg ARCHS="i386 x86_64"
If you want to compile for an older version of Mac OS X, you need
to find the right SDK and issues commands like those:
SDK=/Developer/SDKs/MacOSX10.6.sdk
mkdir build && cd build
../configure --prefix=/usr --sysconfdir=/etc --with-embedded-libevent \
CFLAGS="-mmacosx-version-min=10.6 -isysroot $SDK" \
LDFLAGS="-mmacosx-version-min=10.6 -isysroot $SDK"
make -C osx pkg ARCHS="i386 x86_64"