aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-06-16 19:37:24 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-06-16 19:37:24 +0000
commit2b329fc7327fe3381d37f2559da7132e297b463b (patch)
tree03f9604d907bba1cadc1dd196a2c92e17dd28088 /sysutils
parent9a3382d9321a641e9f53189cfae12327766e9628 (diff)
downloadports-2b329fc7327fe3381d37f2559da7132e297b463b.tar.gz
ports-2b329fc7327fe3381d37f2559da7132e297b463b.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/logrotate/Makefile2
-rw-r--r--sysutils/logrotate/files/patch-aa11
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);
+ }
+