1 |
commit: 6a9c88e35749b8b4ef050522cef18840695593a7 |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 24 21:48:15 2017 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 24 21:48:46 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a9c88e3 |
7 |
|
8 |
net-misc/dhcpcd: Change live ebuild to pull from git per upstream request |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
net-misc/dhcpcd/dhcpcd-9999.ebuild | 28 +++------------------------- |
13 |
1 file changed, 3 insertions(+), 25 deletions(-) |
14 |
|
15 |
diff --git a/net-misc/dhcpcd/dhcpcd-9999.ebuild b/net-misc/dhcpcd/dhcpcd-9999.ebuild |
16 |
index f6264d2986..cb4cb6fc6b 100644 |
17 |
--- a/net-misc/dhcpcd/dhcpcd-9999.ebuild |
18 |
+++ b/net-misc/dhcpcd/dhcpcd-9999.ebuild |
19 |
@@ -1,11 +1,12 @@ |
20 |
-# Copyright 1999-2016 Gentoo Foundation |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
# $Id$ |
24 |
|
25 |
EAPI=6 |
26 |
|
27 |
if [[ ${PV} == "9999" ]]; then |
28 |
- FOSSIL_URI="http://roy.marples.name/projects/dhcpcd" |
29 |
+ EGIT_REPO_URI="git://roy.marples.name/dhcpcd" |
30 |
+ inherit git-r3 |
31 |
else |
32 |
MY_P="${P/_alpha/-alpha}" |
33 |
MY_P="${MY_P/_beta/-beta}" |
34 |
@@ -27,29 +28,6 @@ COMMON_DEPEND="udev? ( virtual/udev )" |
35 |
DEPEND="${COMMON_DEPEND}" |
36 |
RDEPEND="${COMMON_DEPEND}" |
37 |
|
38 |
-if [[ ${PV} == "9999" ]]; then |
39 |
- DEPEND+=" dev-vcs/fossil" |
40 |
- |
41 |
- src_unpack() |
42 |
- { |
43 |
- local distdir=${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}} |
44 |
- local repo=${distdir}/fossil/${PN}.fossil |
45 |
- |
46 |
- addwrite "${distdir}" |
47 |
- |
48 |
- if [[ -e "${repo}" ]]; then |
49 |
- fossil pull "${FOSSIL_URI}" -R "${repo}" || die |
50 |
- else |
51 |
- mkdir -p "${distdir}/fossil" || die |
52 |
- fossil clone "${FOSSIL_URI}" "${repo}" || die |
53 |
- fi |
54 |
- |
55 |
- mkdir -p "${S}" || die |
56 |
- cd "${S}" || die |
57 |
- fossil open "${repo}" || die |
58 |
- } |
59 |
-fi |
60 |
- |
61 |
src_configure() |
62 |
{ |
63 |
local dev hooks rundir |