aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-06-27 08:07:01 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-06-27 08:07:01 +0000
commit6814a766c8fecb30255f666ce9e883383092bdef (patch)
tree2cf16df896ab5ae041e7cb84e3e7edb44d6f4ad3
parent12871c126974bf24275ec0851aaa42e3e2b329b8 (diff)
downloadports-6814a766c8fecb30255f666ce9e883383092bdef.tar.gz
ports-6814a766c8fecb30255f666ce9e883383092bdef.zip
Notes
-rw-r--r--sysutils/fetchlog/Makefile13
-rw-r--r--sysutils/fetchlog/distinfo6
-rw-r--r--sysutils/fetchlog/files/patch-aa8
-rw-r--r--sysutils/fetchlog/pkg-plist7
4 files changed, 17 insertions, 17 deletions
diff --git a/sysutils/fetchlog/Makefile b/sysutils/fetchlog/Makefile
index f622d7c0b443..0399660d5885 100644
--- a/sysutils/fetchlog/Makefile
+++ b/sysutils/fetchlog/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= fetchlog
-PORTVERSION= 1.2
+PORTVERSION= 1.3
CATEGORIES= sysutils
MASTER_SITES= SF
@@ -14,14 +14,21 @@ MAINTAINER= alexander.haderer@loescap.de
COMMENT= Fetch and convert new messages of a logfile
MAN1= fetchlog.1
-DOCS= CHANGES README README.Nagios README.SNMP
+PORTDOCS= CHANGES README README.Nagios README.SNMP
+PORTEXAMPLES= fetchlog.cfg fetchlog_service.cfg notify.cfg.example
+
+PLIST_FILES= bin/fetchlog
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fetchlog ${PREFIX}/bin
cd ${WRKSRC} && ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+.endif
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
diff --git a/sysutils/fetchlog/distinfo b/sysutils/fetchlog/distinfo
index ad68c83219f3..6b9a835e29bc 100644
--- a/sysutils/fetchlog/distinfo
+++ b/sysutils/fetchlog/distinfo
@@ -1,3 +1,3 @@
-MD5 (fetchlog-1.2.tar.gz) = 520c5bfd2591506444cd8ca2629c1a98
-SHA256 (fetchlog-1.2.tar.gz) = fecc4c2430fc9af078b2dc256664c3127052adba391e8baa78a2fa7fd7845cf0
-SIZE (fetchlog-1.2.tar.gz) = 24649
+MD5 (fetchlog-1.3.tar.gz) = 79e53a223ef8196e895912709eb8311b
+SHA256 (fetchlog-1.3.tar.gz) = 29d73f269b4bc72de179bbe7b32b978aec8fab543333a6a69212efcd0ecb2d0e
+SIZE (fetchlog-1.3.tar.gz) = 28146
diff --git a/sysutils/fetchlog/files/patch-aa b/sysutils/fetchlog/files/patch-aa
index f894e32d6e43..9139c6f706ad 100644
--- a/sysutils/fetchlog/files/patch-aa
+++ b/sysutils/fetchlog/files/patch-aa
@@ -1,13 +1,13 @@
---- Makefile.orig Mon Mar 29 19:47:03 2004
-+++ Makefile Mon Mar 29 19:48:31 2004
+--- Makefile.orig 2010-06-21 11:35:08.000000000 +0200
++++ Makefile 2010-06-21 19:10:33.000000000 +0200
@@ -23,8 +23,8 @@
### compiler
### gcc
-CC=gcc
--CFLAGS= -O -Wall -Wcast-qual -Wstrict-prototypes \
+-CFLAGS= -O -Werror -Wall -Wcast-qual -Wstrict-prototypes \
+CC?=cc
-+CFLAGS+= -O -Wall -Wcast-qual -Wstrict-prototypes \
++CFLAGS+= -O -Werror -Wall -Wcast-qual -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations -Winline -Wcast-align
### cc
#CC=cc
diff --git a/sysutils/fetchlog/pkg-plist b/sysutils/fetchlog/pkg-plist
deleted file mode 100644
index 47a25f4c36e3..000000000000
--- a/sysutils/fetchlog/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-@comment $FreeBSD$
-bin/fetchlog
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.Nagios
-%%PORTDOCS%%%%DOCSDIR%%/README.SNMP
-%%PORTDOCS%%@dirrm %%DOCSDIR%%