upg rsync
This commit is contained in:
parent
cefbb0a778
commit
160359b646
|
@ -6,20 +6,21 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=rsync
|
||||
_tag='b13e7a8ef4fa430223f66403506fb821caae5cfd' # git rev-parse v${pkgver}
|
||||
pkgver=3.2.7
|
||||
pkgrel=06
|
||||
pkgdesc='A fast and versatile file copying tool for remote and local files w/o systemd zstd ipv6'
|
||||
#_tag='b13e7a8ef4fa430223f66403506fb821caae5cfd' # git rev-parse v${pkgver}
|
||||
pkgver=3.3.0
|
||||
pkgrel=01
|
||||
pkgdesc='A fast and versatile file copying tool for remote and local files w/o systemd & ipv6'
|
||||
url='https://rsync.samba.org/'
|
||||
depends=('acl' 'libacl.so' 'lz4' 'openssl' 'popt' 'xxhash' 'libxxhash.so'
|
||||
'zlib' 'zstd')
|
||||
'zlib')
|
||||
makedepends=('git' 'python-commonmark')
|
||||
optdepends=('python: for rrsync'
|
||||
'xinetd: instead of inetd')
|
||||
backup=('etc/rsyncd.conf'
|
||||
'etc/xinetd.d/rsync')
|
||||
#options=('debug') ### uncomment this to have the debug pkg produced
|
||||
source=("git+https://github.com/WayneD/rsync#tag=${_tag}?signed"
|
||||
#source=("git+https://github.com/WayneD/rsync#tag=${_tag}?signed"
|
||||
source=("git+https://github.com/WayneD/rsync#tag=v${pkgver}?signed"
|
||||
'rsyncd.conf')
|
||||
|
||||
#_backports=(
|
||||
|
@ -69,6 +70,13 @@ build() {
|
|||
check() {
|
||||
cd $pkgname
|
||||
make test
|
||||
# check for IPv6 support
|
||||
# https://gitlab.archlinux.org/archlinux/packaging/packages/rsync/-/commit/8936e33b245da170e7b5488b4ca35727ac9c4b68
|
||||
# if rsync -V | grep -q 'no IPv6'; then
|
||||
# echo 'Built without IPv6 support!' >&2
|
||||
# exit 1
|
||||
# fi
|
||||
|
||||
}
|
||||
|
||||
package() {
|
||||
|
@ -90,4 +98,6 @@ validpgpkeys=(0048C8B026D4C96F0E589C2F6C859FB14B96A8C5) # Wayne Davison <wayned@
|
|||
sha256sums=(SKIP
|
||||
733ccb571721433c3a6262c58b658253ca6553bec79c2bdd0011810bb4f2156b) # rsyncd.conf
|
||||
|
||||
## c3b57cfcd595d9e600adb074b6ba22c5c1b7ae0c81e745daa605bea4e6c5add2 rsync-3.2.7-06-x86_64.pkg.tar.lz
|
||||
|
||||
##
|
||||
##
|
||||
|
|
|
@ -2,9 +2,8 @@
|
|||
# Maintainer: T.J. Townsend <blakkheim@archlinux.org>
|
||||
|
||||
pkgname=rsync
|
||||
_tag='b13e7a8ef4fa430223f66403506fb821caae5cfd' # git rev-parse v${pkgver}
|
||||
pkgver=3.2.7
|
||||
pkgrel=6
|
||||
pkgver=3.3.0
|
||||
pkgrel=1
|
||||
pkgdesc='A fast and versatile file copying tool for remote and local files'
|
||||
arch=('x86_64')
|
||||
url='https://rsync.samba.org/'
|
||||
|
@ -15,9 +14,9 @@ optdepends=('python: for rrsync')
|
|||
makedepends=('git' 'python-commonmark')
|
||||
backup=('etc/rsyncd.conf')
|
||||
validpgpkeys=('0048C8B026D4C96F0E589C2F6C859FB14B96A8C5') # Wayne Davison <wayned@users.sourceforge.net>
|
||||
source=("git+https://github.com/WayneD/rsync#tag=${_tag}?signed"
|
||||
source=("git+https://github.com/WayneD/rsync#tag=v${pkgver}?signed"
|
||||
'rsyncd.conf')
|
||||
sha256sums=('SKIP'
|
||||
sha256sums=('110fff983288a09e4cedc754ea8f6cecb5c3d7a7a3c8291cc979be93b5c6b777'
|
||||
'733ccb571721433c3a6262c58b658253ca6553bec79c2bdd0011810bb4f2156b')
|
||||
|
||||
_backports=(
|
||||
|
@ -49,6 +48,7 @@ build() {
|
|||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-ipv6 \
|
||||
--disable-debug \
|
||||
--with-rrsync \
|
||||
--with-included-popt=no \
|
||||
|
@ -59,6 +59,13 @@ build() {
|
|||
check() {
|
||||
cd ${pkgname}
|
||||
|
||||
# check for IPv6 support
|
||||
# https://gitlab.archlinux.org/archlinux/packaging/packages/rsync/-/commit/8936e33b245da170e7b5488b4ca35727ac9c4b68
|
||||
if rsync -V | grep -q 'no IPv6'; then
|
||||
echo 'Built without IPv6 support!' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make test
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue