1 |
hwoarang 12/06/01 21:12:21 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: lighttpd-1.4.31.ebuild |
5 |
Removed: lighttpd-1.4.25-r3.ebuild lighttpd-1.4.28-r3.ebuild |
6 |
lighttpd-1.4.25-r2.ebuild lighttpd-1.4.26-r2.ebuild |
7 |
lighttpd-1.4.28-r4.ebuild lighttpd-1.4.23-r1.ebuild |
8 |
Log: |
9 |
Version bump |
10 |
|
11 |
(Portage version: 2.1.10.63/cvs/Linux x86_64) |
12 |
|
13 |
Revision Changes Path |
14 |
1.14 www-servers/lighttpd/metadata.xml |
15 |
|
16 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/metadata.xml?rev=1.14&view=markup |
17 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/metadata.xml?rev=1.14&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/metadata.xml?r1=1.13&r2=1.14 |
19 |
|
20 |
Index: metadata.xml |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/www-servers/lighttpd/metadata.xml,v |
23 |
retrieving revision 1.13 |
24 |
retrieving revision 1.14 |
25 |
diff -u -r1.13 -r1.14 |
26 |
--- metadata.xml 21 Mar 2012 11:31:43 -0000 1.13 |
27 |
+++ metadata.xml 1 Jun 2012 21:12:21 -0000 1.14 |
28 |
@@ -21,6 +21,7 @@ |
29 |
<flag name='libev'>Enable fdevent handler</flag> |
30 |
<flag name='memcache'>Enable memcache support for mod_cml and |
31 |
mod_trigger_b4_dl</flag> |
32 |
+ <flag name='mmap'>Use mmap with files owned by lighttpd. This is a dangerous option as it may allow local users to trigger SIGBUS crashes.</flag> |
33 |
<flag name='rrdtool'>Enable rrdtool support via mod_rrdtool</flag> |
34 |
<flag name='uploadprogress'>Apply experimental patch for upload progress module</flag> |
35 |
<flag name='webdav'>Enable webdav properties</flag> |
36 |
|
37 |
|
38 |
|
39 |
1.277 www-servers/lighttpd/ChangeLog |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/ChangeLog?rev=1.277&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/ChangeLog?rev=1.277&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/ChangeLog?r1=1.276&r2=1.277 |
44 |
|
45 |
Index: ChangeLog |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/www-servers/lighttpd/ChangeLog,v |
48 |
retrieving revision 1.276 |
49 |
retrieving revision 1.277 |
50 |
diff -u -r1.276 -r1.277 |
51 |
--- ChangeLog 2 May 2012 21:49:38 -0000 1.276 |
52 |
+++ ChangeLog 1 Jun 2012 21:12:21 -0000 1.277 |
53 |
@@ -1,6 +1,14 @@ |
54 |
# ChangeLog for www-servers/lighttpd |
55 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/ChangeLog,v 1.276 2012/05/02 21:49:38 jdhore Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/ChangeLog,v 1.277 2012/06/01 21:12:21 hwoarang Exp $ |
58 |
+ |
59 |
+*lighttpd-1.4.31 (01 Jun 2012) |
60 |
+ |
61 |
+ 01 Jun 2012; Markos Chandras <hwoarang@g.o> +lighttpd-1.4.31.ebuild, |
62 |
+ -lighttpd-1.4.23-r1.ebuild, -lighttpd-1.4.25-r2.ebuild, |
63 |
+ -lighttpd-1.4.25-r3.ebuild, -lighttpd-1.4.26-r2.ebuild, |
64 |
+ -lighttpd-1.4.28-r3.ebuild, -lighttpd-1.4.28-r4.ebuild, metadata.xml: |
65 |
+ Version bump |
66 |
|
67 |
02 May 2012; Jeff Horelick <jdhore@g.o> lighttpd-1.4.23-r1.ebuild, |
68 |
lighttpd-1.4.25-r2.ebuild, lighttpd-1.4.25-r3.ebuild, |
69 |
|
70 |
|
71 |
|
72 |
1.1 www-servers/lighttpd/lighttpd-1.4.31.ebuild |
73 |
|
74 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/lighttpd-1.4.31.ebuild?rev=1.1&view=markup |
75 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/lighttpd/lighttpd-1.4.31.ebuild?rev=1.1&content-type=text/plain |
76 |
|
77 |
Index: lighttpd-1.4.31.ebuild |
78 |
=================================================================== |
79 |
# Copyright 1999-2012 Gentoo Foundation |
80 |
# Distributed under the terms of the GNU General Public License v2 |
81 |
# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/lighttpd-1.4.31.ebuild,v 1.1 2012/06/01 21:12:21 hwoarang Exp $ |
82 |
|
83 |
EAPI="4" |
84 |
|
85 |
inherit base autotools eutils depend.php |
86 |
|
87 |
DESCRIPTION="Lightweight high-performance web server" |
88 |
HOMEPAGE="http://www.lighttpd.net/" |
89 |
SRC_URI="http://download.lighttpd.net/lighttpd/releases-1.4.x/${P}.tar.bz2" |
90 |
|
91 |
LICENSE="BSD" |
92 |
SLOT="0" |
93 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
94 |
IUSE="bzip2 doc fam gdbm ipv6 kerberos ldap libev lua minimal mmap memcache mysql pcre php rrdtool selinux ssl test uploadprogress webdav xattr zlib" |
95 |
|
96 |
REQUIRED_USE="kerberos? ( ssl )" |
97 |
|
98 |
RDEPEND=" |
99 |
bzip2? ( app-arch/bzip2 ) |
100 |
fam? ( virtual/fam ) |
101 |
gdbm? ( sys-libs/gdbm ) |
102 |
ldap? ( >=net-nds/openldap-2.1.26 ) |
103 |
libev? ( >=dev-libs/libev-4.01 ) |
104 |
lua? ( >=dev-lang/lua-5.1 ) |
105 |
memcache? ( dev-libs/libmemcache ) |
106 |
mysql? ( >=virtual/mysql-4.0 ) |
107 |
pcre? ( >=dev-libs/libpcre-3.1 ) |
108 |
php? ( dev-lang/php[cgi] ) |
109 |
rrdtool? ( net-analyzer/rrdtool ) |
110 |
selinux? ( sec-policy/selinux-apache ) |
111 |
ssl? ( >=dev-libs/openssl-0.9.7[kerberos?] ) |
112 |
webdav? ( |
113 |
dev-libs/libxml2 |
114 |
>=dev-db/sqlite-3 |
115 |
sys-fs/e2fsprogs |
116 |
) |
117 |
xattr? ( kernel_linux? ( sys-apps/attr ) ) |
118 |
zlib? ( >=sys-libs/zlib-1.1 )" |
119 |
|
120 |
DEPEND="${RDEPEND} |
121 |
virtual/pkgconfig |
122 |
doc? ( dev-python/docutils ) |
123 |
test? ( |
124 |
virtual/perl-Test-Harness |
125 |
dev-libs/fcgi |
126 |
)" |
127 |
|
128 |
# update certain parts of lighttpd.conf based on conditionals |
129 |
update_config() { |
130 |
local config="${D}/etc/lighttpd/lighttpd.conf" |
131 |
|
132 |
# enable php/mod_fastcgi settings |
133 |
use php && { sed -i -e 's|#.*\(include.*fastcgi.*$\)|\1|' ${config} || die; } |
134 |
|
135 |
# enable stat() caching |
136 |
use fam && { sed -i -e 's|#\(.*stat-cache.*$\)|\1|' ${config} || die; } |
137 |
|
138 |
# automatically listen on IPv6 if built with USE=ipv6. Bug #234987 |
139 |
use ipv6 && { sed -i -e 's|# server.use-ipv6|server.use-ipv6|' ${config} || die; } |
140 |
} |
141 |
|
142 |
# remove non-essential stuff (for USE=minimal) |
143 |
remove_non_essential() { |
144 |
local libdir="${D}/usr/$(get_libdir)/${PN}" |
145 |
|
146 |
# text docs |
147 |
use doc || rm -fr "${D}"/usr/share/doc/${PF}/txt |
148 |
|
149 |
# non-essential modules |
150 |
rm -f \ |
151 |
${libdir}/mod_{compress,evhost,expire,proxy,scgi,secdownload,simple_vhost,status,setenv,trigger*,usertrack}.* |
152 |
|
153 |
# allow users to keep some based on USE flags |
154 |
use pcre || rm -f ${libdir}/mod_{ssi,re{direct,write}}.* |
155 |
use webdav || rm -f ${libdir}/mod_webdav.* |
156 |
use mysql || rm -f ${libdir}/mod_mysql_vhost.* |
157 |
use lua || rm -f ${libdir}/mod_{cml,magnet}.* |
158 |
use rrdtool || rm -f ${libdir}/mod_rrdtool.* |
159 |
use zlib || rm -f ${libdir}/mod_compress.* |
160 |
} |
161 |
|
162 |
pkg_setup() { |
163 |
if ! use pcre ; then |
164 |
ewarn "It is highly recommended that you build ${PN}" |
165 |
ewarn "with perl regular expressions support via USE=pcre." |
166 |
ewarn "Otherwise you lose support for some core options such" |
167 |
ewarn "as conditionals and modules such as mod_re{write,direct}" |
168 |
ewarn "and mod_ssi." |
169 |
fi |
170 |
if use mmap; then |
171 |
ewarn "You have enabled the mmap option. This option may allow" |
172 |
ewarn "local users to trigger SIGBUG crashes. Use this option" |
173 |
ewarn "with EXTRA care." |
174 |
fi |
175 |
enewgroup lighttpd |
176 |
enewuser lighttpd -1 -1 /var/www/localhost/htdocs lighttpd |
177 |
} |
178 |
|
179 |
src_prepare() { |
180 |
base_src_prepare |
181 |
#dev-python/docutils installs rst2html.py not rst2html |
182 |
sed -i -e 's|\(rst2html\)|\1.py|g' doc/outdated/Makefile.am || \ |
183 |
die "sed doc/Makefile.am failed" |
184 |
# Experimental patch for progress bar. Bug #380093 |
185 |
if use uploadprogress; then |
186 |
epatch "${FILESDIR}"/${PN}-1.4.29-mod_uploadprogress.patch |
187 |
fi |
188 |
eautoreconf |
189 |
} |
190 |
src_configure() { |
191 |
econf --libdir=/usr/$(get_libdir)/${PN} \ |
192 |
--enable-lfs \ |
193 |
$(use_enable ipv6) \ |
194 |
$(use_with bzip2) \ |
195 |
$(use_with fam) \ |
196 |
$(use_with gdbm) \ |
197 |
$(use_with kerberos kerberos5) \ |
198 |
$(use_with ldap) \ |
199 |
$(use_with libev) \ |
200 |
$(use_with lua) \ |
201 |
$(use_with memcache) \ |
202 |
$(use_with mmap) \ |
203 |
$(use_with mysql) \ |
204 |
$(use_with pcre) \ |
205 |
$(use_with ssl openssl) \ |
206 |
$(use_with webdav webdav-props) \ |
207 |
$(use_with webdav webdav-locks) \ |
208 |
$(use_with xattr attr) \ |
209 |
$(use_with zlib) |
210 |
} |
211 |
|
212 |
src_compile() { |
213 |
emake |
214 |
|
215 |
if use doc ; then |
216 |
einfo "Building HTML documentation" |
217 |
cd doc || die |
218 |
emake html |
219 |
fi |
220 |
} |
221 |
|
222 |
src_test() { |
223 |
if [[ ${EUID} -eq 0 ]]; then |
224 |
default_src_test |
225 |
else |
226 |
ewarn "test skipped, please re-run as root if you wish to test ${PN}" |
227 |
fi |
228 |
} |
229 |
|
230 |
src_install() { |
231 |
emake DESTDIR="${D}" install |
232 |
|
233 |
# init script stuff |
234 |
newinitd "${FILESDIR}"/lighttpd.initd lighttpd |
235 |
newconfd "${FILESDIR}"/lighttpd.confd lighttpd |
236 |
use fam && has_version app-admin/fam && \ |
237 |
{ sed -i 's/after famd/need famd/g' "${D}"/etc/init.d/lighttpd || die; } |
238 |
|
239 |
# configs |
240 |
insinto /etc/lighttpd |
241 |
doins "${FILESDIR}"/conf/lighttpd.conf |
242 |
doins "${FILESDIR}"/conf/mime-types.conf |
243 |
doins "${FILESDIR}"/conf/mod_cgi.conf |
244 |
doins "${FILESDIR}"/conf/mod_fastcgi.conf |
245 |
# Secure directory for fastcgi sockets |
246 |
keepdir /var/run/lighttpd/ |
247 |
fperms 0750 /var/run/lighttpd/ |
248 |
fowners lighttpd:lighttpd /var/run/lighttpd/ |
249 |
|
250 |
# update lighttpd.conf directives based on conditionals |
251 |
update_config |
252 |
|
253 |
# docs |
254 |
dodoc AUTHORS README NEWS doc/scripts/*.sh |
255 |
newdoc doc/config//lighttpd.conf lighttpd.conf.distrib |
256 |
|
257 |
use doc && dohtml -r doc/* |
258 |
|
259 |
docinto txt |
260 |
dodoc doc/outdated/*.txt |
261 |
|
262 |
# logrotate |
263 |
insinto /etc/logrotate.d |
264 |
newins "${FILESDIR}"/lighttpd.logrotate lighttpd |
265 |
|
266 |
keepdir /var/l{ib,og}/lighttpd /var/www/localhost/htdocs |
267 |
fowners lighttpd:lighttpd /var/l{ib,og}/lighttpd |
268 |
fperms 0750 /var/l{ib,og}/lighttpd |
269 |
|
270 |
#spawn-fcgi may optionally be installed via www-servers/spawn-fcgi |
271 |
rm -f "${D}"/usr/bin/spawn-fcgi "${D}"/usr/share/man/man1/spawn-fcgi.* |
272 |
|
273 |
use minimal && remove_non_essential |
274 |
} |
275 |
|
276 |
pkg_postinst () { |
277 |
if use ipv6; then |
278 |
elog "IPv6 migration guide:" |
279 |
elog "http://redmine.lighttpd.net/projects/lighttpd/wiki/IPv6-Config" |
280 |
fi |
281 |
if [[ -f ${ROOT}etc/conf.d/spawn-fcgi.conf ]] ; then |
282 |
einfo "spawn-fcgi is now provided by www-servers/spawn-fcgi." |
283 |
einfo "spawn-fcgi's init script configuration is now located" |
284 |
einfo "at /etc/conf.d/spawn-fcgi." |
285 |
fi |
286 |
|
287 |
if [[ -f ${ROOT}etc/lighttpd.conf ]] ; then |
288 |
elog "Gentoo has a customized configuration," |
289 |
elog "which is now located in /etc/lighttpd. Please migrate your" |
290 |
elog "existing configuration." |
291 |
fi |
292 |
|
293 |
if use uploadprogress; then |
294 |
elog "WARNING! mod_uploadprogress is a backported module from the" |
295 |
elog "1.5x-branch, which is not considered stable yet. Please go to" |
296 |
elog "http://redmine.lighttpd.net/wiki/1/Docs:ModUploadProgress" |
297 |
elog "for more information. This configuration also is NOT supported" |
298 |
elog "by upstream, so please refrain from reporting bugs. You have" |
299 |
elog "been warned!" |
300 |
fi |
301 |
} |