Aurelien Larcher
2017-11-06 50e3d1fc4af3858a020043c8cc3bc23c8ba23166
Bump logrotate to 3.13.0
4 files deleted
2 files added
4 files renamed
165 ■■■■■ changed files
components/logrotate/patches/01.automake.patch 11 ●●●●● patch | view | raw | blame | history
components/logrotate/patches/02.man.patch 17 ●●●●● patch | view | raw | blame | history
components/logrotate/patches/03.logrotate-default.patch 44 ●●●●● patch | view | raw | blame | history
components/logrotate/patches/04.compile.patch 21 ●●●●● patch | view | raw | blame | history
components/sysutils/logrotate/Makefile 29 ●●●●● patch | view | raw | blame | history
components/sysutils/logrotate/logrotate.p5m patch | view | raw | blame | history
components/sysutils/logrotate/manifests/sample-manifest.p5m 2 ●●● patch | view | raw | blame | history
components/sysutils/logrotate/patches/02.man.patch 16 ●●●●● patch | view | raw | blame | history
components/sysutils/logrotate/patches/03.logrotate-default.patch 25 ●●●●● patch | view | raw | blame | history
components/sysutils/logrotate/patches/05.logrotate.c.patch patch | view | raw | blame | history
components/logrotate/patches/01.automake.patch
File was deleted
components/logrotate/patches/02.man.patch
File was deleted
components/logrotate/patches/03.logrotate-default.patch
File was deleted
components/logrotate/patches/04.compile.patch
File was deleted
components/sysutils/logrotate/Makefile
File was renamed from components/logrotate/Makefile
@@ -12,28 +12,29 @@
# Copyright 2015 Alexander Pyhalov
#
include ../../make-rules/shared-macros.mk
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=        logrotate
COMPONENT_VERSION=    3-9-1
IPS_COMPONENT_VERSION=    $(subst -,.,$(COMPONENT_VERSION))
COMPONENT_VERSION=    3.13.0
COMPONENT_PROJECT_URL=    https://github.com/logrotate/logrotate
COMPONENT_SUMMARY=    Logrotate - Rotates and compresses log files
COMPONENT_SRC=        $(COMPONENT_NAME)-r$(COMPONENT_VERSION)
COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH=    \
    sha256:5bf8e478c428e7744fefa465118f8296e7e771c981fb6dffb7527856a0ea3617
COMPONENT_ARCHIVE_URL=    https://github.com/logrotate/logrotate/archive/r$(COMPONENT_VERSION).tar.gz
  sha256:2ea33f69176dd2668fb85307210d7ed0411ff2a0429e4a0a2d881e740160e4b0
COMPONENT_ARCHIVE_URL=    https://github.com/logrotate/logrotate/releases/download/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
COMPONENT_LICENSE_FILE=    COPYING
COMPONENT_LICENSE=    GPLv2
COMPONENT_FMRI=        system/file/logrotate
COMPONENT_CLASSIFICATION=    System/Administration and Configuration
include $(WS_TOP)/make-rules/prep.mk
include $(WS_TOP)/make-rules/configure.mk
include $(WS_TOP)/make-rules/ips.mk
include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/configure.mk
include $(WS_MAKE_RULES)/ips.mk
PATH=/usr/gnu/bin:/usr/bin
PATH=$(PATH.gnu)
CONFIGURE_SBINDIR.64= $(CONFIGURE_SBINDIR.32)
COMPONENT_PREP_ACTION =        ( cd $(@D)  && \
                $(TOUCH) NEWS README AUTHORS ChangeLog &&\
@@ -43,8 +44,12 @@
                autoconf )
# common targets
build:        $(BUILD_32)
build:        $(BUILD_64)
install:    $(INSTALL_32)
install:    $(INSTALL_64)
test:        $(NO_TESTS)
# Auto-generated dependencies
REQUIRED_PACKAGES += library/popt
REQUIRED_PACKAGES += system/library
components/sysutils/logrotate/logrotate.p5m
components/sysutils/logrotate/manifests/sample-manifest.p5m
File was renamed from components/logrotate/manifests/sample-manifest.p5m
@@ -10,7 +10,7 @@
#
#
# Copyright 2016 <contributor>
# Copyright 2017 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
components/sysutils/logrotate/patches/02.man.patch
New file
@@ -0,0 +1,16 @@
--- logrotate-3.13.0/logrotate.8.orig    Sun Nov  5 16:53:03 2017
+++ logrotate-3.13.0/logrotate.8    Sun Nov  5 16:54:00 2017
@@ -1,4 +1,4 @@
-.TH LOGROTATE 8 "3.13.0" "Linux" "System Administrator's Manual"
+.TH LOGROTATE 8 "3.13.0" "System Administrator's Manual"
 .SH NAME
 logrotate \(hy rotates, compresses, and mails system logs
 .SH SYNOPSIS
@@ -622,6 +622,7 @@
 .BR chmod (2),
 .BR gunzip (1),
 .BR gzip (1),
+.BR logadm (1M),
 .BR mail (1),
 .BR shred (1),
 .BR strftime (3),
components/sysutils/logrotate/patches/03.logrotate-default.patch
New file
@@ -0,0 +1,25 @@
--- logrotate-3.13.0/examples/logrotate-default.orig    Sun Nov  5 16:55:10 2017
+++ logrotate-3.13.0/examples/logrotate-default    Sun Nov  5 16:57:22 2017
@@ -25,18 +25,18 @@
 include /etc/logrotate.d
 # no packages own wtmp and btmp -- we'll rotate them here
-/var/log/wtmp {
+/var/adm/wtmpx {
     missingok
     monthly
-    create 0664 root utmp
+    create 0664 root bin
     minsize 1M
     rotate 1
 }
-/var/log/btmp {
+/var/adm/utmpx {
     missingok
     monthly
-    create 0600 root utmp
+    create 0600 adm adm
     rotate 1
 }
components/sysutils/logrotate/patches/05.logrotate.c.patch