debian/0000755000000000000000000000000012242103366007165 5ustar debian/compat0000644000000000000000000000000212242103366010363 0ustar 5 debian/lldpd.postrm0000644000000000000000000000046612242103366011540 0ustar #!/bin/sh set -e #DEBHELPER# case "$1" in purge) dpkg-statoverride --remove /usr/sbin/lldpcli dpkg-statoverride --quiet --remove /usr/sbin/lldpctl || true deluser --system _lldpd || true delgroup --system _lldpd || true rm -rf /var/run/lldpd ;; *) ;; esac exit 0 debian/lldpd.default0000644000000000000000000000014512242103366011632 0ustar # Uncomment to start SNMP subagent and enable CDP, SONMP and EDP protocol #DAEMON_ARGS="-x -c -s -e" debian/lldpd.postinst0000644000000000000000000000063712242103366012077 0ustar #!/bin/sh set -e if ! ([ "$1" = "configure" ] || [ "$1" = "reconfigure" ]); then exit 0 fi adduser --system --disabled-password --disabled-login --home /var/run/lldpd \ --no-create-home --quiet --force-badname --group _lldpd for i in /usr/sbin/lldpcli; do if ! dpkg-statoverride --list $i > /dev/null 2>&1; then dpkg-statoverride --update --add _lldpd adm 4750 $i fi done #DEBHELPER# exit 0 debian/source/0000755000000000000000000000000012242103366010465 5ustar debian/source/format0000644000000000000000000000001412242103366011673 0ustar 3.0 (quilt) debian/lldpd.upstart0000644000000000000000000000050312242103366011706 0ustar # lldpd - LLDP daemon # # lldpd is a 802.1AB implementation, a L2 network discovery # protocol. It also supports CDP, EDP and various other protocols. description "LLDP daemon" start on net-device-up IFACE=lo stop on runlevel [06] expect stop respawn script . /etc/default/lldpd exec lldpd $DAEMON_ARGS end script debian/lldpd.lintian-overrides0000644000000000000000000000040712242103366013645 0ustar # liblldpctl is tightly coupled with lldpd because of the use of a # binary RPC mechanism between the library and lldpd. The library can # only work with the exact version of lldpd it was compiled with. lldpd binary: package-name-doesnt-match-sonames liblldpctl4 debian/watch0000644000000000000000000000011512242103366010213 0ustar version=3 http://vincent.bernat.im/en/projects.html .*/lldpd-([\d.]+).tar.gz debian/control0000644000000000000000000000427212242103366010575 0ustar Source: lldpd Section: net Priority: optional Maintainer: Vincent Bernat Build-Depends: debhelper (>= 5), cdbs (>= 0.4.122), autotools-dev, dh-autoreconf, libsnmp-dev, libxml2-dev, libevent-dev, libreadline-dev, libsensors4-dev, libbsd-dev, pkg-config, dh-systemd (>= 1.5) Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/lldpd.git Vcs-Git: git://anonscm.debian.org/collab-maint/lldpd.git Homepage: http://vincentbernat.github.com/lldpd/ Package: lldpd Architecture: linux-any kfreebsd-any Depends: ${shlibs:Depends}, ${misc:Depends}, adduser Suggests: snmpd Description: implementation of IEEE 802.1ab (LLDP) LLDP is an industry standard protocol designed to supplant proprietary Link-Layer protocols such as Extreme's EDP (Extreme Discovery Protocol) and CDP (Cisco Discovery Protocol). The goal of LLDP is to provide an inter-vendor compatible mechanism to deliver Link-Layer notifications to adjacent network devices. . This implementation provides LLDP sending and reception, supports VLAN and includes an SNMP subagent that can interface to an SNMP agent through AgentX protocol. . This daemon is also able to deal with CDP, SONMP, FDP and EDP protocol. It also handles LLDP-MED extension. Package: liblldpctl-dev Section: libdevel Architecture: linux-any kfreebsd-any Depends: lldpd (= ${binary:Version}), ${misc:Depends} Description: implementation of IEEE 802.1ab (LLDP) - development files LLDP is an industry standard protocol designed to supplant proprietary Link-Layer protocols such as Extreme's EDP (Extreme Discovery Protocol) and CDP (Cisco Discovery Protocol). The goal of LLDP is to provide an inter-vendor compatible mechanism to deliver Link-Layer notifications to adjacent network devices. . This implementation provides LLDP sending and reception, supports VLAN and includes an SNMP subagent that can interface to an SNMP agent through AgentX protocol. . This daemon is also able to deal with CDP, SONMP, FDP and EDP protocol. It also handles LLDP-MED extension. . This package contains development files to develop clients for lldpd. debian/changelog0000644000000000000000000001616512242103366011050 0ustar lldpd (0.7.7-1) unstable; urgency=low * New upstream version. + lldpd now builds its chroot itself. This removes the need to use mkdir/cp in lldpd.service and closes: #725098. + lldpd ships its own lldpd.service. Use it. -- Vincent Bernat Sun, 17 Nov 2013 09:48:00 +0100 lldpd (0.7.6-2) unstable; urgency=low * Build-Depends on dh-systemd to correctly register service files. -- Vincent Bernat Mon, 12 Aug 2013 17:52:07 +0200 lldpd (0.7.6-1) unstable; urgency=low * New upstream version. -- Vincent Bernat Mon, 22 Jul 2013 08:18:53 +0200 lldpd (0.7.5-2) unstable; urgency=low * control: use canonical URL for Vcs-* fields. * init: do not source /lib/init/vars.sh in init script. * lintian: update override about liblldpctl. * symbols: update liblldpctl version. * postinst/postrm: use `set -e` in case they are invoked with `sh`. -- Vincent Bernat Sun, 23 Jun 2013 19:23:41 +0200 lldpd (0.7.5-1) unstable; urgency=low * New upstream version. + Fix FTBFS due to embedded libevent during autoreconf step by shipping a more recent version of libevent compatible with automake 1.14. Closes: #713773. * Add back libsensors4-dev as a Build-Depends since it is missing from libsnmp-dev for kfreebsd-*. -- Vincent Bernat Sat, 22 Jun 2013 13:19:43 +0200 lldpd (0.7.3-4) unstable; urgency=low * debian/control: + switch architecture to "linux-any kfreebsd-any" -- Vincent Bernat Sun, 26 May 2013 10:43:07 +0200 lldpd (0.7.3-3) unstable; urgency=low * Fix call to dpkg-statoverride in postrm. Closes: #709128. -- Vincent Bernat Tue, 21 May 2013 09:22:30 +0200 lldpd (0.7.3-2) unstable; urgency=low * Don't Build-Depends on libsensors*-dev or on libperl-dev. They were needed in the past to link against libsnmp-dev but this is not the case anymore. Closes: #708990. -- Vincent Bernat Mon, 20 May 2013 08:06:50 +0200 lldpd (0.7.3-1) unstable; urgency=low * New upstream version. + lldpd now watches for link down events. Closes: #551606. + lldpd should now build on Debian kFreeBSD as well. * debian/control: + build-depends on libevent-dev, pkg-config for lldpd + build-depends on libreadline-dev for lldpcli + build-depends on dh-autoreconf + update homepage + bump Standards-Version to 3.9.4 * Add support for upstart and systemd. * Ship a liblldpctl-dev package. There is no liblldpctlX package because the library is contained in lldpd package: while the library provide API and ABI stability, the internals are dependent on the exact version of lldpd (the communication is done through a binary RPC protocol). Add a lintian override for this. * Introduce a symbol files for liblldpctl.so. * Update debian/copyright for libevent, various M4 macros and shipped include files. -- Vincent Bernat Sun, 12 May 2013 12:12:01 +0200 lldpd (0.5.7-2) unstable; urgency=low * Update debian/watch. * Add a "status" command to init.d script. -- Vincent Bernat Sun, 24 Jun 2012 01:56:37 +0200 lldpd (0.5.7-1) unstable; urgency=low * New upstream version. + Fix a possible infinite loop in the receiving part which may prevent lldpd to send frames. * Bump Standards-Version to 3.9.3. -- Vincent Bernat Thu, 01 Mar 2012 00:06:43 +0100 lldpd (0.5.5-1) unstable; urgency=low * New upstream release. * Don't ship changelog twice. -- Vincent Bernat Wed, 16 Nov 2011 22:16:48 +0100 lldpd (0.5.4-1) unstable; urgency=low * New upstream release. + flag to specify which interfaces lldpd listen to (Closes: #584806). * Correct debian/watch to download from GitHub. * Correct homepage location (now on Github). * Bump Standards-Version to 3.9.2. No changes required. -- Vincent Bernat Sat, 02 Jul 2011 20:17:32 +0200 lldpd (0.5.2-1) unstable; urgency=low * New upstream release. * Enable XML output for lldpctl. * Bump Standards-Version to 3.9.1. No changes required. -- Vincent Bernat Mon, 21 Feb 2011 21:36:04 +0100 lldpd (0.5.1-1) unstable; urgency=low * New upstream release. + Do not report MTU as MFS anymore. Closes: #559314. + lldpctl reports information ages. Closes: #551607. + lldpctl now supports a key/value output. Closes: #551608. -- Vincent Bernat Fri, 18 Jun 2010 19:53:33 +0200 lldpd (0.4.2-1) unstable; urgency=low * New upstream release. * Bump Standards-Version to 3.8.4. No changes required. * Put /etc/localtime into chroot to ensure correct timestamps for syslog. -- Vincent Bernat Thu, 11 Mar 2010 19:35:55 +0100 lldpd (0.4.1-1) unstable; urgency=low * New upstream release: drop all patchs, they have been applied on 0.4.1. * Switch to dpkg-source 3.0 (quilt) format. -- Vincent Bernat Thu, 14 Jan 2010 07:48:04 +0100 lldpd (0.4.0-2) unstable; urgency=low * Fix init.d script with respect with the incorrect LSB header, thanks to Peter Reinholdtsen. Closes: #542161. * Add some patches from git: + fix EDP vlan handling when there is no VLAN [c3f02fe] + fix a bug in CDP packet generation [62d75ae] + add missing argument in some call to LLOG_INFO [1ac88e1] * Bump Standards-Version to 3.8.3. No changes required. -- Vincent Bernat Tue, 18 Aug 2009 14:08:54 +0200 lldpd (0.4.0-1) unstable; urgency=low * New upstream version. Should work on ARM. -- Vincent Bernat Wed, 20 May 2009 19:15:19 +0200 lldpd (0.3.3-2) unstable; urgency=low * Create /var/run/lldpd in init.d. /var/run can be in a ramfs. LP: #316335. * Bump Standards-Version to 3.8.1. -- Vincent Bernat Sun, 05 Apr 2009 12:59:09 +0200 lldpd (0.3.3-1) unstable; urgency=low * New upstream version -- Vincent Bernat Sat, 14 Mar 2009 21:57:35 +0100 lldpd (0.3.2-1) unstable; urgency=low * New upstream version -- Vincent Bernat Mon, 02 Mar 2009 17:14:17 +0100 lldpd (0.3-1) unstable; urgency=low * New upstream version + LLDP-MED support -- Vincent Bernat Sun, 14 Dec 2008 12:02:23 +0100 lldpd (0.2.1-1) unstable; urgency=low * New upstream version + Fix a lintian warning about a syntax error in manual page * Ship upstream changelog -- Vincent Bernat Wed, 19 Nov 2008 20:12:13 +0100 lldpd (0.2-1) unstable; urgency=low * New upstream version + FDP support + privilege separation * Provide debian/postinst and debian/postrm to create _lldpd user and group. * /usr/sbin/lldpctl is now installed with setuid _lldpd, owned by adm group and can be executed only by adm group. Any user in adm group can run lldpctl. -- Vincent Bernat Mon, 17 Nov 2008 20:22:17 +0100 lldpd (0.1-1) unstable; urgency=low * Initial release (Closes: #502301) -- Vincent Bernat Wed, 15 Oct 2008 21:41:21 +0200 debian/README.Debian0000644000000000000000000000022412242103366011224 0ustar If you want to run lldpctl as normal user, just put yourself in adm group. -- Vincent Bernat , Mon, 17 Nov 2008 20:24:05 +0100 debian/lldpd.init.d0000644000000000000000000000476612242103366011410 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: lldpd # Required-Start: $remote_fs $network $syslog # Required-Stop: $network $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: LLDP daemon # Description: lldpd is a 802.1AB implementation, a L2 network # discovery protocol. It also supports CDP, EDP and # various other protocols. ### END INIT INFO # Do NOT "set -e" # PATH should only include /usr/* if it runs after the mountnfs.sh script PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC="LLDP daemon" NAME=lldpd DAEMON=/usr/sbin/$NAME DAEMON_ARGS="" PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME CHROOT=/var/run/$NAME # Exit if the package is not installed [ -x "$DAEMON" ] || exit 0 # Read configuration variable file if it is present [ -r /etc/default/$NAME ] && . /etc/default/$NAME # LSB log_* functions . /lib/lsb/init-functions do_start() { start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ || return 1 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ $DAEMON_ARGS \ || return 2 } do_stop() { start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME RETVAL="$?" [ "$RETVAL" = 2 ] && return 2 start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON [ "$?" = 2 ] && return 2 rm -f $PIDFILE return "$RETVAL" } do_reload() { start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME return 0 } case "$1" in start) [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" do_start case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; stop) [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" do_stop case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; reload) log_daemon_msg "Reloading $DESC" "$NAME" do_reload log_end_msg $? ;; restart|force-reload) log_daemon_msg "Restarting $DESC" "$NAME" do_stop case "$?" in 0|1) do_start case "$?" in 0) log_end_msg 0 ;; 1) log_end_msg 1 ;; # Old process is still running *) log_end_msg 1 ;; # Failed to start esac ;; *) # Failed to stop log_end_msg 1 ;; esac ;; status) status_of_proc $DAEMON $NAME -p $PIDFILE && exit 0 || exit $? ;; *) echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload|status}" >&2 exit 3 ;; esac : debian/lldpd.symbols0000644000000000000000000000174112242103366011701 0ustar liblldpctl.so.4 lldpd #MINVER# lldpctl_atom_create@Base 0.7.3 lldpctl_atom_dec_ref@Base 0.7.3 lldpctl_atom_get@Base 0.7.3 lldpctl_atom_get_buffer@Base 0.7.3 lldpctl_atom_get_connection@Base 0.7.3 lldpctl_atom_get_int@Base 0.7.3 lldpctl_atom_get_str@Base 0.7.3 lldpctl_atom_inc_ref@Base 0.7.3 lldpctl_atom_iter@Base 0.7.3 lldpctl_atom_iter_next@Base 0.7.3 lldpctl_atom_iter_value@Base 0.7.3 lldpctl_atom_set@Base 0.7.3 lldpctl_atom_set_buffer@Base 0.7.3 lldpctl_atom_set_int@Base 0.7.3 lldpctl_atom_set_str@Base 0.7.3 lldpctl_get_configuration@Base 0.7.3 lldpctl_get_default_transport@Base 0.7.3 lldpctl_get_interfaces@Base 0.7.3 lldpctl_get_port@Base 0.7.3 lldpctl_key_get_map@Base 0.7.3 lldpctl_last_error@Base 0.7.3 lldpctl_log_callback@Base 0.7.3 lldpctl_new@Base 0.7.3 lldpctl_new_name@Base 0.7.3 lldpctl_recv@Base 0.7.3 lldpctl_release@Base 0.7.3 lldpctl_send@Base 0.7.3 lldpctl_strerror@Base 0.7.3 lldpctl_watch@Base 0.7.3 lldpctl_watch_callback@Base 0.7.3 debian/rules0000755000000000000000000000040012242103366010237 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/autoreconf.mk include /usr/share/cdbs/1/class/autotools.mk DEB_CONFIGURE_EXTRA_FLAGS = --with-snmp --with-xml --with-systemdsystemunitdir=/lib/systemd/system debian/copyright0000644000000000000000000002471212242103366011126 0ustar Files: * Copyright: © 2008-2013 Vincent Bernat © 2003, 2004 Henning Brauer © 2006 Pierre-Yves Ritschard © 2003 Can Erkin Acar © 2003 Anil Madhavapeddy © 2010 Andreas Hofmeister License: ISC Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: libevent/* Copyright: Copyright 2000-2007 Niels Provos Copyright 2007-2012 Niels Provos and Nick Mathewson License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Comment: The content of this directory is shipped with lldpd but not used for compilation. The system libevent is used in place of this embedded copy. Files: libevent/arc4random.c Copyright: Copyright (c) 2010 Chris Davis, Niels Provos, and Nick Mathewson Copyright (c) 2010-2012 Niels Provos and Nick Mathewson Copyright (c) 1996, David Mazieres Copyright (c) 2008, Damien Miller License: ISC Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: src/privsep_fdpass.c Copyright: © 2001 Niels Provos © 2002 Matthieu Herrb License: BSD-2-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Files: m4/ax_cflags_gcc_option.m4 Copyright: Copyright (c) 2008 Guido U. Draheim License: GPL-2+ with Autoconf exception This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure scripts that are the output of Autoconf when processing the Macro. You need not follow the terms of the GNU General Public License when using or distributing such scripts, even though portions of the text of the Macro appear in them. The GNU General Public License (GPL) does govern all other use of the material that constitutes the Autoconf Macro. . This special exception to the GPL applies to versions of the Autoconf Macro released by the Autoconf Archive. When you make and distribute a modified version of the Autoconf Macro, you may extend this special exception to the GPL to apply to your modified version as well. Files: m4/ax_ld_check_flag.m4 Copyright: Copyright (c) 2008 Francesco Salvestrini License: GPL-2+ with Autoconf exception Files: m4/ax_lib_readline.m4 Copyright: Copyright (c) 2008 Ville Laurikari License: permissive Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty. Files: m4/ax_prog_doxygen.m4 Copyright: Copyright (c) 2009 Oren Ben-Kiki License: permissive Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty. Files: include/linux/* Copyright: Copyright (C) 1991-2012 Linus Torvalds and many others License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. Comment: It is believed that header files are an interface for user space and therefore cannot be covered by copyright. Files: include/netinet/if_ether.h include/sys/queue.h Copyright: Copyright (c) 1982, 1986, 1993 The Regents of the University of California License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: include/osx/* Copyright: Copyright (c) 2003-2010 Apple Computer, Inc License: APSL-2 This file contains Original Code and/or Modifications of Original Code as defined in and that are subject to the Apple Public Source License Version 2.0 (the 'License'). You may not use this file except in compliance with the License. The rights granted to you under the License may not be used to create, or enable the creation or redistribution of, unlawful or unlicensed copies of an Apple operating system, or to circumvent, violate, or enable the circumvention or violation of, any terms of an Apple operating system software license agreement. Please obtain a copy of the License at http://www.opensource.apple.com/apsl/ and read it before using this file. The Original Code and all software distributed under the License are distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language governing rights and limitations under the License. Comment: APSL incompatibility with GPL is not a problem here: 1. It is believed that header files are an interface for user space and therefore cannot be covered by copyright. 2. Those headers are used only on OS X. Files: debian/* Copyright: © 2008 Vincent Bernat License: ISC debian/liblldpctl-dev.install0000644000000000000000000000015412242103366013456 0ustar debian/tmp/usr/include/*.h debian/tmp/usr/lib/*.so debian/tmp/usr/lib/*.a debian/tmp/usr/lib/pkgconfig/*.pc debian/lldpd.install0000644000000000000000000000020112242103366011645 0ustar debian/tmp/lib/systemd/system/lldpd.service debian/tmp/usr/lib/*.so.* debian/tmp/usr/share/man/man8/* debian/tmp/usr/sbin/lldp*