# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL)". You may # only use this file in accordance with the terms of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2015 Alexander Pyhalov # Copyright 2019 Michal Nowak # Copyright 2020, 2022 Nona Hansel # Copyright 2022 Niklas Poslovski # BUILD_BITS= 64 USE_DEFAULT_TEST_TRANSFORMS= yes include ../../../make-rules/shared-macros.mk COMPONENT_NAME= logrotate COMPONENT_VERSION= 3.21.0 COMPONENT_SUMMARY= Logrotate - Rotates and compresses log files COMPONENT_PROJECT_URL= https://github.com/logrotate/logrotate COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/releases/download/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) COMPONENT_ARCHIVE_HASH= sha256:1680947a9431de1aaa629fedde358696ff49a808ae903feecf996682949e3cff COMPONENT_FMRI= system/file/logrotate COMPONENT_CLASSIFICATION= System/Administration and Configuration COMPONENT_LICENSE= GPLv2 COMPONENT_LICENSE_FILE= COPYING include $(WS_MAKE_RULES)/common.mk COMPONENT_PREP_ACTION = ( cd $(@D) && autoreconf -f -i ) PATH = $(PATH.gnu) # Tests otherwise fail unexport SHELLOPTS # Auto-generated dependencies REQUIRED_PACKAGES += library/popt REQUIRED_PACKAGES += system/library