FreeBSD Bugzilla – Attachment 187180 Details for
Bug 223017
[maintainer] sysutils/logrotate: update to 3.13.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sysutils-logrotate-3.9.2-to-3.13.0
logrotate-ports-3.13.0.patch (text/plain), 5.00 KB, created by
js
on 2017-10-14 22:27:41 UTC
(
hide
)
Description:
sysutils-logrotate-3.9.2-to-3.13.0
Filename:
MIME Type:
Creator:
js
Created:
2017-10-14 22:27:41 UTC
Size:
5.00 KB
patch
obsolete
>diff --git a/Makefile b/Makefile >index 882da8f..c7e97c1 100644 >--- a/Makefile >+++ b/Makefile >@@ -2,7 +2,7 @@ > # $FreeBSD: head/sysutils/logrotate/Makefile 412349 2016-04-01 14:25:16Z mat $ > > PORTNAME= logrotate >-PORTVERSION= 3.9.2 >+PORTVERSION= 3.13.0 > CATEGORIES= sysutils > > MAINTAINER= js@iksz.hu >diff --git a/distinfo b/distinfo >index c6995b5..bc06a43 100644 >--- a/distinfo >+++ b/distinfo >@@ -1,2 +1,3 @@ >-SHA256 (logrotate-logrotate-3.9.2_GH0.tar.gz) = 2de00c65e23fa9d7909cae6594e550b9abe9a7eb1553669ddeaca92d30f97009 >-SIZE (logrotate-logrotate-3.9.2_GH0.tar.gz) = 80711 >+TIMESTAMP = 1508013010 >+SHA256 (logrotate-logrotate-3.13.0_GH0.tar.gz) = fb1ff8502e7ae4aedaa3d0da8d3740a6a0f44b72e34666af724e9094b166c942 >+SIZE (logrotate-logrotate-3.13.0_GH0.tar.gz) = 82436 >diff --git a/files/patch-Makefile b/files/patch-Makefile >deleted file mode 100644 >index a23719b..0000000 >--- a/files/patch-Makefile >+++ /dev/null >@@ -1,29 +0,0 @@ >---- Makefile.orig 2015-02-13 06:11:21 UTC >-+++ Makefile >-@@ -81,6 +81,13 @@ ifeq ($(OS_NAME),NetBSD) >- LOADLIBES += -L$(BASEDIR)/lib -Wl,-R,$(BASEDIR)/lib >- endif >- >-+# FreeBSD >-+ifeq ($(OS_NAME),FreeBSD) >-+ LOADLIBES += -L${LOCALBASE}/lib >-+ CFLAGS += -I${LOCALBASE}/include >-+ PREFIX= >-+endif >-+ >- ifneq ($(POPT_DIR),) >- CFLAGS += -I$(POPT_DIR) >- LOADLIBES += -L$(POPT_DIR) >-@@ -155,9 +162,9 @@ install: >- $(INSTALL) $(MAN) $(PREFIX)$(MANDIR)/man`echo $(MAN) | sed "s/.*\.//"` 0644 bin bin; \ >- $(INSTALL) $(MAN5) $(PREFIX)$(MANDIR)/man`echo $(MAN5) | sed "s/.*\.//"` 0644 bin bin; \ >- else if [ "$(OS_NAME)" = FreeBSD ]; then \ >-- $(BSD_INSTALL_PROGRAM) $(PROG) $(BINDIR); \ >-- $(BSD_INSTALL_MAN) $(MAN) $(MANDIR)/man`echo $(MAN) | sed "s/.*\.//"`/$(MAN); \ >-- $(BSD_INSTALL_MAN) $(MAN5) $(MANDIR)/man`echo $(MAN5) | sed "s/.*\.//"`/$(MAN5); \ >-+ $(BSD_INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(BINDIR); \ >-+ $(BSD_INSTALL_MAN) $(MAN) $(DESTDIR)$(MANDIR)/man`echo $(MAN) | sed "s/.*\.//"`/$(MAN); \ >-+ $(BSD_INSTALL_MAN) $(MAN5) $(DESTDIR)$(MANDIR)/man`echo $(MAN5) | sed "s/.*\.//"`/$(MAN5); \ >- else \ >- $(INSTALL) -m 755 $(PROG) $(PREFIX)$(BINDIR); \ >- $(INSTALL) -m 644 $(MAN) $(PREFIX)$(MANDIR)/man`echo $(MAN) | sed "s/.*\.//"`/$(MAN); \ >diff --git a/files/patch-config.c b/files/patch-config.c >index 31078a3..ce1cfa7 100644 >--- a/files/patch-config.c >+++ b/files/patch-config.c >@@ -1,11 +1,10 @@ >---- config.c.orig 2015-02-13 06:11:21 UTC >-+++ config.c >-@@ -1,8 +1,4 @@ >+--- config.c.orig 2017-10-12 15:19:41.000000000 +0000 >++++ config.c 2017-10-14 21:59:41.716559000 +0000 >+@@ -1,6 +1,6 @@ > #include "queue.h" >--/* Alloca is defined in stdlib.h in NetBSD */ >+ /* Alloca is defined in stdlib.h in NetBSD */ > -#ifndef __NetBSD__ >--#include <alloca.h> >--#endif >++#if !defined(__FreeBSD__) && !defined(__NetBSD__) >+ #include <alloca.h> >+ #endif > #include <limits.h> >- #include <ctype.h> >- #include <dirent.h> >diff --git a/files/patch-config.h b/files/patch-config.h >deleted file mode 100644 >index f614c41..0000000 >--- a/files/patch-config.h >+++ /dev/null >@@ -1,16 +0,0 @@ >---- config.h.orig 2015-02-13 06:11:21 UTC >-+++ config.h >-@@ -23,6 +23,13 @@ >- #define STATEFILE "/var/log/logrotate.status" >- #endif >- >-+#ifdef __FreeBSD__ >-+ #define DEFAULT_MAIL_COMMAND "/usr/bin/mailx" >-+ #define COMPRESS_COMMAND "/usr/bin/gzip" >-+ #define UNCOMPRESS_COMMAND "/usr/bin/gunzip" >-+ #define STATEFILE "/var/run/logrotate.status" >-+#endif >-+ >- /* >- * Default settings for Linux - leave these last. >- */ >diff --git a/files/patch-logrotate.8 b/files/patch-logrotate.8 >deleted file mode 100644 >index 2c45995..0000000 >--- a/files/patch-logrotate.8 >+++ /dev/null >@@ -1,24 +0,0 @@ >---- logrotate.8.orig 2015-02-13 06:11:21 UTC >-+++ logrotate.8 >-@@ -59,7 +59,7 @@ and mail it to the recipient. The defaul >- \fB\-s\fR, \fB\-\-state <statefile>\fR >- Tells \fBlogrotate\fR to use an alternate state file. This is useful >- if logrotate is being run as a different user for various sets of >--log files. The default state file is \fI/var/lib/logrotate.status\fR. >-+log files. The default state file is \fI/var/run/logrotate.status\fR. >- >- .TP >- \fB\-\-usage\fR >-@@ -550,10 +550,10 @@ Log files are rotated if the current yea >- .SH FILES >- .PD 0 >- .TP 27 >--\fI/var/lib/logrotate.status\fR >-+\fI/var/run/logrotate.status\fR >- Default state file. >- .TP 27 >--\fI/etc/logrotate.conf\fR >-+\fI/usr/local/etc/logrotate.conf\fR >- Configuration options. >- >- .SH SEE ALSO >diff --git a/files/patch-logrotate.c b/files/patch-logrotate.c >index ca2dc04..854db23 100644 >--- a/files/patch-logrotate.c >+++ b/files/patch-logrotate.c >@@ -1,11 +1,10 @@ >---- logrotate.c.orig 2015-02-13 06:11:21 UTC >-+++ logrotate.c >-@@ -1,8 +1,4 @@ >+--- logrotate.c.orig 2017-10-12 15:19:41.000000000 +0000 >++++ logrotate.c 2017-10-14 22:00:57.613844000 +0000 >+@@ -1,6 +1,6 @@ > #include "queue.h" >--/* alloca() is defined in stdlib.h in NetBSD */ >+ /* alloca() is defined in stdlib.h in NetBSD */ > -#ifndef __NetBSD__ >--#include <alloca.h> >--#endif >++#if !defined(__FreeBSD__) && !defined(__NetBSD__) >+ #include <alloca.h> >+ #endif > #include <limits.h> >- #include <ctype.h> >- #include <dirent.h>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 223017
: 187180