diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
commit | b8c7370a682e4e29cda623222d17a790c01c3642 (patch) | |
tree | f6caa14689bd00a5760eadaa381ff41e50ef3c1b /www-apache | |
parent | 8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff) |
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/Manifest.gz | bin | 5577 -> 5576 bytes | |||
-rw-r--r-- | www-apache/mod_authnz_external/Manifest | 2 | ||||
-rw-r--r-- | www-apache/mod_authnz_external/mod_authnz_external-3.3.3-r2.ebuild | 11 | ||||
-rw-r--r-- | www-apache/mod_gnutls/Manifest | 2 | ||||
-rw-r--r-- | www-apache/mod_gnutls/mod_gnutls-0.12.0-r1.ebuild | 6 | ||||
-rw-r--r-- | www-apache/mod_wsgi/Manifest | 2 | ||||
-rw-r--r-- | www-apache/mod_wsgi/mod_wsgi-4.9.0.ebuild | 4 | ||||
-rw-r--r-- | www-apache/modsecurity-crs/Manifest | 2 | ||||
-rw-r--r-- | www-apache/modsecurity-crs/modsecurity-crs-4.5.0.ebuild | 45 | ||||
-rw-r--r-- | www-apache/passenger/Manifest | 2 | ||||
-rw-r--r-- | www-apache/passenger/passenger-6.0.23.ebuild | 128 |
11 files changed, 191 insertions, 13 deletions
diff --git a/www-apache/Manifest.gz b/www-apache/Manifest.gz Binary files differindex 0babb8ca17f1..d0134be34254 100644 --- a/www-apache/Manifest.gz +++ b/www-apache/Manifest.gz diff --git a/www-apache/mod_authnz_external/Manifest b/www-apache/mod_authnz_external/Manifest index f1a6a99e7c30..126334f07c43 100644 --- a/www-apache/mod_authnz_external/Manifest +++ b/www-apache/mod_authnz_external/Manifest @@ -1,4 +1,4 @@ AUX 10_mod_authnz_external.conf 993 BLAKE2B 36daed95a23c58abb0749cfd4836f57b7913362f7dd98f18a5e0158b30754392756f9f9e0c3a8158d6e93e40f765ec440fa3f24069746a49ec16db9f2c8ca6b1 SHA512 66de4c74f5f72ee1f0483c8f5bcd0ff461ebcf0a7b2790692a3b6f4c2ac1be8e6510ffcaa7502903d1b5b611a1a8375a845ff14c3147df3614e5d73384a22ce4 DIST mod_authnz_external-3.3.3.tar.gz 38266 BLAKE2B 03bdfe7efdcd832b7662be70e0e38cdfb4f025d3bdd3baf3e98b4d77efd538605db8f625006246515f427989aca3242626a4115e4534ecb75c09adc967227ea6 SHA512 65b643870dcfc5cdc0343bc606ff74697473617ce9f6fe27cae40ae1b2dca904bb71b6ec8347c6b5c5e3819785432798f6e78820cdf66fd17b245371a41322d2 -EBUILD mod_authnz_external-3.3.3-r2.ebuild 805 BLAKE2B dfbf9e9e637e4fa0d5469aa001f0e4ea095bb6b16e8254d1e49142a1a4efb7f2492e527ce7b76912af47f794b33464afd74eb9a8470ff27a04848488351421c4 SHA512 78e0bcb1a36738c8cae772988056d78d154269302dca71ac3876d6a122884d29cd16b059160c4ad3d125a36c280c8708ecdb72d8447bbd844c6e53eded6eb1fc +EBUILD mod_authnz_external-3.3.3-r2.ebuild 799 BLAKE2B ca30128cffb1c05e9351199d7ac925d7b3f19e03584cfb51ee84fae26b050fe9d37b105edd9efdcc906faba33ac17303f934e3454b26561b78aeffe8847c5393 SHA512 916601231739d79ba28533c786da54b6b411fe8fe466e20cc7d3d21870de0980ea4aacb9fbd7e1da6c39d579a554d1d79fa816e2c82107a491c0bfcebd768ba0 MISC metadata.xml 337 BLAKE2B 98dd71f26a860fea5d25a02ec76292898fcb76adbb3018a377383a99170318b0d3fa48f53248a7bc4b138a0c63d575963ebf1f90d5af5a6020260781fbd1d79d SHA512 63e2117dfdcf645e5d966a36dec31fd92f10a17c9efff9f378803060f91f0344ce76b51fa8eec6eef5dbd7fb7368e33d6a668185cf901bd01d1f99438cad120c diff --git a/www-apache/mod_authnz_external/mod_authnz_external-3.3.3-r2.ebuild b/www-apache/mod_authnz_external/mod_authnz_external-3.3.3-r2.ebuild index 2841b772b421..ea4592e2963e 100644 --- a/www-apache/mod_authnz_external/mod_authnz_external-3.3.3-r2.ebuild +++ b/www-apache/mod_authnz_external/mod_authnz_external-3.3.3-r2.ebuild @@ -2,6 +2,10 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 + +DESCRIPTION="An Apache2 authentication DSO using external programs" +HOMEPAGE="https://github.com/phokz/mod-auth-external" + inherit apache-module if [[ ${PV} == *9999 ]] ; then @@ -10,16 +14,13 @@ if [[ ${PV} == *9999 ]] ; then S="${WORKDIR}/${P}/mod_authnz_external" else SRC_URI="https://github.com/phokz/mod-auth-external/archive/${P}.tar.gz" - KEYWORDS="amd64 x86" S="${WORKDIR}/mod-auth-external-${P}" + KEYWORDS="amd64 x86" fi -DESCRIPTION="An Apache2 authentication DSO using external programs" -HOMEPAGE="https://github.com/phokz/mod-auth-external" - LICENSE="Apache-1.1" SLOT="2" -IUSE="" + need_apache2_4 DOCFILES="AUTHENTICATORS CHANGES INSTALL INSTALL.HARDCODE README TODO UPGRADE" diff --git a/www-apache/mod_gnutls/Manifest b/www-apache/mod_gnutls/Manifest index 6ad9b2413464..5b20b9c348e1 100644 --- a/www-apache/mod_gnutls/Manifest +++ b/www-apache/mod_gnutls/Manifest @@ -1,4 +1,4 @@ AUX 47_mod_gnutls.conf 1125 BLAKE2B f4e9a48be5abda5f9ac0af5ae6621e1d35f4b52c4d00a64c0c939661ed26ad38563b833bafc1266d0b5c5ea8c2d0e5804547b73d5d2b7d95c5fc3f37411715db SHA512 cafa6b049f4131b3cb43a4c62a6fb06e9ac5c44bea1901865dd5d48692f22bb5f6243d812f7f2b2d2adf0d39a16480f062043556bedc740b5630809ba9c972f7 DIST mod_gnutls-0.12.0.tar.bz2 461643 BLAKE2B ffbb4bd50cae7c974c59067908712e104e6d77b121e5e6114a1a45279b9396331f353a53ddae8e3d58259cd7669f047edc4d2b5ebebe94bb40df55f3546b0a02 SHA512 1ec32d0641dc8dc520726a4439edf2e9dbe582651aa4c782047d0499e5e7418b3145eb071d9e97aa4ec803e6818974efea2ed8ed18e5062cd7fdb90ef2e9e0f2 -EBUILD mod_gnutls-0.12.0-r1.ebuild 1998 BLAKE2B 49f4773bd8efda776d30afdc65a03daef23830eb749e14b1eedf16d9410ced93e9072937ef25cf5379879e3ed879e327f3db1287e8ca34b86d5563f0b30c6063 SHA512 ad2f3a92a5ad14d53cd4bd4726986427b436b1208deac41b878def7f1ddac986d0235e287b4f56624defe105cda22a5a7317c2d60c3e36be63b78b86a189a770 +EBUILD mod_gnutls-0.12.0-r1.ebuild 1999 BLAKE2B cd32e8a0f58cc322aefcb6d51c8f7cb258a5162c91537a1be729076093f72b9aa9311484fcb9e64e78b3b1f0656f124c9b01d2826174fdd6091c5b27d129701f SHA512 68a72b6a78478820f3aeb25f7cd05c138cb90d1c7a57bc7f786c66d10e0fe5fae7c8137cfab440341e2581f9e1aad8ad84fa24748d765d2112ae212cf8fccfc4 MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3 diff --git a/www-apache/mod_gnutls/mod_gnutls-0.12.0-r1.ebuild b/www-apache/mod_gnutls/mod_gnutls-0.12.0-r1.ebuild index 2ed94d16531c..f5fe0e246acd 100644 --- a/www-apache/mod_gnutls/mod_gnutls-0.12.0-r1.ebuild +++ b/www-apache/mod_gnutls/mod_gnutls-0.12.0-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit autotools apache-module flag-o-matic python-any-r1 diff --git a/www-apache/mod_wsgi/Manifest b/www-apache/mod_wsgi/Manifest index 9d9d533501c7..b4b09233f3b9 100644 --- a/www-apache/mod_wsgi/Manifest +++ b/www-apache/mod_wsgi/Manifest @@ -2,7 +2,7 @@ AUX 70_mod_wsgi.conf 100 BLAKE2B e0df283f4b825628cceb7538231afbba10d3dc1eaab64da DIST mod_wsgi-4.9.0.tar.gz 699891 BLAKE2B 7ee6ffc28e86baf8ee92973479a26964f7c183c2b113b49a48af02c622f8d8f698abffcd4f522a1ecca5b89325f94856cbe89db5a81d2ac2e87438ee90be97b0 SHA512 9dc34d431171321094a9713444895d9754eff4e69ad1e86c8d3cd77bc1ca0a4c10b697e7f8cf14902d6bfaf205c8842e62fa944bb38f66f1c54fd36af95a09d6 DIST mod_wsgi-4.9.4.gh.tar.gz 706904 BLAKE2B 6473ee5be4f21d7d5806028b22d582e9d2b6f2a28bb0ed2b03a3da799858bdb4ebcfc85eb7850e91ff041d0c0a6cf2a898bffbbe884faa891c4f1f115d043517 SHA512 0898221d95f0ce374cbd34a1849a6e6b5bd7850644d5fe36f558dcc58095cd535c854cb06798482d312485b8d89b8641d91fa26af3d208e10a6073b885af3199 DIST mod_wsgi-5.0.0.gh.tar.gz 707590 BLAKE2B 14dd43849c0f9d1e67eece9a87acc3573cbb38f8d6338551b22ba33ebd8b6f6e1371e97c7c5d3f1b15cb10e2ae9990eff7f4c6af62fb9236bcc78b35aad4a8db SHA512 3ecc3ad2fd05164929915541be61201db8d35d1e27183ce26c67583b836bb404bd10c88a2ada94714a14140a7f885eb67256cf02bf47aa0dbd81aecd0894a984 -EBUILD mod_wsgi-4.9.0.ebuild 1108 BLAKE2B b85f3abbc1b1da6af973babf3aa2142a1dd5b571ea345d2cbc7cbc418dff5b5389cdff674ec6389f4bdde76f4fcc0ac4602cfaea0ccfe7869c9586690c2b50ca SHA512 d993d3cb33f60839a8b68bffbdf91e50a56e4d84ad6dfac5568a6a1dbbd19be182099c1d7ee8a16a8a3f293be40ca31cce1038677cd3fc5b111ddf8152a54e6b +EBUILD mod_wsgi-4.9.0.ebuild 1101 BLAKE2B c142395b3866bc6a9469345ef074583fe714caa392872aa98c8b027be107f64a38be1fbbf0e37219f4e6300987d9f8da68f1236403b9fe689992ca20d46046de SHA512 f0bce840f1c5bac3a18bd7a434cc06ecfe251be70e8d554c68d23d814af1f9a0a2a9bcee217b7a1d2ca503142ede90ffdb93fcd6ce98de48a63b69b2ee012242 EBUILD mod_wsgi-4.9.4-r1.ebuild 1093 BLAKE2B bb0d072da7e4e2a9e2dd344075f89be656a4cc36ff3ba9ff053581e9ad82801eab8b3c6b184eafa9410d5fc42f8e5851ec5aed7b9c5fcbeb82e586340ae18924 SHA512 004903697b5d4931ab2b9a26aa59fa70794b87228bd8e70f2aa7c50e097eb6ef03ca94fcdd7529c323c07be0ff6908868566ed826bf10e0855fab125cbf19039 EBUILD mod_wsgi-5.0.0.ebuild 1093 BLAKE2B 1c3c779bad6b352537a4ce5afcbef0e9a6a53eb23ee3df809eeb610110cbc32000e14dd5cd1ff04b0dce965ec7e648ec7a2af75090b10d567c2d0da0bfbb07a9 SHA512 a3c9f49eacd2c213b381bfdf85366a87e5daba151298091da55ee26a95557d19b68f23e0e6829f03b6677cedf3899acb8ec54d3dbdefa5c6c6b64b3470e7e780 MISC metadata.xml 303 BLAKE2B 3b6303fa847f0f5b287faece9a7f0ce422531e0a0a130035cb5a032049daccba08c5460fc58af8a68d2eede0b8f5e76502e9c64109f33f219757ace3b2e82b98 SHA512 d24e5bcec7363bc5bb7f3c5798aa6978aefaee6990f5917ff133362fdcc32927a7b68a939b90cf38ebddbcf04c5b6310a1654a92d0a5eece5ba27245b8df0550 diff --git a/www-apache/mod_wsgi/mod_wsgi-4.9.0.ebuild b/www-apache/mod_wsgi/mod_wsgi-4.9.0.ebuild index 52e81200b1b8..8f92a32cf465 100644 --- a/www-apache/mod_wsgi/mod_wsgi-4.9.0.ebuild +++ b/www-apache/mod_wsgi/mod_wsgi-4.9.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ SRC_URI="https://github.com/GrahamDumpleton/${PN}/archive/${PV}.tar.gz -> ${P}.t LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86" -IUSE="" + REQUIRED_USE="${PYTHON_REQUIRED_USE}" DEPEND="" diff --git a/www-apache/modsecurity-crs/Manifest b/www-apache/modsecurity-crs/Manifest index 5ec03aafc7e5..469290d1df35 100644 --- a/www-apache/modsecurity-crs/Manifest +++ b/www-apache/modsecurity-crs/Manifest @@ -2,7 +2,9 @@ AUX 80_mod_security-crs.conf 289 BLAKE2B 441b2f4d46e62ff24886b94dc933b08de8693ad DIST modsecurity-crs-3.3.5.tar.gz 299458 BLAKE2B b8617de77cf5168c7b95fab46eae45e2101b4ec7a537d8d471b9b1b27a856b1d370a9de43ee262c07dc9371b3ff79cd86b7328b171fde003da9110897206e91e SHA512 001f9afe25f479dd988aaec1a4a2c0197b2d27e00d2cd10b70892e4889b399259cd0655f42a96965ae655855abdb7f9d8295c225ae17bf1e47361b70232633e5 DIST modsecurity-crs-4.0.0.tar.gz 504720 BLAKE2B e6da0268ae9209179d1f6cefba34e097b614dd4659a4b4df2ef3e6a0b32be7be9d825beaf6d8ca1fbef0dd27217b4707090844e59eaa817111be4a6f8333e205 SHA512 c25bfd6de772815977783e78d7afd388d60bbba151762a38c7050fd5ecde6a48baa0a850028a24d42855ae4a788404ad1ee0f7a4ad2d94d53a46e261a00f7224 DIST modsecurity-crs-4.4.0.tar.gz 510998 BLAKE2B 770a392836fbe29b69d0aa0b487bd7798cc618d1a5923d169a04bcac52b3add6dee8d5777e97e9b3afb3776bc442fb004e02c0c27becb07df62f2fa289d70be9 SHA512 a196a922c5456a2f025f43f8c0b5e3905eed8b3586c54d7b7771c386e5226d8dc6fce2b0bc05d69b389b07d5935bf8abbfb0a524e8ef856a433e9e4aed4b448d +DIST modsecurity-crs-4.5.0.tar.gz 508360 BLAKE2B 88d63ed74e0c10577fd614cd782a247b00fc2e9a18f3f8c8dcb26f848e8b2025aa699a125c682cd2d82d386202205278b570d8adc57c56ad1e8ada1c780841a7 SHA512 057ed442b435efe4f6092bc05e55a7d133e3a62b92744c2a151291e6e21722fa37857729c4434814f0996b3f814118fd64a76c8ceb7b430cbe0b8921295556df EBUILD modsecurity-crs-3.3.5.ebuild 1062 BLAKE2B 3b697a9b74293ef96c1d4d7638abb79a3ed32e393eb788e9e8efb552e6624b904b71ccae381a5db9597bc225e51e4ba665e10b9621342a26ea0f586bede77925 SHA512 e97eb99fbd642956c3b64e6e7cb260bf1c5b83122d9c79822f1d2b8c533337fe9c179b2011782988a31f7073447b2e97c05c308c48abd4c6fce1de0bf9c7a7f8 EBUILD modsecurity-crs-4.0.0.ebuild 1096 BLAKE2B b35e7c1e9dcfb5656ab01ba4110a654e0ef8dbc2ce73ed5da1590ba383883ddd02c5ddad78ac2e63b5e78229d05c63a35cc02a04bce919dc70efdbc6d79f9ad7 SHA512 c81295a5d0a58349e57f708652a4af2a7b4ab9d351c3daecb26d104ef51b3ddfbdd302706e673c4805e6d04b5e36a42744e837eb6f6df60884a81906b01e46ed EBUILD modsecurity-crs-4.4.0.ebuild 1098 BLAKE2B fb13e454c1ab3e99b724890e027b7c202d300d98c728b567599d7b036e6c4015ad11714f2b8855c4cf1219cd779afe9418a86bd3239ac0a3ba0c3ae717e68295 SHA512 67dcdb18c8b15e670b2e8afd4d48036a442d693d66e486498106f6cbf92ad51bd16d769dac978e991d4106569767ea5581f0f5c7ffacb5d6eff787c63449a91e +EBUILD modsecurity-crs-4.5.0.ebuild 1098 BLAKE2B fb13e454c1ab3e99b724890e027b7c202d300d98c728b567599d7b036e6c4015ad11714f2b8855c4cf1219cd779afe9418a86bd3239ac0a3ba0c3ae717e68295 SHA512 67dcdb18c8b15e670b2e8afd4d48036a442d693d66e486498106f6cbf92ad51bd16d769dac978e991d4106569767ea5581f0f5c7ffacb5d6eff787c63449a91e MISC metadata.xml 254 BLAKE2B 1d5f172b57a97b9a944fc05ce672b09fa81d2468756786518e06e809bffe571e7296fd1dd3988833af4dfbf85d14ad5cfd89fc337562f044422d30cb87740169 SHA512 817d5613af5a0a1e9a2aadcc5319fef2c0c36fa979c2c514e7b938eeebb2a4d83cc2ec478f4f26fef937847b2ffebd5671dbe5aa7b4c43122efd629f57b17d16 diff --git a/www-apache/modsecurity-crs/modsecurity-crs-4.5.0.ebuild b/www-apache/modsecurity-crs/modsecurity-crs-4.5.0.ebuild new file mode 100644 index 000000000000..1a0a134d3046 --- /dev/null +++ b/www-apache/modsecurity-crs/modsecurity-crs-4.5.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature + +MY_PV=${PV/_/-} + +DESCRIPTION="OWASP ModSecurity Core Rule Set" +HOMEPAGE="https://coreruleset.org/" +SRC_URI="https://github.com/coreruleset/coreruleset/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/coreruleset-${MY_PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+apache2" + +RDEPEND="apache2? ( >=www-apache/mod_security-2.9.6 )" + +DOCS=( CHANGES.md CONTRIBUTORS.md crs-setup.conf.example KNOWN_BUGS.md README.md ) + +src_install() { + insinto "/usr/share/${PN}" + doins -r plugins rules + + einstalldocs + + if use apache2; then + # I don't think it's worth pulling in apache-module.eclass just for + # this path... + insinto /etc/apache2/modules.d + doins "${FILESDIR}/80_mod_security-crs.conf" + fi +} + +pkg_postinst() { + if use apache2; then + einfo "The CRS configuration file has been installed to:" + einfo " ${ROOT}/etc/apache2/modules.d/80_mod_security-crs.conf" + fi + + optfeature "apache-less installations, e.g. nginx" dev-libs/modsecurity +} diff --git a/www-apache/passenger/Manifest b/www-apache/passenger/Manifest index ebb30378ce83..262439dbd415 100644 --- a/www-apache/passenger/Manifest +++ b/www-apache/passenger/Manifest @@ -2,6 +2,8 @@ AUX 30_mod_passenger-5.0.0.conf 2737 BLAKE2B 781ffa4831313356b6caa493fc94a784f6b AUX passenger-5.1.11-gentoo.patch 1068 BLAKE2B 635bc4c4a2313dc00a038cb9c871b5b2f0163f320d4f4d1bbd9d34ec34ec81f2fd2e7d9ea6f3d03c4a611f13095c4ad414ba7c0920064f8408837a2600d2d2e9 SHA512 c75442ac0403131e5fdbe76ec52acdcffcb6947af81ce79e003ebbb9e97d25a855651bd62c0aad66dd22d8cd4dff2221fc84b0ce74da3908f06f272c8b133c2d DIST passenger-6.0.20.tar.gz 8476308 BLAKE2B dc1ac3a1e2be1a9138594d68cf23fc0a73b6b0aca0550c022de56bc156825b3627de741128f163871c89747f178fb26fc41533962ba83ef2659ca71793c0fa62 SHA512 b46864cd7fa83fe39a2a4f42d581660c9a521b96942604b56caa567adff272bb092e82a46a6817a7b68be4830ad1015c9af4429a6d5b26edfe9c3e3884046559 DIST passenger-6.0.22.tar.gz 8296503 BLAKE2B 0e9440134ead3c909570f1fde54e332dd1b017dbc140e1c0b6f1bc73462f01ab4ce36a19a44fc89bbc1d5a93f0faa6cb2e10dc2425722b9b17a4ebe4a5102ded SHA512 85c07386f36677063d32214cce780933d19a3893d15c15efc6c7333dce8046e368218ae9a6aa4d814abdfcfa7da823ae86badfd2c6e6252d4da4f20cd468cdd8 +DIST passenger-6.0.23.tar.gz 8298217 BLAKE2B ec247509656fcce61c4045cf5c08cee4faa1c02e9503c2aaa670ca6c2075e3593d3b82e58b499cb102849a7e8107962c46eaefec6dbce53e95c246bbeaf354a0 SHA512 5e01596bd658dad94b2281ad1efd5cb4624268021d4347cd911c14824e11e15125032b1793c2aa82e879cf07f93473fe78d9fc6a1f2b6f5fc0dcc12a84a5ea45 EBUILD passenger-6.0.20.ebuild 4035 BLAKE2B 4b006ea98dcb69baae7aa757ce3c10a4ef89b5836e0f6a1d57c22c074435f5bc0f136872c453013faf8fb9c71726546c45cc26fbb9c001e63b846d8bf16906c1 SHA512 4be03e3bec258405cfbbbf8a8fa2006ca13694afcac6e31512d4fd344ccf3ae5c2cad3b93a7119733e814654606f6a5dcb090f3901615046c57d1b8da0a9f352 EBUILD passenger-6.0.22.ebuild 4035 BLAKE2B 4b006ea98dcb69baae7aa757ce3c10a4ef89b5836e0f6a1d57c22c074435f5bc0f136872c453013faf8fb9c71726546c45cc26fbb9c001e63b846d8bf16906c1 SHA512 4be03e3bec258405cfbbbf8a8fa2006ca13694afcac6e31512d4fd344ccf3ae5c2cad3b93a7119733e814654606f6a5dcb090f3901615046c57d1b8da0a9f352 +EBUILD passenger-6.0.23.ebuild 4037 BLAKE2B 011ddae946f9313462c25a7e9b0c044dcfdfb96d6693400da96f11333faf5a276e2e49b1082bec1996c46e607b4e0301772f62f3cfa62578aca76ece901ec25a SHA512 5c341279b8f222d8ab48d89722da467358d81336045069bbb87defd2e02c92b49678fcb79932676e9c7e047a4a64abbbcf8f736f1ef062180d83e20f19fe0fda MISC metadata.xml 331 BLAKE2B 5cc7b65a8ac511e9065cdb9fc6f4a04923029f718f02ba0da718c798e0bb3a554a8da7f05e639daa88c2fec34888e6e1316ccab4a44a0d99b616354006e7c762 SHA512 95f21209228559e1b775f8b44c49e1d311a6c2955ba26fb24fb72bf64afd42048d9d0186828be8b733963b4aec245f5abc4540c1ca8baa14ee59b2fba0c33086 diff --git a/www-apache/passenger/passenger-6.0.23.ebuild b/www-apache/passenger/passenger-6.0.23.ebuild new file mode 100644 index 000000000000..0c0ad6d0d23f --- /dev/null +++ b/www-apache/passenger/passenger-6.0.23.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +inherit apache-module flag-o-matic ruby-ng toolchain-funcs + +DESCRIPTION="Passenger makes deployment of Ruby on Rails applications a breeze" +HOMEPAGE="https://www.phusionpassenger.com/" +SRC_URI="https://s3.amazonaws.com/phusion-passenger/releases/${P}.tar.gz" + +# Passenger is licensed MIT, but vendored code licenses should also be taken into account. +LICENSE="Boost-1.0 MIT BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="apache2 debug" + +ruby_add_bdepend "dev-ruby/rake" + +ruby_add_rdepend " + >=dev-ruby/rack-1.0.0:* + >=dev-ruby/rake-0.8.1" + +# libev is bundled but with adapations that do not seem to be accepted +# upstream, so we must use the bundled version :-( +CDEPEND=" + >=dev-libs/libuv-1.8.0 + net-misc/curl[ssl] + apache2? ( www-servers/apache[apache2_modules_unixd(+)] )" + +RDEPEND="${RDEPEND} ${CDEPEND}" +DEPEND="${DEPEND} ${CDEPEND}" + +APACHE2_MOD_CONF="30_mod_${PN}-5.0.0 30_mod_${PN}" +APACHE2_MOD_DEFINE="PASSENGER" + +want_apache2 + +pkg_setup() { + use debug && append-flags -DPASSENGER_DEBUG + depend.apache_pkg_setup +} + +all_ruby_prepare() { + eapply "${FILESDIR}"/${PN}-5.1.11-gentoo.patch + + # Change these with sed instead of a patch so that we can easily use + # the toolchain-funcs methods. + sed -i -e "/^CC/ s/=.*$/= '$(tc-getCC)'/" \ + -e "/^CXX\s/ s/=.*$/= '$(tc-getCXX)'/" \ + -e 's/PlatformInfo.debugging_cflags//' build/basics.rb || die + + # Avoid fixed debugging CFLAGs. + sed -e '/debugging_cflags/areturn ""' -i src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb || die + + # Use sed here so that we can dynamically set the documentation directory. + sed -i -e "s:/usr/share/doc/passenger:/usr/share/doc/${P}:" \ + -e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" \ + src/ruby_supportlib/phusion_passenger.rb || die + sed -e "s:/usr/lib/phusion-passenger/agents:/usr/libexec/phusion-passenger/agents:" \ + -i src/cxx_supportlib/ResourceLocator.h || die + + # Don't install a tool that won't work in our setup. + sed -i -e '/passenger-install-apache2-module/d' src/ruby_supportlib/phusion_passenger/packaging.rb || die + rm -f bin/passenger-install-apache2-module || die "Unable to remove unneeded install script." + + # Make sure we use the system-provided version where possible + rm -rf src/cxx_supportlib/vendor-copy/libuv || die "Unable to remove vendored code." + + # Fix hard-coded use of AR + sed -i -e "s/ar cru/"$(tc-getAR)" cru/" build/support/cplusplus.rb || die + + # Make sure apache support is not attempted with -apache2 + if ! use apache2 ; then + sed -i -e '/fakeroot/ s/:apache2, //' build/packaging.rb || die + fi +} + +all_ruby_compile() { + if use apache2 ; then + V=1 EXTRA_LDFLAGS="${LDFLAGS}" \ + APXS2="${APXS}" \ + HTTPD="${APACHE_BIN}" \ + FS_LIBDIR='/usr/'$(get_libdir) \ + USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \ + RANLIB=$(tc-getRANLIB) \ + ruby -S rake apache2 || die "rake failed" + fi +} + +each_ruby_compile() { + append-flags -fno-strict-aliasing + + V=1 EXTRA_LDFLAGS="${LDFLAGS}" \ + APXS2="${APXS}" \ + HTTPD="${APACHE_BIN}" \ + FS_LIBDIR='/usr/'$(get_libdir) \ + USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \ + RANLIB=$(tc-getRANLIB) \ + ${RUBY} -S rake native_support || die "rake failed" +} + +all_ruby_install() { + if use apache2 ; then + APACHE2_MOD_FILE="${S}/buildout/apache2/mod_${PN}.so" + apache-module_src_install + + # Patch in the correct libdir + sed -i -e 's:/usr/lib/:/usr/'$(get_libdir)'/:' "${D}${APACHE_MODULES_CONFDIR}/30_mod_${PN}.conf" || die + fi + + dodoc CHANGELOG README.md doc/*.md +} + +each_ruby_install() { + DISTDIR="${D}" \ + RUBYLIBDIR="$(ruby_rbconfig_value vendordir)" \ + RUBYARCHDIR="$(ruby_rbconfig_value archdir)" \ + APXS2="${APXS}" \ + HTTPD="${APACHE_BIN}" \ + FS_DOCDIR="/usr/share/doc/${P}" \ + FS_LIBDIR='/usr/'$(get_libdir) \ + EXTRA_LDFLAGS="${LDFLAGS}" \ + USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" \ + RANLIB=$(tc-getRANLIB) \ + ${RUBY} -S rake fakeroot || die "rake failed" +} |