Closes: https://github.com/gentoo/gentoo/pull/1878
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
-DIST ptpd-2.3.1.tar.gz 1196180 SHA256 0dbf54dd2c178bd9fe62481d2c37513ee36636d8bf137cfdad96891490cdbf93 SHA512 c0e9eecfd87769b8cdbac624bf40f28634911e92d2169f4b91d59b76466eb4bf2143037dab3c601190ceaa13c8ab857c7875789448a46ab560bf0d0b8d321963 WHIRLPOOL e81b43eded2891a8eec2e880a837e6da5d94b64f363979af64eabdc341b75aae79605c00a7790a842e77b9d00ec69cf9bf97d7ff92498549db31825835cd6128
+DIST ptpd-2.3.1.tar.gz 884161 SHA256 267ad61d09d97069acec5d4878dceda20d0ddbebd27557d80230847848cee6c2 SHA512 25c128ce1920ae2c1469e986bfa5d5b8ebca04ec14b838fb8232b36e0a1ef94646507e1b25034846d11cf0f71d7e2da983b9f6408f8fcfc608904ecfec2a15c4 WHIRLPOOL dfc107c0011db56b1e943bf9ac794c51631e0320e8ae19c5db2d67af55cd15a73e2e71117abca0db787896ea0366987eee29d91f15eea336c96be7093accfd6b
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit autotools eutils flag-o-matic systemd
DESCRIPTION="Precision Time Protocol daemon"
-HOMEPAGE="http://ptpd.sf.net"
+HOMEPAGE="https://github.com/ptpd/ptpd"
-SRC_URI="mirror://sourceforge/ptpd/${PV}/${P}.tar.gz"
+SRC_URI="https://github.com/ptpd/ptpd/archive/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~x86"
LICENSE="BSD"
RDEPEND="${RDEPEND}
ntp? ( net-misc/ntp )"
+S=${WORKDIR}/ptpd-${P}
+
src_prepare() {
eautoreconf
}