diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/htpdate/Manifest | 1 | ||||
-rw-r--r-- | net-misc/htpdate/htpdate-1.1.3.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/net-misc/htpdate/Manifest b/net-misc/htpdate/Manifest index e8c9fa813e37..e929b6793466 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.1.tar.gz 13303 SHA256 6fca5f13e323d4bf8e4a2ae20dfaae527b745b3cf19e9aeccfe2f211e7cc7a7a SHA512 bfc463692b7c4fb962c0b6f34e6063d2506e383490e6d6972b7da3740fbd0b835a07cddd3470bea29f8d2770160fba5f87fd3d768cb27a1f04ea9f5a39522918 WHIRLPOOL 7faa7ce4dd96d48a2a7ddc20a61a7230d9658042f3c9e39229ade41a312d78a0d5827a3348b2671de36fdbcb0aa35873fa5bee6e0c13218e94fbc23f3f2730b7 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 diff --git a/net-misc/htpdate/htpdate-1.1.3.ebuild b/net-misc/htpdate/htpdate-1.1.3.ebuild new file mode 100644 index 000000000000..d70048232eea --- /dev/null +++ b/net-misc/htpdate/htpdate-1.1.3.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 +} |