-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new Portfile lldpd: LLDP Daemon and client #27718
Open
akkornel
wants to merge
1
commit into
macports:master
Choose a base branch
from
akkornel:lldpd
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+46
−0
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | ||
|
||
PortSystem 1.0 | ||
PortGroup github 1.0 | ||
|
||
github.setup lldpd lldpd 1.0.19 | ||
revision 0 | ||
categories net | ||
maintainers {@akkornel stanford.edu:akkornel} openmaintainer | ||
license ISC | ||
|
||
description LLDP allows you to know exactly on which port is a \ | ||
machine (and reciprocally). | ||
long_description lldpd is an 802.1ab implementation (LLDP) to help you \ | ||
locate neighbors of all your equipments. Proprietary \ | ||
protocols (like EDP and CDP) are supported. \ | ||
homepage https://lldpd.github.io | ||
|
||
depends_build path:bin/pkg-config:pkgconfig | ||
|
||
# The distribution does bring its own libevent, which we could use instead of | ||
# the port. | ||
depends_lib port:libevent \ | ||
port:libxml2 \ | ||
port:readline | ||
|
||
github.tarball_from releases | ||
|
||
checksums rmd160 76faefbcc0587dd6b5563bdd8c16c450a1118c28 \ | ||
sha256 4de17fe5137b4d44a7bd57f8dfc80cffe2c8bb3691b4ae3012b5a6ea20d79ee0 \ | ||
size 1987102 | ||
|
||
# libevent, libxml2, and readline are detected automatically by configure | ||
configure.args --prefix=${prefix} \ | ||
--with-privsep-chroot=/var/empty \ | ||
--with-privsep-user=nobody \ | ||
--with-privsep-group=nogroup \ | ||
--with-launchddaemonsdir=no | ||
|
||
build.target all-recursive | ||
|
||
installs_libs no | ||
|
||
startupitem.create yes | ||
startupitem.autostart yes | ||
startupitem.executable ${prefix}/sbin/lldpd |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line continuation (
\
) will interfere with thehomepage
line.