summaryrefslogtreecommitdiff
path: root/sysutils/fetchlog
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2003-12-04 14:03:55 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2003-12-04 14:03:55 +0000
commitb726579c6f2b9b4ccb91f62e4beca292b763fae6 (patch)
tree98c95836f0d1618024460abbf78b106112e3e55c /sysutils/fetchlog
parent- Add WITH_NAGMIN knob (diff)
- Update to 0.95 (fixes problems with zero sized logfiles)
PR: 59733 Submitted by: maintainer
Diffstat (limited to 'sysutils/fetchlog')
-rw-r--r--sysutils/fetchlog/Makefile11
-rw-r--r--sysutils/fetchlog/distinfo2
-rw-r--r--sysutils/fetchlog/pkg-message9
-rw-r--r--sysutils/fetchlog/pkg-plist1
4 files changed, 16 insertions, 7 deletions
diff --git a/sysutils/fetchlog/Makefile b/sysutils/fetchlog/Makefile
index c4d60ad66e3a..2a9b3ff0092c 100644
--- a/sysutils/fetchlog/Makefile
+++ b/sysutils/fetchlog/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= fetchlog
-PORTVERSION= 0.94
+PORTVERSION= 0.95
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= fetchlog
@@ -15,14 +15,13 @@ MAINTAINER= alexander.haderer@charite.de
COMMENT= Fetch and convert new messages of a logfile
MAN1= fetchlog.1
+DOCS= CHANGES README README.Nagios README.SNMP
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/CHANGES ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/README.Nagios ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/README.SNMP ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/sysutils/fetchlog/distinfo b/sysutils/fetchlog/distinfo
index cd37ad41bc57..978f1a0e60bc 100644
--- a/sysutils/fetchlog/distinfo
+++ b/sysutils/fetchlog/distinfo
@@ -1 +1 @@
-MD5 (fetchlog-0.94.tar.gz) = fc39e912736062e5a2b2626b33694d3f
+MD5 (fetchlog-0.95.tar.gz) = bb575ffaf7fad8178d7ce54f5d905244
diff --git a/sysutils/fetchlog/pkg-message b/sysutils/fetchlog/pkg-message
new file mode 100644
index 000000000000..1a3472ef6864
--- /dev/null
+++ b/sysutils/fetchlog/pkg-message
@@ -0,0 +1,9 @@
+-------------------------------------------------------------------------------
+
+Note: If you are upgrading, you must remove the old bookmarkfiles.
+ When calling fetchlog 0.95 with old bookmarkfiles you will see
+ this error message:
+
+ ERROR: fetchlog: no file/wrong size: /path/to/bookmark/file
+
+-------------------------------------------------------------------------------
diff --git a/sysutils/fetchlog/pkg-plist b/sysutils/fetchlog/pkg-plist
index 08e1b5312bc1..47a25f4c36e3 100644
--- a/sysutils/fetchlog/pkg-plist
+++ b/sysutils/fetchlog/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
bin/fetchlog
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/README