aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/logrotate
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2004-05-08 22:34:55 +0800
committerthierry <thierry@FreeBSD.org>2004-05-08 22:34:55 +0800
commit1cef525e7b5a4abeddf1e3f915906ba2dcc7bc6e (patch)
tree6a0b492a36cc70762703c134073f5c867f0684ff /sysutils/logrotate
parente1cfc1b198a4006baebb32841db78ccc65f98421 (diff)
downloadfreebsd-ports-gnome-1cef525e7b5a4abeddf1e3f915906ba2dcc7bc6e.tar.gz
freebsd-ports-gnome-1cef525e7b5a4abeddf1e3f915906ba2dcc7bc6e.tar.zst
freebsd-ports-gnome-1cef525e7b5a4abeddf1e3f915906ba2dcc7bc6e.zip
Fix gzip and gunzip locations, and fix /var/lib/logrotate.status.
PR: ports/64373 Submitted by: Kenneth Vestergaard Schmidt <kvs@pil.dk> Approved by: maintainer.
Diffstat (limited to 'sysutils/logrotate')
-rw-r--r--sysutils/logrotate/Makefile1
-rw-r--r--sysutils/logrotate/files/patch-config.h24
2 files changed, 25 insertions, 0 deletions
diff --git a/sysutils/logrotate/Makefile b/sysutils/logrotate/Makefile
index 8de56372218e..47134e4e751a 100644
--- a/sysutils/logrotate/Makefile
+++ b/sysutils/logrotate/Makefile
@@ -7,6 +7,7 @@
PORTNAME= logrotate
PORTVERSION= 3.6.5
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
MASTER_SITE_SUBDIR= l/logrotate
diff --git a/sysutils/logrotate/files/patch-config.h b/sysutils/logrotate/files/patch-config.h
new file mode 100644
index 000000000000..f72b3f626373
--- /dev/null
+++ b/sysutils/logrotate/files/patch-config.h
@@ -0,0 +1,24 @@
+diff -ruN config.h config.h
+--- logrotate-3.6.5/config.h Sat Aug 3 11:47:41 2002
++++ logrotate-3.6.5/config.h Wed Mar 17 12:50:04 2004
+@@ -18,7 +18,7 @@
+ #endif
+
+ #ifndef COMPRESS_COMMAND
+- #define COMPRESS_COMMAND "/bin/gzip"
++ #define COMPRESS_COMMAND "/usr/bin/gzip"
+ #endif
+
+ #ifndef COMPRESS_OPTIONS
+@@ -30,10 +30,10 @@
+ #endif
+
+ #ifndef UNCOMPRESS_COMMAND
+- #define UNCOMPRESS_COMMAND "/bin/gunzip"
++ #define UNCOMPRESS_COMMAND "/usr/bin/gunzip"
+ #endif
+
+ #ifndef STATEFILE
+- #define STATEFILE "/var/lib/logrotate/status"
++ #define STATEFILE "/var/lib/logrotate.status"
+ #endif