From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/openrsync/files/, net-misc/openrsync/
Date: Sat, 27 Aug 2022 04:38:52 +0000 (UTC) [thread overview]
Message-ID: <1661575121.44fb159ff248f157e6808603edeae25719310751.sam@gentoo> (raw)
commit: 44fb159ff248f157e6808603edeae25719310751
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 27 04:38:26 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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 <stdint.h>
++
+ #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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">kristapsdz/openrsync</remote-id>
+ </upstream>
+</pkgmetadata>
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}"
+}
next reply other threads:[~2022-08-27 23:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-27 4:38 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-08-31 4:30 [gentoo-commits] repo/gentoo:master commit in: net-misc/openrsync/files/, net-misc/openrsync/ Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1661575121.44fb159ff248f157e6808603edeae25719310751.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox