aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2015-06-01 19:06:53 +0000
committerThomas Zander <riggs@FreeBSD.org>2015-06-01 19:06:53 +0000
commit382afb1e138c44b66aaee419f92fb780d6a216a8 (patch)
tree60e45908a0a7929449f65bdd6e7faabc91a63596 /net-mgmt
parent20eec598260f23a8e12fe4ed5cd91dcdc8772cda (diff)
downloadports-382afb1e138c44b66aaee419f92fb780d6a216a8.tar.gz
ports-382afb1e138c44b66aaee419f92fb780d6a216a8.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/cnagios/Makefile9
-rw-r--r--net-mgmt/cnagios/distinfo4
-rw-r--r--net-mgmt/cnagios/files/patch-Makefile.in6
3 files changed, 12 insertions, 7 deletions
diff --git a/net-mgmt/cnagios/Makefile b/net-mgmt/cnagios/Makefile
index e432c72cdb27..6181c2c19a9d 100644
--- a/net-mgmt/cnagios/Makefile
+++ b/net-mgmt/cnagios/Makefile
@@ -3,9 +3,8 @@
PORTNAME= cnagios
PORTVERSION= 0.31
+PORTREVISION= 1
CATEGORIES= net-mgmt
-MASTER_SITES= ftp://noc.hep.wisc.edu/src/cnagios/ \
- ftp://noc.hep.wisc.edu/src/cnagios/old-versions/
MAINTAINER= alexander.4mail@gmail.com
COMMENT= Curses-based interface for nagios
@@ -14,6 +13,9 @@ LICENSE= ISCL
RUN_DEPENDS= nagios>=3.0:${PORTSDIR}/net-mgmt/nagios
+USE_GITHUB= yes
+GH_ACCOUNT= dannywarren
+
NAGIOSDIR?= /var/spool/nagios
ETCDIR= ${PREFIX}/etc/nagios
GNU_CONFIGURE= YES
@@ -28,4 +30,7 @@ post-patch:
# check in next relase if version match, and adjust/remove the next line
${REINPLACE_CMD} -e 's/0.30/${PORTVERSION}/' ${WRKSRC}/version.h
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cnagios
+
.include <bsd.port.mk>
diff --git a/net-mgmt/cnagios/distinfo b/net-mgmt/cnagios/distinfo
index f0f09b8795a2..815ffd396e34 100644
--- a/net-mgmt/cnagios/distinfo
+++ b/net-mgmt/cnagios/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cnagios-0.31.tar.gz) = 26c1658f53bae66b9cb4d615c002a051343cd42dcd0adeb180390d2f6069ab52
-SIZE (cnagios-0.31.tar.gz) = 82058
+SHA256 (dannywarren-cnagios-0.31_GH0.tar.gz) = c1f41fa9d51dc0bbc1b90bc70d9e383ecb8fde7340558055cb60f171f74a08f9
+SIZE (dannywarren-cnagios-0.31_GH0.tar.gz) = 81546
diff --git a/net-mgmt/cnagios/files/patch-Makefile.in b/net-mgmt/cnagios/files/patch-Makefile.in
index c1ab23f7bf08..636749a7ac5e 100644
--- a/net-mgmt/cnagios/files/patch-Makefile.in
+++ b/net-mgmt/cnagios/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- ./Makefile.in.orig 2013-03-28 22:35:00.000000000 +0100
-+++ ./Makefile.in 2014-05-01 14:23:32.000000000 +0200
-@@ -27,39 +27,11 @@
+--- Makefile.in.orig 2015-05-15 16:31:56 UTC
++++ Makefile.in
+@@ -27,39 +27,11 @@ cnagios: $(OBJS) $(HDRS)
install: