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