diff options
author | pav <pav@FreeBSD.org> | 2004-06-17 03:37:24 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-06-17 03:37:24 +0800 |
commit | ff74cb81f12e7664af0f2872918ce6e466156e74 (patch) | |
tree | 1e076c8f6278728df1295e1261bab2e9aa2ebb2b /sysutils/logrotate | |
parent | 12e1efecee8e407bb6e6f4fb1f4161ee0f9538d7 (diff) | |
download | freebsd-ports-gnome-ff74cb81f12e7664af0f2872918ce6e466156e74.tar.gz freebsd-ports-gnome-ff74cb81f12e7664af0f2872918ce6e466156e74.tar.zst freebsd-ports-gnome-ff74cb81f12e7664af0f2872918ce6e466156e74.zip |
- Fix bug: prerotate and postrotate scripts don't get the logfile name to be
rotated
- Raise portrevision
PR: ports/67978
Submitted by: Balázs Nagy <js@iksz.hu> (maintainer)
Diffstat (limited to 'sysutils/logrotate')
-rw-r--r-- | sysutils/logrotate/Makefile | 2 | ||||
-rw-r--r-- | sysutils/logrotate/files/patch-aa | 11 |
2 files changed, 11 insertions, 2 deletions
diff --git a/sysutils/logrotate/Makefile b/sysutils/logrotate/Makefile index 9b373ee23b59..41b936d72184 100644 --- a/sysutils/logrotate/Makefile +++ b/sysutils/logrotate/Makefile @@ -7,7 +7,7 @@ PORTNAME= logrotate PORTVERSION= 3.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} MASTER_SITE_SUBDIR= l/logrotate diff --git a/sysutils/logrotate/files/patch-aa b/sysutils/logrotate/files/patch-aa index 57196aa95b5c..2457e3576375 100644 --- a/sysutils/logrotate/files/patch-aa +++ b/sysutils/logrotate/files/patch-aa @@ -8,9 +8,18 @@ diff -ruN logrotate-3.7-orig/config.c logrotate-3.7/config.c #include <errno.h> diff -ruN logrotate-3.7-orig/logrotate.c logrotate-3.7/logrotate.c --- logrotate-3.7-orig/logrotate.c Thu Feb 5 19:42:13 2004 -+++ logrotate-3.7/logrotate.c Mon May 24 08:09:45 2004 ++++ logrotate-3.7/logrotate.c Tue Jun 15 17:35:48 2004 @@ -1,4 +1,3 @@ -#include <alloca.h> #include <ctype.h> #include <dirent.h> #include <errno.h> +@@ -110,7 +109,7 @@ + close(fd); + + if (!fork()) { +- execlp(filespec, logfn, NULL); ++ execlp(filespec, filespec, logfn, NULL); + exit(1); + } + |