Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] rsync: update to 3.2.2.
@ 2020-07-08 12:48 Piraty
  2020-07-08 14:15 ` Piraty
  2020-07-08 14:15 ` [PR PATCH] [Closed]: " Piraty
  0 siblings, 2 replies; 3+ messages in thread
From: Piraty @ 2020-07-08 12:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

There is a new pull request by Piraty against master on the void-packages repository

https://github.com/Piraty/void-packages rsync-3.2.2
https://github.com/void-linux/void-packages/pull/23471

rsync: update to 3.2.2.
Closes: #23155

A patch file from https://github.com/void-linux/void-packages/pull/23471.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rsync-3.2.2-23471.patch --]
[-- Type: text/x-diff, Size: 2964 bytes --]

From 06f61b3b279768893953898551c3e687337daac6 Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Wed, 8 Jul 2020 14:42:26 +0200
Subject: [PATCH 1/2] New package: python3-commonmark-0.9.1

---
 srcpkgs/python3-commonmark/template | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 srcpkgs/python3-commonmark/template

diff --git a/srcpkgs/python3-commonmark/template b/srcpkgs/python3-commonmark/template
new file mode 100644
index 00000000000..3f70a1c4d10
--- /dev/null
+++ b/srcpkgs/python3-commonmark/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-commonmark'
+pkgname=python3-commonmark
+version=0.9.1
+revision=1
+archs=noarch
+wrksrc="commonmark-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Markdown parser and renderer for the CommonMark specification"
+maintainer="Piraty <piraty1@inbox.ru>"
+license="BSD-3-Clause"
+homepage="https://pypi.org/project/commonmark/"
+changelog="https://github.com/readthedocs/commonmark.py/raw/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/c/commonmark/commonmark-${version}.tar.gz"
+checksum=452f9dc859be7f06631ddcb328b6919c67984aca654e5fefb3914d54691aed60
+
+pre_check() {
+	# make it find the module
+	export PYTHONPATH="${PWD}/build/lib"
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 0ff2036bbdf9cda27884f83dffecd0dccc822048 Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Wed, 8 Jul 2020 14:42:30 +0200
Subject: [PATCH 2/2] rsync: update to 3.2.2.

* fetch from offical github mirror
* build from source, not from release tarball
---
 srcpkgs/rsync/template | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/rsync/template b/srcpkgs/rsync/template
index 923e043a711..e1e051d06bd 100644
--- a/srcpkgs/rsync/template
+++ b/srcpkgs/rsync/template
@@ -1,17 +1,31 @@
 # Template file for 'rsync'
 pkgname=rsync
-version=3.1.3
+version=3.2.2
 revision=1
 build_style=gnu-configure
 conf_files="/etc/rsyncd.conf"
-hostmakedepends="perl"
-makedepends="zlib-devel acl-devel popt-devel"
+hostmakedepends="automake perl python3-commonmark"
+makedepends="zlib-devel acl-devel popt-devel libressl-devel liblz4-devel
+ libzstd-devel xxHash-devel"
 short_desc="Remote fast incremental file transfer tool"
 maintainer="Lugubris <lugubris@disroot.org>"
 license="GPL-3.0-only"
 homepage="http://samba.anu.edu.au/rsync/"
-distfiles="http://www.samba.org/ftp/rsync/src/rsync-$version.tar.gz"
-checksum=55cc554efec5fdaad70de921cd5a5eeb6c29a95524c715f3bbf849235b0800c0
+distfiles="https://github.com/WayneD/rsync/archive/v${version}.tar.gz"
+checksum=fb9362227e8031a7194ba2c9a98043e33ad26adebc2a8493a920e2bc28fabde0
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	configure_args+=" --disable-simd"
+fi
+
+pre_configure() {
+	rm configure
+	autoreconf -vfi
+}
+
+pre_build() {
+	make reconfigure
+}
 
 pre_check() {
 	# chgrp tests fail inside chroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rsync: update to 3.2.2.
  2020-07-08 12:48 [PR PATCH] rsync: update to 3.2.2 Piraty
@ 2020-07-08 14:15 ` Piraty
  2020-07-08 14:15 ` [PR PATCH] [Closed]: " Piraty
  1 sibling, 0 replies; 3+ messages in thread
From: Piraty @ 2020-07-08 14:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 329 bytes --]

New comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/23471#issuecomment-655547628

Comment:
Closing in favor of  #23155. Fetching from upstream's homepage is more [desirable than fetching from github](https://github.com/keybase/client/issues/10800), also the SIMD patch is required

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Closed]: rsync: update to 3.2.2.
  2020-07-08 12:48 [PR PATCH] rsync: update to 3.2.2 Piraty
  2020-07-08 14:15 ` Piraty
@ 2020-07-08 14:15 ` Piraty
  1 sibling, 0 replies; 3+ messages in thread
From: Piraty @ 2020-07-08 14:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

There's a closed pull request on the void-packages repository

rsync: update to 3.2.2.
https://github.com/void-linux/void-packages/pull/23471

Description:
Closes: #23155

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-08 14:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08 12:48 [PR PATCH] rsync: update to 3.2.2 Piraty
2020-07-08 14:15 ` Piraty
2020-07-08 14:15 ` [PR PATCH] [Closed]: " Piraty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).