Edit

IABSD.fr/ports/sysutils/restic/Makefile

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2024-02-05 10:44:08
    Hash : 34d1bd69
    Message : update to restic-0.16.4, from chrisz@ - works around and improves detection of a bug in the compression library used by restic. The resulting issue only happens when using restic 0.16.3 and the max compression level (the default auto and off compression levels are not affected), and when the source files being backed up have specific data in them to trigger the bug. If you use max compression, you can use restic check --read-data to make sure you're not affected.

  • sysutils/restic/Makefile
  • COMMENT=	fast, efficient and secure backup program
    
    MODGO_MODNAME=	github.com/restic/restic
    MODGO_VERSION=	v0.16.4
    
    DISTNAME=	restic-${MODGO_VERSION}
    
    CATEGORIES=	sysutils
    
    HOMEPAGE=	https://restic.net/
    
    MAINTAINER=	Stuart Henderson <stu.ports@spacehopper.org>
    
    # BSD
    PERMIT_PACKAGE=	Yes
    
    WANTLIB += c pthread
    
    MODULES=	lang/go
    NO_TEST=	Yes
    
    do-install:
    	${MODGO_INSTALL_TARGET}
    	${INSTALL_DATA_DIR} ${PREFIX}/man/man1 \
    	    ${PREFIX}/share/bash-completion/completions \
    	    ${PREFIX}/share/fish/vendor_completions.d \
    	    ${PREFIX}/share/zsh/site-functions
    	cd ${PREFIX}; bin/restic generate \
    	    --man man/man1 \
    	    --bash-completion share/bash-completion/completions/restic \
    	    --fish-completion share/fish/vendor_completions.d/restic.fish \
    	    --zsh-completion share/zsh/site-functions/restic
    
    .include "modules.inc"
    
    .include <bsd.port.mk>