Fri Feb 2 13:55:04 2018 UTC ()
lldpd: Leave pkgsrc to handle security features.


(jperkin)
diff -r1.18 -r1.19 pkgsrc/net/lldpd/Makefile

cvs diff -r1.18 -r1.19 pkgsrc/net/lldpd/Makefile (expand / switch to unified diff)

--- pkgsrc/net/lldpd/Makefile 2017/06/05 14:24:16 1.18
+++ pkgsrc/net/lldpd/Makefile 2018/02/02 13:55:04 1.19
@@ -1,35 +1,37 @@ @@ -1,35 +1,37 @@
1# $NetBSD: Makefile,v 1.18 2017/06/05 14:24:16 ryoon Exp $ 1# $NetBSD: Makefile,v 1.19 2018/02/02 13:55:04 jperkin Exp $
2 2
3DISTNAME= lldpd-0.7.15 3DISTNAME= lldpd-0.7.15
4PKGREVISION= 4 4PKGREVISION= 4
5CATEGORIES= net 5CATEGORIES= net
6MASTER_SITES= http://media.luffy.cx/files/lldpd/ 6MASTER_SITES= http://media.luffy.cx/files/lldpd/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://vincentbernat.github.com/lldpd/ 9HOMEPAGE= http://vincentbernat.github.com/lldpd/
10COMMENT= 802.1ab (LLDP) implementation 10COMMENT= 802.1ab (LLDP) implementation
11LICENSE= isc 11LICENSE= isc
12# `lldpcli` will be linked to GNU Readline (which is GPL licensed) 12# `lldpcli` will be linked to GNU Readline (which is GPL licensed)
13# if available. To avoid this, use `--without-readline` as a configure 13# if available. To avoid this, use `--without-readline` as a configure
14# option. 14# option.
15 15
16# interfaces-bsd.c:45:34: error: net/agr/if_agrioctl.h: No such file or directory 16# interfaces-bsd.c:45:34: error: net/agr/if_agrioctl.h: No such file or directory
17NOT_FOR_PLATFORM= NetBSD-5*-* 17NOT_FOR_PLATFORM= NetBSD-5*-*
18USE_LIBTOOL= yes 18USE_LIBTOOL= yes
19USE_LANGUAGES= c c++ 19USE_LANGUAGES= c c++
20USE_TOOLS+= pkg-config 20USE_TOOLS+= pkg-config
21GNU_CONFIGURE= yes 21GNU_CONFIGURE= yes
22CONFIGURE_ARGS+= --with-privsep-chroot=${PKG_HOME._lldpd} 22CONFIGURE_ARGS+= --with-privsep-chroot=${PKG_HOME._lldpd}
 23# Leave pkgsrc to handle security features.
 24CONFIGURE_ARGS+= --disable-hardening
23# run/lldpd.socket is created under this directory 25# run/lldpd.socket is created under this directory
24# (the default is ${PRERIX}/var, changed since 0.7.9) 26# (the default is ${PRERIX}/var, changed since 0.7.9)
25CONFIGURE_ARGS+= --localstatedir=${VARBASE} 27CONFIGURE_ARGS+= --localstatedir=${VARBASE}
26BUILD_DEFS+= VARBASE 28BUILD_DEFS+= VARBASE
27 29
28CONF_FILES= ${EXAMPLE_DIR}/README.conf etc/lldpd.d/README.conf 30CONF_FILES= ${EXAMPLE_DIR}/README.conf etc/lldpd.d/README.conf
29CONF_FILES+= ${EXAMPLE_DIR}/lldpcli.bash-completion \ 31CONF_FILES+= ${EXAMPLE_DIR}/lldpcli.bash-completion \
30 etc/bash_completion.d/lldpcli.bash-completion 32 etc/bash_completion.d/lldpcli.bash-completion
31EXAMPLE_DIR= ${PREFIX}/share/${PKGBASE}/conf 33EXAMPLE_DIR= ${PREFIX}/share/${PKGBASE}/conf
32 34
33# CCLD lldpd 35# CCLD lldpd
34# ld: cannot find -lperl 36# ld: cannot find -lperl
35LDFLAGS+= -L${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/CORE 37LDFLAGS+= -L${PREFIX}/${PERL5_SUB_INSTALLARCHLIB}/CORE