summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-12-11 22:28:43 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-12-11 22:32:32 +0100
commita1ecd6cd7b666ec126fbd27c17e2aa025e07a77a (patch)
tree59b38f0d89e9374ab2413db4be8503e142dea8b0 /net-misc/rdate
parentnet-misc/rdate: drop 1.4-r4 (diff)
downloadgentoo-a1ecd6cd7b666ec126fbd27c17e2aa025e07a77a.tar.gz
gentoo-a1ecd6cd7b666ec126fbd27c17e2aa025e07a77a.tar.bz2
gentoo-a1ecd6cd7b666ec126fbd27c17e2aa025e07a77a.zip
net-misc/rdate: add 1.10.2
Closes: https://bugs.gentoo.org/725172 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-misc/rdate')
-rw-r--r--net-misc/rdate/Manifest1
-rw-r--r--net-misc/rdate/rdate-1.10.2.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/net-misc/rdate/Manifest b/net-misc/rdate/Manifest
index 3c3848cfd71..f77353879f4 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 00000000000..85c5f91b3cf
--- /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
+}