1 |
commit: 4e46147d7ed090056d1a66b4b338a249dde6e372 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 28 22:05:00 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 28 22:05:00 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e46147d |
7 |
|
8 |
net-dns/ez-ipupdate: remove ez-ipupdate-3.0.11.13.3_beta8-r2 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
.../ez-ipupdate-3.0.11.13.3_beta8-r2.ebuild | 128 --------------------- |
13 |
1 file changed, 128 deletions(-) |
14 |
|
15 |
diff --git a/net-dns/ez-ipupdate/ez-ipupdate-3.0.11.13.3_beta8-r2.ebuild b/net-dns/ez-ipupdate/ez-ipupdate-3.0.11.13.3_beta8-r2.ebuild |
16 |
deleted file mode 100644 |
17 |
index a029412..0000000 |
18 |
--- a/net-dns/ez-ipupdate/ez-ipupdate-3.0.11.13.3_beta8-r2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,128 +0,0 @@ |
21 |
-# Copyright 1999-2014 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI="5" |
26 |
-inherit eutils readme.gentoo systemd user versionator |
27 |
- |
28 |
-MY_BETA="$(get_version_component_range 6)" |
29 |
-MY_PATCH="$(get_version_component_range 4-5)" |
30 |
-MY_PV="$(get_version_component_range 1-3)${MY_BETA/beta/b}" |
31 |
- |
32 |
-DESCRIPTION="Dynamic DNS client for lots of dynamic dns services" |
33 |
-HOMEPAGE="http://ez-ipupdate.com/" |
34 |
-SRC_URI="mirror://debian/pool/main/e/ez-ipupdate/${PN}_${MY_PV}.orig.tar.gz |
35 |
- mirror://debian/pool/main/e/ez-ipupdate/${PN}_${MY_PV}-${MY_PATCH}.diff.gz" |
36 |
- |
37 |
-LICENSE="GPL-2" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
40 |
-IUSE="" |
41 |
- |
42 |
-DEPEND="" |
43 |
-RDEPEND="" |
44 |
- |
45 |
-S="${WORKDIR}/${PN}-${MY_PV}" |
46 |
- |
47 |
-DISABLE_AUTOFORMATTING="yes" |
48 |
-DOC_CONTENTS=" |
49 |
-Please create one or more config files in |
50 |
-/etc/ez-ipupdate/. A bunch of samples can |
51 |
-be found in the doc directory. |
52 |
- |
53 |
-All config files must have a '.conf' extension. |
54 |
- |
55 |
-If you are using openRC you need to: |
56 |
-- Please do not use the 'run-as-user', 'run-as-euser', |
57 |
-'cache-file' and 'pidfile' options, since these are |
58 |
-handled internally by the init-script. |
59 |
- |
60 |
--If you want to use ez-ipupdate in daemon mode, |
61 |
-please add 'daemon' to the config file(s) and |
62 |
-add the ez-ipupdate init-script to the default runlevel. |
63 |
-Without the 'daemon' option, you can run the |
64 |
-init-script with the 'update' parameter inside |
65 |
-your PPP ip-up script. |
66 |
-" |
67 |
- |
68 |
-src_prepare() { |
69 |
- # apply debian patches |
70 |
- epatch "${WORKDIR}/${PN}_${MY_PV}-${MY_PATCH}.diff" |
71 |
- |
72 |
- # repair/apply additional debian patches |
73 |
- sed -i -e "s|^\(---\s*\)\.\./|\1|g" debian/patches/*.diff |
74 |
- EPATCH_SOURCE="${S}/debian/patches" EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch |
75 |
- |
76 |
- # adding members.3322.org support |
77 |
- epatch "${FILESDIR}/${P}-3322.diff" |
78 |
- |
79 |
- # adding www.dnsexit.com support |
80 |
- epatch "${FILESDIR}/${P}-dnsexit.diff" |
81 |
- |
82 |
- # make ez-ipupdate work with iproute2/dhcpcd under linux (bug #318905) |
83 |
- epatch "${FILESDIR}/${P}-linux.diff" |
84 |
- |
85 |
- # allows to set IPv6 via -a option, (bug #432764) |
86 |
- epatch "${FILESDIR}/${P}-ipv6.diff" |
87 |
- |
88 |
- # repair format mask issues |
89 |
- sed -i -e "s|\(\s*\)\(strlen(putbuf)\)|\1(int)\2|g" ez-ipupdate.c || die |
90 |
- |
91 |
- # comment out obsolete options |
92 |
- sed -i -e "s:^\(run-as-user.*\):#\1:g" \ |
93 |
- -e "s:^\(cache-file.*\):#\1:g" ex*conf || die |
94 |
- |
95 |
- # make 'missing' executable (bug #103480) |
96 |
- chmod +x missing |
97 |
-} |
98 |
- |
99 |
-src_configure() { |
100 |
- econf --bindir=/usr/sbin |
101 |
-} |
102 |
- |
103 |
-src_install() { |
104 |
- emake DESTDIR="${D}" install |
105 |
- newinitd "${FILESDIR}/ez-ipupdate.initd" ez-ipupdate |
106 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
107 |
- keepdir /etc/ez-ipupdate |
108 |
- |
109 |
- # install docs |
110 |
- dodoc README |
111 |
- newdoc debian/README.Debian README.debian |
112 |
- newdoc debian/changelog ChangeLog.debian |
113 |
- newdoc CHANGELOG ChangeLog |
114 |
- doman debian/ez-ipupdate.8 |
115 |
- |
116 |
- # install example configs |
117 |
- docinto examples |
118 |
- dodoc ex*conf |
119 |
- |
120 |
- readme.gentoo_create_doc |
121 |
-} |
122 |
- |
123 |
-pkg_preinst() { |
124 |
- enewgroup ez-ipupd |
125 |
- enewuser ez-ipupd -1 -1 /var/cache/ez-ipupdate ez-ipupd |
126 |
-} |
127 |
- |
128 |
-pkg_postinst() { |
129 |
- chmod 750 /etc/ez-ipupdate /var/cache/ez-ipupdate |
130 |
- chown ez-ipupd:ez-ipupd /etc/ez-ipupdate /var/cache/ez-ipupdate |
131 |
- |
132 |
- readme.gentoo_print_elog |
133 |
- |
134 |
- if [ -f /etc/ez-ipupdate.conf ]; then |
135 |
- elog "!!! IMPORTANT UPDATE NOTICE !!!" |
136 |
- elog |
137 |
- elog "The ez-ipupdate init-script can now handle more" |
138 |
- elog "than one config file. New config file location is" |
139 |
- elog "/etc/ez-ipupdate/*.conf" |
140 |
- elog |
141 |
- if [ ! -f /etc/ez-ipupdate/default.conf ]; then |
142 |
- mv -f /etc/ez-ipupdate.conf /etc/ez-ipupdate/default.conf |
143 |
- elog "Your old configuration has been moved to" |
144 |
- elog "/etc/ez-ipupdate/default.conf" |
145 |
- elog |
146 |
- fi |
147 |
- fi |
148 |
-} |