commit:     6d11fbcd4176074fe1dbce19e620fae7e9dcb228
Author:     Glenn Strauss <gstrauss <AT> gluelogic <DOT> com>
AuthorDate: Sat Mar 16 22:39:38 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May  6 16:32:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d11fbcd

www-servers/lighttpd: refresh lighttpd-1.4.75.ebuild

* use https://wiki.lighttpd.net/ links to lighttpd wiki doc
* add dev-db/sqlite dependency which is used by mod_webdav
* remove e2fsprogs; mod_webdav no longer uses uuid_*() from e2fsprogs
* remove libev; no longer used by lighttpd
  lighttpd directly uses native event frameworks (e.g. epoll)
* remove 2+ year old deprecation warning trace
* remove reference to lighttpd2; no lighttpd2 production release planned

[sam: I've rebased this to fork the changes into a new ebuild revision
(1.4.75-r1). Any errors in rebasing are mine and not Glenn's.]

Signed-off-by: Glenn Strauss <gstrauss <AT> gluelogic.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-servers/lighttpd/lighttpd-1.4.75-r1.ebuild | 15 +++------------
 www-servers/lighttpd/metadata.xml              |  1 -
 2 files changed, 3 insertions(+), 13 deletions(-)

diff --git a/www-servers/lighttpd/lighttpd-1.4.75-r1.ebuild 
b/www-servers/lighttpd/lighttpd-1.4.75-r1.ebuild
index 7f2690ba090d..2e375ce90cdd 100644
--- a/www-servers/lighttpd/lighttpd-1.4.75-r1.ebuild
+++ b/www-servers/lighttpd/lighttpd-1.4.75-r1.ebuild
@@ -49,7 +49,7 @@ COMMON_DEPEND="
        unwind? ( sys-libs/libunwind:= )
        webdav? (
                dev-libs/libxml2
-               sys-fs/e2fsprogs
+               dev-db/sqlite
        )
        xattr? ( kernel_linux? ( sys-apps/attr ) )
        zlib? ( >=sys-libs/zlib-1.1 )
@@ -100,7 +100,7 @@ pkg_setup() {
        fi
 
        DOC_CONTENTS="IPv6 migration guide:\n
-               https://redmine.lighttpd.net/projects/lighttpd/wiki/IPv6-Config
+               https://wiki.lighttpd.net/IPv6-Config
        "
 }
 
@@ -124,9 +124,6 @@ src_configure() {
                $(meson_feature kerberos with_krb5)
                $(meson_feature ldap with_ldap)
 
-               # TODO: revisit (was off in autotools ebuild)
-               -Dwith_libev=disabled
-
                $(meson_feature unwind with_libunwind)
 
                $(meson_use lua with_lua)
@@ -195,7 +192,7 @@ src_install() {
        fowners lighttpd:lighttpd /var/l{ib,og}/lighttpd
        fperms 0750 /var/l{ib,og}/lighttpd
 
-       systemd_dounit "${FILESDIR}"/${PN}.service-r1 ${PN}.service
+       systemd_newunit "${FILESDIR}"/${PN}.service-r1 ${PN}.service
        newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.conf ${PN}.conf
 }
 
@@ -217,10 +214,4 @@ pkg_postinst() {
                elog "output compression!"
                elog "https://wiki.lighttpd.net/Docs_ModDeflate";
        fi
-
-       elog
-       elog "Upstream has deprecated a number of features. They are not 
missing"
-       elog "but have been migrated to other mechanisms. Please see upstream"
-       elog "changelog for details."
-       elog "https://www.lighttpd.net/2022/1/19/1.4.64/";
 }

diff --git a/www-servers/lighttpd/metadata.xml 
b/www-servers/lighttpd/metadata.xml
index 5b9bf4db4d25..33390f7e2be2 100644
--- a/www-servers/lighttpd/metadata.xml
+++ b/www-servers/lighttpd/metadata.xml
@@ -26,6 +26,5 @@
        </use>
        <upstream>
                <remote-id type="github">lighttpd/lighttpd1.4</remote-id>
-               <remote-id type="github">lighttpd/lighttpd2</remote-id>
        </upstream>
 </pkgmetadata>

Reply via email to