<pre style='margin:0'>
Craig Treleaven (ctreleaven) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/01ab53503ff1aed45d87f9fac3928b7094bda88b">https://github.com/macports/macports-ports/commit/01ab53503ff1aed45d87f9fac3928b7094bda88b</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 01ab535 logrotate: update to 3.11.0, etc
</span>01ab535 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 01ab53503ff1aed45d87f9fac3928b7094bda88b
</span>Author: Craig Treleaven <ctreleaven@macports.org>
AuthorDate: Tue Apr 18 09:18:41 2017 -0400
<span style='display:block; white-space:pre;color:#404040;'> logrotate: update to 3.11.0, etc
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Substantial re-write of port due to:
</span><span style='display:block; white-space:pre;color:#404040;'> -project now hosted on GitHub
</span><span style='display:block; white-space:pre;color:#404040;'> -build system now uses autotools
</span><span style='display:block; white-space:pre;color:#404040;'> -add patch for build failure (reported upstream and fixed for next version)
</span><span style='display:block; white-space:pre;color:#404040;'> -remove gzip variant as it is the default config
</span><span style='display:block; white-space:pre;color:#404040;'> -redo patch because of build changes and to support additional default compressor variants
</span>---
sysutils/logrotate/Portfile | 115 +++++++++------------
sysutils/logrotate/files/patch-Makefile.diff | 44 --------
sysutils/logrotate/files/patch-configs.diff | 15 +++
.../logrotate/files/patch-missing_include.diff | 10 ++
4 files changed, 73 insertions(+), 111 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/logrotate/Portfile b/sysutils/logrotate/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 990365f..96a34b5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/logrotate/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/logrotate/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,10 +1,14 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name logrotate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.8.6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup logrotate logrotate 3.11.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from releases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 507dc354394daead333744886c7038a2a8b85759 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 18ae0f2ec1f14d9550c9f6bd9a2b6a18440e6a0fd7d5923a6e3fcb7d45946261
</span> categories sysutils
platforms darwin
license GPL-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,24 +16,27 @@ maintainers pixilla openmaintainer
</span>
description Rotates, compresses, and mails system logs
<span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description The logrotate utility is designed to simplify the administration of log files \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- on a system which generates a lot of log files. Logrotate allows for the \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- automatic rotation compression, removal and mailing of log files. Logrotate \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- can be set to handle a log file \daily, weekly, monthly or when the log file \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gets to a certain size.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://fedorahosted.org/logrotate/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites https://fedorahosted.org/releases/l/o/logrotate/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description The logrotate utility is designed to simplify the administration of logs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ on a system which generates a lot of log files. Logrotate provides \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ automatic rotation, compression (gzip by default), removal and mailing \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ of log files. Logrotate can be set to handle a log file daily, weekly, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ monthly or when the log file exceeds a certain size.
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 4cba4954c99896ea036d57190fc11a8307b2765e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 0e0ef0609afe9ef2a2ef6cae307b5ca618ddd349923ccce6e064513afd4e9d92
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://github.com/logrotate/logrotate
</span>
depends_lib port:popt
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run port:gettext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run port:gettext \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gzip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# See https://github.com/logrotate/logrotate/issues/117
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-missing_include.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# set up so we can reinplace our desired compressor
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-configs.diff
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.pre_args -p1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set compress ${prefix}/bin/gzip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set compress_ext .gz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set uncompress ${prefix}/bin/gunzip
</span>
post-extract {
touch ${worksrcpath}/.depend
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,36 +53,31 @@ post-patch {
</span> ${worksrcpath}/logrotate.conf.example
reinplace "s|@PREFIX@|${prefix}|g" \
${worksrcpath}/org.macports.logrotate.plist.example
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@COMPRESS@|${compress}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/config.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@COMPRESS_EXT@|${compress_ext}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/config.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@UNCOMPRESS@|${uncompress}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/config.h
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+autoreconf.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --force
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-silent-rules\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-state-file-path=${prefix}/var/run/logrotate/logrotate.status
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant universal {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+universal_variant no
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env-append CC="${configure.cc} [get_canonical_archflags cc]" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CXX="${configure.cxx} [get_canonical_archflags cxx]" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CPP="${configure.cpp}" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- BASEDIR="${prefix}" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- POPT_DIR="${prefix}" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- STATEFILE="${prefix}/var/run/logrotate/logrotate.status" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- DEFAULT_MAIL_COMMAND="/usr/bin/mail"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.args INSTALL="install" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- BINDIR="${destroot}${prefix}/sbin" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- MANDIR="${destroot}${prefix}/share/man"
</span> destroot.keepdirs ${destroot}${prefix}/etc/logrotate.d \
${destroot}${prefix}/var/run/logrotate
post-destroot {
xinstall -d ${destroot}${prefix}/share/${name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} CHANGES COPYING \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 -W ${worksrcpath} ChangeLog.md COPYING \
</span> logrotate.conf.example org.macports.logrotate.plist.example \
${destroot}${prefix}/share/${name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # The startupitem.install keyword does not exist in MacPorts < 2.1.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![info exists startupitem.install]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set startupitem.install yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> if {[variant_isset startupitem]
&& ${startupitem.install} != "no"
&& [getuid] == 0} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -96,47 +98,27 @@ post-activate {
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant bzip2 conflicts gzip description {Use bzip2 compression by default} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build.env-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- COMPRESS_COMMAND="${prefix}/bin/bzip2" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- COMPRESS_EXT=".bz2" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- UNCOMPRESS_COMMAND="${prefix}/bin/bunzip2"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_run-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:bzip2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant gzip conflicts bzip2 description {Use gzip compression by default} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build.pre_args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- COMPRESS_COMMAND="${prefix}/bin/gzip" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- COMPRESS_EXT=".gz" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- UNCOMPRESS_COMMAND="${prefix}/bin/gunzip"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_run-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:gzip
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant startupitem description {Install launchd plist} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant bzip2 description {Use bzip2 compression by default} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set compress ${prefix}/bin/bzip2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set compress_ext .bz2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set uncompress ${prefix}/bin/bunzip2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-replace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gzip port:bzip2
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset bzip2]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- +gzip
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- variant_set gzip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant startupitem description {Run logrotate daily} {
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url $homepage
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url https://github.com/logrotate/logrotate/releases
</span> livecheck.type regex
livecheck.regex "(?!${name}).*${name}-((?!${extract.suffix}).*)${extract.suffix}"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-notes \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+notes "
</span> To use logrotate:
<span style='display:block; white-space:pre;background:#ffe0e0;'>- * If ${prefix}/etc/logrotate.conf does not exist copy the example into place.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * See 'man logrotate' for configuration options.
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- \$ sudo cp ${prefix}/share/${name}/logrotate.conf.example ${prefix}/etc/logrotate.conf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * With the startupitem variant (+startupitem) you can activate a scheduled log
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * The startupitem variant (+startupitem) provides for daily log
</span> rotation with this command.
\$ sudo port load logrotate
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -148,5 +130,4 @@ To use logrotate:
</span> \$ sudo cp ${prefix}/share/${name}/org.macports.logrotate.plist.example /Library/LaunchDaemons/org.macports.logrotate.plist
\$ sudo launchctl load -w /Library/LaunchDaemons/org.macports.logrotate.plist
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> "
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/logrotate/files/patch-Makefile.diff b/sysutils/logrotate/files/patch-Makefile.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 305d589..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/logrotate/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,44 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- a/Makefile 2013-08-18 10:39:54.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ b/Makefile 2013-08-18 10:40:08.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -82,14 +82,30 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ifneq ($(POPT_DIR),)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- CFLAGS += -I$(POPT_DIR)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- LOADLIBES += -L$(POPT_DIR)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CFLAGS += -I$(POPT_DIR)/include
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ LOADLIBES += -L$(POPT_DIR)/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ifneq ($(STATEFILE),)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS += -DSTATEFILE=\"$(STATEFILE)\"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ifneq ($(COMPRESS_COMMAND),)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CFLAGS += -DCOMPRESS_COMMAND=\"$(COMPRESS_COMMAND)\"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ifneq ($(COMPRESS_EXT),)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CFLAGS += -DCOMPRESS_EXT=\"$(COMPRESS_EXT)\"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ifneq ($(UNCOMPRESS_COMMAND),)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CFLAGS += -DUNCOMPRESS_COMMAND=\"$(UNCOMPRESS_COMMAND)\"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ifneq ($(DEFAULT_MAIL_COMMAND),)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CFLAGS += -DDEFAULT_MAIL_COMMAND=\"$(DEFAULT_MAIL_COMMAND)\"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- BINDIR = $(BASEDIR)/sbin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- MANDIR ?= $(BASEDIR)/man
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -133,7 +149,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo "$(TEST_ACL)" > ./test/test.ACL ;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo "$(TEST_SELINUX)" > ./test/test.SELINUX ;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--.PHONY : test
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+.PHONY: all clean depend pretest test install co svntag create-archive archive
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test: $(TARGET)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- (cd test; ./test)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/logrotate/files/patch-configs.diff b/sysutils/logrotate/files/patch-configs.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..a5a5db5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/logrotate/files/patch-configs.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- config.h.orig 2017-04-17 18:24:58.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ config.h 2017-04-17 18:33:22.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -24,8 +24,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if defined(__APPLE__) && defined(__MACH__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define COMPRESS_COMMAND "/usr/bin/gzip"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define UNCOMPRESS_COMMAND "/usr/bin/gunzip"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define DEFAULT_MAIL_COMMAND "/usr/bin/mail"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define COMPRESS_COMMAND "@COMPRESS@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define COMPRESS_EXT "@COMPRESS_EXT@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define UNCOMPRESS_COMMAND "@UNCOMPRESS@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /*
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/logrotate/files/patch-missing_include.diff b/sysutils/logrotate/files/patch-missing_include.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..6f02b20
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/logrotate/files/patch-missing_include.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- config.c.orig 2017-04-17 16:25:49.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ config.c 2017-04-17 16:26:23.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -24,6 +24,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <fnmatch.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/mman.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <libgen.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "basenames.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "log.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "logrotate.h"
</span></pre><pre style='margin:0'>
</pre>