aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/cacti-spine
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2006-11-03 11:02:56 +0000
committerClement Laforet <clement@FreeBSD.org>2006-11-03 11:02:56 +0000
commit3d6000ad4775146878341efe92b304d0b32094fd (patch)
tree64a4dc252fee186511ce2a4e6eb6580f5bba2ffe /net-mgmt/cacti-spine
parent3c07ef37e1fb9de641e50adea37104775a252b66 (diff)
downloadports-3d6000ad4775146878341efe92b304d0b32094fd.tar.gz
ports-3d6000ad4775146878341efe92b304d0b32094fd.zip
Notes
Diffstat (limited to 'net-mgmt/cacti-spine')
-rw-r--r--net-mgmt/cacti-spine/Makefile8
-rw-r--r--net-mgmt/cacti-spine/distinfo6
-rw-r--r--net-mgmt/cacti-spine/files/patch-Makefile.in27
-rw-r--r--net-mgmt/cacti-spine/files/patch-nfs_popen.c10
-rw-r--r--net-mgmt/cacti-spine/pkg-plist14
5 files changed, 18 insertions, 47 deletions
diff --git a/net-mgmt/cacti-spine/Makefile b/net-mgmt/cacti-spine/Makefile
index 8d14cb510264..d6943a74300d 100644
--- a/net-mgmt/cacti-spine/Makefile
+++ b/net-mgmt/cacti-spine/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= cactid
-PORTVERSION= 0.8.6.g
+PORTVERSION= 0.8.6.i
CATEGORIES= net
MASTER_SITES= http://www.cacti.net/downloads/cactid/
-DISTNAME= cacti-${PORTNAME}-0.8.6g
+DISTNAME= cacti-${PORTNAME}-0.8.6i
MAINTAINER= clement@FreeBSD.org
COMMENT= A multithreaded poller for Cacti written in C
@@ -25,10 +25,10 @@ post-patch:
@${REINPLACE_CMD} 's,%%PREFIX%%,${PREFIX},' \
${WRKSRC}/cactid.h
-post-install:
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/cactid ${PREFIX}/bin
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/cactid.conf ${EXAMPLESDIR}
@[ -e ${PREFIX}/etc/cactid.conf ] || \
${INSTALL_DATA} ${EXAMPLESDIR}/cactid.conf ${PREFIX}/etc/
-
.include <bsd.port.mk>
diff --git a/net-mgmt/cacti-spine/distinfo b/net-mgmt/cacti-spine/distinfo
index abd6830956be..e8f66d3eff3d 100644
--- a/net-mgmt/cacti-spine/distinfo
+++ b/net-mgmt/cacti-spine/distinfo
@@ -1,3 +1,3 @@
-MD5 (cacti-cactid-0.8.6g.tar.gz) = 8cd35272d86dc112ba1e82393d9f07c3
-SHA256 (cacti-cactid-0.8.6g.tar.gz) = 823d77fac9c7fd34d07004c7980bd621daaa1230c2e9c91fd9405a5bd05bfd80
-SIZE (cacti-cactid-0.8.6g.tar.gz) = 148921
+MD5 (cacti-cactid-0.8.6i.tar.gz) = 303c7533656c075cb695a1a8c54537b6
+SHA256 (cacti-cactid-0.8.6i.tar.gz) = 6024ee5083a296ef3815ffa2294a9d0c1605aa8501e7114716675101db8bd841
+SIZE (cacti-cactid-0.8.6i.tar.gz) = 153534
diff --git a/net-mgmt/cacti-spine/files/patch-Makefile.in b/net-mgmt/cacti-spine/files/patch-Makefile.in
index 5d48834ec407..118986738fff 100644
--- a/net-mgmt/cacti-spine/files/patch-Makefile.in
+++ b/net-mgmt/cacti-spine/files/patch-Makefile.in
@@ -1,18 +1,11 @@
---- Makefile.in.orig Wed Jan 19 06:04:10 2005
-+++ Makefile.in Mon Mar 21 16:41:51 2005
-@@ -227,12 +227,12 @@
- includeHEADERS_INSTALL = $(INSTALL_HEADER)
- install-includeHEADERS: $(include_HEADERS)
- @$(NORMAL_INSTALL)
-- $(mkinstalldirs) $(DESTDIR)$(includedir)
-+ $(mkinstalldirs) $(DESTDIR)$(pkgincludedir)
- @list='$(include_HEADERS)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f="`echo $$p | sed -e 's|^.*/||'`"; \
-- echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
-- $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
-+ echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(pkgincludedir)/$$f"; \
-+ $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(pkgincludedir)/$$f; \
- done
+--- Makefile.in.orig Fri Nov 3 11:06:55 2006
++++ Makefile.in Fri Nov 3 11:09:33 2006
+@@ -83,7 +83,7 @@
- uninstall-includeHEADERS:
+ cactid_SOURCES = sql.c cactid.c util.c snmp.c locks.c poller.c nft_popen.c php.c ping.c keywords.c error.c
+
+-configdir = /etc
++configdir = ${PREFIX}/etc
+ config_DATA = cactid.conf
+
+ bin_PROGRAMS = cactid
diff --git a/net-mgmt/cacti-spine/files/patch-nfs_popen.c b/net-mgmt/cacti-spine/files/patch-nfs_popen.c
deleted file mode 100644
index 3bc6e665ba31..000000000000
--- a/net-mgmt/cacti-spine/files/patch-nfs_popen.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- nft_popen.c.orig Sun Jan 15 10:27:41 2006
-+++ nft_popen.c Sun Jan 15 10:28:08 2006
-@@ -66,6 +66,7 @@
- #include <string.h>
- #include <unistd.h>
- #include <sys/wait.h>
-+#include <sys/signal.h>
-
- #include <nft_popen.h>
-
diff --git a/net-mgmt/cacti-spine/pkg-plist b/net-mgmt/cacti-spine/pkg-plist
index 23aafa65be4a..1a7ecbe064f2 100644
--- a/net-mgmt/cacti-spine/pkg-plist
+++ b/net-mgmt/cacti-spine/pkg-plist
@@ -1,17 +1,5 @@
bin/cactid
@unexec if cmp -s %D/etc/cactid.conf %D/%%EXAMPLESDIR%%/cactid.conf; then rm -f %D/etc/cactid.conf; fi
%%EXAMPLESDIR%%/cactid.conf
-@exec [ -f %D/etc/cactid.conf ] || cp %D/%%EXAMPLESDIR%%/httpd-std.conf %D/etc/cactid.conf
-include/cactid/cactid.h
-include/cactid/common.h
-include/cactid/keywords.h
-include/cactid/locks.h
-include/cactid/nft_popen.h
-include/cactid/php.h
-include/cactid/ping.h
-include/cactid/poller.h
-include/cactid/snmp.h
-include/cactid/sql.h
-include/cactid/util.h
-@dirrm include/cactid
+@exec [ -f %D/etc/cactid.conf ] || cp %D/%%EXAMPLESDIR%%/cactid.conf %D/etc/cactid.conf
@dirrm %%EXAMPLESDIR%%