summaryrefslogtreecommitdiff
path: root/net-misc
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-10-02 09:56:22 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-10-02 11:07:38 +0200
commite3811eba641c56d17d1a7c1e37406b46ad1d180f (patch)
treeabe8bfcb662e90409dc07ab1295ef4949a2c3b30 /net-misc
parent428e57a1751ff6710831748d8eaa80f7b89b0644 (diff)
downloadgentoo-e3811eba641c56d17d1a7c1e37406b46ad1d180f.tar.gz
gentoo-e3811eba641c56d17d1a7c1e37406b46ad1d180f.tar.xz
net-misc/htpdate: Bump to version 1.2.0
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/htpdate/Manifest1
-rw-r--r--net-misc/htpdate/htpdate-1.2.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/htpdate/Manifest b/net-misc/htpdate/Manifest
index 8ca591d6de9..b5b3d665144 100644
--- a/net-misc/htpdate/Manifest
+++ b/net-misc/htpdate/Manifest
@@ -1,3 +1,4 @@
DIST htpdate-1.0.7.tar.gz 16848 SHA256 ba0b3f7b42306f2e2e146624785f80cc472eac9e7885007df50af0e1a21735c4 SHA512 83408545d1d2cc794f62efaf348e54cc2ce47dfb27815710e92d0c7d34360a581e637ef82424030c8a4fcabcc9a07205518fac08f426b37c7c4519cfa6696360 WHIRLPOOL e2e949d20b8d4afecd6c3c09aefa203417b16a4061e6d2fe05cf5e37d0dc736604ed5e1f0d8c03146eb3b5031ffc3ed8ec3213171513e6140a098bd1d5f268fb
DIST htpdate-1.1.2.tar.gz 13330 SHA256 6babf7db26f8734aa245a261ebdd6b92989ed4ffd1db40f8480b33d4150488d2 SHA512 d20234b3f04499b77f7050522c23dc6c3d8fc27a22368e8553340eec76ce35964f7f9808a0e047840fcdbb1e61dfd9fa9e9cdb5d88c42d5f8970a62203fde424 WHIRLPOOL 82b8e088c4e45264abbd2a35c25729cb6afc3f3d8e47d11bfc06b0bb7f89eb85a8a5c475dcbf1c9007288248eef351291184f17d0b615fe937f7277f431b3c05
DIST htpdate-1.1.3.tar.gz 13421 SHA256 b1d84d16ea8755352d187c346e78316ee545e2fbc3719cea001cdfaa3326cf41 SHA512 b6924f49165768e65b2a843db176aa9e8208bdc9e7390fbd2e802dcb1016d9fc897c717743ae559f7a6b17b18a44294a7b8adfa68b547ed8bf66135a12cc5b30 WHIRLPOOL 32d13472a233102e2095e9c6cf27df40d51b4b160c865ae6ea569611721bac3650b3b05840fc70478dccf490c0a1f046c42d5293a36028e46598272e3f6a6621
+DIST htpdate-1.2.0.tar.gz 13618 SHA256 c5084d054b575b7f41261ada5632e1c5abb04e87f30084f2ebd1ef3d02559e52 SHA512 5447d54a54038cc3c33f7877410ae42022e01eb10a93bd79fe4937452a823c65c6bdb743213bc77a8506128d5b384e26812f1291a0ffa1aeafde0230c1b645d4 WHIRLPOOL 92387d6a24434b394e162cdf2634031e259c6939727d31803acfbfa6785a2fdd25a4af0adf4ca714ca66c0d0b9a6301b8e6ae0d48bad8c7a232b90a55dba2a86
diff --git a/net-misc/htpdate/htpdate-1.2.0.ebuild b/net-misc/htpdate/htpdate-1.2.0.ebuild
new file mode 100644
index 00000000000..6e891f5ab55
--- /dev/null
+++ b/net-misc/htpdate/htpdate-1.2.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit readme.gentoo-r1 toolchain-funcs unpacker
+
+DESCRIPTION="Synchronize local workstation with time offered by remote webservers"
+HOMEPAGE="http://www.vervest.org/fiki/bin/view/HTP/DownloadC"
+SRC_URI="http://www.vervest.org/htp/archive/c/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND=""
+RDEPEND=""
+
+DOC_CONTENTS="If you would like to run htpdate as a daemon, set
+appropriate http servers in /etc/conf.d/htpdate!"
+
+src_prepare() {
+ default
+
+ # Use more standard adjtimex() to fix uClibc builds.
+ sed -i 's:ntp_adjtime:adjtimex:g' htpdate.[8c] || die
+}
+
+src_compile() {
+ emake CFLAGS="-Wall ${CFLAGS} ${LDFLAGS}" CC="$(tc-getCC)"
+}
+
+src_install() {
+ dosbin htpdate
+ doman htpdate.8
+ dodoc README Changelog
+
+ newconfd "${FILESDIR}"/htpdate.conf htpdate
+ newinitd "${FILESDIR}"/htpdate.init-r1 htpdate
+
+ readme.gentoo_create_doc
+}