1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/net/ntopng/Makefile
Antoine Brodin 27778962e7 Mark BROKEN: Fails to link
/usr/bin/clang++  Ntop.o  ParserInterface.o  Prefs.o  HTTPBL.o  Categorization.o  EthStats.o  HTTPserver.o  ActivityStats.o  Lua.o  ProtoStats.o  NetworkInterface.o  PcapInterface.o  GenericHost.o  StringHash.o  Trace.o  PacketStats.o  StringHost.o  Utils.o  SimpleStringHost.o  GenericHashEntry.o  DnsStats.o  Flow.o  Redis.o  main.o  PeriodicActivities.o  AddressResolution.o  HostContacts.o  HistoricalInterface.o  Mutex.o  NdpiStats.o  ExportInterface.o  EppStats.o  AlertCounter.o  Host.o  IpAddress.o  DB.o  GenericHash.o  RuntimePrefs.o  FlowHash.o  TrafficStats.o  PF_RINGInterface.o  Geolocation.o  NtopGlobals.o  CollectorInterface.o  HostHash.o -Wall -L/usr/local/lib -lndpi   -lpcap -L/usr/local/lib -lluajit-5.1   -L/usr/local/lib -lrrd   /usr/local/lib/libzmq.a -L/usr/local/lib -ljson-c    -lsqlite3  -lGeoIP  -fstack-protector -L/usr/local/lib -lrt -lm -lpthread -o ntopng
/usr/local/lib/libzmq.a(libzmq_la-ipc_listener.o): In function `zmq::ipc_listener_t::set_address(char const*)':
(.text+0x7d0): warning: warning: tempnam() possibly used unsafely; consider using mkstemp()
/usr/local/lib/libzmq.a(libzmq_la-zmq.o): In function `zmq_ctx_new':
(.text+0x58): undefined reference to `pgm_init'
/usr/local/lib/libzmq.a(libzmq_la-zmq.o): In function `zmq_ctx_new':
(.text+0x79): undefined reference to `pgm_error_free'

Reported by:	pkg-fallout
2015-02-14 09:12:36 +00:00

59 lines
1.5 KiB
Makefile

# Created by: Muhammad Moinur Rahman <5u623l20@gmail.com>
# $FreeBSD$
PORTNAME= ntopng
PORTVERSION= 1.2.1
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF/ntop/${PORTNAME}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Network monitoring tool with command line and web interfaces
LICENSE= GPLv3
BROKEN= Fails to link
LIB_DEPENDS= librrd.so:${PORTSDIR}/databases/rrdtool \
libluajit-5.1.so:${PORTSDIR}/lang/luajit \
libndpi.so:${PORTSDIR}/net/ndpi \
libzmq.so:${PORTSDIR}/net/libzmq3
USE_AUTOTOOLS= autoheader aclocal libtoolize
USE_SQLITE= yes
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
USES= gmake libtool pathfix pkgconfig tar:tgz
SUB_FILES= ntopng-geoipupdate.sh
OPTIONS_DEFINE= GEOIP NLS
OPTIONS_DEFAULT= GEOIP
GEOIP_BUILD_DEPENDS= geoiplookup:${PORTSDIR}/net/GeoIP
NLS_USES= gettext
USE_RC_SUBR= ntopng
.include <bsd.port.options.mk>
.if ${OSVERSION} < 900000
BROKEN= Does not build on 8.X due to *ENDIAN implementations
.endif
post-extract:
@${FIND} ${WRKSRC} -name "*~" -delete
@${RMDIR} ${WRKSRC}/httpdocs/ssl
@${RMDIR} ${WRKSRC}/httpdocs/geoip
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin
cd ${WRKSRC} && ${INSTALL_MAN} ${PORTNAME}.8 ${STAGEDIR}${PREFIX}/man/man8
${MKDIR} ${STAGEDIR}${DATADIR}/httpdocs
${MKDIR} ${STAGEDIR}${DATADIR}/scripts
cd ${WRKSRC}/httpdocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/httpdocs
cd ${WRKSRC}/scripts && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/scripts
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/ntopng-geoipupdate.sh ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>