mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
- Update to 0.0.26
- Add an additional mirror PR: 121190 Submitted by: "Douglas K. Rand" <rand@meridian-enviro.com> (maintainer)
This commit is contained in:
parent
0d531af6c8
commit
771f51dfde
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208393
@ -6,16 +6,35 @@
|
||||
#
|
||||
|
||||
PORTNAME= nagcon
|
||||
PORTVERSION= 0.0.15
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.0.26
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= http://www.vanheusden.com/nagcon/
|
||||
MASTER_SITES= http://www.vanheusden.com/nagcon/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= ehaupt
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= rand@meridian-enviro.com
|
||||
COMMENT= Nagios 2.0 console monitor
|
||||
COMMENT= Nagios console monitor
|
||||
|
||||
LIB_DEPENDS= strfunc.9:${PORTSDIR}/devel/libstrfunc
|
||||
|
||||
USE_GMAKE= YES
|
||||
PLIST_FILES= bin/nagcon
|
||||
|
||||
CFILES= error.c
|
||||
CPPFILES= utils.cpp br.cpp nc.cpp pl.cpp
|
||||
|
||||
CFLAGS+= -DVERSION=\"${PORTVERSION}\" -I${LOCALBASE}/include
|
||||
LDFLAGS+= -lncurses -lstdc++ -L${LOCALBASE}/lib -lstrfunc
|
||||
|
||||
do-build:
|
||||
${CC} ${CFLAGS} -c -o ${WRKSRC}/${CFILES:C/\.c//}.o ${WRKSRC}/${CFILES}
|
||||
.for f in ${CPPFILES}
|
||||
${CXX} ${CFLAGS} -c -o ${WRKSRC}/${f:C/\.cpp//}.o ${WRKSRC}/${f}
|
||||
.endfor
|
||||
${CC} ${LDFLAGS} ${WRKSRC}/error.o ${CPPFILES:C/(.*)\.cpp/${WRKSRC}\/\1.o/} \
|
||||
-o ${WRKSRC}/${PORTNAME}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (nagcon-0.0.15.tgz) = 05e40346aa7c7aa3b831595df057db87
|
||||
SHA256 (nagcon-0.0.15.tgz) = 467b2ba1ef265d3990d5aff14874c0c8249161be1d89cde8dda4376197fe3dc2
|
||||
SIZE (nagcon-0.0.15.tgz) = 13487
|
||||
MD5 (nagcon-0.0.26.tgz) = 695387e635e42943fc4a8e1ec82d5cda
|
||||
SHA256 (nagcon-0.0.26.tgz) = cb075a804a699dede1eab7497d2819b90ce5bd6440286468294c4159a531d7ef
|
||||
SIZE (nagcon-0.0.26.tgz) = 15343
|
||||
|
10
net-mgmt/nagcon/files/patch-br.cpp
Normal file
10
net-mgmt/nagcon/files/patch-br.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
--- br.cpp.orig Thu Feb 28 15:12:00 2008
|
||||
+++ br.cpp Thu Feb 28 15:12:12 2008
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <sys/mman.h>
|
||||
#include <fcntl.h>
|
||||
#include <syslog.h>
|
||||
+#include <strfunc.h>
|
||||
#include "br.h"
|
||||
|
||||
buffered_reader::buffered_reader(int cur_fd, int cur_block_size)
|
12
net-mgmt/nagcon/files/patch-utils.cpp
Normal file
12
net-mgmt/nagcon/files/patch-utils.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
--- utils.cpp.orig Thu Feb 28 14:48:39 2008
|
||||
+++ utils.cpp Thu Feb 28 15:11:48 2008
|
||||
@@ -29,6 +29,9 @@
|
||||
#include <netdb.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
+#include <arpa/inet.h>
|
||||
+#include <netinet/in.h>
|
||||
+#include <strfunc.h>
|
||||
extern "C" {
|
||||
#include "error.h"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
Nagcon is a console application interfacing to Nagios 2.0 which gives
|
||||
you an overview of all services with troubled services.
|
||||
Nagcon is a console application interfacing to Nagios 2.0 and 3.0
|
||||
which gives you an overview of all services with troubled services.
|
||||
|
||||
WWW: http://www.vanheusden.com/nagcon
|
||||
|
Loading…
Reference in New Issue
Block a user