From a3de84e818966a52a20989995557dbe28866f1de Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 16 Mar 2015 21:53:51 +0000 Subject: Removed vulnerable versions Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0x981CA6FC --- www-servers/apache/ChangeLog | 6 +- www-servers/apache/Manifest | 33 ++--- www-servers/apache/apache-2.2.27-r4.ebuild | 115 --------------- www-servers/apache/apache-2.4.10-r1.ebuild | 227 ----------------------------- 4 files changed, 19 insertions(+), 362 deletions(-) delete mode 100644 www-servers/apache/apache-2.2.27-r4.ebuild delete mode 100644 www-servers/apache/apache-2.4.10-r1.ebuild (limited to 'www-servers') diff --git a/www-servers/apache/ChangeLog b/www-servers/apache/ChangeLog index 7888f06f0c31..a1fca6aefb35 100644 --- a/www-servers/apache/ChangeLog +++ b/www-servers/apache/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-servers/apache # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/ChangeLog,v 1.301 2015/02/24 10:57:05 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/ChangeLog,v 1.302 2015/03/16 21:53:50 polynomial-c Exp $ + + 16 Mar 2015; Lars Wendler -apache-2.2.27-r4.ebuild, + -apache-2.4.10-r1.ebuild: + Removed vulnerable versions. 24 Feb 2015; Agostino Sarubbo apache-2.2.29.ebuild: Stable for alpha, wrt bug #535948 diff --git a/www-servers/apache/Manifest b/www-servers/apache/Manifest index ce32f3fa2f32..4065641d06c5 100644 --- a/www-servers/apache/Manifest +++ b/www-servers/apache/Manifest @@ -3,34 +3,29 @@ Hash: SHA256 AUX apache.conf 55 SHA256 ea616c5cc37979a006d69c51bda43fca15a4327d33175762652b29f5cdea1c7b SHA512 3a53beb7a283d17c14383f16ad14c0602681ac1b193cce8f5aca50ae9d9af3a71054ce4a9ab11cbcb72fe913459e1b306fd54660154e66afe10272f8c0f149f3 WHIRLPOOL fa348414f320a9f70001386dfb77d57ca4836c3ef3d251976077b7ad545d7f6752e534efadbf28c7dcb777388e3d844eba84b939dcf48881983388daf6ac23f0 AUX apache2.2.service 716 SHA256 e850ad73585fbba52ade58a39ca91adbfd52f56a0bbd426ebcadb340a7dcb62b SHA512 5f736c803772077598248bbb41f76dff396dfd2f11a60d1ba929a619275efb8c1b4c0dab78cbcdf83b9ec94db67b958b3333b01f67d71eb3b2e07dba4bca2a7c WHIRLPOOL 776a928422b8f37a12099111a1503674ca901934b60dca8596dc8bc287390be9a0e912d7ba6226dcb22eb7c669fa298ddc20fd7bf5c275b0cf019bae0d594839 -DIST gentoo-apache-2.2.27-r4-20140731.tar.bz2 69094 SHA256 0837bb5bef0bf4c5c6a086dcc59e7a6e03405cc507244a5d147052801ab9bb73 SHA512 f84aa56fee3b36ff8d7594117c9ae215639fdea866cdf0356d4dfc991ebf285d51d7edf1ba3af2b080ae31ffe5313e3f2676efcc45526131085099595749772e WHIRLPOOL 372b6a5d39c7106332ae5ac3c881c315e666c73ec06b2d86a506b8c32e5e214dfd87a5f0706812105e8e5e85ce1d96b93c55e4ca2f8f80dec022cd42ea345f0d DIST gentoo-apache-2.2.29-20140922.tar.bz2 64135 SHA256 8c69c36c2f40fb81ee905b4dd72ab74aab4563c75149d302f372a451498e2678 SHA512 1d9aa12aa3ab79b5f80ee3fda020b33ff6798e5b1abbcbc138acea06a1ab9968ad240d2bdf9c5dbb9640fa9fb6718eec7175df7cc0fb8574cc4d7d5cdfb5bcc4 WHIRLPOOL f655300f0dcd2f4503cbdb25983fed902e4b717ff57e06f66486bebd0ed7cb8df56387be74b4259bfffad949bb446c5ec28f89065b6d5239585324b610be7b88 DIST gentoo-apache-2.4.10-r1-20140731.tar.bz2 24531 SHA256 8e093a18582c3a20283ed1c09de9acc6832a80b1d5a02962599db0535d38af19 SHA512 c54239df36d7ab30bd14a41241d94b4b49b92c5e50e64857da3e7cde7575d5c0a634d51710bdf75807a57932bf9447906407ae4ef6cb333d7197e82ba5052cd9 WHIRLPOOL 0d184763a033209eaa3c91f7050b24c2a2da24d930ed280a8aa99e32461ac31402e6fd8f57e2122a96e45a8308c4a332144ede7b511ceee352be2f38a6ef7839 -DIST httpd-2.2.27.tar.bz2 5616798 SHA256 205973ded6ca55c056ce9c84d73ab708f7829f330193bd39b651463b8d4f8147 SHA512 b318c157392e5c602d42eb52c8d7f1bd7258c817756fd20dcec8a8a177af3e42db4e25891473646c293ace42bc5d5608de083a14878ed446b8559709492bbf1d WHIRLPOOL c80c56d511586c87d6eb41eb8f5c00317d101b7532b127d50531409f4068aceba1022b16cf2ab122d91edcd9552fcae8543e8a31fbab78564dcd2e057b29e0f1 DIST httpd-2.2.29.tar.bz2 5625498 SHA256 574b4f994b99178dfd5160bcb14025402e2ce381be9889b83e4be0ffbf5839a4 SHA512 0b953c97d79dfaaedaee72c6260e7a8e2e1711d47b19f9ace961b33f1226eeb58e37e04694a3e1207e0cf151a9ffbebf379d2bb81306bbf5111ec6db621a68b8 WHIRLPOOL d161104824c5bd6a42675489facf528a8ac2e727a8d2a295111b182e73bb17e7e8a52b720e74a37371e8bd3ddf5745afea32b32171831d95870daa440e7ac2a7 -DIST httpd-2.4.10.tar.bz2 5031834 SHA256 176c4dac1a745f07b7b91e7f4fd48f9c48049fa6f088efe758d61d9738669c6a SHA512 e251f5b330da17a8920c589b9e0326d6dd45db28923167718db27b0af2edf769607e9ae6fbb859afbf0c345937fd59053423a2d74bd18ff2272a0f6a19a6496f WHIRLPOOL c9f81296052a61483ceef4ae4b4c467cf64a4035030472dc8c17355f572a4887ddc6179ade2a764a4e3f0cd4ab7cc34a3fa36577a148c3df7b8d44a5f1f0424d DIST httpd-2.4.12.tar.bz2 5054838 SHA256 ad6d39edfe4621d8cc9a2791f6f8d6876943a9da41ac8533d77407a2e630eae4 SHA512 f69db14b421f0e1e4861fe4d8b652688d50ca9eb41c622242d11ae55687eb6c2142a8505a8c3fb6f2bd53167be535bc0a77ca1af97e0720930fc7f20f4c1f8e8 WHIRLPOOL 56512066e8978c4a3d47d0cc2bb92093fd468a9b2f46b8b07fe4db366f55fa5e74ae58bbebe2377cbe0c66f1585759115c786f62f18ac1abc534fb257689d250 -EBUILD apache-2.2.27-r4.ebuild 3114 SHA256 6ebe72db03213516e3815bbb80141950afda24be41c72bdf6975ac3ddbbf98fa SHA512 88d23d6a0471868a19b5863f72b6117e61ce2dadb760b1e6455edbc6df0cc7e23f19303f917d7ae0ca6e451e9eb23e623078420ab897f0a22f9b0bd34228946c WHIRLPOOL 96e8046f6f156e6a66ed0f384373f23d032d1240f08d74d3247c628d7bf1d9cf075554c73dcc1a5e8704b5da8608cf9be73bd8748b00d1cdac6f66079bcb9cca EBUILD apache-2.2.29.ebuild 3105 SHA256 db3e7e9fd9663ca383e414acf04c964ab3971faf891a740285e4269332c74a45 SHA512 3a6b89e825f46c4a545c7a77840f7ebb6e1276d520789cd997cc5f43500ff1bdb8cce8aeb0ab2e4cd773c598ea3a30a21293d04757796ab495dbc088705cd76b WHIRLPOOL 16a2423411d9966bf40c259af251ddc639e9d11ab718193397ebd1b93ea00d27bb3178193531cadb0fc77f00842f6c9c9a7f3d5e41d2118006dc4bd34115f2f3 -EBUILD apache-2.4.10-r1.ebuild 7504 SHA256 352e6e41ae9e698867a55cbd88062d44237d677233ac53217ed72c0d2db59d52 SHA512 3a9efef257db4f1beb8bb505912601edf0b87d679a83d424d9c7f7ab2430cca9af139f598fd4ad1616b5378a3b8a0634e2bbc76e2ecdf44ac1394fdd4506205a WHIRLPOOL d181bbc65b79da77c96cb7d68a9fbbb81b565c9e0b7db50a4e1fcff7c0817e1359f662cf96a767ec1d266659df262483f4313862050a27f9d4a81f5f914d48b0 EBUILD apache-2.4.12.ebuild 7507 SHA256 8f69ce13f24211989ba9019505603aaec5e275eb2fbc863e07603dcd00ce4d39 SHA512 0b54a233b6ef171a486cb77a008339865c5322f098de3412df23b729b3b2d731cfe96d4e3e2dcab2f6f72887a2821d7c42d77f0bcd35c59e0359d66447058d39 WHIRLPOOL e72db95d26e2230220ae5de1b1a29adb8f42f808fcb0aa2dd86ec28fea46e99823d9ce5d1e03812e1cf4188a0e25035428db7d52ebd1edcbc7562b4116ace1f7 -MISC ChangeLog 29580 SHA256 a5d2088420e61ab77d0f598431bc35ae57cf421ce165b9394cb2f4ddbfbce94f SHA512 96cdcf68a3072f304844433bc80324350c9401715a6151a84e4a4dfdfed189207b7cea0b804fc119341edf92972592266fb06e64fe0b96bf9da2cd87ec911f3b WHIRLPOOL bf1b5df39d8216baa811ec817d2ae762f5c6836f0110703827cc8208fb13103031d8ca6790868817c404132aea20c8734680e0ddfe5429616ebe4cdaeb5cca2c +MISC ChangeLog 29729 SHA256 7c51fea1413ff912c903ab957870628897134955dcc0b7020a89312d99b0dcbb SHA512 f788953f761f53850b601a891a6db6f5f56631bfd371a7ce1aef2dee3e0bbd4b1b4cb4243448f2cc79fea45175a27cd41fc224f68fe7f4949be446370a72d3e3 WHIRLPOOL 8c9cc560395ee479267ff17b875a1360a1927f255a22a1fb2ba42367c97d25fcaf4e4f2ecc07780266af9b2ce1d1e5bb8484ef1cff0a47fadc96be6e4fd84d9d MISC ChangeLog-2008 105137 SHA256 4afec18ad3c76df40314edb37b5512f81ca6223c38a899534d9d15342481accf SHA512 92dfd339b1c4ddec29222076a597220dc7faa504e2ee770339892f155febbf34004e60395f9eb21b43d3b1feb5f362c2946b69cc65151b5ba00fb53b35ccb9c6 WHIRLPOOL 89d77300aafb53ae0632904118064de19313fe51f635512314471e845574e7a624a770ae4ca4e335cff67d4fee92e062d28ef985a54c577a1b8b3ea0f621c0f8 MISC metadata.xml 2882 SHA256 bb1c73d9b53a1049c14b477d4441b09670ecafcf46a0ad114c24bb284d0d194a SHA512 bd9a0a5f26e1420aa6023160208d177e233f97f2265b8fad68772a084cbc9fabb2a186f14916a5a664b5590a6052fe039874ff96b1bd9d3dc530c3750561c7ce WHIRLPOOL 0e92d1cd3fbbf3f75ebd38e356a736061c9ea19afd40b06f58abe0ed86219223cafab188bbfa4ce9c91a8cc6619de47dfc3a68edc2c39e6a38476915ad8d48ba -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJU7FkCAAoJELp701BxlEWfthYQAJli3QLJHwSFL2JpCjR61U+l -TH4WdKj53qfJUZ8KJ0GblivArx8HxwxNDEEH6JpofAaXZV/5qyrWL4LdvDSPsRCK -NrTeHR00zqkUygoS/acWyJiS6gO5WkwwAnskns0fztaLZXAaJch+kRsKTLWRMd87 -e+yMrqfvrC/yT9tvNZsEXthKHhR9zPfryV6MVG7yygi0OFvxug+OG91dqP+FSehb -D3Kqfvec6raX6TmOVBJRBuKC0SXOeh7utVQwPBthKToS1BmctoN2HQeYwZXFiA9x -P87S1bw7XJLSowN58EGTjipaxCkURK5s6oEfCM98JiOkWCx+KGjPejNrDfnaH6+R -dNWeFQrFc/MTeZ/4m/PG8QMO3ua2u8l5fCbLbk8YG8Q3P3LpEQWE0WqpiDTeeJtB -Ch9W24kbAbEZioR5AUMzpz86ElYUoIrbanMj12PQheGMttysJesDvL3QeqrF3tsD -UvxJE1LWb0qHpRtYcxgcUwbphE6tVO6W1Zv3feCAkxOIBSOcUksGO3hSrMWmFCtA -0QitruUhu9mPKcapv6sywpAs8s/Awd18TISDcI9HSi0WCuiohYEntvTAnig6p6ZC -q6I9CSMruKUN/DEvoV3J/qoejvsCEZhsff2YPwlirPJ23NH1XFRhEDfGatYxkkOH -BpN4/aSJIgG73H+fxPdF -=9osN +iQIcBAEBCAAGBQJVB1DvAAoJEPiazRVxLXTFTpUQANG9hIoJ6YiuKa4LN7sQA1cj +1rnmk7sRESa3SRR3PVATJtu+a0FnR77SsdL1+9PgMZlLyCrOysV8s1zyzYTdMtbp +Nxdq1De21ikBwpNda2JyYsshyrvKGfEQMms7BeldUwfjw35AccYHA9JzbwFnshLj +JC53k5sckhk3TZNafdqLbqcCf/yQQ3+BsGG4BygY2ae/aVZ4ZVJakeKS2cCdF1uD +QHpiQBt5bp7HOT3fNytgp+h47cEQ2yNB8Go769pI3ARsurfmJWT05rh/qQx477RB +UXJuwWTWWNJVfdLoLWcJUuwYSXdQIVzmmAWgKw0Ybfm1s8TX8rN5xwdBomaniY2X +5fV5Qg4BGPbD0JiZVdDXORu86RfJRBpQl3OTsOYKcHPrnePa+PdnvPbD+edzkB8j +58X8JodC0m8DD9qNndOvZDaCWvmZPQy/ToG+lfjw3YpD0qXXbzrtwcSQ144oH1as +kh9gGQ9iFMrkxaJgWl6+jm891PJ36zyezfbTQEEQug+eET9/8CsszLr6x0ot+H4u +/gmSVF5xx73JeAxE8dbJydguTkMIPfbi9zl5Fd0l8VuYpIHU+mGAQeRawfPy/in5 +qqnvRzxW8TRiLay4THkf1IAocY0sST9eOZusCfcpfvSy0VDBo6FQ2pry/39MkU0I +tpRG/cj5z2Mq5jnMfjZT +=9qqz -----END PGP SIGNATURE----- diff --git a/www-servers/apache/apache-2.2.27-r4.ebuild b/www-servers/apache/apache-2.2.27-r4.ebuild deleted file mode 100644 index 066c30b80ff4..000000000000 --- a/www-servers/apache/apache-2.2.27-r4.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/apache-2.2.27-r4.ebuild,v 1.11 2014/08/10 20:08:18 slyfox Exp $ - -EAPI=5 - -# latest gentoo apache files -GENTOO_PATCHSTAMP="20140731" -GENTOO_DEVELOPER="polynomial-c" -GENTOO_PATCHNAME="gentoo-apache-2.2.27-r4" - -# IUSE/USE_EXPAND magic -IUSE_MPMS_FORK="itk peruser prefork" -IUSE_MPMS_THREAD="event worker" - -IUSE_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon -authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default -authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta -charset_lite cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache dumpio -env expires ext_filter file_cache filter headers ident imagemap include info -log_config log_forensic logio mem_cache mime mime_magic negotiation proxy -proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http proxy_scgi rewrite -reqtimeout setenvif speling status substitute unique_id userdir usertrack -version vhost_alias" -# The following are also in the source as of this version, but are not available -# for user selection: -# bucketeer case_filter case_filter_in echo http isapi optional_fn_export -# optional_fn_import optional_hook_export optional_hook_import - -# inter-module dependencies -# TODO: this may still be incomplete -MODULE_DEPENDS=" - dav_fs:dav - dav_lock:dav - deflate:filter - disk_cache:cache - ext_filter:filter - file_cache:cache - log_forensic:log_config - logio:log_config - mem_cache:cache - mime_magic:mime - proxy_ajp:proxy - proxy_balancer:proxy - proxy_connect:proxy - proxy_ftp:proxy - proxy_http:proxy - proxy_scgi:proxy - substitute:filter -" - -# module<->define mappings -MODULE_DEFINES=" - auth_digest:AUTH_DIGEST - authnz_ldap:AUTHNZ_LDAP - cache:CACHE - dav:DAV - dav_fs:DAV - dav_lock:DAV - disk_cache:CACHE - file_cache:CACHE - info:INFO - ldap:LDAP - mem_cache:CACHE - proxy:PROXY - proxy_ajp:PROXY - proxy_balancer:PROXY - proxy_connect:PROXY - proxy_ftp:PROXY - proxy_http:PROXY - ssl:SSL - status:STATUS - suexec:SUEXEC - userdir:USERDIR -" - -# critical modules for the default config -MODULE_CRITICAL=" - authz_host - dir - mime -" - -inherit apache-2 systemd toolchain-funcs - -DESCRIPTION="The Apache Web Server" -HOMEPAGE="http://httpd.apache.org/" - -# some helper scripts are Apache-1.1, thus both are here -LICENSE="Apache-2.0 Apache-1.1" -SLOT="2" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" -IUSE="" - -src_configure() { - # Brain dead check. - tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no" - - apache-2_src_configure -} - -src_install() { - apache-2_src_install - - # install apxs in /usr/bin (bug #502384) and put a symlink into the - # old location until all ebuilds and eclasses have been modified to - # use the new location. - local apxs_dir="/usr/bin" - dodir ${apxs_dir} - mv "${D}"/usr/sbin/apxs "${D}"${apxs_dir} || die - ln -s ../bin/apxs "${D}"/usr/sbin/apxs || die - - systemd_newunit "${FILESDIR}/apache2.2.service" "apache2.service" - systemd_dotmpfilesd "${FILESDIR}/apache.conf" -} diff --git a/www-servers/apache/apache-2.4.10-r1.ebuild b/www-servers/apache/apache-2.4.10-r1.ebuild deleted file mode 100644 index c6b7960f4fcb..000000000000 --- a/www-servers/apache/apache-2.4.10-r1.ebuild +++ /dev/null @@ -1,227 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/apache/apache-2.4.10-r1.ebuild,v 1.2 2014/08/10 20:08:18 slyfox Exp $ - -EAPI=5 - -# latest gentoo apache files -GENTOO_PATCHSTAMP="20140731" -GENTOO_DEVELOPER="polynomial-c" -GENTOO_PATCHNAME="gentoo-apache-2.4.10-r1" - -# IUSE/USE_EXPAND magic -IUSE_MPMS_FORK="peruser prefork" -IUSE_MPMS_THREAD="event worker" - -# << obsolete modules: -# authn_default authz_default mem_cache -# mem_cache is replaced by cache_disk -# ?? buggy modules -# proxy_scgi: startup error: undefined symbol "ap_proxy_release_connection", no fix found -# >> added modules for reason: -# compat: compatibility with 2.2 access control -# authz_host: new module for access control -# authn_core: functionality provided by authn_alias in previous versions -# authz_core: new module, provides core authorization capabilities -# cache_disk: replacement for mem_cache -# lbmethod_byrequests: Split off from mod_proxy_balancer in 2.3 -# lbmethod_bytraffic: Split off from mod_proxy_balancer in 2.3 -# lbmethod_bybusyness: Split off from mod_proxy_balancer in 2.3 -# lbmethod_heartbeat: Split off from mod_proxy_balancer in 2.3 -# slotmem_shm: Slot-based shared memory provider (for lbmethod_byrequests). -# socache_shmcb: shared object cache provider. Default config with ssl needs it -# unixd: fixes startup error: Invalid command 'User' -IUSE_MODULES="access_compat actions alias asis auth_basic auth_digest -authn_alias authn_anon authn_core authn_dbd authn_dbm authn_file authz_core -authz_dbd authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex -cache cache_disk cern_meta charset_lite cgi cgid dav dav_fs dav_lock dbd deflate -dir dumpio env expires ext_filter file_cache filter headers ident imagemap -include info lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness -lbmethod_heartbeat log_config log_forensic logio mime mime_magic negotiation -proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http proxy_scgi -proxy_fcgi proxy_wstunnel rewrite ratelimit remoteip reqtimeout setenvif -slotmem_shm speling socache_shmcb status substitute unique_id userdir usertrack -unixd version vhost_alias" -# The following are also in the source as of this version, but are not available -# for user selection: -# bucketeer case_filter case_filter_in echo http isapi optional_fn_export -# optional_fn_import optional_hook_export optional_hook_import - -# inter-module dependencies -# TODO: this may still be incomplete -MODULE_DEPENDS=" - dav_fs:dav - dav_lock:dav - deflate:filter - cache_disk:cache - ext_filter:filter - file_cache:cache - lbmethod_byrequests:proxy_balancer - lbmethod_byrequests:slotmem_shm - lbmethod_bytraffic:proxy_balancer - lbmethod_bybusyness:proxy_balancer - lbmethod_heartbeat:proxy_balancer - log_forensic:log_config - logio:log_config - cache_disk:cache - mime_magic:mime - proxy_ajp:proxy - proxy_balancer:proxy - proxy_balancer:slotmem_shm - proxy_connect:proxy - proxy_ftp:proxy - proxy_http:proxy - proxy_scgi:proxy - proxy_fcgi:proxy - proxy_wstunnel:proxy - substitute:filter -" - -# module<->define mappings -MODULE_DEFINES=" - auth_digest:AUTH_DIGEST - authnz_ldap:AUTHNZ_LDAP - cache:CACHE - cache_disk:CACHE - dav:DAV - dav_fs:DAV - dav_lock:DAV - file_cache:CACHE - info:INFO - ldap:LDAP - proxy:PROXY - proxy_ajp:PROXY - proxy_balancer:PROXY - proxy_connect:PROXY - proxy_ftp:PROXY - proxy_http:PROXY - proxy_fcgi:PROXY - proxy_scgi:PROXY - proxy_wstunnel:PROXY - socache_shmcb:SSL - ssl:SSL - status:STATUS - suexec:SUEXEC - userdir:USERDIR -" - -# critical modules for the default config -MODULE_CRITICAL=" - authn_core - authz_core - authz_host - dir - mime - unixd -" -inherit eutils apache-2 systemd toolchain-funcs - -DESCRIPTION="The Apache Web Server" -HOMEPAGE="http://httpd.apache.org/" - -# some helper scripts are Apache-1.1, thus both are here -LICENSE="Apache-2.0 Apache-1.1" -SLOT="2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x64-macos ~x86-macos ~m68k-mint ~sparc64-solaris ~x64-solaris" -IUSE="" - -pkg_setup() { - # dependend critical modules which are not allowed in global scope due - # to USE flag conditionals (bug #499260) - use ssl && MODULE_CRITICAL+=" socache_shmcb" - use doc && MODULE_CRITICAL+=" alias negotiation setenvif" - apache-2_pkg_setup -} - -src_configure() { - # Brain dead check. - tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no" - - apache-2_src_configure -} - -src_compile() { - if tc-is-cross-compiler; then - # This header is the same across targets, so use the build compiler. - pushd server >/dev/null - emake gen_test_char - tc-export_build_env BUILD_CC - ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} \ - gen_test_char.c -o gen_test_char $(apr-1-config --includes) || die - popd >/dev/null - fi - - default -} - -src_install() { - apache-2_src_install - for i in /usr/bin/{htdigest,logresolve,htpasswd,htdbm,ab,httxt2dbm}; do - rm "${ED}"/$i || die "Failed to prune apache-tools bits" - done - for i in /usr/share/man/man8/{rotatelogs.8,htcacheclean.8}; do - rm "${ED}"/$i || die "Failed to prune apache-tools bits" - done - for i in /usr/share/man/man1/{logresolve.1,htdbm.1,htdigest.1,htpasswd.1,dbmmanage.1,ab.1}; do - rm "${ED}"/$i || die "Failed to prune apache-tools bits" - done - for i in /usr/sbin/{checkgid,fcgistarter,htcacheclean,rotatelogs}; do - rm "${ED}/"$i || die "Failed to prune apache-tools bits" - done - - # install apxs in /usr/bin (bug #502384) and put a symlink into the - # old location until all ebuilds and eclasses have been modified to - # use the new location. - local apxs="/usr/bin/apxs" - cp "${S}"/support/apxs "${ED}"${apxs} || die "Failed to install apxs" - ln -s ../bin/apxs "${ED}"/usr/sbin/apxs || die - chmod 0755 "${ED}"${apxs} || die - - # Note: wait for mod_systemd to be included in the next release, - # then apache2.4.service can be used and systemd support controlled - # through --enable-systemd - systemd_newunit "${FILESDIR}/apache2.2.service" "apache2.service" - systemd_dotmpfilesd "${FILESDIR}/apache.conf" - #insinto /etc/apache2/modules.d - #doins "${FILESDIR}/00_systemd.conf" -} - -pkg_postinst() -{ - apache-2_pkg_postinst || die "apache-2_pkg_postinst failed" - # warnings that default config might not work out of the box - for mod in $MODULE_CRITICAL; do - if ! use "apache2_modules_${mod}"; then - echo - ewarn "Warning: Critical module not installed!" - ewarn "Modules 'authn_core', 'authz_core' and 'unixd'" - ewarn "are highly recomended but might not be in the base profile yet." - ewarn "Default config for ssl needs module 'socache_shmcb'." - ewarn "Enabling the following flags is highly recommended:" - for cmod in $MODULE_CRITICAL; do - use "apache2_modules_${cmod}" || \ - ewarn "+ apache2_modules_${cmod}" - done - echo - break - fi - done - # warning for proxy_balancer and missing load balancing scheduler - if use apache2_modules_proxy_balancer; then - local lbset= - for mod in lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat; do - if use "apache2_modules_${mod}"; then - lbset=1 && break - fi - done - if [ ! $lbset ]; then - echo - ewarn "Info: Missing load balancing scheduler algorithm module" - ewarn "(They were split off from proxy_balancer in 2.3)" - ewarn "In order to get the ability of load balancing, at least" - ewarn "one of these modules has to be present:" - ewarn "lbmethod_byrequests lbmethod_bytraffic lbmethod_bybusyness lbmethod_heartbeat" - echo - fi - fi -} -- cgit v1.2.3-65-gdbad