1 |
commit: 187c14f6f70409652a9a6a5c1a4bdeb7902257ff |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 4 09:48:02 2018 +0000 |
4 |
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 4 09:48:02 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187c14f6 |
7 |
|
8 |
net-dns/ddclient: Remove broken |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
net-dns/ddclient/ddclient-3.9.0.ebuild | 65 ---------------------------------- |
13 |
1 file changed, 65 deletions(-) |
14 |
|
15 |
diff --git a/net-dns/ddclient/ddclient-3.9.0.ebuild b/net-dns/ddclient/ddclient-3.9.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index 850df0d4444..00000000000 |
18 |
--- a/net-dns/ddclient/ddclient-3.9.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,65 +0,0 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI="6" |
25 |
- |
26 |
-inherit systemd user |
27 |
- |
28 |
-DESCRIPTION="Perl client used to update dynamic DNS entries" |
29 |
-HOMEPAGE="https://sourceforge.net/projects/ddclient/" |
30 |
-SRC_URI="mirror://sourceforge/ddclient/${P}.tar.gz" |
31 |
- |
32 |
-KEYWORDS="~amd64 ~mips ~x86 ~x86-fbsd" |
33 |
-LICENSE="GPL-2+" |
34 |
-SLOT="0" |
35 |
-IUSE="examples iproute2" |
36 |
- |
37 |
-RDEPEND="dev-lang/perl |
38 |
- dev-perl/Data-Validate-IP |
39 |
- dev-perl/Digest-SHA1 |
40 |
- dev-perl/IO-Socket-INET6 |
41 |
- dev-perl/IO-Socket-SSL |
42 |
- virtual/perl-Digest-SHA |
43 |
- virtual/perl-JSON-PP |
44 |
- iproute2? ( sys-apps/iproute2 )" |
45 |
- |
46 |
-pkg_setup() { |
47 |
- enewgroup ddclient |
48 |
- enewuser ddclient -1 -1 -1 ddclient |
49 |
-} |
50 |
- |
51 |
-src_prepare() { |
52 |
- # Remove PID setting, to reliably setup the environment for the init script |
53 |
- sed -e '/^pid/d' -i sample-etc_ddclient.conf || die |
54 |
- |
55 |
- # Remove windows executable |
56 |
- if use examples; then |
57 |
- rm sample-etc_dhcpc_dhcpcd-eth0.exe || die |
58 |
- fi |
59 |
- |
60 |
- # Use sys-apps/iproute2 instead of sys-apps/net-tools |
61 |
- use iproute2 && eapply "${FILESDIR}"/${P}-use_iproute2.patch |
62 |
- |
63 |
- default |
64 |
-} |
65 |
- |
66 |
-src_install() { |
67 |
- dobin ddclient |
68 |
- |
69 |
- newinitd "${FILESDIR}"/ddclient.initd-r5 ddclient |
70 |
- systemd_newunit "${FILESDIR}"/ddclient.service-r1 ddclient |
71 |
- |
72 |
- insinto /etc/ddclient |
73 |
- insopts -m 0600 -o ddclient -g ddclient |
74 |
- newins sample-etc_ddclient.conf ddclient.conf |
75 |
- |
76 |
- newinitd "${FILESDIR}"/ddclient.initd-r5 ddclient |
77 |
- systemd_dounit "${FILESDIR}"/ddclient.service |
78 |
- |
79 |
- dodoc Change* README* RELEASENOTE TODO UPGRADE |
80 |
- |
81 |
- if use examples; then |
82 |
- docinto examples |
83 |
- dodoc sample-* |
84 |
- fi |
85 |
-} |