git: ecf2900a443a - main - dns/poweradmin: Update version 4.4.0=>4.4.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Sep 2026 18:52:52 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ecf2900a443aa33159be0c44208d9e1204e1164b
commit ecf2900a443aa33159be0c44208d9e1204e1164b
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-09-28 18:26:28 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-09-28 18:52:23 +0000
dns/poweradmin: Update version 4.4.0=>4.4.1
Changelog: https://github.com/poweradmin/poweradmin/releases/tag/v4.4.1
---
dns/poweradmin/Makefile | 3 +-
dns/poweradmin/distinfo | 6 +-
dns/poweradmin/files/patch-caddy.conf.example | 6 +-
dns/poweradmin/files/patch-nginx.conf.example | 166 ++++----------------------
4 files changed, 29 insertions(+), 152 deletions(-)
diff --git a/dns/poweradmin/Makefile b/dns/poweradmin/Makefile
index 83001ad63b87..4ad99b6df14f 100644
--- a/dns/poweradmin/Makefile
+++ b/dns/poweradmin/Makefile
@@ -1,7 +1,6 @@
PORTNAME= poweradmin
DISTVERSIONPREFIX= v
-DISTVERSION= 4.4.0
-PORTREVISION= 2
+DISTVERSION= 4.4.1
CATEGORIES= dns
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
diff --git a/dns/poweradmin/distinfo b/dns/poweradmin/distinfo
index 7d3370889a8d..10bc0ae7fc72 100644
--- a/dns/poweradmin/distinfo
+++ b/dns/poweradmin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1785316490
-SHA256 (poweradmin-poweradmin-v4.4.0_GH0.tar.gz) = e167f8c9ae61cb6fe5546b4ce0a94c27961135bdee89c032ae106c9891fc0ddf
-SIZE (poweradmin-poweradmin-v4.4.0_GH0.tar.gz) = 14902575
+TIMESTAMP = 1790619117
+SHA256 (poweradmin-poweradmin-v4.4.1_GH0.tar.gz) = f06a702d90dcdadb643c65047db9063b7b5501e6aa64a0105ab65d08e21f7492
+SIZE (poweradmin-poweradmin-v4.4.1_GH0.tar.gz) = 15044667
diff --git a/dns/poweradmin/files/patch-caddy.conf.example b/dns/poweradmin/files/patch-caddy.conf.example
index 62d5806abb1f..ecab9c707179 100644
--- a/dns/poweradmin/files/patch-caddy.conf.example
+++ b/dns/poweradmin/files/patch-caddy.conf.example
@@ -1,4 +1,4 @@
---- caddy.conf.example.orig 2026-07-23 10:41:21 UTC
+--- caddy.conf.example.orig 2026-09-03 04:34:07 UTC
+++ caddy.conf.example
@@ -1,12 +1,13 @@
# Caddy configuration for Poweradmin
@@ -79,12 +79,12 @@
+ }
- # Security: Deny access to hidden files and sensitive file types
-- @hidden path .* *.sql *.md *.log *.yaml *.yml
+- @hidden path .* *.sql *.sqlite *.sqlite3 *.db *.md *.log *.yaml *.yml
- handle @hidden {
- respond "Forbidden" 403
- }
+ # Security: Deny access to hidden files and sensitive file types
-+ @hidden path .* *.sql *.md *.log *.yaml *.yml
++ @hidden path .* *.sql *.sqlite *.sqlite3 *.db *.md *.log *.yaml *.yml
+ handle @hidden {
+ respond "Forbidden" 403
+ }
diff --git a/dns/poweradmin/files/patch-nginx.conf.example b/dns/poweradmin/files/patch-nginx.conf.example
index 21d438b05211..3eb609229d05 100644
--- a/dns/poweradmin/files/patch-nginx.conf.example
+++ b/dns/poweradmin/files/patch-nginx.conf.example
@@ -1,4 +1,4 @@
---- nginx.conf.example.orig 2026-07-30 02:02:57 UTC
+--- nginx.conf.example.orig 2026-09-03 04:34:07 UTC
+++ nginx.conf.example
@@ -7,8 +7,8 @@ server {
# ============================================================================
@@ -23,152 +23,30 @@
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_read_timeout 180;
-@@ -83,75 +83,75 @@ server {
- # Use this configuration when Poweradmin is installed in a subfolder
- # Remember to also set 'base_url_prefix' => '/poweradmin' in config/settings.php
+@@ -85,8 +85,8 @@ server {
--server {
-- listen 80;
+ server {
+ listen 80;
- server_name your-domain.com;
- root /var/www/html;
-- index index.php index.html;
--
-- # Poweradmin subfolder location
-- location /poweradmin {
-- # Try to serve the file directly, fallback to index.php
-- try_files $uri $uri/ /poweradmin/index.php$is_args$args;
--
-- # Static assets (caching)
-- location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ {
-- expires max;
-- log_not_found off;
-- access_log off;
-- }
--
-- # API handling with CORS
-- location ~ ^/poweradmin/api {
-- add_header Access-Control-Allow-Origin "*" always;
-- add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS" always;
-- add_header Access-Control-Allow-Headers "Content-Type, Authorization, X-API-Key" always;
-- add_header Access-Control-Max-Age "3600" always;
--
-- # Handle OPTIONS pre-flight requests
-- if ($request_method = 'OPTIONS') {
-- return 204;
-- }
--
-- try_files $uri $uri/ /poweradmin/index.php$is_args$args;
-- }
--
-- # Handle PHP files within the poweradmin subfolder
-- location ~ ^/poweradmin/.*\.php$ {
-- # Adjust the fastcgi_pass directive based on your PHP-FPM configuration
-- # For socket: fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
-- # For TCP: fastcgi_pass 127.0.0.1:9000;
++ server_name example.com;
++ root %%WWWDIR%%;
+ index index.php index.html;
+
+ # Poweradmin subfolder location
+@@ -121,7 +121,7 @@ server {
+ # Adjust the fastcgi_pass directive based on your PHP-FPM configuration
+ # For socket: fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
+ # For TCP: fastcgi_pass 127.0.0.1:9000;
- fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
-- fastcgi_index index.php;
-- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
-- fastcgi_read_timeout 180;
-- include fastcgi_params;
--
-- # Ensure HTTP Authorization header is forwarded for API authentication
-- fastcgi_param HTTP_AUTHORIZATION $http_authorization;
-- }
--
-- # Security: Deny access to sensitive files and directories
-- location ~ ^/poweradmin/\. {
-- deny all;
-- }
--
-- # Allow access to Bootstrap CSS/JS and Bootstrap Icons in vendor/twbs/
-- location ~ ^/poweradmin/vendor/twbs/(bootstrap|bootstrap-icons)/ {
-- allow all;
-- }
--
-- location ~ ^/poweradmin/(config|lib|tests|vendor)/ {
-- deny all;
-- }
--
-- location ~ ^/poweradmin/.*\.(sql|md|log)$ {
-- deny all;
-- }
-- }
--
-- # Optional: Enable logging for debugging
-- # rewrite_log on;
-- # error_log /var/log/nginx/poweradmin_error.log notice;
-- # access_log /var/log/nginx/poweradmin_access.log;
++ fastcgi_pass 127.0.0.1:9000;
+ fastcgi_index index.php;
+ fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
+ fastcgi_read_timeout 180;
+@@ -154,4 +154,4 @@ server {
+ # rewrite_log on;
+ # error_log /var/log/nginx/poweradmin_error.log notice;
+ # access_log /var/log/nginx/poweradmin_access.log;
-}
\ No newline at end of file
-+#server {
-+# listen 80;
-+# server_name example.com;
-+# root %%WWWDIR%%;
-+# index index.php index.html;
-+#
-+# # Poweradmin subfolder location
-+# location /poweradmin {
-+# # Try to serve the file directly, fallback to index.php
-+# try_files $uri $uri/ /poweradmin/index.php$is_args$args;
-+#
-+# # Static assets (caching)
-+# location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ {
-+# expires max;
-+# log_not_found off;
-+# access_log off;
-+# }
-+#
-+# # API handling with CORS
-+# location ~ ^/poweradmin/api {
-+# add_header Access-Control-Allow-Origin "*" always;
-+# add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS" always;
-+# add_header Access-Control-Allow-Headers "Content-Type, Authorization, X-API-Key" always;
-+# add_header Access-Control-Max-Age "3600" always;
-+#
-+# # Handle OPTIONS pre-flight requests
-+# if ($request_method = 'OPTIONS') {
-+# return 204;
-+# }
-+#
-+# try_files $uri $uri/ /poweradmin/index.php$is_args$args;
-+# }
-+#
-+# # Handle PHP files within the poweradmin subfolder
-+# location ~ ^/poweradmin/.*\.php$ {
-+# # Adjust the fastcgi_pass directive based on your PHP-FPM configuration
-+# # For socket: fastcgi_pass unix:/var/run/php/php8.2-fpm.sock;
-+# # For TCP: fastcgi_pass 127.0.0.1:9000;
-+# fastcgi_pass 127.0.0.1:9000;
-+# fastcgi_index index.php;
-+# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
-+# fastcgi_read_timeout 180;
-+# include fastcgi_params;
-+#
-+# # Ensure HTTP Authorization header is forwarded for API authentication
-+# fastcgi_param HTTP_AUTHORIZATION $http_authorization;
-+# }
-+#
-+# # Security: Deny access to sensitive files and directories
-+# location ~ ^/poweradmin/\. {
-+# deny all;
-+# }
-+#
-+# # Allow access to Bootstrap CSS/JS and Bootstrap Icons in vendor/twbs/
-+# location ~ ^/poweradmin/vendor/twbs/(bootstrap|bootstrap-icons)/ {
-+# allow all;
-+# }
-+#
-+# location ~ ^/poweradmin/(config|lib|tests|vendor)/ {
-+# deny all;
-+# }
-+#
-+# location ~ ^/poweradmin/.*\.(sql|md|log)$ {
-+# deny all;
-+# }
-+# }
-+#
-+# # Optional: Enable logging for debugging
-+# # rewrite_log on;
-+# # error_log /var/log/nginx/poweradmin_error.log notice;
-+# # access_log /var/log/nginx/poweradmin_access.log;
-+#}
++}