From d69399c7befdd98cda62d6a1788ae2aa7f104c5e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 7 Jan 2025 06:41:06 +0000 Subject: gentoo auto-resync : 07:01:2025 - 06:41:06 --- www-servers/Manifest.gz | Bin 4546 -> 4541 bytes www-servers/lighttpd/Manifest | 10 +- www-servers/lighttpd/lighttpd-1.4.75-r1.ebuild | 216 ----------------------- www-servers/lighttpd/lighttpd-1.4.75-r2.ebuild | 226 ++++++++++++++++++++++++ www-servers/lighttpd/lighttpd-1.4.75-r3.ebuild | 216 +++++++++++++++++++++++ www-servers/lighttpd/lighttpd-1.4.75.ebuild | 226 ------------------------ www-servers/lighttpd/lighttpd-1.4.76-r1.ebuild | 227 ------------------------- www-servers/lighttpd/lighttpd-1.4.76-r2.ebuild | 216 +++++++++++++++++++++++ www-servers/lighttpd/lighttpd-1.4.76-r3.ebuild | 227 +++++++++++++++++++++++++ www-servers/lighttpd/lighttpd-1.4.76.ebuild | 216 ----------------------- www-servers/lighttpd/lighttpd-9999.ebuild | 2 +- www-servers/mongrel2/Manifest | 2 +- www-servers/mongrel2/mongrel2-1.11.0-r2.ebuild | 41 ----- www-servers/mongrel2/mongrel2-1.11.0-r3.ebuild | 41 +++++ 14 files changed, 933 insertions(+), 933 deletions(-) delete mode 100644 www-servers/lighttpd/lighttpd-1.4.75-r1.ebuild create mode 100644 www-servers/lighttpd/lighttpd-1.4.75-r2.ebuild create mode 100644 www-servers/lighttpd/lighttpd-1.4.75-r3.ebuild delete mode 100644 www-servers/lighttpd/lighttpd-1.4.75.ebuild delete mode 100644 www-servers/lighttpd/lighttpd-1.4.76-r1.ebuild create mode 100644 www-servers/lighttpd/lighttpd-1.4.76-r2.ebuild create mode 100644 www-servers/lighttpd/lighttpd-1.4.76-r3.ebuild delete mode 100644 www-servers/lighttpd/lighttpd-1.4.76.ebuild delete mode 100644 www-servers/mongrel2/mongrel2-1.11.0-r2.ebuild create mode 100644 www-servers/mongrel2/mongrel2-1.11.0-r3.ebuild (limited to 'www-servers') diff --git a/www-servers/Manifest.gz b/www-servers/Manifest.gz index 5ccd5a0b37ce..5c23a31bc7f7 100644 Binary files a/www-servers/Manifest.gz and b/www-servers/Manifest.gz differ diff --git a/www-servers/lighttpd/Manifest b/www-servers/lighttpd/Manifest index 932b626edd0d..dd5e44a1d0fc 100644 --- a/www-servers/lighttpd/Manifest +++ b/www-servers/lighttpd/Manifest @@ -17,9 +17,9 @@ DIST lighttpd-1.4.75.tar.xz 1102080 BLAKE2B 3cf89678922e319fa140beb56a95b11eb85c DIST lighttpd-1.4.75.tar.xz.asc 833 BLAKE2B c632a3ab7e97c981c0930129a430ee4b3776f34611831c7a8f484de4f2915be31f24df15ee517bcb0271c96c6217429333cbd67bc6f1a4c71936736246d8357c SHA512 791aab9bfb21c3c54b157e4348adbca83fae9186cc3ba27b9f0badc0af6bd74d2e70d6bb565317393b6dafb0e0b5da6e4442c77eac8d9ce597ccdb8b9176f3f9 DIST lighttpd-1.4.76.tar.xz 847132 BLAKE2B 497e2dd802718dac10fdcd49bc917f44ddc1eebd4fa244a047ffba2a0ac92d89900e6285f385126a29100a5fd024868908fd5028ac1b947ca648305199661976 SHA512 940f00f2d84e3424c389108d09756a0af41db3559474135b6c502deccd08ad051b5184f3f7907436384964d2b05045e27dca463af98c889cee69b0ae6e202782 DIST lighttpd-1.4.76.tar.xz.asc 833 BLAKE2B b46b3543e694c132d6e49ee239ef2d71718b5257cfc33506208b0b28bb318ffaf04fcf6282e3b54b08eedf4a3ef6da2ef2c4fd84da89316ce02d70b8f9f26faf SHA512 5a9bc460584479212ac2adddbc4dd5d4374cb08f703fdebd60471cee9c93f6cf4c7bf431a183d615aa9d1a25e237b8dd0f4f06e7249d6bb61a341565a29e2bb9 -EBUILD lighttpd-1.4.75-r1.ebuild 5325 BLAKE2B 9167446b02e72498c194d3853ce4576566bc40d541ff0acba490326b76993dbfa136e26e77592e7bf7a40e08a8698e783b58322fe43098f8769901c4fa177f66 SHA512 d6acb2de3212874fa5a1f2a4fd7c87c2d6c984f868c6394bd83969d99bd5425adf370975cb67fc98403f9bc9ec0666398803167b6c7f8bc7b49a4afc708fc9a0 -EBUILD lighttpd-1.4.75.ebuild 5681 BLAKE2B 359928156aabf9c9d6e9a4523c8ceffd74e42e21c665de765ff874fb731d7d3291ef620f95f24c2e0568259e998a9c71a2f953a28c3cbfafbd414c2ae1da627f SHA512 62237f0b86407fbca48a3dca7ef7233b7f705cf95f9c96489b19dda884b654960f8ab07fa2710896dd50ba00b95695449fe01cbf7167d84558e9c57b6ccc744c -EBUILD lighttpd-1.4.76-r1.ebuild 5632 BLAKE2B 09d2812049702e3f5922ec03d75f7f3f8adf42650f86041e5ae0badc99bd8b10fb03b298699bd106ba1e4cfb271822f66395732f986a89bc224b5ba41ac1b909 SHA512 94eb9469e3799d799858fbbdaa3d1f2f0dcc9f353c848a71689ab9c990e6df083a390f9f9e1451308d535e128a0e21d3fae103b376b74089b98a2784926a73e9 -EBUILD lighttpd-1.4.76.ebuild 5311 BLAKE2B 08b7d6fcf65f36d9aa47a25b1948dd45a3cf4da44f388027f0c95d94fc56492dc11066ccffa8639bc8450a0e2e22a7a63f21724ddd77efa23f973cb8de4ed030 SHA512 ea344774569b46fcaeff448c179ff26a3fc35740f0c8e359d250274cff6dc9770f3746c1410547dcd7e884af0055fd7d2797ed8efd07b0bf4383154c682b12e0 -EBUILD lighttpd-9999.ebuild 5587 BLAKE2B 3f6720715f7ff53a51c06819ac9edc0b752deab5f46708c1f2ba093d47534d58c5c9e1f32941cb7d3e6ebe15766c02894ad5a66bf98d0cb72652b70a9a96846a SHA512 f78017ca399202c04fc4e4edbcca7bdc70ab5d8b9ef46f4b0d6182867b70af7051fa82cb93e2f76c65e10ac9cb31975ee2122ed8d24b0639d9550c2124a39ca2 +EBUILD lighttpd-1.4.75-r2.ebuild 5684 BLAKE2B e3a76bad8cbfca7d9ab8e9480ae1201f7edd24028e7ab95c366456b224d4839a125f828e753bdc591d697ca6bd1e0997ae3df3d63c18cfdb65bd5b8d7e3554b4 SHA512 ce3098c0eff88fc5008dba35af1bdb91490258e3638da5a5d85cb1e91c8c46bb7221338bb32d03a8e86e969cbd7ba8501fba01b57ceac83599a38d995427e040 +EBUILD lighttpd-1.4.75-r3.ebuild 5328 BLAKE2B 83d2eb4c2f447c1016c26ec7d4849318a15cd3fe407f0e68a502247dac9642f436266d3b1460ab082e132cbd867439a096f010247c82742d2e9695037e030bc9 SHA512 8b56444961d0f9bc5796f4d1755285b3f2ac66340adf824111a9144b1423c7e8eb157a0075154bc77080df6855cd500e549db08c7a2c14b9c6988d509b31be8c +EBUILD lighttpd-1.4.76-r2.ebuild 5314 BLAKE2B 14af13aef98b322e677f5b8d89e2eb81ec1f69c07ee8134f9a2f4f3901317cdd7739be37b71658f773a8a66795acbc430b28ecd22a69996967c0ea154af9f398 SHA512 1ac59250c521493b2e3b5e8034f95a4940c5fb7eb4131f7b37328f62f0ad0f30a7039c64b586cf256b052bb2bafb6d70be301947ca521cb1a45659b24a481743 +EBUILD lighttpd-1.4.76-r3.ebuild 5635 BLAKE2B 47d3b501444e6b749e24b82ad755914509cbc338b212e9006c885ae525ea00d2e27ce152dec77d6aef7fcf9ca48fcf2e74342e658401b17b76ffd1c64da39949 SHA512 507a421bbf3702fdd7732c54e90192d04c784ca75b4efc1b3e3001236713fbeb520c4ea37baa90d90c1c732d2cd8526bb602643cc1e97414b64e63aa89638f1f +EBUILD lighttpd-9999.ebuild 5590 BLAKE2B 41ceb9ea6dab6ae07448de87c2292233c0ce476a51e94ec91e45423178b4d06089c16d326fd4829ea8f87ff7e762eac0ca117f13257c30e69798b0520a6086ce SHA512 fca7cdc684cf0e427435b87fee88a7253d658fdb7490af721ce91f0b3575f62ca54aefbec31cf6a6f886505601fac385e5a7d1ed033ce76bc24afc8b734cc6fe MISC metadata.xml 1839 BLAKE2B 1d3bb5474c1bf9f16d84013bec3c0b43d2e2c5d44535e80b2a225bc64345155ba812d0ed9826f8f4072b9a9a113ede7ab5de05b0442bd8968fcad0916edba9fb SHA512 bb491fac80fd3e92b38f35fdd75e09ca6574819eba0d9fd8bed7256be603a113a3127d2ca32c42b9dc4e3a3359f55f62d44650768844cae374d7aa81432a7983 diff --git a/www-servers/lighttpd/lighttpd-1.4.75-r1.ebuild b/www-servers/lighttpd/lighttpd-1.4.75-r1.ebuild deleted file mode 100644 index 5026b7a768e0..000000000000 --- a/www-servers/lighttpd/lighttpd-1.4.75-r1.ebuild +++ /dev/null @@ -1,216 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{1..4} ) -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/lighttpd.asc -inherit lua-single meson readme.gentoo-r1 systemd tmpfiles verify-sig - -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 - verify-sig? ( https://download.lighttpd.net/lighttpd/releases-$(ver_cut 1-2).x/${P}.tar.xz.asc ) -" - -LICENSE="BSD GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="+brotli dbi gnutls kerberos ldap +lua maxminddb mbedtls +nettle nss +pcre php sasl selinux ssl test unwind webdav xattr +zlib zstd" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - lua? ( ${LUA_REQUIRED_USE} ) -" - -# Match the bundled xxhash version for the minimum version -COMMON_DEPEND=" - acct-group/lighttpd - acct-user/lighttpd - >=dev-libs/xxhash-0.8.2 - virtual/libcrypt:= - brotli? ( app-arch/brotli:= ) - dbi? ( - dev-db/libdbi - ) - 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] ) - sasl? ( dev-libs/cyrus-sasl ) - ssl? ( >=dev-libs/openssl-0.9.7:= ) - unwind? ( sys-libs/libunwind:= ) - webdav? ( - dev-libs/libxml2 - dev-db/sqlite - ) - 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 ) - verify-sig? ( sec-keys/openpgp-keys-lighttpd ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-1.4.75-sparc.patch -) - -# 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 - https://wiki.lighttpd.net/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) - - $(meson_feature unwind with_libunwind) - - $(meson_use lua with_lua) - -Dlua_version=${ELUA} - - $(meson_feature maxminddb with_maxminddb) - $(meson_use mbedtls with_mbedtls) - - $(meson_use nettle with_nettle) - $(meson_use nss with_nss) - - # Obsolete - -Dwith_pcre=disabled - - $(meson_use pcre with_pcre2) - - $(meson_feature sasl with_sasl) - $(meson_use ssl with_openssl) - - -Dwith_xxhash=enabled - $(meson_feature webdav with_webdav_props) - - # 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-r2 lighttpd - newconfd "${FILESDIR}"/lighttpd.confd lighttpd - - # Configs - insinto /etc/lighttpd - newins "${FILESDIR}"/conf/lighttpd.conf-r2 lighttpd.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_newunit "${FILESDIR}"/${PN}.service-r1 ${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 -} diff --git a/www-servers/lighttpd/lighttpd-1.4.75-r2.ebuild b/www-servers/lighttpd/lighttpd-1.4.75-r2.ebuild new file mode 100644 index 000000000000..b02353e734bd --- /dev/null +++ b/www-servers/lighttpd/lighttpd-1.4.75-r2.ebuild @@ -0,0 +1,226 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} ) +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/lighttpd.asc +inherit lua-single meson readme.gentoo-r1 systemd tmpfiles verify-sig + +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 + verify-sig? ( https://download.lighttpd.net/lighttpd/releases-$(ver_cut 1-2).x/${P}.tar.xz.asc ) +" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +IUSE="+brotli dbi gnutls kerberos ldap +lua maxminddb mbedtls +nettle nss +pcre php sasl selinux ssl test unwind webdav xattr +zlib zstd" +RESTRICT="!test? ( test )" + +REQUIRED_USE=" + lua? ( ${LUA_REQUIRED_USE} ) +" + +# Match the bundled xxhash version for the minimum version +COMMON_DEPEND=" + acct-group/lighttpd + acct-user/lighttpd + >=dev-libs/xxhash-0.8.2 + virtual/libcrypt:= + brotli? ( app-arch/brotli:= ) + dbi? ( + dev-db/libdbi + ) + 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:0= ) + nettle? ( dev-libs/nettle:= ) + nss? ( dev-libs/nss ) + pcre? ( dev-libs/libpcre2 ) + php? ( dev-lang/php:*[cgi] ) + sasl? ( dev-libs/cyrus-sasl ) + ssl? ( >=dev-libs/openssl-0.9.7:= ) + 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 ) + verify-sig? ( sec-keys/openpgp-keys-lighttpd ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.4.75-sparc.patch +) + +# 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 + https://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) + + $(meson_use nettle with_nettle) + $(meson_use nss with_nss) + + # Obsolete + -Dwith_pcre=disabled + + $(meson_use pcre with_pcre2) + + $(meson_feature sasl with_sasl) + $(meson_use ssl with_openssl) + + -Dwith_xxhash=enabled + $(meson_feature webdav with_webdav_props) + + # 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 + + 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/lighttpd-1.4.75-r3.ebuild b/www-servers/lighttpd/lighttpd-1.4.75-r3.ebuild new file mode 100644 index 000000000000..e67f6523925a --- /dev/null +++ b/www-servers/lighttpd/lighttpd-1.4.75-r3.ebuild @@ -0,0 +1,216 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} ) +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/lighttpd.asc +inherit lua-single meson readme.gentoo-r1 systemd tmpfiles verify-sig + +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 + verify-sig? ( https://download.lighttpd.net/lighttpd/releases-$(ver_cut 1-2).x/${P}.tar.xz.asc ) +" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+brotli dbi gnutls kerberos ldap +lua maxminddb mbedtls +nettle nss +pcre php sasl selinux ssl test unwind webdav xattr +zlib zstd" +RESTRICT="!test? ( test )" + +REQUIRED_USE=" + lua? ( ${LUA_REQUIRED_USE} ) +" + +# Match the bundled xxhash version for the minimum version +COMMON_DEPEND=" + acct-group/lighttpd + acct-user/lighttpd + >=dev-libs/xxhash-0.8.2 + virtual/libcrypt:= + brotli? ( app-arch/brotli:= ) + dbi? ( + dev-db/libdbi + ) + 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:0= ) + nettle? ( dev-libs/nettle:= ) + nss? ( dev-libs/nss ) + pcre? ( dev-libs/libpcre2 ) + php? ( dev-lang/php:*[cgi] ) + sasl? ( dev-libs/cyrus-sasl ) + ssl? ( >=dev-libs/openssl-0.9.7:= ) + unwind? ( sys-libs/libunwind:= ) + webdav? ( + dev-libs/libxml2 + dev-db/sqlite + ) + 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 ) + verify-sig? ( sec-keys/openpgp-keys-lighttpd ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.4.75-sparc.patch +) + +# 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 + https://wiki.lighttpd.net/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) + + $(meson_feature unwind with_libunwind) + + $(meson_use lua with_lua) + -Dlua_version=${ELUA} + + $(meson_feature maxminddb with_maxminddb) + $(meson_use mbedtls with_mbedtls) + + $(meson_use nettle with_nettle) + $(meson_use nss with_nss) + + # Obsolete + -Dwith_pcre=disabled + + $(meson_use pcre with_pcre2) + + $(meson_feature sasl with_sasl) + $(meson_use ssl with_openssl) + + -Dwith_xxhash=enabled + $(meson_feature webdav with_webdav_props) + + # 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-r2 lighttpd + newconfd "${FILESDIR}"/lighttpd.confd lighttpd + + # Configs + insinto /etc/lighttpd + newins "${FILESDIR}"/conf/lighttpd.conf-r2 lighttpd.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_newunit "${FILESDIR}"/${PN}.service-r1 ${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 +} diff --git a/www-servers/lighttpd/lighttpd-1.4.75.ebuild b/www-servers/lighttpd/lighttpd-1.4.75.ebuild deleted file mode 100644 index 0d53fc5ba126..000000000000 --- a/www-servers/lighttpd/lighttpd-1.4.75.ebuild +++ /dev/null @@ -1,226 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{1..4} ) -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/lighttpd.asc -inherit lua-single meson readme.gentoo-r1 systemd tmpfiles verify-sig - -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 - verify-sig? ( https://download.lighttpd.net/lighttpd/releases-$(ver_cut 1-2).x/${P}.tar.xz.asc ) -" - -LICENSE="BSD GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="+brotli dbi gnutls kerberos ldap +lua maxminddb mbedtls +nettle nss +pcre php sasl selinux ssl test unwind webdav xattr +zlib zstd" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - lua? ( ${LUA_REQUIRED_USE} ) -" - -# Match the bundled xxhash version for the minimum version -COMMON_DEPEND=" - acct-group/lighttpd - acct-user/lighttpd - >=dev-libs/xxhash-0.8.2 - virtual/libcrypt:= - brotli? ( app-arch/brotli:= ) - dbi? ( - dev-db/libdbi - ) - 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] ) - sasl? ( dev-libs/cyrus-sasl ) - ssl? ( >=dev-libs/openssl-0.9.7:= ) - 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 ) - verify-sig? ( sec-keys/openpgp-keys-lighttpd ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-1.4.75-sparc.patch -) - -# 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 - https://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) - - $(meson_use nettle with_nettle) - $(meson_use nss with_nss) - - # Obsolete - -Dwith_pcre=disabled - - $(meson_use pcre with_pcre2) - - $(meson_feature sasl with_sasl) - $(meson_use ssl with_openssl) - - -Dwith_xxhash=enabled - $(meson_feature webdav with_webdav_props) - - # 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 - - 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/lighttpd-1.4.76-r1.ebuild b/www-servers/lighttpd/lighttpd-1.4.76-r1.ebuild deleted file mode 100644 index 0b9a59cceedd..000000000000 --- a/www-servers/lighttpd/lighttpd-1.4.76-r1.ebuild +++ /dev/null @@ -1,227 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{1..4} ) -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/lighttpd.asc -inherit lua-single meson readme.gentoo-r1 systemd tmpfiles verify-sig - -DESCRIPTION="Lightweight high-performance web server" -HOMEPAGE="https://www.lighttpd.net https://github.com/lighttpd" -if [[ ${PV} == *9999* ]] ; then - EGIT_REPO_URI="https://git.lighttpd.net/lighttpd/lighttpd1.4.git" - inherit git-r3 -else - SRC_URI=" - https://download.lighttpd.net/lighttpd/releases-1.4.x/${P}.tar.xz - verify-sig? ( https://download.lighttpd.net/lighttpd/releases-$(ver_cut 1-2).x/${P}.tar.xz.asc ) - " - KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -fi - -LICENSE="BSD GPL-2" -SLOT="0" -IUSE="+brotli dbi gnutls kerberos ldap libdeflate +lua maxminddb mbedtls +nettle nss +pcre php sasl selinux ssl test unwind webdav xattr +zlib zstd" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - lua? ( ${LUA_REQUIRED_USE} ) -" - -# Match the bundled xxhash version for the minimum version -COMMON_DEPEND=" - acct-group/lighttpd - acct-user/lighttpd - >=dev-libs/xxhash-0.8.2 - virtual/libcrypt:= - brotli? ( app-arch/brotli:= ) - dbi? ( - dev-db/libdbi - ) - gnutls? ( net-libs/gnutls ) - kerberos? ( virtual/krb5 ) - ldap? ( >=net-nds/openldap-2.1.26:= ) - libdeflate? ( app-arch/libdeflate ) - 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] ) - sasl? ( dev-libs/cyrus-sasl ) - ssl? ( >=dev-libs/openssl-0.9.7:= ) - unwind? ( sys-libs/libunwind:= ) - webdav? ( - dev-libs/libxml2 - dev-db/sqlite - ) - 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 ) - verify-sig? ( sec-keys/openpgp-keys-lighttpd ) -" - -PATCHES=( - "${FILESDIR}"/${P}-sparc.patch -) - -# 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 - https://wiki.lighttpd.net/IPv6-Config - " -} - -src_configure() { - # (One specific library might be preferred on embedded systems via - # MYMESONARGS with e.g. -DFORCE_blah_CRYPTO) - local emesonargs=( - -Dmoduledir="$(get_libdir)"/${PN} - - ${c_args} - - $(meson_feature brotli with_brotli) - - # TODO: revisit (was off in autotools ebuild) - -Dwith_bzip=disabled - - $(meson_feature dbi with_dbi) - - # Obsolete - -Dwith_fam=disabled - - $(meson_use gnutls with_gnutls) - $(meson_feature kerberos with_krb5) - $(meson_feature ldap with_ldap) - - $(meson_feature libdeflate with_libdeflate) - - $(meson_feature unwind with_libunwind) - - $(meson_use lua with_lua) - -Dlua_version=${ELUA} - - $(meson_feature maxminddb with_maxminddb) - $(meson_use mbedtls with_mbedtls) - - $(meson_use nettle with_nettle) - $(meson_use nss with_nss) - - # Obsolete - -Dwith_pcre=disabled - - $(meson_use pcre with_pcre2) - - $(meson_feature sasl with_sasl) - $(meson_use ssl with_openssl) - - -Dwith_xxhash=enabled - $(meson_feature webdav with_webdav_props) - - # 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-r2 lighttpd - newconfd "${FILESDIR}"/lighttpd.confd lighttpd - - # Configs - insinto /etc/lighttpd - newins "${FILESDIR}"/conf/lighttpd.conf-r3 lighttpd.conf - doins "${FILESDIR}"/conf/mod_cgi.conf - doins "${FILESDIR}"/conf/mod_fastcgi.conf - doins doc/config/conf.d/mime.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_newunit "${FILESDIR}"/${PN}.service-r1 ${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 -} diff --git a/www-servers/lighttpd/lighttpd-1.4.76-r2.ebuild b/www-servers/lighttpd/lighttpd-1.4.76-r2.ebuild new file mode 100644 index 000000000000..9a895fd26dba --- /dev/null +++ b/www-servers/lighttpd/lighttpd-1.4.76-r2.ebuild @@ -0,0 +1,216 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} ) +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/lighttpd.asc +inherit lua-single meson readme.gentoo-r1 systemd tmpfiles verify-sig + +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 + verify-sig? ( https://download.lighttpd.net/lighttpd/releases-$(ver_cut 1-2).x/${P}.tar.xz.asc ) +" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +IUSE="+brotli dbi gnutls kerberos ldap +lua maxminddb mbedtls +nettle nss +pcre php sasl selinux ssl test unwind webdav xattr +zlib zstd" +RESTRICT="!test? ( test )" + +REQUIRED_USE=" + lua? ( ${LUA_REQUIRED_USE} ) +" + +# Match the bundled xxhash version for the minimum version +COMMON_DEPEND=" + acct-group/lighttpd + acct-user/lighttpd + >=dev-libs/xxhash-0.8.2 + virtual/libcrypt:= + brotli? ( app-arch/brotli:= ) + dbi? ( + dev-db/libdbi + ) + 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:0= ) + nettle? ( dev-libs/nettle:= ) + nss? ( dev-libs/nss ) + pcre? ( dev-libs/libpcre2 ) + php? ( dev-lang/php:*[cgi] ) + sasl? ( dev-libs/cyrus-sasl ) + ssl? ( >=dev-libs/openssl-0.9.7:= ) + unwind? ( sys-libs/libunwind:= ) + webdav? ( + dev-libs/libxml2 + dev-db/sqlite + ) + 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 ) + verify-sig? ( sec-keys/openpgp-keys-lighttpd ) +" + +PATCHES=( + "${FILESDIR}"/${P}-sparc.patch +) + +# 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 + https://wiki.lighttpd.net/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) + + $(meson_feature unwind with_libunwind) + + $(meson_use lua with_lua) + -Dlua_version=${ELUA} + + $(meson_feature maxminddb with_maxminddb) + $(meson_use mbedtls with_mbedtls) + + $(meson_use nettle with_nettle) + $(meson_use nss with_nss) + + # Obsolete + -Dwith_pcre=disabled + + $(meson_use pcre with_pcre2) + + $(meson_feature sasl with_sasl) + $(meson_use ssl with_openssl) + + -Dwith_xxhash=enabled + $(meson_feature webdav with_webdav_props) + + # 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-r2 lighttpd + newconfd "${FILESDIR}"/lighttpd.confd lighttpd + + # Configs + insinto /etc/lighttpd + newins "${FILESDIR}"/conf/lighttpd.conf-r2 lighttpd.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_newunit "${FILESDIR}"/${PN}.service-r1 ${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 +} diff --git a/www-servers/lighttpd/lighttpd-1.4.76-r3.ebuild b/www-servers/lighttpd/lighttpd-1.4.76-r3.ebuild new file mode 100644 index 000000000000..993db7ccbc76 --- /dev/null +++ b/www-servers/lighttpd/lighttpd-1.4.76-r3.ebuild @@ -0,0 +1,227 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} ) +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/lighttpd.asc +inherit lua-single meson readme.gentoo-r1 systemd tmpfiles verify-sig + +DESCRIPTION="Lightweight high-performance web server" +HOMEPAGE="https://www.lighttpd.net https://github.com/lighttpd" +if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI="https://git.lighttpd.net/lighttpd/lighttpd1.4.git" + inherit git-r3 +else + SRC_URI=" + https://download.lighttpd.net/lighttpd/releases-1.4.x/${P}.tar.xz + verify-sig? ( https://download.lighttpd.net/lighttpd/releases-$(ver_cut 1-2).x/${P}.tar.xz.asc ) + " + KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +fi + +LICENSE="BSD GPL-2" +SLOT="0" +IUSE="+brotli dbi gnutls kerberos ldap libdeflate +lua maxminddb mbedtls +nettle nss +pcre php sasl selinux ssl test unwind webdav xattr +zlib zstd" +RESTRICT="!test? ( test )" + +REQUIRED_USE=" + lua? ( ${LUA_REQUIRED_USE} ) +" + +# Match the bundled xxhash version for the minimum version +COMMON_DEPEND=" + acct-group/lighttpd + acct-user/lighttpd + >=dev-libs/xxhash-0.8.2 + virtual/libcrypt:= + brotli? ( app-arch/brotli:= ) + dbi? ( + dev-db/libdbi + ) + gnutls? ( net-libs/gnutls ) + kerberos? ( virtual/krb5 ) + ldap? ( >=net-nds/openldap-2.1.26:= ) + libdeflate? ( app-arch/libdeflate ) + lua? ( ${LUA_DEPS} ) + maxminddb? ( dev-libs/libmaxminddb ) + mbedtls? ( net-libs/mbedtls:0= ) + nettle? ( dev-libs/nettle:= ) + nss? ( dev-libs/nss ) + pcre? ( dev-libs/libpcre2 ) + php? ( dev-lang/php:*[cgi] ) + sasl? ( dev-libs/cyrus-sasl ) + ssl? ( >=dev-libs/openssl-0.9.7:= ) + unwind? ( sys-libs/libunwind:= ) + webdav? ( + dev-libs/libxml2 + dev-db/sqlite + ) + 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 ) + verify-sig? ( sec-keys/openpgp-keys-lighttpd ) +" + +PATCHES=( + "${FILESDIR}"/${P}-sparc.patch +) + +# 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 + https://wiki.lighttpd.net/IPv6-Config + " +} + +src_configure() { + # (One specific library might be preferred on embedded systems via + # MYMESONARGS with e.g. -DFORCE_blah_CRYPTO) + local emesonargs=( + -Dmoduledir="$(get_libdir)"/${PN} + + ${c_args} + + $(meson_feature brotli with_brotli) + + # TODO: revisit (was off in autotools ebuild) + -Dwith_bzip=disabled + + $(meson_feature dbi with_dbi) + + # Obsolete + -Dwith_fam=disabled + + $(meson_use gnutls with_gnutls) + $(meson_feature kerberos with_krb5) + $(meson_feature ldap with_ldap) + + $(meson_feature libdeflate with_libdeflate) + + $(meson_feature unwind with_libunwind) + + $(meson_use lua with_lua) + -Dlua_version=${ELUA} + + $(meson_feature maxminddb with_maxminddb) + $(meson_use mbedtls with_mbedtls) + + $(meson_use nettle with_nettle) + $(meson_use nss with_nss) + + # Obsolete + -Dwith_pcre=disabled + + $(meson_use pcre with_pcre2) + + $(meson_feature sasl with_sasl) + $(meson_use ssl with_openssl) + + -Dwith_xxhash=enabled + $(meson_feature webdav with_webdav_props) + + # 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-r2 lighttpd + newconfd "${FILESDIR}"/lighttpd.confd lighttpd + + # Configs + insinto /etc/lighttpd + newins "${FILESDIR}"/conf/lighttpd.conf-r3 lighttpd.conf + doins "${FILESDIR}"/conf/mod_cgi.conf + doins "${FILESDIR}"/conf/mod_fastcgi.conf + doins doc/config/conf.d/mime.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_newunit "${FILESDIR}"/${PN}.service-r1 ${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 +} diff --git a/www-servers/lighttpd/lighttpd-1.4.76.ebuild b/www-servers/lighttpd/lighttpd-1.4.76.ebuild deleted file mode 100644 index 7f4673b4f6ee..000000000000 --- a/www-servers/lighttpd/lighttpd-1.4.76.ebuild +++ /dev/null @@ -1,216 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{1..4} ) -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/lighttpd.asc -inherit lua-single meson readme.gentoo-r1 systemd tmpfiles verify-sig - -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 - verify-sig? ( https://download.lighttpd.net/lighttpd/releases-$(ver_cut 1-2).x/${P}.tar.xz.asc ) -" - -LICENSE="BSD GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="+brotli dbi gnutls kerberos ldap +lua maxminddb mbedtls +nettle nss +pcre php sasl selinux ssl test unwind webdav xattr +zlib zstd" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - lua? ( ${LUA_REQUIRED_USE} ) -" - -# Match the bundled xxhash version for the minimum version -COMMON_DEPEND=" - acct-group/lighttpd - acct-user/lighttpd - >=dev-libs/xxhash-0.8.2 - virtual/libcrypt:= - brotli? ( app-arch/brotli:= ) - dbi? ( - dev-db/libdbi - ) - 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] ) - sasl? ( dev-libs/cyrus-sasl ) - ssl? ( >=dev-libs/openssl-0.9.7:= ) - unwind? ( sys-libs/libunwind:= ) - webdav? ( - dev-libs/libxml2 - dev-db/sqlite - ) - 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 ) - verify-sig? ( sec-keys/openpgp-keys-lighttpd ) -" - -PATCHES=( - "${FILESDIR}"/${P}-sparc.patch -) - -# 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 - https://wiki.lighttpd.net/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) - - $(meson_feature unwind with_libunwind) - - $(meson_use lua with_lua) - -Dlua_version=${ELUA} - - $(meson_feature maxminddb with_maxminddb) - $(meson_use mbedtls with_mbedtls) - - $(meson_use nettle with_nettle) - $(meson_use nss with_nss) - - # Obsolete - -Dwith_pcre=disabled - - $(meson_use pcre with_pcre2) - - $(meson_feature sasl with_sasl) - $(meson_use ssl with_openssl) - - -Dwith_xxhash=enabled - $(meson_feature webdav with_webdav_props) - - # 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-r2 lighttpd - newconfd "${FILESDIR}"/lighttpd.confd lighttpd - - # Configs - insinto /etc/lighttpd - newins "${FILESDIR}"/conf/lighttpd.conf-r2 lighttpd.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_newunit "${FILESDIR}"/${PN}.service-r1 ${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 -} diff --git a/www-servers/lighttpd/lighttpd-9999.ebuild b/www-servers/lighttpd/lighttpd-9999.ebuild index 6d7428614b30..ffd773ed1c59 100644 --- a/www-servers/lighttpd/lighttpd-9999.ebuild +++ b/www-servers/lighttpd/lighttpd-9999.ebuild @@ -45,7 +45,7 @@ COMMON_DEPEND=" libdeflate? ( app-arch/libdeflate ) lua? ( ${LUA_DEPS} ) maxminddb? ( dev-libs/libmaxminddb ) - mbedtls? ( net-libs/mbedtls ) + mbedtls? ( net-libs/mbedtls:0= ) nettle? ( dev-libs/nettle:= ) nss? ( dev-libs/nss ) pcre? ( dev-libs/libpcre2 ) diff --git a/www-servers/mongrel2/Manifest b/www-servers/mongrel2/Manifest index c541c46f6b50..aa93679fd418 100644 --- a/www-servers/mongrel2/Manifest +++ b/www-servers/mongrel2/Manifest @@ -3,5 +3,5 @@ AUX mongrel2-1.11.0-polarssl-platform-590512.patch 459 BLAKE2B 63917c58c7c29639d AUX mongrel2-1.11.0-respect-FLAGS.patch 5246 BLAKE2B 7bafb8f27bf51a6151a70c709a4d1f3da6c725634f23ac461f95110f566e9e57dd351be08b44da40491ff5c61ecb40d87daeeba59bc9887604460d63701f60a3 SHA512 45fe23e4066eb78374cd4a162c473318e8c75a4e4d8b5bce508541577d7d30539bb58e8f858157fb58467ba9a833e3bda68c5ebc3cf3ed7f459ca51bf1ded31b AUX systemtls.mak 4570 BLAKE2B 74718f85f540074a125ff9bf994a535ac33b530c880ddca8f8b6746b8e27d8e2ccffbb9611d2ac178107070114e8f78f6be9a11cb8572a6af80c2335b8259c76 SHA512 eee6e802729540eef32bf24dc3eface59508b3d73fc28ced075856fd572ba412474ceedf98a54be070de85221658ca960724814e777c0aedd0abe5edefe833cc DIST mongrel2-1.11.0.tar.gz 1060770 BLAKE2B cbf27e148385e0f659015bf0fae3e027996ba2a4b3189658503faf7b3083c9356ea61cd7bb0d5516fecedd30f1cde8fc3ed74f5f1221a50442df1e209770b87c SHA512 60ee5036c2ac826a08bb1300969f5ad7ec2bc67c7f47635a3b458a0bad6d7e2fa37183c2708d512632c86101f537a4eb64eeef0775137705898480da70d61e90 -EBUILD mongrel2-1.11.0-r2.ebuild 864 BLAKE2B a1b1fea6f5eca6bb1248d446dce3b612460c63bcbd1458033437b208f229e5cbdfbace0e12ee34b2d11191a7b04807c004bdb5866ea081c6fcbe539282d0ae30 SHA512 172c7c3a3502034279d270b0a5b5ecd3a83c9a318098fe29f2465bf4e8290155916119fe059f8d53ed5c242de7b3689e3c144a389ee60639819d3277b208d237 +EBUILD mongrel2-1.11.0-r3.ebuild 867 BLAKE2B b1a6d8f3500dc4ab876c449d00df1cfb1a2ea78d02c04ee46df736863303d69c6b88a1ecf54dfcc9eabd97df97a985100b93ae211c37b8b57c44450d839bad52 SHA512 992cdcdeecfc0069e054e5758281946210ce4094b4c4b49b3f50d873d311598aa9896c089682341f97da2940adb0f5150149a8863619c564805ad08568cd16ee MISC metadata.xml 257 BLAKE2B ff4af13b4239b284b08896143f23b87e608f61a3fca53f4d1a70d7fc47f953236e8ffa12c4267ed096b6d7692ca8158e9efa003cf0ccf0debfa7c72e69ce3ffe SHA512 b50563c4fdcc7a518a9cbbc426e2ae5874e86c5a1d4a726fb3124a82484a03c6b7737c8979b20bf81e240f5b6f0fe6c9e541946735cbf20fd2713cb2f8a76581 diff --git a/www-servers/mongrel2/mongrel2-1.11.0-r2.ebuild b/www-servers/mongrel2/mongrel2-1.11.0-r2.ebuild deleted file mode 100644 index 987bf4d75046..000000000000 --- a/www-servers/mongrel2/mongrel2-1.11.0-r2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="A language agnostic web server focused on web applications" -HOMEPAGE="http://mongrel2.org" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - dev-db/sqlite:3 - >=net-libs/mbedtls-2.1[havege(-)] - net-libs/zeromq" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-polarssl-platform-590512.patch - "${FILESDIR}"/${P}-fno-common.patch - "${FILESDIR}"/${PN}-1.11.0-respect-FLAGS.patch -) - -src_prepare() { - cp "${FILESDIR}"/systemtls.mak Makefile || die - default -} - -src_configure() { - tc-export AR CC RANLIB - default -} - -src_install() { - emake PREFIX="${EPREFIX}"/usr DESTDIR="${D}" install - dodoc README examples/configs/mongrel2.conf -} diff --git a/www-servers/mongrel2/mongrel2-1.11.0-r3.ebuild b/www-servers/mongrel2/mongrel2-1.11.0-r3.ebuild new file mode 100644 index 000000000000..7a3fa27cb5d4 --- /dev/null +++ b/www-servers/mongrel2/mongrel2-1.11.0-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="A language agnostic web server focused on web applications" +HOMEPAGE="http://mongrel2.org" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-db/sqlite:3 + >=net-libs/mbedtls-2.1:0=[havege(-)] + net-libs/zeromq" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-polarssl-platform-590512.patch + "${FILESDIR}"/${P}-fno-common.patch + "${FILESDIR}"/${PN}-1.11.0-respect-FLAGS.patch +) + +src_prepare() { + cp "${FILESDIR}"/systemtls.mak Makefile || die + default +} + +src_configure() { + tc-export AR CC RANLIB + default +} + +src_install() { + emake PREFIX="${EPREFIX}"/usr DESTDIR="${D}" install + dodoc README examples/configs/mongrel2.conf +} -- cgit v1.2.3