The following changes were made:

* rsyslog now depends on logrotate
  * package now installs a logrotate config for rsyslog (via usher)
This commit is contained in:
2018-06-17 08:14:54 -05:00
parent 9eeb3db904
commit 532034e56e
3 changed files with 45 additions and 2 deletions

View File

@@ -62,14 +62,14 @@
# of the package.
ARCH = x86_64
DEPENDS = e2fsprogs,glibc,gmp,krb5,libgnutls,libnettle,zlib
DEPENDS = e2fsprogs,glibc,gmp,krb5,libgnutls,libnettle,logrotate,zlib
BUILDDEPS =
SRCPKG =
URL = https://www.rsyslog.com/
REPO = main
BRIEF = RSYSLOG is the rocket-fast system for log processing
DESC = RSYSLOG is the rocket-fast system for log processing
SNAPVER = 0
SNAPVER = 1
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
@@ -133,6 +133,8 @@ $(ROOT): $(SRCDIR)/tools/rsyslogd
install -v -d -m 0755 $(ROOT)/var/spool/rsyslog && \
install -v -m 0644 $(SNAPDIR)/rsyslog.conf \
$(ROOT)/usr/share/$(PACKAGE)/rsyslog.conf && \
install -v -m 0644 $(SNAPDIR)/rsyslog.logrotate \
$(ROOT)/usr/share/$(PACKAGE)/rsyslog.logrotate && \
install -v -m 0755 $(SNAPDIR)/rsyslog.init \
$(ROOT)/etc/init.d/rsyslog