wok view zbackup/receipt @ rev 25630

libssh, openssh, paramiko, proftpd, putty: CVE-2023-48795 fix, waiting for dropbear and tinyssh released.
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 22 14:30:01 2023 +0000 (11 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="zbackup"
4 VERSION="1.4.4"
5 CATEGORY="network"
6 SHORT_DESC="A versatile deduplicating backup tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 GPL3"
9 WEB_SITE="http://zbackup.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/zbackup/zbackup/archive/$VERSION.tar.gz"
14 DEPENDS="gcc83-lib-base liblzma libssl protobuf zlib"
15 BUILD_DEPENDS="cmake gcc83 liblzma-dev lzo-dev openssl-dev protobuf-dev zlib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export CC=gcc-83
28 export CXX=g++-83
29 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 mkdir -p $install/usr/share/doc
40 cp -a $install/usr/bin $fs/usr
41 cp -a $src/README.md $install/usr/share/doc
42 }