--- 1/files/openrdate-initd +++ 2/files/openrdate-initd @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ --- 1/openrdate-1.2.ebuild +++ 2/openrdate-1.2-r1.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -WANT_AUTOMAKE=1.9 - -inherit autotools eutils +EAPI=6 +inherit autotools DESCRIPTION="use TCP or UDP to retrieve the current time of another machine" HOMEPAGE="http://sourceforge.net/projects/openrdate/" @@ -18,10 +17,9 @@ DEPEND="" RDEPEND="${DEPEND}" -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-1.1.3-rename.patch +src_prepare() { + eapply "${FILESDIR}"/${PN}-1.1.3-rename.patch + eapply_user eautomake mv docs/{,open}rdate.8 }