public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/lighttpd/
Date: Sun, 12 Feb 2023 04:00:29 +0000 (UTC)	[thread overview]
Message-ID: <1676174420.0c52388acd6d9abb8fc5ba6f0101f93eb4222881.sam@gentoo> (raw)

commit:     0c52388acd6d9abb8fc5ba6f0101f93eb4222881
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 12 04:00:00 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 12 04:00:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c52388a

www-servers/lighttpd: add 1.4.69

Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-servers/lighttpd/Manifest               |   1 +
 www-servers/lighttpd/lighttpd-1.4.69.ebuild | 237 ++++++++++++++++++++++++++++
 2 files changed, 238 insertions(+)

diff --git a/www-servers/lighttpd/Manifest b/www-servers/lighttpd/Manifest
index 5f642e338314..c24aaabc7eea 100644
--- a/www-servers/lighttpd/Manifest
+++ b/www-servers/lighttpd/Manifest
@@ -1,2 +1,3 @@
 DIST lighttpd-1.4.67.tar.xz 1039872 BLAKE2B e8e32970fe8b6e36fbee0c5104c8f42f846531c75689ad8e561e8eef9e92c69989a094d18ad65e4c404ea69d67dd960c57ef91773f9b5599bfd6072e5d4588d9 SHA512 acfde71675d1c54b4e805998d1dabaa291437181bdbca0d6a3a069584c4576d7585d2401f57f8691f23aaf6283a95ac61156789a055a2a7236fd305c1f248627
 DIST lighttpd-1.4.68.tar.xz 1030612 BLAKE2B 5682194a9e124598daf22bca56826535ac48f1c89087238f2a455cd4cb0f12287ce79ab5a7b6ca966003772335e6a14d484658300e401c098b4e87a7207198c4 SHA512 137cf62e3c7b07d1dc4af50318f1ec67bbf60058ad1a4fef0b1c94668916e23cfcdf85fe9cd728163e55c1b21f4831b9ab922fcf6b6ba8e2a03b2f73a9694189
+DIST lighttpd-1.4.69.tar.xz 1045516 BLAKE2B 4b9c15bd69db5afcf40c3df41831d2fcecbb4149a8cfef582e7dfe80328d515a1021baa32c17e0f89d81c9726dbbe8480d9d319684d38a11961b28d2d0224e9c SHA512 9d174c8e0a192b4eb8218a9f76b0bd42f90030228600bb7bbe35ebb9e7bbaea36ee2732535c5cc6dab171294817837bfa26074ff84a37832dd89f57488b4071f

diff --git a/www-servers/lighttpd/lighttpd-1.4.69.ebuild b/www-servers/lighttpd/lighttpd-1.4.69.ebuild
new file mode 100644
index 000000000000..d8c68c6d4ed0
--- /dev/null
+++ b/www-servers/lighttpd/lighttpd-1.4.69.ebuild
@@ -0,0 +1,237 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} )
+
+inherit lua-single meson readme.gentoo-r1 systemd tmpfiles
+
+DESCRIPTION="Lightweight high-performance web server"
+HOMEPAGE="https://www.lighttpd.net https://github.com/lighttpd"
+SRC_URI="https://download.lighttpd.net/lighttpd/releases-$(ver_cut 1-2).x/${P}.tar.xz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="+brotli dbi gnutls kerberos ldap +lua maxminddb mbedtls mmap mysql +nettle nss +pcre php postgres rrdtool sasl selinux ssl sqlite +system-xxhash test unwind webdav xattr +zlib zstd"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+	lua? ( ${LUA_REQUIRED_USE} )
+	mysql? ( dbi )
+	postgres? ( dbi )
+	sqlite? ( dbi )
+	webdav? ( sqlite )
+"
+
+COMMON_DEPEND="
+	acct-group/lighttpd
+	acct-user/lighttpd
+	virtual/libcrypt:=
+	brotli? ( app-arch/brotli:= )
+	dbi? (
+		dev-db/libdbi
+		mysql? ( dev-db/libdbi-drivers[mysql] )
+		postgres? ( dev-db/libdbi-drivers[postgres] )
+		sqlite? ( dev-db/libdbi-drivers[sqlite] )
+	)
+	gnutls? ( net-libs/gnutls )
+	kerberos? ( virtual/krb5 )
+	ldap? ( >=net-nds/openldap-2.1.26:= )
+	lua? ( ${LUA_DEPS} )
+	maxminddb? ( dev-libs/libmaxminddb )
+	mbedtls? ( net-libs/mbedtls )
+	nettle? ( dev-libs/nettle:= )
+	nss? ( dev-libs/nss )
+	pcre? ( dev-libs/libpcre2 )
+	php? ( dev-lang/php:*[cgi] )
+	rrdtool? ( net-analyzer/rrdtool )
+	sasl? ( dev-libs/cyrus-sasl )
+	ssl? ( >=dev-libs/openssl-0.9.7:= )
+	system-xxhash? ( dev-libs/xxhash )
+	unwind? ( sys-libs/libunwind:= )
+	webdav? (
+		dev-libs/libxml2
+		sys-fs/e2fsprogs
+	)
+	xattr? ( kernel_linux? ( sys-apps/attr ) )
+	zlib? ( >=sys-libs/zlib-1.1 )
+	zstd? ( app-arch/zstd:= )
+"
+DEPEND="
+	${COMMON_DEPEND}
+	elibc_musl? ( sys-libs/queue-standalone )
+"
+RDEPEND="
+	${COMMON_DEPEND}
+	selinux? ( sec-policy/selinux-apache )
+"
+BDEPEND="
+	virtual/pkgconfig
+	test? ( virtual/perl-Test-Harness )
+"
+
+# update certain parts of lighttpd.conf based on conditionals
+update_config() {
+	local config="${ED}/etc/lighttpd/lighttpd.conf"
+
+	# Enable php/mod_fastcgi settings
+	if use php; then
+		sed -i -e 's|#.*\(include.*fastcgi.*$\)|\1|' ${config} || die
+	fi
+
+	# Automatically listen on IPv6 if built with USE=ipv6 (which we now always do)
+	# bug #234987
+	sed -i -e 's|# server.use-ipv6|server.use-ipv6|' ${config} || die
+}
+
+pkg_setup() {
+	if use lua; then
+		lua-single_pkg_setup
+	fi
+
+	if ! use pcre ; then
+		ewarn "It is highly recommended that you build ${PN}"
+		ewarn "with perl regular expressions support via USE=pcre."
+		ewarn "Otherwise you lose support for some core options such"
+		ewarn "as conditionals and modules such as mod_re{write,direct}."
+	fi
+
+	DOC_CONTENTS="IPv6 migration guide:\n
+		http://redmine.lighttpd.net/projects/lighttpd/wiki/IPv6-Config"
+}
+
+src_configure() {
+	local emesonargs=(
+		-Dmoduledir="$(get_libdir)"/${PN}
+
+		$(meson_feature brotli with_brotli)
+
+		# TODO: revisit (was off in autotools ebuild)
+		-Dwith_bzip=disabled
+
+		$(meson_feature dbi with_dbi)
+
+		# Unpackaged in Gentoo
+		-Dwith_libdeflate=disabled
+		# Obsolete
+		-Dwith_fam=disabled
+
+		$(meson_use gnutls with_gnutls)
+		$(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)
+		-Dlua_version=${ELUA}
+
+		$(meson_feature maxminddb with_maxminddb)
+		$(meson_use mbedtls with_mbedtls)
+
+		# TODO: revisit (was off in autotools ebuild)
+		-Dwith_mysql=disabled
+
+		$(meson_use nettle with_nettle)
+		$(meson_use nss with_nss)
+
+		# Obsolete
+		-Dwith_pcre=disabled
+
+		$(meson_use pcre with_pcre2)
+
+		# TODO: revisit (was off in autotools ebuild)
+		-Dwith_pgsql=disabled
+
+		$(meson_feature sasl with_sasl)
+		$(meson_use ssl with_openssl)
+		$(meson_feature system-xxhash with_xxhash)
+		$(meson_feature webdav with_webdav_props)
+		$(meson_feature webdav with_webdav_locks)
+
+		# Unpackaged in Gentoo
+		-Dwith_wolfssl=false
+
+		$(meson_use xattr with_xattr)
+		$(meson_feature zlib with_zlib)
+		$(meson_feature zstd with_zstd)
+	)
+
+	meson_src_configure
+}
+
+src_install() {
+	meson_src_install
+
+	# Init script stuff
+	newinitd "${FILESDIR}"/lighttpd.initd-r1 lighttpd
+	newconfd "${FILESDIR}"/lighttpd.confd lighttpd
+
+	# Configs
+	insinto /etc/lighttpd
+	newins "${FILESDIR}"/conf/lighttpd.conf-r1 lighttpd.conf
+	doins "${FILESDIR}"/conf/mime-types.conf
+	doins "${FILESDIR}"/conf/mod_cgi.conf
+	doins "${FILESDIR}"/conf/mod_fastcgi.conf
+
+	# Update lighttpd.conf directives based on conditionals
+	update_config
+
+	# Docs
+	dodoc AUTHORS README NEWS doc/scripts/*.sh
+	newdoc doc/config/lighttpd.conf lighttpd.conf.distrib
+	readme.gentoo_create_doc
+
+	docinto txt
+	dodoc doc/outdated/*.txt
+
+	doman doc/*.8
+
+	# Logrotate
+	insinto /etc/logrotate.d
+	newins "${FILESDIR}"/lighttpd.logrotate-r1 lighttpd
+
+	keepdir /var/l{ib,og}/lighttpd /var/www/localhost/htdocs
+	fowners lighttpd:lighttpd /var/l{ib,og}/lighttpd
+	fperms 0750 /var/l{ib,og}/lighttpd
+
+	systemd_dounit "${FILESDIR}"/${PN}.service
+	newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.conf ${PN}.conf
+}
+
+pkg_postinst() {
+	tmpfiles_process ${PN}.conf
+
+	readme.gentoo_print_elog
+
+	if [[ -f ${EROOT}/etc/lighttpd.conf ]] ; then
+		elog
+		elog "Gentoo has a customized configuration,"
+		elog "which is now located in ${EROOT}/etc/lighttpd. Please migrate your"
+		elog "existing configuration."
+	fi
+
+	if use brotli || use zstd || use zlib ; then
+		elog
+		elog "Remember to clean your cache directory when using"
+		elog "output compression!"
+		elog "https://wiki.lighttpd.net/Docs_ModDeflate"
+	fi
+
+	if use mysql ; then
+		elog
+		elog "Note that upstream has moved away from using mysql directly"
+		elog "via mod_mysql and is now accessing it through mod_dbi. You"
+		elog "may need to update your configuration"
+	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/"
+}


             reply	other threads:[~2023-02-12  4:00 UTC|newest]

Thread overview: 173+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-12  4:00 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-30  9:05 [gentoo-commits] repo/gentoo:master commit in: www-servers/lighttpd/ Arthur Zamarin
2024-08-29  5:11 Joonas Niilola
2024-08-29  5:11 Joonas Niilola
2024-07-05 10:20 Arthur Zamarin
2024-06-30  8:33 Sam James
2024-06-30  8:31 Sam James
2024-06-30  8:31 Sam James
2024-06-30  8:31 Sam James
2024-06-30  8:31 Sam James
2024-06-25  4:45 Sam James
2024-06-25  4:10 Sam James
2024-06-25  4:07 Sam James
2024-06-25  4:07 Sam James
2024-05-06 16:34 Sam James
2024-05-06 16:34 Sam James
2024-05-06 14:06 Sam James
2024-05-06 14:05 Sam James
2024-05-06 14:05 Sam James
2024-03-14  5:54 Sam James
2024-02-21 10:17 Sam James
2024-02-21 10:17 Sam James
2024-02-13  5:43 Viorel Munteanu
2024-02-13  5:43 Viorel Munteanu
2024-01-28 20:00 Arthur Zamarin
2024-01-17  5:27 Sam James
2024-01-17  5:24 Sam James
2024-01-17  4:59 Sam James
2024-01-17  4:59 Sam James
2024-01-13 11:14 Sam James
2023-12-15 12:53 Arthur Zamarin
2023-12-15  7:14 Sam James
2023-12-15  7:06 Sam James
2023-12-15  6:52 Sam James
2023-11-25  4:49 Sam James
2023-10-08  1:19 Sam James
2023-10-08  1:04 Sam James
2023-09-29  7:27 WANG Xuerui
2023-08-24 18:01 Arthur Zamarin
2023-08-19 11:38 Sam James
2023-08-19 11:38 Sam James
2023-08-19  7:23 Sam James
2023-08-19  6:40 Arthur Zamarin
2023-08-15  3:17 Sam James
2023-07-17 14:07 Sam James
2023-06-25  7:22 Sam James
2023-05-31  0:28 Sam James
2023-05-10 18:49 Sam James
2023-03-24 15:23 Arthur Zamarin
2023-03-24 11:09 Arthur Zamarin
2023-03-06  4:24 Sam James
2023-03-06  4:24 Sam James
2023-02-26 19:34 Arthur Zamarin
2023-02-24 16:14 Arthur Zamarin
2023-02-24 16:14 Arthur Zamarin
2023-02-24 16:10 Arthur Zamarin
2023-02-24 16:02 Arthur Zamarin
2023-02-24 16:00 Arthur Zamarin
2022-10-21 18:03 John Helmert III
2022-10-12  6:48 Agostino Sarubbo
2022-10-11  9:19 Agostino Sarubbo
2022-10-11  9:19 Agostino Sarubbo
2022-10-11  6:46 Agostino Sarubbo
2022-10-11  6:43 Agostino Sarubbo
2022-10-10 23:36 Sam James
2022-09-19  2:25 Sam James
2022-09-19  2:25 Sam James
2022-09-04 17:12 Joonas Niilola
2022-04-12 11:12 Sam James
2022-03-23  0:14 Sam James
2022-03-12 16:26 Arthur Zamarin
2022-03-12 10:51 Arthur Zamarin
2022-03-03  6:34 Yixun Lan
2022-03-02  6:52 Agostino Sarubbo
2022-03-02  6:51 Agostino Sarubbo
2022-03-02  6:50 Agostino Sarubbo
2022-03-02  6:49 Agostino Sarubbo
2022-03-02  3:04 Sam James
2022-01-23 17:57 Sam James
2022-01-23 17:57 Sam James
2021-10-13  6:02 Agostino Sarubbo
2021-10-13  5:54 Agostino Sarubbo
2021-10-11 12:17 Agostino Sarubbo
2021-10-11  6:00 Sam James
2021-10-11  4:20 Sam James
2021-07-30 23:31 Sam James
2021-07-30 23:31 Sam James
2021-07-10  1:11 Sam James
2021-07-03 15:46 Joonas Niilola
2021-05-02 20:26 Mikle Kolyada
2021-04-19 21:26 Sam James
2021-04-18 19:41 Sergei Trofimovich
2021-04-18  2:58 Sam James
2021-04-18  2:58 Sam James
2021-04-18  2:57 Sam James
2021-03-07 11:58 David Seifert
2021-02-09 13:47 Marek Szuba
2021-01-26 14:33 Joonas Niilola
2021-01-24  3:52 Sam James
2021-01-23 22:51 Sam James
2021-01-23 22:42 Sam James
2021-01-23  4:20 Sam James
2021-01-23  4:09 Sam James
2020-12-03 12:54 Marek Szuba
2020-10-14 14:44 Marek Szuba
2020-10-12  9:06 Joonas Niilola
2020-09-07 19:01 Mikle Kolyada
2020-07-11 21:42 Mikle Kolyada
2020-06-18 21:35 Mikle Kolyada
2020-06-18 21:33 Mikle Kolyada
2020-06-07  8:48 Agostino Sarubbo
2020-06-07  8:44 Agostino Sarubbo
2020-06-06 18:09 Agostino Sarubbo
2020-06-06 17:37 Agostino Sarubbo
2020-06-06 17:32 Agostino Sarubbo
2020-06-06 17:29 Agostino Sarubbo
2020-02-09 16:50 Mikle Kolyada
2020-02-09 16:48 Mikle Kolyada
2020-02-09 16:46 Mikle Kolyada
2020-01-01 16:29 Mikle Kolyada
2019-08-11 11:20 David Seifert
2019-08-02 12:19 Mikle Kolyada
2019-08-02 12:04 Mikle Kolyada
2019-08-02 12:04 Mikle Kolyada
2019-02-28 11:57 Mikle Kolyada
2019-01-30  9:07 Mikle Kolyada
2019-01-10 11:09 Mikle Kolyada
2019-01-01  9:28 Mikle Kolyada
2019-01-01  9:28 Mikle Kolyada
2018-11-29 11:13 Mikle Kolyada
2018-11-24 10:54 Mikle Kolyada
2018-11-24 10:53 Mikle Kolyada
2018-11-24 10:50 Mikle Kolyada
2018-08-17  2:05 Mikle Kolyada
2018-05-11 10:35 Mikle Kolyada
2018-05-10 20:20 Mikle Kolyada
2018-05-09 12:35 Mikle Kolyada
2018-05-08 16:12 Mikle Kolyada
2018-05-06 12:01 Mikle Kolyada
2018-05-06 11:39 Mikle Kolyada
2018-05-05  9:36 Mikle Kolyada
2018-04-29 14:04 Mikle Kolyada
2018-04-28 19:42 Mikle Kolyada
2018-04-28 13:23 Mikle Kolyada
2018-04-26  9:01 Mikle Kolyada
2018-04-26  8:54 Mikle Kolyada
2018-04-22 23:47 Mikle Kolyada
2018-04-22 13:12 Mikle Kolyada
2017-12-12 21:46 Daniel Campbell
2017-10-23  3:28 Daniel Campbell
2017-06-26  7:54 Alexis Ballier
2017-05-06  7:24 Markus Meier
2017-04-25  7:21 Jeroen Roovers
2017-04-23 10:27 Agostino Sarubbo
2017-04-22  7:33 Tobias Klausmann
2017-01-20  6:20 Jeroen Roovers
2017-01-18  9:50 Agostino Sarubbo
2017-01-17 12:26 Daniel Campbell
2017-01-15 12:57 Markus Meier
2017-01-02 14:51 Daniel Campbell
2016-11-23  9:20 Tobias Klausmann
2016-11-20 13:08 Agostino Sarubbo
2016-11-20 13:04 Agostino Sarubbo
2016-11-09 13:21 Daniel Campbell
2016-10-19 10:35 Daniel Campbell
2016-09-12  9:57 Daniel Campbell
2016-08-07  6:52 Pacho Ramos
2016-08-04 21:40 Daniel Campbell
2016-02-18  9:38 Patrick Lauer
2016-01-11 15:21 Brian Evans
2015-10-05 14:34 Julian Ospald
2015-09-02 17:19 Markos Chandras
2015-09-02 17:19 Markos Chandras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1676174420.0c52388acd6d9abb8fc5ba6f0101f93eb4222881.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox