commit:     a1ecd6cd7b666ec126fbd27c17e2aa025e07a77a
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 11 21:28:43 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Dec 11 21:32:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1ecd6cd

net-misc/rdate: add 1.10.2

Closes: https://bugs.gentoo.org/725172
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-misc/rdate/Manifest            |  1 +
 net-misc/rdate/rdate-1.10.2.ebuild | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/net-misc/rdate/Manifest b/net-misc/rdate/Manifest
index 3c3848cfd711..f77353879f4d 100644
--- a/net-misc/rdate/Manifest
+++ b/net-misc/rdate/Manifest
@@ -1 +1,2 @@
+DIST rdate-1.10.2.tar.gz 19839 BLAKE2B 
d51ff68303a05abd8049abebafd76a01d8dedff6a294057640989989f851f1b381d75f2ad7ab94a850de76c485340770e06cf086225d641a2fee6d43112b473f
 SHA512 
6e3759e73c05532b54f004592989572f78a0cfef7a2af1ae33708c9d239b63203702466664d39701afbc0012ff53fbf0bc3917ad8bb3df3322c4b613fd2e8aba
 DIST rdate-1.10.tar.gz 19159 BLAKE2B 
71c858b5eb10b07a2974fcb463a91808fc59582dfce786dc936370b3fc2122bfe72cc32cb3635a1e77ec663fd44712852ab85d8ba46702d1e222ec63ad46f3bb
 SHA512 
7a7647102b5663218fff6c1364b83250a199a0169adf40db87a49709aa24c3b1fae5acf01732d5432fcb2883d29a24b2ae38cf5333ff75075e5d7a6fd90e7146

diff --git a/net-misc/rdate/rdate-1.10.2.ebuild 
b/net-misc/rdate/rdate-1.10.2.ebuild
new file mode 100644
index 000000000000..85c5f91b3cf8
--- /dev/null
+++ b/net-misc/rdate/rdate-1.10.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="openrdate"
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Use TCP or UDP to retrieve the current time of another machine"
+HOMEPAGE="https://github.com/resurrecting-open-source-projects/openrdate";
+SRC_URI="https://github.com/resurrecting-open-source-projects/${MY_P}/archive/${PV}.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_P}-${PV}"
+
+LICENSE="BSD-4"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND="dev-libs/libbsd"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+       default
+
+       # Don't use hardcoded 'ar' command
+       sed -s '/^AC_PROG_CC/a m4_ifdef([AM_PROG_AR], [AM_PROG_AR], 
[AC_SUBST([AR], [$(tc-getAR])])' -i configure.ac || die
+       eautoreconf
+}
+
+src_install() {
+       default
+
+       newinitd "${FILESDIR}"/rdate-initd-1.4-r3 rdate
+       newconfd "${FILESDIR}"/rdate-confd rdate
+}

Reply via email to