From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7D3D7158094 for ; Sat, 27 Aug 2022 23:10:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C3AAE0923; Sat, 27 Aug 2022 23:10:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3B768E0922 for ; Sat, 27 Aug 2022 23:10:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4548A340DF2 for ; Sat, 27 Aug 2022 04:38:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D8A36558 for ; Sat, 27 Aug 2022 04:38:52 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1661575121.44fb159ff248f157e6808603edeae25719310751.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/openrsync/files/, net-misc/openrsync/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/openrsync/Manifest net-misc/openrsync/files/openrsync-0.5.0_p20220508-extern-stdint-include.patch net-misc/openrsync/metadata.xml net-misc/openrsync/openrsync-0.5.0_p20220508.ebuild X-VCS-Directories: net-misc/openrsync/files/ net-misc/openrsync/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 44fb159ff248f157e6808603edeae25719310751 X-VCS-Branch: master Date: Sat, 27 Aug 2022 04:38:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4abc47bc-b54c-47d7-95e0-f3c36def3c6e X-Archives-Hash: d3e50410f92a430dbf6aaf2b7baead08 commit: 44fb159ff248f157e6808603edeae25719310751 Author: Sam James gentoo org> AuthorDate: Sat Aug 27 04:38:26 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Aug 27 04:38:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44fb159f net-misc/openrsync: new package, add 0.5.0_p20220508 Signed-off-by: Sam James gentoo.org> net-misc/openrsync/Manifest | 1 + ...ync-0.5.0_p20220508-extern-stdint-include.patch | 11 ++++++ net-misc/openrsync/metadata.xml | 11 ++++++ .../openrsync/openrsync-0.5.0_p20220508.ebuild | 40 ++++++++++++++++++++++ 4 files changed, 63 insertions(+) diff --git a/net-misc/openrsync/Manifest b/net-misc/openrsync/Manifest new file mode 100644 index 000000000000..bd57e5fd9ecd --- /dev/null +++ b/net-misc/openrsync/Manifest @@ -0,0 +1 @@ +DIST openrsync-0.5.0_p20220508.tar.gz 139218 BLAKE2B 2ff7614a10095d01ac46f92281d8e22dd8bd03c943324d4f5eff0f3cd981a5e97a8ce8ee361f8dbd144229c39d29ad33035a704c7e0e753d66eb72ec65c92bed SHA512 f2fec287d57502e3b478652a7c91c38e295221f936eb089f8ecd9efd69e51e0b9896e6f9d5457195db8d4661faf461c34d2d1547373ba5ddae22a5f7135677e9 diff --git a/net-misc/openrsync/files/openrsync-0.5.0_p20220508-extern-stdint-include.patch b/net-misc/openrsync/files/openrsync-0.5.0_p20220508-extern-stdint-include.patch new file mode 100644 index 000000000000..ea2af659fad2 --- /dev/null +++ b/net-misc/openrsync/files/openrsync-0.5.0_p20220508-extern-stdint-include.patch @@ -0,0 +1,11 @@ +--- a/extern.h ++++ b/extern.h +@@ -17,6 +17,8 @@ + #ifndef EXTERN_H + #define EXTERN_H + ++#include ++ + #if !HAVE_PLEDGE + # define pledge(x, y) (1) + #endif diff --git a/net-misc/openrsync/metadata.xml b/net-misc/openrsync/metadata.xml new file mode 100644 index 000000000000..93a67ab8e286 --- /dev/null +++ b/net-misc/openrsync/metadata.xml @@ -0,0 +1,11 @@ + + + + + sam@gentoo.org + Sam James + + + kristapsdz/openrsync + + diff --git a/net-misc/openrsync/openrsync-0.5.0_p20220508.ebuild b/net-misc/openrsync/openrsync-0.5.0_p20220508.ebuild new file mode 100644 index 000000000000..bfbf341c0781 --- /dev/null +++ b/net-misc/openrsync/openrsync-0.5.0_p20220508.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo toolchain-funcs + +DESCRIPTION="BSD-licensed implementation of rsync" +HOMEPAGE="https://www.openrsync.org/" + +if [[ ${PV} == *_p* ]] ; then + MY_COMMIT="f50d0f8204ea18306a0c29c6ae850292ea826995" + SRC_URI="https://github.com/kristapsdz/openrsync/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/${PN}-${MY_COMMIT} +else + SRC_URI="https://github.com/kristapsdz/openrsync/archive/refs/tags/VERSION_$(ver_rs 3 _).tar.gz -> ${P}.tar.gz" +fi + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" + +PATCHES=( + "${FILESDIR}"/${PN}-0.5.0_p20220508-extern-stdint-include.patch +) + +src_configure() { + tc-export CC + + local confargs=( + PREFIX="${EPREFIX}"/usr + MANDIR="${EPREFIX}"/usr/share/man + ) + + edo ./configure "${confargs[@]}" +} + +src_compile() { + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +}