Andreas Wacknitz
2023-12-04 0fae5e1e4a1b53fcbe8c0312d0dc752caa721470
commit | author | age
5313ba 1 #
AP 2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
5 #
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
9 #
10
11 #
1f3b33 12 # Copyright 2019 Alexander Pyhalov
bbfd5d 13 # Copyright 2019 Michal Nowak
785a33 14 # Copyright 2021 Nona Hansel
5313ba 15 #
AP 16
070b3c 17 BUILD_STYLE= setup.py
a841ae 18 OPENSSL_VERSION= 3.1
070b3c 19 SINGLE_PYTHON_VERSION= yes
5313ba 20 include ../../../make-rules/shared-macros.mk
AP 21
47e30d 22 COMPONENT_NAME=            borgbackup
0fae5e 23 COMPONENT_VERSION=        1.2.7
c93488 24 COMPONENT_SUMMARY=        Deduplicating backup program with compression and authenticated encryption
5313ba 25 COMPONENT_PROJECT_URL=    https://borgbackup.readthedocs.org/en/stable/
AP 26 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
0fae5e 28 COMPONENT_ARCHIVE_HASH=    sha256:f63f28a3383c041971cec87b061ca39a815b5fd445db24aa8172cac417d9411a
5313ba 29 COMPONENT_ARCHIVE_URL=    https://github.com/borgbackup/borg/releases/download/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
47e30d 30 COMPONENT_FMRI=            backup/borg
c93488 31 COMPONENT_CLASSIFICATION=    Applications/System Utilities
bbfd5d 32 COMPONENT_LICENSE=      BSD
MN 33 COMPONENT_LICENSE_FILE= LICENSE
5313ba 34
070b3c 35 TEST_TARGET= $(NO_TESTS)
38cd45 36 include $(WS_MAKE_RULES)/common.mk
5313ba 37
070b3c 38 PKG_MACROS += PYVER=$(PYTHON_VERSION)
AW 39
bbfd5d 40 COMPONENT_POST_INSTALL_ACTION = \
070b3c 41     $(GSED) -i "1s|python.*|python${PYTHON_VERSION}|" $(PROTO_DIR)/usr/bin/borg;
5313ba 42
c93488 43 # Manually add build dependencies
070b3c 44 PYTHON_REQUIRED_PACKAGES += library/python/pkgconfig
c93488 45
bbfd5d 46 # Auto-generated dependencies
070b3c 47 PYTHON_REQUIRED_PACKAGES += library/python/setuptools
AW 48 PYTHON_REQUIRED_PACKAGES += runtime/python
1f3b33 49 REQUIRED_PACKAGES += compress/zstd
5c1478 50 REQUIRED_PACKAGES += library/lz4
a841ae 51 REQUIRED_PACKAGES += library/security/openssl-31
5c1478 52 REQUIRED_PACKAGES += system/library