1 |
pacho 14/07/08 15:54:44 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ez-ipupdate-3.0.11.13.3_beta8-r2.ebuild |
5 |
Removed: ez-ipupdate-3.0.11.13.3_beta8-r1.ebuild |
6 |
Log: |
7 |
Add unit file (#501874 by Martin Vath), use readme.gentoo.eclass |
8 |
|
9 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
10 |
|
11 |
Revision Changes Path |
12 |
1.39 net-dns/ez-ipupdate/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/ez-ipupdate/ChangeLog?rev=1.39&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/ez-ipupdate/ChangeLog?rev=1.39&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/ez-ipupdate/ChangeLog?r1=1.38&r2=1.39 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-dns/ez-ipupdate/ChangeLog,v |
21 |
retrieving revision 1.38 |
22 |
retrieving revision 1.39 |
23 |
diff -u -r1.38 -r1.39 |
24 |
--- ChangeLog 26 Jun 2014 13:02:31 -0000 1.38 |
25 |
+++ ChangeLog 8 Jul 2014 15:54:44 -0000 1.39 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for net-dns/ez-ipupdate |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-dns/ez-ipupdate/ChangeLog,v 1.38 2014/06/26 13:02:31 kensington Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ez-ipupdate/ChangeLog,v 1.39 2014/07/08 15:54:44 pacho Exp $ |
31 |
+ |
32 |
+*ez-ipupdate-3.0.11.13.3_beta8-r2 (08 Jul 2014) |
33 |
+ |
34 |
+ 08 Jul 2014; Pacho Ramos <pacho@g.o> |
35 |
+ +ez-ipupdate-3.0.11.13.3_beta8-r2.ebuild, +files/ez-ipupdate.service, |
36 |
+ -ez-ipupdate-3.0.11.13.3_beta8-r1.ebuild: |
37 |
+ Add unit file (#501874 by Martin Vath), use readme.gentoo.eclass |
38 |
|
39 |
26 Jun 2014; Michael Palimaka <kensington@g.o> |
40 |
-ez-ipupdate-3.0.11.13.3_beta8.ebuild, |
41 |
|
42 |
|
43 |
|
44 |
1.1 net-dns/ez-ipupdate/ez-ipupdate-3.0.11.13.3_beta8-r2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/ez-ipupdate/ez-ipupdate-3.0.11.13.3_beta8-r2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/ez-ipupdate/ez-ipupdate-3.0.11.13.3_beta8-r2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: ez-ipupdate-3.0.11.13.3_beta8-r2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2014 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/net-dns/ez-ipupdate/ez-ipupdate-3.0.11.13.3_beta8-r2.ebuild,v 1.1 2014/07/08 15:54:44 pacho Exp $ |
54 |
|
55 |
EAPI="5" |
56 |
inherit eutils readme.gentoo systemd user versionator |
57 |
|
58 |
MY_BETA="$(get_version_component_range 6)" |
59 |
MY_PATCH="$(get_version_component_range 4-5)" |
60 |
MY_PV="$(get_version_component_range 1-3)${MY_BETA/beta/b}" |
61 |
|
62 |
DESCRIPTION="Dynamic DNS client for lots of dynamic dns services" |
63 |
HOMEPAGE="http://ez-ipupdate.com/" |
64 |
SRC_URI="mirror://debian/pool/main/e/ez-ipupdate/${PN}_${MY_PV}.orig.tar.gz |
65 |
mirror://debian/pool/main/e/ez-ipupdate/${PN}_${MY_PV}-${MY_PATCH}.diff.gz" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
70 |
IUSE="" |
71 |
|
72 |
DEPEND="" |
73 |
RDEPEND="" |
74 |
|
75 |
S="${WORKDIR}/${PN}-${MY_PV}" |
76 |
|
77 |
DISABLE_AUTOFORMATTING="yes" |
78 |
DOC_CONTENTS=" |
79 |
Please create one or more config files in |
80 |
/etc/ez-ipupdate/. A bunch of samples can |
81 |
be found in the doc directory. |
82 |
|
83 |
All config files must have a '.conf' extension. |
84 |
|
85 |
If you are using openRC you need to: |
86 |
- Please do not use the 'run-as-user', 'run-as-euser', |
87 |
'cache-file' and 'pidfile' options, since these are |
88 |
handled internally by the init-script. |
89 |
|
90 |
-If you want to use ez-ipupdate in daemon mode, |
91 |
please add 'daemon' to the config file(s) and |
92 |
add the ez-ipupdate init-script to the default runlevel. |
93 |
Without the 'daemon' option, you can run the |
94 |
init-script with the 'update' parameter inside |
95 |
your PPP ip-up script. |
96 |
" |
97 |
|
98 |
src_prepare() { |
99 |
# apply debian patches |
100 |
epatch "${WORKDIR}/${PN}_${MY_PV}-${MY_PATCH}.diff" |
101 |
|
102 |
# repair/apply additional debian patches |
103 |
sed -i -e "s|^\(---\s*\)\.\./|\1|g" debian/patches/*.diff |
104 |
EPATCH_SOURCE="${S}/debian/patches" EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch |
105 |
|
106 |
# adding members.3322.org support |
107 |
epatch "${FILESDIR}/${P}-3322.diff" |
108 |
|
109 |
# adding www.dnsexit.com support |
110 |
epatch "${FILESDIR}/${P}-dnsexit.diff" |
111 |
|
112 |
# make ez-ipupdate work with iproute2/dhcpcd under linux (bug #318905) |
113 |
epatch "${FILESDIR}/${P}-linux.diff" |
114 |
|
115 |
# allows to set IPv6 via -a option, (bug #432764) |
116 |
epatch "${FILESDIR}/${P}-ipv6.diff" |
117 |
|
118 |
# repair format mask issues |
119 |
sed -i -e "s|\(\s*\)\(strlen(putbuf)\)|\1(int)\2|g" ez-ipupdate.c || die |
120 |
|
121 |
# comment out obsolete options |
122 |
sed -i -e "s:^\(run-as-user.*\):#\1:g" \ |
123 |
-e "s:^\(cache-file.*\):#\1:g" ex*conf || die |
124 |
|
125 |
# make 'missing' executable (bug #103480) |
126 |
chmod +x missing |
127 |
} |
128 |
|
129 |
src_configure() { |
130 |
econf --bindir=/usr/sbin |
131 |
} |
132 |
|
133 |
src_install() { |
134 |
emake DESTDIR="${D}" install |
135 |
newinitd "${FILESDIR}/ez-ipupdate.initd" ez-ipupdate |
136 |
systemd_dounit "${FILESDIR}/${PN}.service" |
137 |
keepdir /etc/ez-ipupdate |
138 |
|
139 |
# install docs |
140 |
dodoc README |
141 |
newdoc debian/README.Debian README.debian |
142 |
newdoc debian/changelog ChangeLog.debian |
143 |
newdoc CHANGELOG ChangeLog |
144 |
doman debian/ez-ipupdate.8 |
145 |
|
146 |
# install example configs |
147 |
docinto examples |
148 |
dodoc ex*conf |
149 |
|
150 |
readme.gentoo_create_doc |
151 |
} |
152 |
|
153 |
pkg_preinst() { |
154 |
enewgroup ez-ipupd |
155 |
enewuser ez-ipupd -1 -1 /var/cache/ez-ipupdate ez-ipupd |
156 |
} |
157 |
|
158 |
pkg_postinst() { |
159 |
chmod 750 /etc/ez-ipupdate /var/cache/ez-ipupdate |
160 |
chown ez-ipupd:ez-ipupd /etc/ez-ipupdate /var/cache/ez-ipupdate |
161 |
|
162 |
readme.gentoo_print_elog |
163 |
|
164 |
if [ -f /etc/ez-ipupdate.conf ]; then |
165 |
elog "!!! IMPORTANT UPDATE NOTICE !!!" |
166 |
elog |
167 |
elog "The ez-ipupdate init-script can now handle more" |
168 |
elog "than one config file. New config file location is" |
169 |
elog "/etc/ez-ipupdate/*.conf" |
170 |
elog |
171 |
if [ ! -f /etc/ez-ipupdate/default.conf ]; then |
172 |
mv -f /etc/ez-ipupdate.conf /etc/ez-ipupdate/default.conf |
173 |
elog "Your old configuration has been moved to" |
174 |
elog "/etc/ez-ipupdate/default.conf" |
175 |
elog |
176 |
fi |
177 |
fi |
178 |
} |