summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-02-16 11:28:53 +0000
committerPacho Ramos <pacho@gentoo.org>2013-02-16 11:28:53 +0000
commit353de70975b76c61c16d29b8cc730caa3c6b1da2 (patch)
treea833ffa897619642001f813a93a2f86ea93c65c6 /www-servers/lighttpd
parentDon't show elog messages always (#457596) (diff)
downloadgentoo-2-353de70975b76c61c16d29b8cc730caa3c6b1da2.tar.gz
gentoo-2-353de70975b76c61c16d29b8cc730caa3c6b1da2.tar.bz2
gentoo-2-353de70975b76c61c16d29b8cc730caa3c6b1da2.zip
Don't show elog messages always (#457596)
(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'www-servers/lighttpd')
-rw-r--r--www-servers/lighttpd/ChangeLog5
-rw-r--r--www-servers/lighttpd/lighttpd-1.4.32-r1.ebuild16
2 files changed, 13 insertions, 8 deletions
diff --git a/www-servers/lighttpd/ChangeLog b/www-servers/lighttpd/ChangeLog
index 39c7dfdc9844..e9b5ce182312 100644
--- a/www-servers/lighttpd/ChangeLog
+++ b/www-servers/lighttpd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-servers/lighttpd
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/ChangeLog,v 1.297 2013/02/06 19:36:51 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/ChangeLog,v 1.298 2013/02/16 11:28:53 pacho Exp $
+
+ 16 Feb 2013; Pacho Ramos <pacho@gentoo.org> lighttpd-1.4.32-r1.ebuild:
+ Don't show elog messages always (#457596)
06 Feb 2013; Markos Chandras <hwoarang@gentoo.org> files/lighttpd.initd:
Move lighttpd.pid from /var/run -> /run
diff --git a/www-servers/lighttpd/lighttpd-1.4.32-r1.ebuild b/www-servers/lighttpd/lighttpd-1.4.32-r1.ebuild
index d15c533e380e..ea7d7ee94c7b 100644
--- a/www-servers/lighttpd/lighttpd-1.4.32-r1.ebuild
+++ b/www-servers/lighttpd/lighttpd-1.4.32-r1.ebuild
@@ -1,10 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/lighttpd-1.4.32-r1.ebuild,v 1.1 2013/02/02 03:47:28 wired Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/lighttpd-1.4.32-r1.ebuild,v 1.2 2013/02/16 11:28:53 pacho Exp $
EAPI="4"
-
-inherit base autotools eutils depend.php user
+inherit base autotools eutils depend.php readme.gentoo user
DESCRIPTION="Lightweight high-performance web server"
HOMEPAGE="http://www.lighttpd.net/"
@@ -96,6 +95,9 @@ pkg_setup() {
fi
enewgroup lighttpd
enewuser lighttpd -1 -1 /var/www/localhost/htdocs lighttpd
+
+ DOC_CONTENTS="IPv6 migration guide:\n
+ http://redmine.lighttpd.net/projects/lighttpd/wiki/IPv6-Config"
}
src_prepare() {
@@ -109,6 +111,7 @@ src_prepare() {
fi
eautoreconf
}
+
src_configure() {
econf --libdir=/usr/$(get_libdir)/${PN} \
--enable-lfs \
@@ -171,6 +174,7 @@ src_install() {
# docs
dodoc AUTHORS README NEWS doc/scripts/*.sh
newdoc doc/config//lighttpd.conf lighttpd.conf.distrib
+ use ipv6 && readme.gentoo_create_doc
use doc && dohtml -r doc/*
@@ -192,10 +196,8 @@ src_install() {
}
pkg_postinst () {
- if use ipv6; then
- elog "IPv6 migration guide:"
- elog "http://redmine.lighttpd.net/projects/lighttpd/wiki/IPv6-Config"
- fi
+ use ipv6 && readme.gentoo_print_elog
+
if [[ -f ${ROOT}etc/conf.d/spawn-fcgi.conf ]] ; then
einfo "spawn-fcgi is now provided by www-servers/spawn-fcgi."
einfo "spawn-fcgi's init script configuration is now located"