From nobody Sun Jan 08 17:26:29 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NqkWp1xR2z2pSNR; Sun, 8 Jan 2023 17:26:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NqkWp0kcXz4DLV; Sun, 8 Jan 2023 17:26:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673198790; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=olllaO2nax9/+ambcA8cFs7vBikt1mjiYztgcaA8F9s=; b=CmaRONxLwLQjy0+vslIv/1aB7Pm7LlZvwk9MEXeFFevTPPtQSYTdsvv7/nNPLqAb6XY5jS JpcWUB3Pi9hdmpPJCb0Svb6lfTfdZLz7ddsXd5QD9rV3PlLkbI7+1c5AWHN2oxLpMOTjIx vonJ4Hf6BMdkNmIO5/hTb2bd0/YTo8PPj1elpWHxNpOn+Rfi6c/k86/aKBEr/KEOhXCMMJ 5TTVhc+eAh2+8GMR70laLMDqccTr1kSHSghJyaUhxwcLtjT0V7KTPOijYVdWdg9kTcIJaL +IqvMDSObNkFm4z83Tt3iD9bdvsbFPbUawVgcYqV9dlK6smME675S1rXcTLkUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673198790; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=olllaO2nax9/+ambcA8cFs7vBikt1mjiYztgcaA8F9s=; b=W84RikV9kWIySYfzLGnNaj1UUKplaXHBHluaBiRfRDN8pFxgr0zmg45MYpSJEIxlzXW6GH /kD+hOEsbFQ57ilY+b1zvTTY2oFslxck/VUTguQEsPpD5ePWECEY5bHAvjB5PtcTcCPWGt N+liQLoe4brs+mAImRs6x4Ini6fD7YEZB4jIbe8iOQdr9tfyzRFjBdcEA/qSv9+IhuRB6a z2pfinNZHpujh5GzuJi1J8nLFu9SGfeXJpib46pvoRBpL2tKseXzLiTAipHeRB2pR+q+If wEbggd5dsU/tUu6OvoxQdU3rVFnPkqLStpGkfiQvgxs+DjTaJSpQNoU1EwVPJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673198790; a=rsa-sha256; cv=none; b=b+tOCh8Aw1lYxUsRHCsBUx7xknOhdpCildplNwZguVTzzxfe5LESCiGpH5VETBQnp9WOuq P79GnzLehB4rPHVJJkcI5b8CnHBkoDHgS27inGEHJJtOftNgA6jqfXyjV1Vue70mstzmKM A1kDj1tJoeskegg9X/+vdZr0FAtEbEKl1IUYpAxDpwFfvam5XcuMLBo0Yq8hifGyXvcbNS /zzEB0x431sjwuZn9OfFf0H7+QjfvCOmvwRBHEwJTgotKehIr8AiDPwsQcS0iSUAxJSj1S dn60KuLGDHaYsCfFOmXF/engxcUTXVex+r+svBlhGs8PHednGUdhJEMo7Bc89g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NqkWn6cdRzxK2; Sun, 8 Jan 2023 17:26:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 308HQTmB076341; Sun, 8 Jan 2023 17:26:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 308HQT70076340; Sun, 8 Jan 2023 17:26:29 GMT (envelope-from git) Date: Sun, 8 Jan 2023 17:26:29 GMT Message-Id: <202301081726.308HQT70076340@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dirk Meyer Subject: git: 914d197f6fd8 - main - databases/phppgadmin: update to 7.14.3 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dinoex X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 914d197f6fd8a2d4822da8abd63d7fef490c23ea Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=914d197f6fd8a2d4822da8abd63d7fef490c23ea commit 914d197f6fd8a2d4822da8abd63d7fef490c23ea Author: Dirk Meyer AuthorDate: 2023-01-08 17:25:32 +0000 Commit: Dirk Meyer CommitDate: 2023-01-08 17:25:32 +0000 databases/phppgadmin: update to 7.14.3 - add support for postgres15 - fix Authentication Bypass PR: 268785 MFH: 2023Q1 Security: CVE-2021-3850 Security: https://huntr.dev/bounties/bdf5f216-4499-4225-a737-b28bc6f5801c/ --- databases/phppgadmin/Makefile | 10 +- databases/phppgadmin/distinfo | 6 +- .../files/patch-adodb-postgres64.inc.php | 14 - databases/phppgadmin/files/patch-all_db.php | 11 - databases/phppgadmin/pkg-plist | 1193 +++++++++++++++++++- 5 files changed, 1194 insertions(+), 40 deletions(-) diff --git a/databases/phppgadmin/Makefile b/databases/phppgadmin/Makefile index cc68ec482ea0..ef52fc44d13b 100644 --- a/databases/phppgadmin/Makefile +++ b/databases/phppgadmin/Makefile @@ -1,13 +1,13 @@ PORTNAME= phppgadmin -DISTVERSIONPREFIX= REL_ -DISTVERSION= 7-13-0 -PORTREVISION= 1 +PORTVERSION= 7.14.3 +DISTVERSIONPREFIX= v +DISTVERSIONSUFFIX= -mod CATEGORIES= databases www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= dinoex@FreeBSD.org COMMENT= Web Based Postgres Administration -WWW= http://phppgadmin.sourceforge.net/ +WWW= https://github.com/ReimuHakurei/phpPgAdmin LICENSE= GPLv2 @@ -15,6 +15,8 @@ NO_ARCH= yes NO_BUILD= yes USES= cpe tar:bzip2 php:web,flavors shebangfix USE_GITHUB= yes +GH_ACCOUNT= ReimuHakurei +WRKSRC= ${WRKDIR}/phpPgAdmin-${DISTVERSION}${DISTVERSIONSUFFIX} .if !defined(WITHOUT_PHP_DEPENDS) USE_PHP= pgsql pcre session mbstring diff --git a/databases/phppgadmin/distinfo b/databases/phppgadmin/distinfo index 764d6fc48901..d2dddc67fb96 100644 --- a/databases/phppgadmin/distinfo +++ b/databases/phppgadmin/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1604814761 -SHA256 (phppgadmin-phppgadmin-REL_7-13-0_GH0.tar.gz) = 8694707ebff7bf4357b2920dacf12344e2c6d62c8143dc0f65794f50756c90fd -SIZE (phppgadmin-phppgadmin-REL_7-13-0_GH0.tar.gz) = 804431 +TIMESTAMP = 1673194973 +SHA256 (ReimuHakurei-phppgadmin-v7.14.3-mod_GH0.tar.gz) = 1665aa9530c71b65b3997f451acc293e71992173767d89c4ebaafe40b9290697 +SIZE (ReimuHakurei-phppgadmin-v7.14.3-mod_GH0.tar.gz) = 1811036 diff --git a/databases/phppgadmin/files/patch-adodb-postgres64.inc.php b/databases/phppgadmin/files/patch-adodb-postgres64.inc.php deleted file mode 100644 index 0c62e353ce1a..000000000000 --- a/databases/phppgadmin/files/patch-adodb-postgres64.inc.php +++ /dev/null @@ -1,14 +0,0 @@ ---- libraries/adodb/drivers/adodb-postgres64.inc.php.orig 2020-11-07 06:09:12 UTC -+++ libraries/adodb/drivers/adodb-postgres64.inc.php -@@ -122,6 +122,11 @@ WHERE relkind in ('r','v') AND (c.relname='%s' or c.re - // changes the metaColumnsSQL, adds columns: attnum[6] - } - -+ function __construct() -+ { -+ // changes the metaColumnsSQL, adds columns: attnum[6] -+ } -+ - function ServerInfo() - { - if (isset($this->version)) return $this->version; diff --git a/databases/phppgadmin/files/patch-all_db.php b/databases/phppgadmin/files/patch-all_db.php deleted file mode 100644 index a2f8dbd52592..000000000000 --- a/databases/phppgadmin/files/patch-all_db.php +++ /dev/null @@ -1,11 +0,0 @@ ---- all_db.php.orig 2020-11-07 06:09:12 UTC -+++ all_db.php -@@ -199,7 +199,7 @@ - echo "\t\t\n"; - echo "\t\t\t