From: Lars Wendler Date: Thu, 24 Sep 2015 15:02:27 +0000 (+0200) Subject: net-misc/htpdate: Bump to version 1.1.2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ad43fa9c369f986c4067175aefb88c048624b7ea;p=gentoo.git net-misc/htpdate: Bump to version 1.1.2 Package-Manager: portage-2.2.21 Signed-off-by: Lars Wendler --- diff --git a/net-misc/htpdate/Manifest b/net-misc/htpdate/Manifest index 4212b089ea0d..e8c9fa813e37 100644 --- a/net-misc/htpdate/Manifest +++ b/net-misc/htpdate/Manifest @@ -1,2 +1,3 @@ DIST htpdate-1.0.7.tar.gz 16848 SHA256 ba0b3f7b42306f2e2e146624785f80cc472eac9e7885007df50af0e1a21735c4 SHA512 83408545d1d2cc794f62efaf348e54cc2ce47dfb27815710e92d0c7d34360a581e637ef82424030c8a4fcabcc9a07205518fac08f426b37c7c4519cfa6696360 WHIRLPOOL e2e949d20b8d4afecd6c3c09aefa203417b16a4061e6d2fe05cf5e37d0dc736604ed5e1f0d8c03146eb3b5031ffc3ed8ec3213171513e6140a098bd1d5f268fb DIST htpdate-1.1.1.tar.gz 13303 SHA256 6fca5f13e323d4bf8e4a2ae20dfaae527b745b3cf19e9aeccfe2f211e7cc7a7a SHA512 bfc463692b7c4fb962c0b6f34e6063d2506e383490e6d6972b7da3740fbd0b835a07cddd3470bea29f8d2770160fba5f87fd3d768cb27a1f04ea9f5a39522918 WHIRLPOOL 7faa7ce4dd96d48a2a7ddc20a61a7230d9658042f3c9e39229ade41a312d78a0d5827a3348b2671de36fdbcb0aa35873fa5bee6e0c13218e94fbc23f3f2730b7 +DIST htpdate-1.1.2.tar.gz 13330 SHA256 6babf7db26f8734aa245a261ebdd6b92989ed4ffd1db40f8480b33d4150488d2 SHA512 d20234b3f04499b77f7050522c23dc6c3d8fc27a22368e8553340eec76ce35964f7f9808a0e047840fcdbb1e61dfd9fa9e9cdb5d88c42d5f8970a62203fde424 WHIRLPOOL 82b8e088c4e45264abbd2a35c25729cb6afc3f3d8e47d11bfc06b0bb7f89eb85a8a5c475dcbf1c9007288248eef351291184f17d0b615fe937f7277f431b3c05 diff --git a/net-misc/htpdate/htpdate-1.1.2.ebuild b/net-misc/htpdate/htpdate-1.1.2.ebuild new file mode 100644 index 000000000000..d70048232eea --- /dev/null +++ b/net-misc/htpdate/htpdate-1.1.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit readme.gentoo 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() { + # 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 +}