Update package version to 3.4.2
This commit is contained in:
@@ -1,8 +1,29 @@
|
|||||||
name: rsync
|
name: rsync
|
||||||
description: Open source utility that provides fast incremental file transfer
|
description: Open source utility that provides fast incremental file transfer
|
||||||
version: 3.4.1
|
version: 3.4.2
|
||||||
|
revision: 1
|
||||||
url: https://rsync.samba.org/
|
url: https://rsync.samba.org/
|
||||||
license: GPL3-or-later
|
license: GPL3-or-later
|
||||||
|
maintainers:
|
||||||
|
- [email protected]
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["acl","lz4","openssl","popt","zlib","zstd"]
|
|
||||||
type: source
|
type: source
|
||||||
|
keep:
|
||||||
|
- etc/rsyncd.conf
|
||||||
|
depends:
|
||||||
|
- acl
|
||||||
|
- lz4
|
||||||
|
- openssl
|
||||||
|
- popt
|
||||||
|
- xxhash
|
||||||
|
- zlib
|
||||||
|
- zstd
|
||||||
|
optional_depends:
|
||||||
|
- python3:For rrsync
|
||||||
|
make_depends:
|
||||||
|
- python-commonmark
|
||||||
|
downloads:
|
||||||
|
- url: https://github.com/RsyncProject/rsync/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: 74955151aada09e6c54d35507b7101a381e2f30962a90e9e8e7c160279e4a802
|
||||||
|
|||||||
@@ -2,27 +2,17 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://github.com/RsyncProject/rsync/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz"
|
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
|
||||||
# This function is used for downloading files and putting them into the correct location
|
|
||||||
prepare() {
|
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
}
|
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
./configure --prefix=/usr --disable-xxhash --enable-ipv6 --with-included-popt=no --with-included-zlib=no
|
./configure --prefix=/usr --enable-ipv6 --disable-debug --with-rrsync --with-included-popt=no --with-included-zlib=no
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
# The check function is executed in the source directory
|
# The check function is executed in the source directory
|
||||||
# This function is used to run tests to verify the package has been compiled correctly
|
# This function is used to run tests to verify the package has been compiled correctly
|
||||||
check() {
|
check() {
|
||||||
make check
|
make test
|
||||||
}
|
}
|
||||||
|
|
||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
|
|||||||
Reference in New Issue
Block a user