[gentoo-commits] repo/gentoo:master commit in: profiles/desc/, eclass/

2023-06-30 Thread 罗百科
commit: c0b5408f7d4ac69ba64842b241354b85131acd20
Author: Patrick Lauer  gentoo  org>
AuthorDate: Fri Jun 30 17:04:46 2023 +
Commit: 罗百科  gentoo  org>
CommitDate: Fri Jun 30 17:07:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0b5408f

eclass/postgres.eclass, profiles/desc/postgres_targets.desc: Remove postgres10, 
add postgres16

Signed-off-by: Patrick Lauer  gentoo.org>

 eclass/postgres.eclass  | 2 +-
 profiles/desc/postgres_targets.desc | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/postgres.eclass b/eclass/postgres.eclass
index 95ed168d40a1..e10f2f7611ee 100644
--- a/eclass/postgres.eclass
+++ b/eclass/postgres.eclass
@@ -27,7 +27,7 @@ _POSTGRES_ECLASS=1
 # @DESCRIPTION:
 # List of versions to reverse sort POSTGRES_COMPAT slots
 
-_POSTGRES_ALL_VERSIONS=(  15 14 13 12 11 10 )
+_POSTGRES_ALL_VERSIONS=(  16 15 14 13 12 11 )
 
 
 

diff --git a/profiles/desc/postgres_targets.desc 
b/profiles/desc/postgres_targets.desc
index f87ee7f047e0..c122590b4137 100644
--- a/profiles/desc/postgres_targets.desc
+++ b/profiles/desc/postgres_targets.desc
@@ -1,11 +1,11 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # This file contains descriptions of POSTGRES_TARGETS USE_EXPAND flags.
 
-postgres10 - Build against PostgreSQL 10
 postgres11 - Build against PostgreSQL 11
 postgres12 - Build against PostgreSQL 12
 postgres13 - Build against PostgreSQL 13
 postgres14 - Build against PostgreSQL 14
 postgres15 - Build against PostgreSQL 15
+postgres16 - Build against PostgreSQL 16



[gentoo-commits] repo/gentoo:master commit in: profiles/desc/, eclass/

2023-01-31 Thread Benda XU
commit: 88729b304dbfe1e9bf1d5384bf125704e28ff956
Author: Yiyang Wu  gmail  com>
AuthorDate: Sat Jan 28 10:40:53 2023 +
Commit: Benda XU  gentoo  org>
CommitDate: Tue Jan 31 14:28:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88729b30

rocm.eclass: support RDNA3 GPU for >=5.4, remove <5

ROCm libraries with version <5 are cleaned up, remove version 4 support
for rocm.eclass.

RDNA3 has initial support in ROCm libraries starting from 5.4 releases.
Enable gfx110* amdgpu_targets in rocm.eclass and add corresponding
description.

Closes: https://bugs.gentoo.org/891499
Closes: https://github.com/gentoo/gentoo/pull/29320
Signed-off-by: Yiyang Wu  gmail.com>
Signed-off-by: Benda Xu  gentoo.org>

 eclass/rocm.eclass| 13 +++--
 profiles/desc/amdgpu_targets.desc |  5 -
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/eclass/rocm.eclass b/eclass/rocm.eclass
index cf7a18b70ad2..b78dfea1cc31 100644
--- a/eclass/rocm.eclass
+++ b/eclass/rocm.eclass
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: rocm.eclass
@@ -138,17 +138,18 @@ _rocm_set_globals() {
# may help. Gentoo have patches to enable gfx1031 as well.
local unofficial_amdgpu_targets official_amdgpu_targets
case ${ROCM_VERSION} in
-   4.*)
+   5.[0-3].*)
unofficial_amdgpu_targets=(
-   gfx803 gfx900 gfx1010 gfx1011 gfx1012 gfx1030
+   gfx803 gfx900 gfx1010 gfx1011 gfx1012 gfx1031
)
official_amdgpu_targets=(
-   gfx906 gfx908
+   gfx906 gfx908 gfx90a gfx1030
)
;;
-   5.*)
+   5.*|)
unofficial_amdgpu_targets=(
-   gfx803 gfx900 gfx1010 gfx1011 gfx1012 gfx1031
+   gfx803 gfx900 gfx1010 gfx1011 gfx1012
+   gfx1031 gfx1100 gfx1101 gfx1102
)
official_amdgpu_targets=(
gfx906 gfx908 gfx90a gfx1030

diff --git a/profiles/desc/amdgpu_targets.desc 
b/profiles/desc/amdgpu_targets.desc
index 66a9a7a85935..9c5739e9d9a4 100644
--- a/profiles/desc/amdgpu_targets.desc
+++ b/profiles/desc/amdgpu_targets.desc
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors.
+# Copyright 1999-2023 Gentoo Authors.
 # Distributed under the terms of the GNU General Public License v2
 
 # Reference:
@@ -15,3 +15,6 @@ gfx1011 - RDNA GPU, codename navi12, including Radeon Pro 
5600M/V520
 gfx1012 - RDNA GPU, codename navi14, including Radeon RX 
5500XT/5500/5500M/5500XTB/5300/5300M, Radeon Pro 5500XT/5500M/5300/5300M, 
Radeon Pro W5500X/W5500/W5500M/W5300M
 gfx1030 - RDNA2 GPU, codename navi21/sienna cichlid, including Radeon RX 
6950XT/6900XT/6800XT/6800, Radeon Pro W6800
 gfx1031 - RDNA2 GPU, codename navi22/navy flounder, including Radeon RX 
6750XT/6700XT/6800M/6700M
+gfx1100 - RDNA3 GPU, codename navi31/plum bonito, including Radeon RX 
7900XTX/7900XT
+gfx1101 - RDNA3 GPU, codename navi32
+gfx1102 - RDNA3 GPU, codename navi33



[gentoo-commits] repo/gentoo:master commit in: profiles/desc/, eclass/, www-servers/apache/

2021-01-26 Thread Lars Wendler
commit: 8dfcbd2d7d9065dea01fb259896b433ead86630b
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jan 26 10:33:47 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jan 26 10:48:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dfcbd2d

www-servers/apache: EAPI-7 revbump

Added lua module support

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 eclass/apache-2.eclass |  13 +-
 profiles/desc/apache2_modules.desc |   1 +
 www-servers/apache/apache-2.4.46-r5.ebuild | 257 +
 3 files changed, 270 insertions(+), 1 deletion(-)

diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass
index 570aced1cd8..8e0235d013f 100644
--- a/eclass/apache-2.eclass
+++ b/eclass/apache-2.eclass
@@ -10,7 +10,7 @@
 # This eclass handles apache-2.x ebuild functions such as LoadModule generation
 # and inter-module dependency checking.
 
-inherit autotools flag-o-matic multilib ssl-cert user toolchain-funcs eapi7-ver
+inherit autotools flag-o-matic multilib ssl-cert user toolchain-funcs
 
 [[ ${CATEGORY}/${PN} != www-servers/apache ]] \
&& die "Do not use this eclass with anything else than 
www-servers/apache ebuilds!"
@@ -19,6 +19,13 @@ case ${EAPI:-0} in
0|1|2|3|4|5)
die "This eclass is banned for EAPI<6"
;;
+   6)
+   inherit eapi7-ver
+   ;;
+   *)
+   LUA_COMPAT=( lua5-{1..4} )
+   inherit lua-single
+   ;;
 esac
 
 # settings which are version specific go in here:
@@ -453,6 +460,10 @@ apache-2_pkg_setup() {
fi
elog
fi
+
+   if use apache2_modules_lua ; then
+   lua-single_pkg_setup
+   fi
 }
 
 # @FUNCTION: apache-2_src_prepare

diff --git a/profiles/desc/apache2_modules.desc 
b/profiles/desc/apache2_modules.desc
index 43a12c692e0..d303d0e8464 100644
--- a/profiles/desc/apache2_modules.desc
+++ b/profiles/desc/apache2_modules.desc
@@ -62,6 +62,7 @@ lbmethod_heartbeat - Heartbeat Traffic Counting load balancer 
scheduler algorith
 log_config - Logging of the requests made to the server
 log_forensic - Forensic Logging of the requests made to the server
 logio - Logging of input and output bytes per request
+lua - Provides Lua hooks into various portions of the httpd request processing
 macro - Macros for the Apache config file
 md - Managing domains across virtual hosts, certificate provisioning via the 
ACME protocol
 mem_cache - Content cache keyed to URIs

diff --git a/www-servers/apache/apache-2.4.46-r5.ebuild 
b/www-servers/apache/apache-2.4.46-r5.ebuild
new file mode 100644
index 000..c73f4608741
--- /dev/null
+++ b/www-servers/apache/apache-2.4.46-r5.ebuild
@@ -0,0 +1,257 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# latest gentoo apache files
+GENTOO_PATCHSTAMP="20201230"
+GENTOO_DEVELOPER="polynomial-c"
+GENTOO_PATCHNAME="gentoo-apache-2.4.46-r4"
+
+# IUSE/USE_EXPAND magic
+IUSE_MPMS_FORK="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 auth_form
+authn_alias authn_anon authn_core authn_dbd authn_dbm authn_file authn_socache 
authz_core
+authz_dbd authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex
+brotli cache cache_disk cache_socache cern_meta charset_lite cgi cgid dav 
dav_fs dav_lock
+dbd deflate dir dumpio env expires ext_filter file_cache filter headers http2
+ident imagemap include info lbmethod_byrequests lbmethod_bytraffic 
lbmethod_bybusyness
+lbmethod_heartbeat log_config log_forensic logio lua macro md mime mime_magic 
negotiation
+proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_html proxy_http 
proxy_scgi
+proxy_http2 proxy_fcgi  proxy_wstunnel rewrite ratelimit remoteip reqtimeout
+session session_cookie session_crypto session_dbd setenvif slotm